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

Substitution method for inclusive final stage cache

A last-level cache and high-speed cache technology, applied in memory systems, memory address/allocation/relocation, instruments, etc., can solve the problems of reduced effective cache space, inability to further improve performance, low performance, etc., to achieve shortened life, Reduced hardware overhead and design modifications, resulting in improved performance

Inactive Publication Date: 2013-04-17
北京北大众志微系统科技有限责任公司
View PDF2 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, inclusive caches have lower performance compared to other cache structures for two reasons
The first reason is due to the duplication of data in different caches, resulting in a reduction in effective cache space
The second reason is that in order to ensure inclusiveness, evicting a cache block in the last level cache needs to invalidate the block in the internal cache at the same time. These blocks that are invalidated in the internal cache to ensure inclusiveness are called inclusive victim
[0009] These above methods are either for mutually exclusive and non-inclusive caches, or only focus on reducing inclusive victims of inclusive caches without further improving performance

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
  • Substitution method for inclusive final stage cache
  • Substitution method for inclusive final stage cache

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0053] In step A, if the locality of the block is predicted to be good, EPB is set to 1; if the locality of the block is predicted to be poor, EPB is set to 0.

[0054] On failure, all blocks with an EPB of 0 are checked first. TEP selects a victim candidate from the block whose EPB is 0 in the order from the first physical way to the last physical way, and then judges whether the block is in the internal cache, if not, the block is selected as the victim . Otherwise, continue to select the next block until a block that meets the requirements is found. If there is no block with an EPB of 0 that is not in the internal cache, the remaining blocks with an EPB of 1 are checked. Provides a second layer of prioritization using the basic replacement algorithm to select a victim candidate in a block with an EPB of 1. If the block is in the internal cache, update the block to the LRU position and continue selecting the next victim candidate until a matching block is found.

[0055]...

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 provides a substitution method for inclusive final-stage cache and relates to a substitution method for inclusive final-stage cache in a processor. In the case of not sacrificing simplicity of a consistency protocol of the inclusive final-stage cache, the substitution method is capable of improving performances of the inclusive final-stage cache and includes the steps of predicting the locality of the entering block when a cache block enters a final-stage cache; putting the cache block into a high discharge priority list if the locality prediction of the cache block is poor; otherwise, putting the cache block into a low discharge priority list; determining cache blocks in the high discharge priority list in substitution; and substituting a cache block which is in a high discharge priority list outside an inner cache as a victim for the final-stage cache. The substitution method for the inclusive final-stage cache has the advantages of improving performances of the inclusive final stage cache and requiring minimal hardware overhead and design modifications.

Description

technical field [0001] The present invention relates to an alternative to an inclusive last level cache in a processor. Background technique [0002] Due to the growing performance gap between processors and main memory, multi-level caches are used in modern processors to fill this gap. An important issue in multi-level cache design is whether data inclusiveness can be guaranteed. In an inclusive cache, the last level cache contains the data of all internal caches, so the inclusive last level cache can filter unnecessary coherence information for the internal caches to simplify the implementation of the coherency protocol. Inclusive caches are therefore used in many recently proposed processors. However, inclusive caches have lower performance compared to other cache structures for two reasons. The first reason is the reduction of effective cache space due to duplication of data in different caches. The second reason is that in order to ensure inclusiveness, evicting a c...

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 Applications(China)
IPC IPC(8): G06F12/12G06F12/121
Inventor 程旭李凌达佟冬谢子超陆俊林
Owner 北京北大众志微系统科技有限责任公司
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