-
公开(公告)号:US20170300426A1
公开(公告)日:2017-10-19
申请号:US15637241
申请日:2017-06-29
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Yunpeng CHAI , Dongwang SUN
CPC classification number: G06F12/126 , G06F12/0246 , G06F12/06 , G06F12/0684 , G06F12/0804 , G06F12/0871
Abstract: A read cache management method and apparatus based on a solid state drive, and the method includes: determining whether a read request hits a first queue and a second queue (S101); if both the first queue and the second queue are missed, selecting and deleting an eliminated data block from the first queue (S102); if the eliminated data block is in a stored state, inserting the eliminated data block into the second queue (S103); and determining a target data block in a lower-level storage medium, and inserting the target data block into the first queue, (S104). According to the foregoing read cache management method and apparatus based on the solid state drive, a hit ratio of the solid state drive can be increased, a data write count of the solid state drive can be reduced, and service life of the solid state drive can be extended.
-
公开(公告)号:US20170371807A1
公开(公告)日:2017-12-28
申请号:US15699406
申请日:2017-09-08
Applicant: Huawei Technologies Co., Ltd.
Inventor: Yunpeng CHAI , Dongwang SUN
IPC: G06F12/121 , G06F12/0891
CPC classification number: G06F12/121 , G06F12/0804 , G06F12/0866 , G06F12/0891 , G06F2212/1021 , G06F2212/60
Abstract: The present embodiments provide a cache data determining method and apparatus, and pertain to the field of computer technologies. The method includes: acquiring a data identifier of read cache miss data; selecting, based on the acquired data identifier, a data identifier of to-be-determined data; recording data identifiers by groups; collecting statistics on quantities of occurrence times, in each group, of the data identifiers; and selecting target to-be-determined data according to the quantities of occurrence times, and determining the target to-be-determined data as cache miss data to be written into a cache memory. Data identifiers are recorded by groups, and after statistics on quantities of occurrence times, in each group, of the data identifiers is collected, target to-be-determined data is selected according to the quantities of occurrence times, and the target to-be-determined data is determined as cache miss data to be written into a cache memory.
-