发明名称 Cache Management Method and Apparatus for Non-Volatile Storage Device
摘要 Embodiments of the present invention disclose a method and apparatus of cache management for a non-volatile storage device. The method embodiment includes: determining a size relationship between a capacity sum of a clean page subpool and a dirty page subpool and a cache capacity; determining, when the capacity sum is equal to the cache capacity, whether identification information of a to-be-accessed page is in a history list of clean pages or a history list of dirty pages; and when it is determined that the identification information of the to-be-accessed page is in the history list of clean pages, adding a first adjustment value to a clean page subpool capacity threshold; and when the identification information of the to-be-accessed page is in the history list of dirty pages, subtracting a second adjustment value from the clean page subpool capacity threshold.
申请公布号 US2017060773(A1) 申请公布日期 2017.03.02
申请号 US201615348056 申请日期 2016.11.10
申请人 HUAWEI TECHNOLOGIES CO.,LTD. 发明人 Zhu Junhua
分类号 G06F12/123;G06F12/02;G06F12/0871 主分类号 G06F12/123
代理机构 代理人
主权项 1. A cache management method applied to a storage system comprising a cache, a non-volatile storage device, and a cache management apparatus, wherein the cache is configured to cache data for the non-volatile storage device, and wherein the method comprises: determining, by the cache management apparatus, a first to-be-accessed page is neither in a clean page subpool of the cache nor in a dirty page subpool of the cache, wherein the clean page subpool comprises a set of pages that are not modified in the cache, and the dirty page subpool comprises a set of pages that have been modified in the cache, wherein the clean page subpool, the dirty page subpool and the cache are related via a capacity relationship; and increasing, by the cache management apparatus, a maximum capacity of the clean page subpool when the first to-be-accessed page is identified in a history list of clean pages and the capacity relationship indicates that a capacity of the dirty page subpool and the clean page subpool corresponds to a capacity of the cache, wherein the history list of clean pages identifies clean pages that are recently displaced from the cache.
地址 Shenzhen CN
您可能感兴趣的专利