Management method and device of cache
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Publication Date
- 2015-07-29
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The present invention relates to the communication field, in particular to a Cache (cache memory) management method and device. Background technique
[0002] During the development of computer technology, the access speed of the main memory has always been much slower than the processing speed of the CPU (processor), so that the high-speed processing capability of the CPU cannot be fully utilized, and the work efficiency of the entire computer system is affected. In order to alleviate the contradiction between the speed mismatch between the CPU and the main memory, a more commonly used method is to use a cache (high-speed cache) for caching at the storage level. For example, the cache can be integrated in the CPU so that the CPU can obtain data faster. figure 1 A schematic structural diagram of an N-way (way) set associative Cache is provided. Such as figure 1 As shown, the size of all cache lines (Cacheline) in the cache is the same, and each cache...