A non-volatile cache method for ssd

A non-volatile, caching technology that is used in memory systems, memory address/allocation/relocation, instruments, etc., and can solve problems such as high price, poor random write performance, and limited erasure times.

Active Publication Date: 2019-03-29
NAT UNIV OF DEFENSE TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The technical solution of the present invention is: due to the shortcomings of SSD itself: high price, limited life, that is, limited erasure times, read interference, poor random write performance, etc., limit the use and development of SSD

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 non-volatile cache method for ssd
  • A non-volatile cache method for ssd
  • A non-volatile cache method for ssd

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] 1: Implementation based on device mapper mechanism

[0021] figure 1 It is the overall structure diagram of the caching mechanism.

[0022] Target type is a modular plugin interface that allows customization. The mechanism of SCS (SSD cache SSD) is to use this interface to define a new target type, define the cache area and data area as two new target devices, design the mapping rules of the cache, and logically combine them into a new block equipment. Therefore, through the mapping table, the data from the upper layer can be sent to different devices according to the rules, thereby realizing data redirection. The specific steps are:

[0023] 1. The write request of the upper layer is firstly detected by the I / O sequence, and the random I / O is cached in the RAMbuffer of the small block in the memory;

[0024] 2. After the RAM buffer is full, write them sequentially into the SSD buffer in the form of a sequential log;

[0025] 3. When the buffer is idle or when the...

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 relates to a nonvolatile cache mechanism facing SSD. The method comprises following steps: a SSD is divided into a large buffer area; small random write requests are first written in small RAM buffer; after the RAM buffer is full, those write requests are written together in the form of log into a buffer area sequentially; then data in the buffer area is written back to a data area by a backstage; in this way, the random write-in performance of SSD is effectively increased; the cache mechanism can also optimize read interference problems; the cache mechanism comprises: sequential and large I / O are filtered by an I / O detection algorithm; cache write can also be sequentially written in a data area by a garbage recovery strategy facing data area, at the same time, remaining data in the buffer area can also be written again in the cache sequentially; a read cache strategy is provided for solving the problem of SSD read interference; A SSD cache SSD system of a log structure based on device mapper is fulfilled.

Description

technical field [0001] The invention is suitable for the technical field of SSD non-volatile cache, provides a new SSD-oriented non-volatile cache mechanism, improves the random write performance of SSD, and effectively alleviates the read interference problem of SSD. Background technique [0002] As an important part of the computer system, the storage system has always been an important factor affecting the overall performance of the computer system. Since the beginning of the 21st century, with the rapid development of information technology, especially the development and wide application of Internet technology, social production and people's life have generated more and more data and are increasingly dependent on data. The data age has arrived. Big data brings new challenges to the storage field. [0003] As the amount of application data continues to increase, users have higher and higher requirements for storage system capacity. According to IDC estimates, the glob...

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/02G06F12/0804
CPCG06F12/0802
Inventor 肖侬高翔陈志广杨梅芳
Owner NAT UNIV OF DEFENSE 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