Invention Application
US20170060752A1 DATA CACHING METHOD AND COMPUTER SYSTEM 审中-公开
数据缓存方法和计算机系统

DATA CACHING METHOD AND COMPUTER SYSTEM
Abstract:
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.
Public/Granted literature
Information query
Patent Agency Ranking
0/0