Check patentability & draft patents in minutes with Patsnap Eureka AI!

A method for judging ssd hot and cold data and a garbage collection method

A cold and hot data and data technology, applied in the storage field, can solve the problems of increasing invalid migration of cold data pages, reducing the frequency of garbage collection, and less erasure times, and achieve the effects of reducing invalid migration, improving efficiency, and reducing write amplification

Active Publication Date: 2021-02-05
SHENZHEN YILIAN INFORMATION SYST CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage is that after the data is written, since the number of erasures of the block storing the cold data is relatively small, it is used as the data migration target block during the GC process, and the cold data needs to be re-migrated to increase the write amplification
[0004] figure 1 It is the flow chart of the existing hot and cold data judgment method, separate the hot and cold data, set the hot and cold degree of the data according to the size of the data, put the data with similar temperature together, and reduce the frequency of garbage collection; but it will increase the follow-up garbage collection process Invalid migration of intermediate cold data pages

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 method for judging ssd hot and cold data and a garbage collection method
  • A method for judging ssd hot and cold data and a garbage collection method
  • A method for judging ssd hot and cold data and a garbage collection method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0016] The invention provides a method for cold and hot separation of data, which reduces the number of subsequent GCs. Two-level considerations of "page temperature" and "block temperature" have been added, and cold and hot data should be placed and migrated separately as much as possible to reduce the invalid migration of cold data during GC, improve the efficiency of GC operations, reduce write amplification, and prolong SSD life. service life.

[0017] To impl...

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 method for judging hot and cold data of an SSD and a garbage collection method, which are characterized in that two levels of data hot and cold judgment of page temperature and block temperature are added at the same time, and a logical page temperature table is added to record the pages of each logical page The temperature value TemLP, the page temperature value is determined by the number of recent write accesses; the block temperature value TemBlock is determined by the page temperature value TemLP of the pages contained in each block, and TemLP is specifically determined by the sum of the page temperature values ​​of valid pages and invalid pages . By introducing this solution, using the write access frequency as the criterion for judging the degree of hotness and coldness of data, the invalid migration of cold data pages during subsequent garbage collection is reduced, the efficiency of garbage collection is improved, write amplification is reduced, and the life of NAND flash is extended.

Description

technical field [0001] The present invention relates to the field of storage technology, in particular to a method for judging hot and cold data of an SSD and a garbage collection method. Background technique [0002] Due to the inherent characteristics of NAND flash, the number of rewritable times of NAND flash is limited, the number of rewritable times of SLC particles is the largest, and the number of rewritable times of TLC particles is the least. The service life of the SSD depends on the service life of the NAND flash. In order to improve the service life of the SSD, a wear leveling strategy is required. The key to wear leveling is the separation of cold and hot data. The current separation of cold and hot data is based on the amount of data written by HOST Judging by the size, this method reduces the system overhead, but it cannot effectively separate the cold and hot data, which will cause a large number of invalid garbage collection GC operations. [0003] Using th...

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/0614G06F3/0646G06F3/0688
Inventor 肖锐
Owner SHENZHEN YILIAN INFORMATION SYST CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More