A read cache management method and device based on a solid state disk
A technology of solid-state hard disk and management method, which is applied in the field of computers, can solve problems such as the limit of erasable times, reduce the service life of SSD, increase cost and maintain difficulty, so as to improve the read hit rate, increase the residence time, and reduce SDD writing volume effect
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2017-10-17
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present invention relates to the field of computers, in particular to a solid state disk-based read cache management method and device. Background technique
[0002] At present, in order to improve the input / output performance of the disk system, such as reducing the request response time and increasing the throughput rate, in most storage systems, caching technology is used in the upper layer of the disk system to meet the performance improvement requirements.
[0003] In traditional storage systems, database systems generally use DRAM (Dynamic Random Access Memory, Dynamic Random Access Memory) as the cache medium. DRAM has the advantages of read-write balance and write durability. It does not need to consider the amount of DRAM writes. Frequently write data into DRAM.
[0004] In order to reduce the cost of cache media, SSDs (Solid State Drives, solid state drives) are used as cache media in more and more storage systems. SSDs have the advantag...
Examples
Embodiment Construction
[0065] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
[0066] see figure 1 , is a schematic flow chart of an SSD-based read cache management method provided in an embodiment of the present invention. In an embodiment of the present invention, the method includes:
[0067] S101. Receive a read request, and determine whether the read request hits the first queue and the second queue.
[0068] Specifically, SSD (Solid State Driver, solid state drive) is used as the cache of the lower-level storage medium, and the lower-l...