Cache management method and device for non-volatile storage device
A non-volatile storage and cache management technology, which is applied in the field of cache management of non-volatile storage devices, can solve the problems of increased average read and write delay, reduced device working life, and low execution efficiency, and achieve easy access , Improve the working life and avoid the effect of frequent replacement
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] The embodiment of the present invention provides a cache management method of a non-volatile storage device, which can be applied to a cache system based on a non-volatile storage device, such as figure 1 As shown, the cache system includes: a cache, a non-volatile storage device, and a cache management device.
[0035] The cache can be used to save page data read from the non-volatile storage device and page data to be written into the non-volatile storage device, including a clean page subpool and a dirty page subpool . The clean page subpool is a collection of unmodified pages in the cache, and the dirty page subpool is a collection of modified pages in the cache. The clean page subpool and the dirty page subpool can be implemented by one or a combination of data structures such as linked list or array.
[0036] The non-volatile storage device, for example, a flash memory, a PCM (Phase Change Memory, phase change memory) and other storage devices may be used to sto...
Embodiment 2
[0051] An embodiment of the present invention provides a cache adjustment method for a non-volatile storage device, which can also be applied to such as figure 1 In the shown cache system based on a non-volatile storage device, and the setting method of the cache system can also be the same as that in Embodiment 1, such as figure 2 As shown, the method specifically includes:
[0052] 201. When it is determined that the page to be accessed is neither in the clean page subpool nor in the dirty page subpool, the cache management device judges the relationship between the sum of the capacity of the clean page subpool and the dirty page subpool and the cache capacity . When the sum of the capacity of the clean page subpool and the dirty page subpool is greater than or equal to the cache capacity, perform step 202; when the sum of the capacity of the clean page subpool and the dirty page subpool is less than the If there is no cache capacity, go to step 209.
[0053] 202. The ca...
Embodiment 3
[0098] An embodiment of the present invention provides a cache management device for a non-volatile storage device, such as Figure 6 As shown, the device includes: a judging unit 41 and an adjusting unit 42 .
[0099] Judging unit 41, configured to determine the size between the sum of the capacity of the clean page subpool and the dirty page subpool and the cache capacity when it is determined that the page to be accessed is not in the clean page subpool or in the dirty page subpool relation.
[0100] The judging unit 41 is further configured to judge whether the identification information of the page to be accessed is in the clean page history when it is determined that the sum of the capacity of the clean page subpool and the dirty page subpool is greater than or equal to the cache capacity. list or in the dirty page history list.
[0101] The adjustment unit 42 is configured to increase the capacity threshold of the clean subpool by a first adjustment value when the jud...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com