A method for fast processing of a solid state disk TRIM

A solid-state hard disk, fast technology, applied in the direction of electrical digital data processing, instruments, memory systems, etc., can solve the problems of IO command blocking, IO delay and timeout of large hosts, and achieve the effect of solving huge delay

Active Publication Date: 2019-01-18
杭州阿姆科技有限公司
View PDF9 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the host needs to increase the LBA range of TRIM, the time required for this LBA-by-LBA processing increases linearly, and all subsequent IO commands issued by the host will be blocked, resulting in a huge host IO delay, or even timeout

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 method for fast processing of a solid state disk TRIM
  • A method for fast processing of a solid state disk TRIM
  • A method for fast processing of a solid state disk TRIM

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0022] A method for quickly processing the TRIM of solid-state disks, using the TRIM state table and the TRIM node state table to record the LBAs to be TRIM issued by the host and quickly returning the TRIM command to the host, and then processing the pending TRIM in the background through the device entry processing module LBA, the specific operation steps are as follows:

[0023] (1) The TRIM status table uses LBA as the index, which represents whether the corresponding LBA is waiting for TRIM, maps k LBAs to a TRIM node, and builds a TRIM node status table with the TRIM node as the index. The content of the TRIM node status table is each The state of the node, such as figure 1 As shown; the value of k is adjusted according to the system, and the TRIM node status table can be used to know: whether there are LBAs waiting for TRIM in this node...

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 fast processing a solid-state hard disk TRIM. The specific operation steps are as follows: (1) The TRIM state table is indexed by LBA, representing whether the corresponding LBA waits for TRIM or not, k LBAs are mapped to one TRIM node, and a TRIM node state table with TRIM node as index is established, the content of the TRIM node state table is the state of each node; (2) When the host issues a TRIM command, the SSD controller updates the TRIM state table and the TRIM node state table according to the starting LBA address and the range, records the LBA information of the TRIM required by the host, and returns the TRIM command to the host when the TRIM state table and the TRIM node state table are updated; (3) The equipment list item processing modulecompletes the TRIM operation of the LBA to be recorded in the background. The invention has the advantages that: a method for solving the problem of tremendous delay in processing TRIM commands; During the TRIM background processing, the request of host IO entries is given priority, so that the performance of SSD is not significantly affected by the background TRIM operation.

Description

technical field [0001] The invention relates to the technical field related to solid-state storage, in particular to a method for quickly processing the TRIM of a solid-state hard disk. Background technique [0002] A solid state drive (Solid State Drives, SSD) uses a non-volatile memory (Non-Volatile Memory, NVM) as a storage medium. This type of media does not physically support overwriting, and data can only be written after an erase operation, and it needs to be erased at the granularity of the block (block) and written at the granularity of the page (Page), so even when a certain block The data of some of the pages is already invalid, and they cannot be erased. Instead, the valid pages must be moved to other blocks through garbage collection (GarbageCollection, GC) and the mapping relationship between logical pages and physical page addresses (Logical to Physical , L2P), so that the valid page count (Valid Page Counter, VPC) of the block is 0, and then it is erased. S...

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): G06F12/02G06F12/0891G06F12/1009
CPCG06F12/0246G06F12/0253G06F12/0891G06F12/1009Y02D10/00
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