-
公开(公告)号:US10133679B2
公开(公告)日:2018-11-20
申请号:US15637241
申请日:2017-06-29
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Yunpeng Chai , Dongwang Sun
IPC: G06F12/02 , G06F12/126 , G06F12/06 , 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.