Unlock instant, AI-driven research and patent intelligence for your innovation.

Memory access method and computer system

A computer system and memory access technology, applied in the computer field, can solve problems such as probability reduction and address translation performance degradation, and achieve the effect of ensuring hit rate, meeting the needs of hot data migration, and excellent address translation performance.

Active Publication Date: 2018-11-13
HUAWEI TECH CO LTD +1
View PDF3 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the granularity of memory addressing in the computer system changes from physical large pages to physical small pages, the probability of hitting the mapping between virtual addresses and physical addresses in the TLB decreases, and the address translation performance decreases

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
  • Memory access method and computer system
  • Memory access method and computer system
  • Memory access method and computer system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0058] First, when the address of the memory controller accesses the small page, it is determined that the content stored in the small page is not data but a physical memory address.

[0059] Second, the computer system maintains a bitmap, which stores information indicating whether each small page of PCM51 is migrated, and for each small page whose data is migrated, the bitmap is provided with a The identifier of the data that has been migrated. Table 1 shows a possible implementation of the bitmap. Migration ID 0 indicates that it has not been migrated, and migration ID 1 indicates that it has been migrated. Table 1 shows the first small page and the second small page of physical large page B. page and the fourth small page have not been migrated, but the third small page has been migrated, and the memory controller can determine whether any small page of PCM51 has been migrated by querying the bitmap.

[0060] Physical Huge Page Number

migration identification...

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

Embodiments of the invention provide a memory access method and a computer system. The memory access method is applied in the computer system comprising a hybrid memory, wherein the hybrid memory comprises a first memory and a second memory. The method comprises the following steps of: receiving a first access request with a first virtual address; converting the first virtual address into a firstphysical address according to a first page table cache in the computer system, wherein the first physical address of a physical address of a first big page in the first memory, and the first big pagecomprises a plurality of small pages; and when the fact that data of the first small page in the first big page is transferred into the second memory, accessing the second memory according to a secondphysical address of the first small page, wherein the second physical address is a physical address of a second small page in the second memory, the data transferred from the first small page is stored in the second small page, and the second memory comprises a plurality of small pages.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a memory access method and a computer system. Background technique [0002] Memory is usually implemented by Dynamic Random Access Memory (DRAM), but DRAM has the problems of low storage density and small storage capacity. Therefore, Non-Volatile Memory (NVM) can be introduced on the basis of DRAM Form hybrid memory to realize the expansion of memory capacity. Since the read and write speed of NVM is slower than that of DRAM and the write life is shorter than that of DRAM, in order to improve the speed of memory access and the service life of hybrid memory, the storage blocks with frequent read and write operations in NVM are usually migrated to DRAM. [0003] The computer system converts virtual memory and physical memory through the translation lookaside buffer (TLB). In order to improve the probability of TLB hit and improve the efficiency of address translation, ...

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/1027
CPCG06F12/1027G06F2212/205G06F12/1036G06F2212/657G06F2212/2515G06F3/0604G06F3/0647G06F3/0656G06F3/0683G06F12/1009
Inventor 刘海坤陈吉余国生
Owner HUAWEI TECH CO LTD