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

Active Publication Date: 2017-10-17
HUAWEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[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 advantages of larger capacity, lower cost and non-volatility, but SSDs have the advantages of erasable Write limit problem
When using the traditional cache replacement algorithm (such as LRU, etc.) to manage SSDs, due to the lack of cache media to drive data updates, when new read requests miss, data blocks in the SSD will be deleted. If new read requests continue to miss , data blocks in the SSD will be continuously kicked out, and the residence time of the data blocks in the SSD will be very short. However, these kicked out data blocks may be rewritten to the SSD after a certain period of time, such frequent data Erasing and writing operations will reduce the service life of SSDs and increase costs and maintenance difficulties

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A read cache management method and device based on a solid state disk
  • A read cache management method and device based on a solid state disk
  • A read cache management method and device based on a solid state disk

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the present invention discloses an SSD-based read cache management method. The solid-state disk SSD includes a first queue and a second queue. The method includes: receiving a read request, and judging whether the read request hits the first Queue and the second queue; if both are not hit, select and delete the eliminated data block in the first queue according to the cache replacement algorithm; if the eliminated data block is in a stored state, replace the eliminated data block Inserting into the second queue; determining the target data block corresponding to the read request from the lower-level storage medium, and inserting the target data block into the first queue; wherein, the target data block is in an unstored state. The embodiment of the invention also discloses an SSD-based cache management device. By adopting the invention, the hit rate of the SSD can be improved, the amount of data written in the SSD can be reduced and the service life of the SSD can be prolonged.

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...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F12/06
CPCG06F12/0871G06F2212/313G06F2212/1036G06F12/123G06F12/0868G06F2212/222G06F12/127G06F12/0246G06F12/06G06F12/0684G06F12/0804G06F12/126
Inventor 柴云鹏孙东旺
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products