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

Garbage recycling method and device

A recycling method and garbage technology, applied in the computer field, can solve problems such as the difficulty of optimizing garbage collection efficiency, achieve the effect of optimizing writing performance and improving garbage collection efficiency

Pending Publication Date: 2022-07-12
YUSUR TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, user behavior cannot be predicted in advance, so it is difficult to optimize garbage collection efficiency

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

[0053] In order to more clearly understand the above objects, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments may be combined with each other under the condition of no conflict.

[0054] Many specific details are set forth in the following description to facilitate a full understanding of the present disclosure, but the present disclosure can also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only a part of the embodiments of the present disclosure, and Not all examples.

[0055]The garbage collection process is as follows: in a solid-state hard drive, data is written in pages (pages), generally a page is 4096 Bytes, and erasing is in units of blocks (data blocks or physical blocks), usually several M (megabytes). When the pages...

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 embodiment of the invention relates to a garbage collection method and device, and the method comprises the steps: receiving a writing instruction of a software system under the condition that a solid state disk supports a writing instruction for one time; when the write instruction is a write-once instruction, writing the data into a pre-allocated first block group according to the write-once instruction; when the write instruction is a common write instruction which is not written once, writing the data into a pre-allocated second block group according to the common write instruction; and in the garbage collection process, the second block group is scanned, and the first block group is not scanned. The garbage collection efficiency can be improved, and then the write-in performance of the solid state disk is optimized.

Description

technical field [0001] The present disclosure relates to the field of computer technologies, and in particular, to a garbage collection method and device. Background technique [0002] Garbage Collection (GC) has a great impact on the performance of Solid State Drives (SSD). During the garbage collection process, if there are more valid data (data still in use), more moving is required, and the background moving work will occupy more internal resources of the solid-state hard disk, affecting the use of users. Whether the data inside a block is valid depends on how the user uses the SSD, that is, the user's read and write behavior has a great impact on the efficiency of garbage collection. However, user behavior is unpredictable in advance, so it is difficult to optimize garbage collection efficiency. SUMMARY OF THE INVENTION [0003] In order to solve the above technical problems, the present disclosure provides a garbage collection method and device. [0004] Embodimen...

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/0253
Inventor 张宇侯普
Owner YUSUR 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