Data caching method and computer system
AssigneeHuawei Technologies Co., Ltd.
InventorsWei Wei, Lixin Zhang, Jin Xiong, Dejun Jiang
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsWei Wei, Lixin Zhang, Jin Xiong, Dejun Jiang
Estimating the term…
A data caching method and a computer system are provided. In the method, when a miss of an access request occurs and a cache needs to determine a to-be-replaced cache line, not only a historical access frequency of the cache line but also a type of a memory corresponding to the cache line needs to be considered. A cache line corresponding to a DRAM type may be preferably replaced, which reduces a caching amount in the cache for data stored in a DRAM and relatively increase a caching amount for data stored in an NVM. For an access request for accessing the data stored in the NVM, corresponding data can be found in the cache whenever possible, thereby reducing cases of reading data from the NVM. Thus, a delay in reading data from the NVM is reduced, and access efficiency is effectively improved.
A data caching method performed by a cache processor, comprising:
A data caching method performed by a cache processor, comprising:
A computer system, comprising:
Dependencies are inferred from the claim text.