Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Garbage recycling method and device

A recycling method and garbage technology, applied in the storage field, can solve problems such as system performance consumption and performance reduction of host IOPS, etc.

Pending Publication Date: 2022-01-25
HUAWEI TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the garbage collection process is accompanied by certain calculations and data writing, resulting in corresponding system performance consumption, which will affect the number of read and write operations per second (Input / Output Operations PerSecond, IOPS) of the host in the storage system, especially When a large amount of data needs to be quickly written to the storage system, the storage system may execute a large number of garbage collection processes concurrently, so the performance consumption generated by the garbage collection process will seriously reduce the IOPS and other performance of the host in the storage system

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 and device
  • Garbage recycling method and device
  • Garbage recycling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The embodiment of the present application proposes a garbage collection method and device, so as to improve performance such as IOPS of the host when there is a large amount of data writing tasks.

[0023] figure 1 A composition diagram of a storage system provided by an embodiment of the present application is depicted. figure 1 The shown storage system includes a host 10, at least one controller (such as figure 1 Controller 11) and a plurality of solid state drives 22 are shown. The controller 11 may be connected to the host 10 through a storage area network (storage area network, SAN). The controller 11 may be a computing device, such as a server, a desktop computer, and the like. An operating system and application programs are installed on the controller 11 . The controller 11 may receive input output (I / O) requests from the host computer 10 . The controller 11 can also store the data carried in the I / O request (if any), and write the data into the solid state...

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 provides a garbage recycling method. The storage system determines a first time period according to the business pressure value of the storage system in the historical time period, where the business pressure value of the storage system in the first time period is lower than a set threshold value, and the business pressure value of the storage system in the historical time period is obtained according to any one or more of IOPS, IO size, data read-write proportion, deduplication compression proportion and throughput; therefore, the storage system can carry out garbage collection in the first time period with the small business pressure value. Therefore, the storage system can have more blank logic block groups to support the storage system to quickly write a large amount of new data in other time periods, so that the influence of garbage collection in the other time periods on the IOPS and other performances of the host can be reduced, and the performance of the host when the host has a large amount of data write-in tasks is improved. In addition, the embodiment of the invention further provides a garbage recycling device.

Description

technical field [0001] The present application relates to the field of storage, in particular to a garbage collection method and device. Background technique [0002] In the storage medium of some storage systems, such as Solid State Disk (Solid State Disk, SSD), mechanical hard disk (Hard Disk Drive, HDD), etc., new data is usually written using a redirect-on-write (ROW) mechanism. That is, when the data in the storage system is modified, the new data will be written into a blank logical block group in the storage system, and the original data will be marked as garbage data for recycling. During garbage collection (Garbage Collection, GC), the valid data in the logical block group (chunk group, CKG) can be moved to a new logical block group, and then the valid data and invalid data in the logical block group are erased , forming a new blank logical block group for storing other new data. [0003] However, the garbage collection process is accompanied by certain calculatio...

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): G06F12/02G06F3/06G06F12/1009
CPCG06F12/0253G06F3/0604G06F3/064G06F3/0689G06F12/1009G06F12/02G06F3/06
Inventor 刘金虎鲁鹏张瑛
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products