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

A solid-state hard disk, recycling method technology, applied in multi-programming device, program control design, input/output process of data processing, etc. Hard disk performance impact and other issues to reduce cold data migration storms, avoid cold data migration storms, and improve stability and reliability

Active Publication Date: 2020-05-01
北京浪潮数据技术有限公司
View PDF6 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if there are multiple data blocks with a low number of erasures that need to be migrated within a period of time, and these data blocks contain many valid data frames, the data blocks cannot be recovered for a long time, which will affect the efficiency of recovering valid data blocks , can easily affect the performance of solid-state drives. For example, in the early stage of the SSD life cycle, when there are a large number of old data blocks with the same number of wear times, cold data written randomly, and a large number of valid data frames may result in inefficient garbage collection. storm
That is to say, when related technologies perform garbage collection of source data blocks according to the level of wear and tear, the space recovery rate is low, and even inefficient garbage collection storms may occur, which affects the user's read and write efficiency, especially under heavy writing conditions. The number of blocks will be low to a certain level, and no free blocks can be recovered for a long time, and the disk cannot respond to the IO request of the host, and the high-quality and long-life service of SSD cannot be guaranteed.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. Apparently, the described embodiments are only 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.

[0054] The terms "first", "second", "third" and "fourth" in the specification and claims of this application and the above drawings are used to distinguish different objects, rather than to describe a specific order . Furthermore, the terms "comprising" and "having", and any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device compris...

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 recycling method, device and equipment for a solid state disk and a computer readable storage medium. The method comprises the following steps: carrying out random discrete processing on the wear frequency of each dirty data block in the solid state disk; calculating the garbage collection priority of each dirty data block according to the average wear frequency,the number of effective data frames of each dirty data block and the randomized wear frequency; dividing the dirty data blocks into a plurality of classes based on the number of effective data framesof each dirty data block, and adjusting garbage collection priority values of the dirty data blocks of each class of data sets by using a preset adjustment factor; determining the number of idle datablocks according to the relationship between the total number of current idle data blocks and a number threshold; garbage collection is carried out from each data set according to the adjusted garbage collection priority, on the basis of improving the space utilization rate of the solid state disk and considering abrasion balance, the phenomenon of cold data movement storm in the garbage collection process can be avoided, the stability and the reliability of the solid state disk can be effectively improved, and the use experience of a user is guaranteed.

Description

technical field [0001] The present application relates to the technical field of wear leveling of solid-state hard disks, and in particular to a garbage collection method, device, equipment and computer-readable storage medium for solid-state hard disks. Background technique [0002] With the rapid development of cloud computing and Internet technology, massive data needs to be stored all the time in daily work and life, and data storage technology has been developed accordingly to meet the actual storage needs of explosive growth data. SSD (Solid State Drives, solid state drive) is a hard disk made of solid state electronic memory chip array, which consists of a control unit and a solid state storage unit. Due to its stable performance, such as fast read and write speed and low energy consumption, it effectively overcomes many shortcomings of mechanical hard disks and is widely used. [0003] The storage unit of the solid state disk includes multiple data blocks (Block), 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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/06G06F9/50
CPCG06F3/0616G06F3/064G06F3/0646G06F3/0688G06F9/5022
Inventor 王鑫
Owner 北京浪潮数据技术有限公司
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