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

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

Example Embodiment

[0055]Example 1:

[0056]A cache replacement method based on the energy consumption characteristics of MLC STT-RAM, such asfigure 1 As shown, MLC STT-RAM is used as a system mainly;

[0057]When the cache is replaced in the final cache, the N indicators of each cache block in the final class cache are separately calculated according to the preset N cache replacement algorithm, respectively, respectively, the first indicator of the corresponding cache block, the second indicator ... ... Nth indicator, and respectively estimate the backup energy consumption generated by the main memory in the data in each buffer block, as the N + 1 indicator of the corresponding cache block;

[0058]Comprehensive evaluation of N + 1 indicator of each buck block, to select the phased block, which is eliminated, as the target buffer block;

[0059]Where n is an integer greater than or equal to 1; N kinds of cache replacement algorithms, each cache replacement algorithm is selected from the single index, and the ind...

Example Embodiment

[0096]Example 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 indicator calculation modules, 1 energy consumption estimation module and a judgment module;

[0098]The N index calculation modules are respectively used to calculate the N indexes of each cache block in the last level cache according to the preset N types of cache replacement algorithms when cache replacement occurs in the last level cache, which are respectively recorded as the first level of the corresponding cache block One indicator, the second indicator...the Nth indicator;

[0099]The energy consumption estimation module is used to 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+1 index of the corresponding cache block ;

[0100]The evaluation module is used to ...

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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products