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

Replacement device and method for chip shared cache and corresponding processor

A cache and cache block technology, applied in electrical digital data processing, instruments, memory address/allocation/relocation, etc., can solve problems such as poor spatiotemporal locality, inability to accumulate enough access numbers at address A0, and inability to solve LFU strategies. , to solve the jitter problem and improve the hit rate

Active Publication Date: 2011-06-29
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF2 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the sharing of the last-level cache by multiple small cores provides convenience for data transfer between small cores, it also causes some problems: although each small core has strong temporal and spatial locality in accessing the shared cache , but the spatiotemporal locality of the sum of many small core accesses is poor
But when figure 2 In the access sequence of , the cache block containing address A0 will be frequently replaced out of the cache, and the number of accesses to address A0 will be cleared every time it is replaced, which makes the LFU strategy unable to accumulate enough accesses for address A0 , so that the LFU strategy cannot solve figure 2 The jitter problem shown

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
  • Replacement device and method for chip shared cache and corresponding processor
  • Replacement device and method for chip shared cache and corresponding processor
  • Replacement device and method for chip shared cache and corresponding processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make the purpose, technical solution and advantages of the present invention clearer, the method and device for replacing an on-chip shared cache according to an embodiment of the present invention will be further described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0037] image 3 is a logical schematic diagram of the preparation steps for set associative cache replacement according to a preferred embodiment of the present invention, and figure 1 Compared with the given logical diagram of the preparation steps for the replacement of the traditional cache, there are mainly the following differences:

[0038] 1) Not only scoring the address corresponding to the cached data existing in the cache, but also scoring the access address. If the score of the access address is lower than the s...

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 replacement device and a replacement method for a chip shared cache and a corresponding processor. The device comprises a local scoring module and a replacement selection module, wherein the local scoring module comprises a plurality of scoring registers, and the scoring registers are used for storing cache block addresses and scores of the cache block addresses; the local scoring module is used for scoring an access address and an address corresponding to the cached data, and updating the cache block addresses stored in the scoring registers and the scores of the cache block addresses; and the replacement selection module is used for bypassing the access address under the condition that the score of the access address is lowest, otherwise, replacing the data corresponding to the address of the cached data with lowest score by using the data corresponding to the access address. Serious jitter of the shared cache in a multi-core / many-core processor is solved, and the share cache is better utilized.

Description

technical field [0001] The invention relates to the field of computer chips, in particular to multi-core or many-core processors. Background technique [0002] In the past few years, due to the limitations of instruction-level parallelism, power consumption, and chip temperature, mainstream chip manufacturers have shifted from producing single-core chips to producing multi-core or many-core chips. The design of multi-core or many-core chips faces many challenges that did not exist in the single-core era, one of which is the design of on-chip shared high-speed cache (cache). At present, there are two different methods for multi-core / many-core cache design: [0003] 1 Private cache: Each small core has a private cache. The advantage of this method is that the small cores are isolated from each other, and the behavior of one small core will not affect the performance of other small cores; the disadvantage is that the on-chip storage cannot be effectively used, especially when...

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): G06F15/167G06F12/02
Inventor 张轮凯李海忠雷峥蒙张浩范东睿
Owner INST OF COMPUTING TECH CHINESE ACAD OF SCI
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