Method for improving performance of solid state disk

A technology of solid-state hard disk and performance, which is applied in the input/output process of data processing, instruments, electrical digital data processing, etc. It can solve the problems of increasing the pressure of garbage collection, reducing the service life of SSD, and discontinuity, so as to reduce data writing , the effect of reducing the amount of data

Inactive Publication Date: 2018-07-03
SHENZHEN YILIAN INFORMATION SYST CO LTD
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the front-end operating system may be performing write operations on multiple logical space segments at the same time, which causes the original logically sequential user data to be stored in scattered physical spaces. When subsequent users access this continuous logical address , becomes a non-sequential read operation on the SSD side, affecting read performance
At the same time, as the user rewrites and deletes data, more blocks with valid data pages and invalid data pages are formed in the SSD, which increases the workload of garbage collection and reduces the service life of the SSD.
[0003] On the client side, there may be multiple threads writing data to the SSD at the same time, and the data written by each thread may be continuous, but on the SSD side, it is necessary to respond to the data writing of multiple threads at the same time, and each The priority of the thread is the same, which will make the original logical address continuous data writing cannot be stored continuously in the SSD, and the data of multiple continuous data command streams will be mixed together
like figure 1 As shown in the internal execution diagram of multiple commands flowing down the traditional SSD, the three threads T0, T1, and T2 simultaneously write data blocks with continuous logical addresses into the SSD. The SSD needs to respond to the three threads at the same time, so that the command nodes cannot be continuous inside the SSD. It becomes messy, and it is also messy and disorderly when stored on the NAND flash
For the operation of such a large data block, it is often centralized writing, centralized reading, and centralized deletion on the client side. Therefore, the above-mentioned phenomenon will cause two effects: First, due to the messy storage of physical addresses, subsequent operations on this The sequential reading of some large blocks of data becomes discontinuous when implemented at the bottom layer, which will affect the data reading performance
Second, due to the high probability of centralized deletion by users, the operations that could invalidate the entire block of data become scattered in each physical block. After a long time, the effective data in the disk will be scattered, increasing the pressure of garbage collection, and then affecting the life of the 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
  • Method for improving performance of solid state disk
  • Method for improving performance of solid state disk
  • Method for improving performance of solid state disk

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] 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.

[0014] In view of the above problems, the present invention proposes an SSD internal command flow management strategy, which judges whether the logical addresses of each command are continuous through the logical address when the user writes, and assigns the same command flow number to the commands with continuous logical addresses. When storing, each command stream number is stored separately, which enables the data of the same command stream number to be stored in...

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 method for improving the performance of a solid state disk. The method is characterized by comprising the steps of grouping commands according to logic addresses of writing instructions of a host in the solid state disk; dividing the writing instructions with the continuous logic addresses in the same group; and writing data of the writing instructions in the same group into a NAND flash with continuous physical addresses. After use of a command stream for management, the data of the continuous logic addresses is concentrated in the continuous physical addresses; evenif a user performs deletion and overwriting operations on the data subsequently, the old data is intensively invalid, and the whole block level is invalid with high probability, so that a garbage collection program processes invalid data blocks of the whole block disorderly; and the data can be reused after being directly erased, so that the data migration amount of garbage collection is reducedand unnecessary data writing is reduced.

Description

technical field [0001] The invention relates to solid-state hard disk control technology, in particular to a method for improving the performance of the solid-state hard disk. Background technique [0002] When the solid-state disk completes the user data writing, it usually does not distinguish the data, and only performs the writing operation according to the order in which the user write commands are submitted. However, the front-end operating system may be performing write operations on multiple logical space segments at the same time, which causes the original logically sequential user data to be stored in scattered physical spaces. When subsequent users access this continuous logical address , becomes a non-sequential read operation on the SSD side, affecting read performance. At the same time, as the user rewrites and deletes data, a block with more valid data pages and invalid data pages is formed in the SSD, which increases the workload of garbage collection and re...

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 Applications(China)
IPC IPC(8): G06F3/06
CPCG06F3/0608G06F3/0652G06F3/0659G06F3/0688
Inventor 华荣
Owner SHENZHEN YILIAN INFORMATION SYST 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