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

Cache replacement method and device based on energy consumption characteristics of MLC STT-RAM

A cache replacement and energy consumption technology, applied in energy-saving computing, memory systems, climate sustainability, etc., can solve problems such as write energy consumption, reduce write-back energy consumption, ensure feasibility, and simplify the calculation process.

Active Publication Date: 2021-02-23
HUAZHONG UNIV OF SCI & TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004]The original cache replacement algorithm designed for DRAM as the main memory is not suitable for the main memory based on MLC STT-RAM. This is because the main memory based on DRAM In the cache, the data evicted according to the cache replacement strategy has fixed memory energy consumption when it is refreshed from the LLC to the main memory. Therefore, it is not necessary to consider the memory write energy consumption problem when designing the cache replacement strategy. The main source is the refresh of data, and MLC STT-RAM has asymmetric write energy consumption characteristics and high write energy consumption caused by two-step conversion, which makes it possible to apply the previous cache replacement strategy designed for DRAM to MLCSTT-RAM based When the main memory is used, it often brings serious write energy consumption problems

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
  • Cache replacement method and device based on energy consumption characteristics of MLC STT-RAM
  • Cache replacement method and device based on energy consumption characteristics of MLC STT-RAM
  • Cache replacement method and device based on energy consumption characteristics of MLC STT-RAM

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] A cache replacement method based on the energy consumption characteristics of MLC STT-RAM, such as figure 1 As shown, MLC STT-RAM is used as the main memory of the system; methods include:

[0057] When a cache replacement occurs in the last-level cache, the N indicators of each cache block in the last-level cache are calculated according to the preset N cache replacement algorithms, and they are respectively recorded as the first indicator and the second indicator of the corresponding cache block... ...the Nth index, and respectively estimate the write-back energy consumption generated by flashing the data in each cache block back to the main memory, as the N+1th index of the corresponding cache block;

[0058] Comprehensively evaluate the N+1 indicators of each cache block to select the eliminated cache block as the target cache block;

[0059] Wherein, N is an integer greater than or equal to 1; among the N kinds of cache replacement algorithms, each cache replaceme...

Embodiment 2

[0097] A cache replacement device based on the energy consumption characteristics of MLC STT-RAM. MLC STT-RAM is used as the main memory of the system. The device includes: N index calculation modules, an energy consumption estimation module and an evaluation module;

[0098] N indicator calculation modules are respectively used to calculate N indicators of each cache block in the last-level cache according to the preset N cache replacement algorithms when cache replacement occurs in the last-level cache, and record them as the first corresponding cache block. One indicator, the second indicator...the Nth indicator;

[0099] The energy consumption estimation module is used to separately estimate the write-back energy consumption generated by flushing the data in each cache block back to the main memory when the cache replacement occurs in the last-level cache, as the N+1th index of the corresponding cache block ;

[0100] A judging module, configured to select eliminated cach...

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 and device based on energy consumption characteristics of an MLC STR-RAM, and belongs to the technical field of computer storage, the MLC STR-RAM isused as a system main memory, the method comprises the following steps: when cache replacement occurs in a final-stage cache, respectively calculating N indexes of each cache block in the final-stagecache according to N preset cache replacement algorithms, respectively recording the indexes as a first index, a second index,..., and an Nth index of the corresponding cache block, respectively estimating write-back energy consumption generated by refreshing the data in each cache block back to the main memory, and taking the estimated write-back energy consumption as an (N + 1) th index of the corresponding cache block; comprehensively judging the N + 1 indexes of each cache block to select the eliminated cache block as a target cache block; wherein N is an integer greater than or equal to 1; in the N cache replacement algorithms, each cache replacement algorithm selects an eliminated cache block according to a single index, and the indexes of different cache replacement algorithms are different. According to the method, the write-back energy consumption of the MLC STT-RAM main memory can be effectively reduced.

Description

technical field [0001] The invention belongs to the technical field of computer storage, and more specifically relates to a cache replacement method and device based on the energy consumption characteristics of MLC STT-RAM. Background technique [0002] With the rapid development of large-scale memory computing, DRAM (Dynamic Random-Access Memory) is the most widely used type of main memory, because of its small storage density, limited scalability, and huge power consumption caused by repeated refreshes. The disadvantage is that it can no longer meet the requirements of some real-time systems and high-performance systems for equipment area, performance and energy consumption. And energy consumption has always been a problem that cannot be ignored, and mainstream chip manufacturers have also introduced low-energy chip technologies. [0003] MLC STT-RAM (Multi-Level CellSpin Transfer Torque RAM, multi-level cell spin transfer torque magnetic random access memory) has become ...

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/122G06F12/123G06F12/0897
CPCG06F12/122G06F12/123G06F12/0897G06F2212/1028Y02D10/00
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