Cache management method for solid-state disc

A cache management and solid-state disk technology, which is applied in memory systems, electrical digital data processing, memory address/allocation/relocation, etc., can solve problems such as unseen cache management methods, reduce page copy operations, and speed up read and write speeds , The effect of reducing the number of reads and writes

Active Publication Date: 2013-06-05
湖南长城银河科技有限公司
View PDF7 Cites 58 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the above-mentioned existing technologies all focus on a certain aspect, and cannot meet the requirements of the above-mentioned three aspects at the same ti

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
  • Cache management method for solid-state disc
  • Cache management method for solid-state disc
  • Cache management method for solid-state disc

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] Such as figure 1 and figure 2 As shown, the implementation steps of the cache management method of the solid state disk in this embodiment are as follows:

[0046] 1) Create a page cache for storing cached data and a replacement block cache for storing replacement blocks in the cache of the solid-state disk in advance, and then create a new page linked list, a physical block linked list, and a physical page status table in the cache of the solid-state disk; The new page linked list is used to record the logical page number to be written into the solid-state disk in the page cache; the physical block linked list is used to record the information of the physical block number corresponding to the logical page in the page cache, and each node in the physical block linked list It is a "dirty" page linked list used to record all "dirty" pages with data and valid identification bits in the physical block; the physical page status table is used to record the data "valid", " ...

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 invention discloses a cache management method for a solid-state disc. The method comprises the following implement steps that a page cache, a replace block module, a new page linked list, a physical block chain list and a physical page state list are established; an input and output (IO) request from a host is received and is executed through the page cache, when a writing request is executed, if the page cache is missed, and the page cache has no spare space, a block replace process of the solid-state disc is executed, namely an 'effective' page space in the page cache is preferential released; when the number of 'effective' pages in the page cache is zero, a candidate replace block with the largest failure ratio in a rear half physical block of the physical block chain list is selected to serve as a replace block, and the replace block cache is utilized to execute a replace writing process. The cache management method for the solid-state disc can effectively use a limited cache space and increase hit rate of the cache, enables a block written in a flash medium to comprise as many dirty data pages as possible and as few effective data pages as possible to reduce erasure operation and page copy operations and sequential rubbish recovery caused by the dirty data pages. The cache management method for the solid-state disc is easy to operate.

Description

technical field [0001] The invention relates to a cache management method of a storage device, in particular to a cache management method of a solid state disk. Background technique [0002] Solid State Disk (SSD) is a hard disk that uses Flash media or DRAM chips as permanent data storage. The more common SSD is the SSD based on Flash media, which consists of Flash media, SSD controller and a piece of DRAM used as controller memory. Because solid-state disks abandon traditional magnetic media and use electronic storage media for data access, they get rid of the mechanical limitations of magnetic hard disks and greatly reduce data search time. The latency of the solid state disk is at the microsecond (us) level, and the random access performance is one to two orders of magnitude higher than that of the traditional hard disk. At the same time, solid-state disks have the advantages of non-volatility, low power consumption, strong shock resistance, high read and write bandwid...

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
IPC IPC(8): G06F12/08G06F12/0871G06F12/0873
Inventor 宋振龙魏登萍李琼郭御风肖立权周恩强董勇黎铁军李元山胡积平谢徐超王烨琛李旭言
Owner 湖南长城银河科技有限公司
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