A solid-state hard disk garbage collection management method, device and equipment

A technology of solid-state hard disk and management method, applied in the direction of electrical digital data processing, input/output process of data processing, instruments, etc., can solve problems such as not including blocks, affecting GC processing efficiency, etc., to improve overall efficiency and improve efficiency Effect

Active Publication Date: 2022-03-08
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the current garbage collection process, when the triggering conditions of GC are met, it will first try to fetch from the GC linked list, if it cannot be fetched, it will be fetched from other linked lists, but there may be a possibility that the GC linked list does not contain blocks, At this point, the efficiency of the entire GC process is affected.

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 solid-state hard disk garbage collection management method, device and equipment
  • A solid-state hard disk garbage collection management method, device and equipment
  • A solid-state hard disk garbage collection management method, device and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042]The core of the present invention is to provide a solid-state disk garbage collection management method, which can perceive the existence of blocks on the GC linked list in advance. Linked lists acquire blocks, and the efficiency of garbage collection is higher; another core of the present invention is to provide a device, equipment and computer-readable storage medium based on the above method.

[0043] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative effo...

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 solid-state hard disk garbage collection management method. If the condition and the number of blocks are 0, if the GC trigger condition is met and the number of blocks is not 0, the block is selected from the GC linked list for garbage collection processing; if the GC trigger condition is met and the number of blocks is 0, the Select blocks on the dirty list for garbage collection. The present invention can sense the existence of blocks on the GC linked list in advance, and when the trigger condition is met and the number of blocks on the GC linked list is 0, blocks are directly obtained from linked lists other than the GC linked list, and the efficiency of garbage collection is higher; The invention also discloses an apparatus, a device and a computer-readable storage medium based on the above method.

Description

technical field [0001] The invention relates to the technical field of garbage collection of solid state disks, in particular to a method for managing garbage collection of solid state disks. The invention also relates to a solid-state hard disk garbage recovery management device, equipment and computer-readable storage medium. Background technique [0002] Garbage Collection (GC) of SSD (Solid State Drives) is actually equivalent to defragmentation. It is an automatic processing mechanism of the main control chip of the SSD itself and does not depend on the operating system. Since SSD erasure is based on blocks (blocks), garbage collection is also performed in units of blocks, that is, all valid pages in a block are moved to a new block, and the old block is erased. The advantage of this is that on the one hand, it reduces the addressing burden, and on the other hand, it leaves more free blocks. Therefore, garbage collection plays a vital role in the performance and lifes...

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/06
CPCG06F3/064G06F3/0652G06F3/0679
Inventor 王鑫
Owner LANGCHAO ELECTRONIC INFORMATION IND 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