Unlock instant, AI-driven research and patent intelligence for your innovation.

SSD garbage collection method and device, computer equipment and storage medium

A technology for computer equipment and recycling methods, applied in computing, instrumentation, electrical and digital data processing, etc., can solve the problems affecting the service life of SSD, data is not specially processed, resource waste, etc., to achieve the effect of improving the overall service life and performance

Active Publication Date: 2020-06-23
SHENZHEN YILIAN INFORMATION SYST CO LTD
View PDF8 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] There is an existing target block selection strategy for SSD (solid state drive) garbage collection (GC). The usual method is to manage the target block according to the number of erasures (EC) of the free block. When the GC operation applies for the target block, the current EC is given priority. The smallest block is used as the target block; the disadvantage of this method is that the reference factors for target block selection are too single, and different types of data are not specially processed, such as "cold data" for GC operations, and the applied target block is the current EC The smallest block, and "cold data" may not be accessed for a long period of time in the future, which causes a waste of resources and affects the overall service life of the SSD. In addition, this method does not fully consider the physical properties of NAND Features, the operation time (reading, writing and erasing) of each block (Block) is different. Compared with the allocation of "hot data" to the target block with a long operation time and the target block with a short operation time, in the long run, the allocation of "hot data" A target block with a short operation time will inevitably improve the overall performance of the SSD; therefore, it cannot meet the demand

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
  • SSD garbage collection method and device, computer equipment and storage medium
  • SSD garbage collection method and device, computer equipment and storage medium
  • SSD garbage collection method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] 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 some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0032] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0033] It should also be understood that the terminology 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
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to an SSD garbage collection method and device, computer equipment and a storage medium. The method comprises the following steps: selecting a sacrificial block, and reading to-be-moved data; judging whether the to-be-migrated data is cold data or hot data; if the data is the cold data, sorting the blocks according to the erasure times, forming a maximum moving group by all blocks of which the erasure time difference with the current maximum erasure time block is less than K, selecting the block with the longest operation time in the maximum moving group as a target block, erasing the target block, and moving the cold data to be moved to the target block; and if the hot data is the hot data, sorting the blocks according to the erasure times, forming a moving minimum group by all the blocks of which the erasure time difference with the current minimum erasure time block is less than M, selecting the block with the shortest operation time in the moving minimum groupas a target block, erasing the target block, and moving the hot data to be moved to the target block. The overall service life of the SSD can be effectively prolonged, and the performance of the SSDcan be effectively improved.

Description

technical field [0001] The present invention relates to the technical field of solid-state disk garbage collection, and more specifically refers to a method, device, computer equipment and storage medium for SSD garbage collection. Background technique [0002] There is an existing target block selection strategy for SSD (solid state drive) garbage collection (GC). The usual method is to manage the target block according to the number of erasures (EC) of the free block. When the GC operation applies for the target block, the current EC is given priority. The smallest block is used as the target block; the disadvantage of this method is that the reference factors for target block selection are too single, and different types of data are not specially processed, such as "cold data" for GC operations, and the applied target block is the current EC The smallest block, and "cold data" may not be accessed for a long period of time in the future, which causes a waste of resources a...

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): G06F3/06
CPCG06F3/0616G06F3/0652G06F3/064G06F3/0679Y02D10/00
Inventor 尹子航肖蔓君陶英林
Owner SHENZHEN YILIAN INFORMATION SYST CO LTD