A kind of internal cache management method of solid state disk

A technology of internal cache and management method, applied in the direction of input/output to record carrier, etc., can solve the problem of low cache hit rate, achieve the effect of prolonging life, high total hit rate, and improving hit rate

Active Publication Date: 2018-12-07
HUAZHONG UNIV OF SCI & TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of the above defects or improvement needs of the prior art, the present invention provides a solid-state disk internal cache management method, the purpose of which is to solve the problem of low cache hit rate of the existing solid-state disk internal cache management method

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 kind of internal cache management method of solid state disk
  • A kind of internal cache management method of solid state disk
  • A kind of internal cache management method of solid state disk

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other.

[0054] The solid state disk cache management method provided by the embodiment, its process is as follows figure 1 As shown, the details are as follows:

[0055] (1) When the solid-state disk receives the command to access data page X from the upper layer, set the weight of data page X. If the operation for X page is read, set the weight of data page X to 0; if the operation for data page X is ...

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 present invention discloses a solid-state disk internal cache management method. The method comprises: according to characteristics of asymmetry of flash memory reading and writing speeds, after a solid-state disk receives a command of an upper access data page, according to an operation type, assigning different weight values to read and write data pages in an internal cache of the solid-state disk, wherein the weight value of the writing data page is greater than that of the read data page; and in a system operation process, performing dynamic adjustment on the weight values of the data pages in the cache according to a hit condition of the data pages in the cache and the storage time of the data pages in the cache, and when the cache is full of data and needs to be replaced, a system searching data pages with the weight values of 0 in the cache for replacement. Compared with the prior art, the cache management method provided by the present invention improves the hit rate of the write data page on the premise of ensuring the total hit rate of the cache, thereby improving the performance of the solid-state disk and prolonging the service life of the solid-state disk.

Description

technical field [0001] The invention belongs to the technical field of computer storage, and more specifically relates to a method for managing internal cache of a solid state disk. Background technique [0002] Flash memory (NAND FLASH) has the characteristics of fast read and write speed, low energy consumption and good shock resistance. Therefore, solid state disks based on flash memory have been widely used in high-end servers and notebook computers. The memory chip consists of many data blocks, and each data block contains multiple data pages. In flash memory, the smallest unit of read and write operations is a page, and the flash chip can randomly read any page in the flash memory, but if there is data in the target page before the write operation, the data of the page must be erased first, and then it can be read. To write new data, the unit of erasing flash memory is a block, that is, at least one block is erased each time. At the same time, for a specific flash mem...

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): G06F3/06
Inventor 王芳何丹冯丹刘景宁童薇吴运翔
Owner HUAZHONG UNIV OF SCI & TECH
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