Garbage recycling method, device and equipment for solid state disk and storage medium

A technology of solid-state hard drives and recycling methods, applied in the computer field, can solve the problems of affecting the overall efficiency of garbage collection, long time for grouping gc stripes, and low efficiency, so as to improve random write performance, shorten the time of stripes, and reduce the number of garbage collection Effect

Active Publication Date: 2020-01-14
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] From the perspective of the efficiency of each stage of garbage collection of solid state drives, flash read is less efficient than flash write, that is, it takes a long time to set GC stripes, which affects the overall efficiency of garbage collection

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 recycling method, device and equipment for solid state disk and storage medium
  • Garbage recycling method, device and equipment for solid state disk and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] 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 efforts belong to the protection scope of the present invention.

[0037] Please refer to figure 1 , figure 1 It is a flow chart of a solid state disk garbage collection method provided by an embodiment of the present invention. The method can include:

[0038] Step 101: Read the L2P table, and obtain the read task corresponding to the unit data to be read; wherein, the unit data is data with a preset uni...

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 garbage collection method, device and equipment for a solid state disk and a computer readable storage medium, and the method comprises the steps: reading an L2P table, and obtaining a reading task corresponding to unit data needing to be read; wherein the unit data is data of a preset unit size; judging whether the same batch of reading tasks corresponding to the currentreading task exist in n reading tasks after the current reading task or not; wherein the unit data corresponding to the same batch of reading tasks and the unit data corresponding to the current reading task belong to the same storage page; if so, initiating a common reading operation of the unit data corresponding to the current reading task and the same batch of reading tasks. By initiating a common reading operation of a plurality of unit data belonging to the same storage page, the read operation unit in garbage collection of the solid state disk is improved from one unit data to a plurality of unit data, the number of read operations can be reduced, and the probability of hitting cache is increased, so that the garbage collection efficiency is improved, and the random writing performance of the solid state disk is improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a garbage collection method, device, equipment and computer-readable storage medium for a solid-state hard disk. Background technique [0002] With the development of science and technology in modern society, more and more computers use solid-state drives for data storage. [0003] In the prior art, since the l2p table (logic-physical mapping table) in the solid-state hard disk is in units of 4k, the corresponding garbage collection (garbage collection, gc) also performs flash read (or nand read) operations in units of 4k, The actual flash read operation is performed in units of pages. When the flash read operation is performed, the data of one page (storage page, such as 16k) is read to its local cache (cache memory), and then the actual required 4k data is selected from the cache and provided. Each lun (logical unit number) has an independent cache for read / write / erase oper...

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/02
CPCG06F12/0246G06F12/0253
Inventor 郑善龙
Owner SUZHOU LANGCHAO INTELLIGENT 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