Garbage collection space management method, device and computer-readable storage medium

A space management and garbage technology, which is applied in computing, electronic digital data processing, database design/maintenance, etc., can solve the problems of turning into garbage data, wasting storage array resources, and not being easy, so as to reduce system overhead, improve performance and Quality of service, the effect of reducing invalid transfers

Active Publication Date: 2022-06-07
JINAN INSPUR DATA TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, it is best to select a block containing a large amount of invalid data for recycling to reduce the amount of data to be migrated. However, because the storage pool has a large capacity and there are many blocks, it is not easy to find a block containing a large amount of invalid data.
In addition, if the data to be migrated is the data just written by the host, these data may soon become garbage data, thus resulting in invalid relocation, doing useless work and wasting storage array resources

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
  • Garbage collection space management method, device and computer-readable storage medium
  • Garbage collection space management method, device and computer-readable storage medium
  • Garbage collection space management method, device and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0067] It is understandable that during garbage collection, there may be one block recovery selection module that meets the garbage collection conditions, or there may be multiple block recovery selection modules that meet the garbage collection conditions, and there may be no block recovery that meets the garbage collection conditions Select a module. Based on this, as an optional implementation, such as image 3 As shown, the present application also provides an implementation manner of garbage collection, and S103 may include the following steps:

[0068]S1031: If there is only one block recovery selection module with the highest inefficiency range meeting the garbage collection conditions, select a data block from the block recovery selection modules with the highest inefficiency range that meets the garbage collection conditions for garbage collection.

[0069] S1032: If there are multiple block recovery selection modules in the highest inefficiency interval that meet th...

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 application discloses a garbage collection space management method, device and computer-readable storage medium. Wherein, the method includes pre-constructing multiple block recovery selection modules, and each block recovery selection module is divided into multiple inefficiency intervals with different inefficiency ranges. When it is detected that there is a target data block full of data, the target data block is migrated to the corresponding inefficiency interval in the target block recovery selection module according to the inefficiency of the target data block, and every first preset time based on the current inefficiency will be The target data block is adjusted to the corresponding inefficiency interval; when there is a block recycling selection module with the highest inefficiency interval that meets the garbage collection conditions, the data block is selected from each block recycling selection module according to the order of the data block usage time from old to new to be garbage Recycling, in the process of garbage collecting data blocks, it is realized that data blocks with more invalid data can be selected to reduce the amount of migrated data, and at the same time, invalid migration can be reduced to reduce system overhead.

Description

technical field [0001] The present application relates to the technical field of all-flash storage arrays, in particular to a garbage collection space management method, device, and computer-readable storage medium. Background technique [0002] In an all-flash storage array, in order to reduce the write amplification of the SSD (Solid-state disk) in the array and prolong the service life of the SSD, the storage array software usually handles the write business of the host in a log-structured redirected write mode , so as to convert the random small IOs generated by the host write business into continuous large IOs and write them into the SSD. In this way, after the host overwrites, garbage data will be generated, and garbage collection is required to reclaim the storage pool space containing invalid data in time. The space area occupied by garbage data cannot be reused to receive host data until it is reclaimed by garbage collection. [0003] However, the granularity of 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 Patents(China)
IPC IPC(8): G06F3/06G06F16/21G06F16/215
CPCG06F3/064G06F3/0647G06F3/0652G06F16/214G06F16/215
Inventor 刘晓瑞
Owner JINAN INSPUR DATA TECH 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