Invention Grant
- Patent Title: Data caching method and computer system
-
Application No.: US15347776Application Date: 2016-11-09
-
Publication No.: US10241919B2Publication Date: 2019-03-26
- Inventor: Wei Wei , Lixin Zhang , Jin Xiong , Dejun Jiang
- Applicant: HUAWEI TECHNOLOGIES CO.,LTD.
- Applicant Address: CN Shenzhen
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Shenzhen
- Agency: Conley Rose, P.C.
- Priority: CN201410193960 20140509
- Main IPC: G06F12/0868
- IPC: G06F12/0868 ; G06F3/06 ; G06F12/122 ; G06F12/128 ; G06F12/08

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
- US20170060752A1 DATA CACHING METHOD AND COMPUTER SYSTEM Public/Granted day:2017-03-02
Information query
IPC分类: