Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A Cache Replacement Method in Heterogeneous Memory Environment

A cache replacement and heterogeneous memory technology, applied in the field of computer science, can solve the problems of inconsistent cache miss costs, affecting the overall performance of the system, and improving the efficiency of cache usage, so as to save high latency costs, improve memory access performance, and increase memory access. The effect of large space size

Active Publication Date: 2017-09-29
HUAZHONG UNIV OF SCI & TECH
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The quality of the cache replacement algorithm directly affects the efficiency of the cache, which in turn can affect the overall performance of the system
The traditional cache replacement algorithm represented by LRU and its derivative algorithm has achieved good performance in the traditional DRAM memory environment, but in the heterogeneous memory environment, the cache miss penalty (Miss Penalty) is inconsistent, that is, the DRAM and PCM The new feature of inconsistent access latency has not been fully considered in the traditional cache replacement algorithm, which raises the problem of improving cache usage efficiency in a heterogeneous memory environment

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
  • A Cache Replacement Method in Heterogeneous Memory Environment
  • A Cache Replacement Method in Heterogeneous Memory Environment
  • A Cache Replacement Method in Heterogeneous Memory Environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] This embodiment records a cache replacement method in a heterogeneous memory environment. Such as figure 1 As shown, the cache replacement method includes: adding a source flag in the cache line hardware structure, which is used to mark whether the cache line data comes from DRAM or PCM; figure 2 As shown, the cache replacement method also includes: adding a sampling storage unit in the CPU, and statistical data reuse distance information; image 3 Shown is the format of the reuse distance statistics table in the cache replacement method; as Figure 4 As shown, the cache replacement method also includes three sub-methods: a sampling method, an equivalent location calculation method and a replacement method. position, the replacement submethod is used to determine the cache line that needs to be replaced.

[0054] The source flag is counted as I, and its setting method is: when the cache misses and needs to read data from the memory, the received data block is determ...

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 cache replacement method in a heterogeneous memory environment, which is characterized in that it includes: adding a source flag bit in the cache line hardware structure to mark whether the cache line data comes from DRAM or PCM; A new sampling storage unit is added in the CPU, which is used to record program memory access behavior and data reuse distance information; it also includes three sub-methods: sampling method, equivalent position calculation method and replacement method. Sampling statistics, the equivalent location calculation submethod is used to calculate the equivalent location, and the replacement submethod is used to determine the cache line that needs to be replaced. The present invention optimizes the traditional cache replacement strategy for the memory access characteristics of programs in a heterogeneous memory environment. The implementation of the present invention can reduce the high delay cost of accessing PCM memory due to cache misses, thereby improving the overall memory access of the system performance.

Description

technical field [0001] The invention belongs to the technical field of computer science, and more specifically relates to a cache replacement method in a heterogeneous memory environment. Background technique [0002] The development of traditional memory technology represented by Dynamic Random Access Memory (DRAM) has encountered a bottleneck in recent years. Restricted by the manufacturing process, it is becoming more and more difficult to obtain larger capacity DRAM memory at a lower cost; and as the capacity continues to increase, the problem of high energy consumption of DRAM memory is becoming increasingly prominent. The rise and development of new non-volatile memory (Non-Volatile Memory, NVM for short) technology provides an opportunity to break the traditional DRAM memory, which is the bottleneck of system performance and energy consumption. Non-volatile memory devices represented by Phase Change Memory (PCM) have good scalability, and are closer to the delay and ...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F12/123
Inventor 廖小飞刘东金海
Owner HUAZHONG UNIV OF SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products