Replacement processing method and device for cache blocks in caches
A replacement processing and cache technology, applied in the field of replacement processing of cache blocks in the cache memory, can solve the problems of unrealistic low-level cache usage, affecting memory access performance, and inefficient replacement strategies, so as to reduce access delay. , the effect of improving hit rate and reducing overhead
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0037] Such as figure 1 The shown cache hierarchy structure can adopt both an exclusive mode and an inclusive mode. The following embodiments introduce the technical solutions of the present invention for the inclusive mode, that is, the storage mode in which all data in the upper-level cache exists in the current-level cache.
[0038] In order to understand the technical solution of the present invention more clearly, first introduce the internal structure of the cache, figure 2 It is a schematic diagram of the internal structure of the cache in the embodiment of the present invention, such as figure 2 As shown, the cache generally adopts the group associative organization method. Generally, the cache is divided into several groups, and each group includes several cache lines (that is, cache blocks). If each group has n cache lines, it is called n-way set associative. The specified data in the memory can be correspondingly placed in any cache line in the specified group i...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 