Check patentability & draft patents in minutes with Patsnap Eureka AI!

Page table cache access method, page table cache, processor chip and storage unit

An access method and processor technology, applied in the information field, can solve problems such as increasing program running time and limited capacity, and achieve the effect of increasing effective capacity and reducing the probability of TLBMiss

Active Publication Date: 2018-03-06
HUAWEI TECH CO LTD
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The capacity of the TLB is very limited, much smaller than the size of the page table, so TLB Miss often occurs, and TLB Miss will increase the running time of the program

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Page table cache access method, page table cache, processor chip and storage unit
  • Page table cache access method, page table cache, processor chip and storage unit
  • Page table cache access method, page table cache, processor chip and storage unit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0066] In various embodiments of the present invention, the term "virtual address" may be an address in a user program. The term "physical address" may be the actual address corresponding to the virtual address in the physical memory address space.

[0067] After adopting virtual address technology, when programmers write programs, all they see are virtual addresses. At this time, the start address of the code segment and the start address of the data segment of...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a page table cache access method, a page table cache, a processor chip and a storage unit. The method comprises the steps that a first request sent by a processor is received;a first big virtual page number corresponding to a first virtual address and a first position of a first virtual page, corresponding to the first virtual address, in a first big virtual page are determined; whether a first table item corresponding to the first big virtual page number exists in a table item set is determined; according to a value of a bit, corresponding to the first position, in avalid instruction field in the first table item, whether the first virtual page is mapped by the first table item is determined; according a value of an element, corresponding to the first position, in an index field in the first table item, a second position of a first physical page, corresponding to the first virtual page, in a first big physical page identified with a first big physical frame number is determined; according to the first big physical frame number and the second position, a first physical frame number is determined; and the first physical frame number is sent to the processor. Through the embodiment, valid capacity of the page table cache can be increased.

Description

technical field [0001] The present invention relates to the field of information technology, and more specifically, relates to a method for accessing a page table cache, a page table cache, a processor chip and a storage unit. Background technique [0002] When a central processing unit (Central Processing Unit, CPU) executes a program, the addresses in the program are all virtual addresses. When the operating system loads a program into memory, it allocates available physical memory address space for the program. At this time, the operating system will map the virtual address of the program to a specific physical address according to the actual physical address. This kind of mapping takes page (Page) as a unit, and a page is usually 4KB. When the operating system performs memory management, it divides the physical address space into consecutive pages. Likewise, the program's own virtual address space is divided into contiguous pages. Mapping is to map a virtual page to ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F12/1009G06F12/1027G06F12/109
CPCG06F12/1009G06F12/1027G06F12/109G06F12/02
Inventor 蔡卫光郑礼炳张惠敏
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More