Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method of quickly responding to trim command, SSD (Solid State Disk) controller and system

A fast-response, controller-based technology, applied in the field of SSD systems, can solve problems such as command completion timeout and impact on command response time, and achieve the effect of reducing waiting time and improving command response efficiency

Inactive Publication Date: 2013-04-03
广东华晟数据固态存储有限公司
View PDF4 Cites 38 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The main operation of the SSD controller is to modify the table entries corresponding to the relevant data, including the data state table based on the logical address index and the physical state table based on the physical address. When the area of ​​TRIM is large, the number of table entry modifications and The time increases linearly, which will affect the response time of the command and make the command complete timeout; even if the cache technology is used in the SSD controller, the table entry is cached in it, and only the data in the cache is updated when the table entry is modified, which can be achieved to a certain extent. improve the command completion time, but still cannot fundamentally solve the above problems

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 of quickly responding to trim command, SSD (Solid State Disk) controller and system
  • Method of quickly responding to trim command, SSD (Solid State Disk) controller and system
  • Method of quickly responding to trim command, SSD (Solid State Disk) controller and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The method for quickly responding to a trim command provided by the present invention and the corresponding SSD controller for quickly responding to a trim command and the SSD system for quickly responding to a trim command can quickly execute a plurality of consecutive TRIM commands for large segments of data, thereby achieving a fast response in a short period of time. Respond to TRIM requests of multiple large segments of data from the host, reducing the waiting time of the system and improving command response efficiency.

[0047] see figure 1 , which is a schematic flowchart of the first embodiment of the method for quickly responding to the trim command provided by the present invention, as figure 1 As shown, the method for quickly responding to the trim command includes:

[0048] In step S101, when the SSD controller receives a trim command issued by the host, it obtains a logical address range indicated by the trim command. More specifically, the SSD controlle...

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 provides a method of quickly responding to a trim command, an SSD (Solid State Disk) controller and a system. The method comprises the following steps: when the SSD controller receives the trim command issued by a host computer, the SSD controller acquires a logical address range signified by the trim command; the SSD controller modifies a state of a logical address signified by the trim command, and the state is set to be invalid; the SSD controller returns an answering signal meaning the trim command to be finished to the host computer; and after the trim command finishes the answering, the SSD controller selects a computer to modify a state of a physical address corresponding to the logical address, and the state is set to be invalid. According to the technical scheme provided by the invention, trim commands of multiple continuous large sections of data can be quickly executed, so that trim requests of the multiple large sections of data of the host computer are responded in a shorter period, the waiting time of a system is reduced and the command response efficiency is improved.

Description

technical field [0001] The present invention relates to the technical field of storage, and in particular to a method for quickly responding to a trim command, a corresponding SSD controller and an SSD system for quickly responding to a trim command. Background technique [0002] Solid State Disk (SSD) uses non-volatile memory chips as storage media. Physically, these memory chips must be erased before data can be written. Before erasing, it is necessary to transfer the original valid data on the memory block of the memory chip to another erased block, and this process is generally called garbage collection. The efficiency of garbage collection directly affects the write performance of the SSD. The higher the garbage collection efficiency is, the smaller the impact on the write performance of the host writing data to the SSD. Garbage collection is most efficient when all the data on a block is invalid. [0003] For this reason, the ATA (Advanced Technology Attachment, Adva...

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): G06F13/16
Inventor 向志华李欣张琴杨继涛王灿黎智李程
Owner 广东华晟数据固态存储有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products