A method and device for separating cold and hot data of a SATA solid-state hard drive

A solid-state hard disk, cold and hot data technology, applied in the input/output process of data processing, electrical digital data processing, instruments, etc., can solve the problems of SSD performance and lifespan decline, so as to improve SSD lifespan, improve read and write performance, The effect of reducing the trigger probability

Active Publication Date: 2022-03-29
SHENZHEN YILIAN INFORMATION SYST CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the above business model, there may be multiple applications on the host side that write data to the SSD, and the data streams of different applications have different hot and cold properties (refresh frequency), and the data of each application may be split by the host into Multiple commands are sent to the SSD, and the commands of different applications are interleaved and sent to the SSD; the existing firmware technology cannot effectively distinguish the degree of hotness and coldness of these commands (data), and can only be sent to the SSD in the order in which the host sends commands. The data is first cached in the cache, and then flashed to the physical block of the flash memory, so the hot and cold data will be written to the same physical block with a high probability, and many garbage blocks will be generated as the hot data is frequently refreshed (physical blocks at the same time) Contains valid data and invalid data), frequently triggers garbage collection tasks, which will lead to a sharp decline in SSD performance and life; therefore, cannot meet the demand

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 and device for separating cold and hot data of a SATA solid-state hard drive
  • A method and device for separating cold and hot data of a SATA solid-state hard drive
  • A method and device for separating cold and hot data of a SATA solid-state hard drive

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] 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 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.

[0040] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0041] It should also be understood that the terminology 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
Login to view more

PUM

No PUM Login to view more

Abstract

The present invention relates to a method and device for separating cold and hot data of a SATA solid-state hard drive; wherein, the method includes: S1, defining data streams, numbering data streams, and binding data stream IDs; S2, applying data Bind with different data stream IDs; S3, the application data generates multiple commands and sends them to the solid state disk; S4, caches the data in the corresponding data pool according to the data stream ID of the command; S5, when the SSD cache is full, the Brush the cold data to the first physical block of the flash memory, and write the hot data to the second physical block of the flash memory; S6, the host application layer rewrites the hot data, and writes the hot data in the second physical block to the third physical block of the flash memory , and erase the second physical block. The invention separates the hot and cold data in the cache, and writes the hot and cold data into different physical blocks, thereby reducing the trigger probability of garbage collection tasks, thereby improving the read-write performance of the host and the service life of the SSD.

Description

technical field [0001] The invention relates to the technical field of cold and hot data separation of solid-state hard disks, and more specifically refers to a method and device for separating cold and hot data of SATA solid-state hard disks. Background technique [0002] SSD (solid state drive) with SATA interface and NAND flash memory still occupies a mainstream position in the server and data center business. In the above business model, there may be multiple applications on the host side that write data to the SSD, and the data streams of different applications have different hot and cold properties (refresh frequency), and the data of each application may be split by the host into Multiple commands are sent to the SSD, and the commands of different applications are interleaved and sent to the SSD; the existing firmware technology cannot effectively distinguish the degree of hotness and coldness of these commands (data), and can only be sent to the SSD in the order in w...

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): G06F3/06
CPCG06F3/0614G06F3/0652G06F3/0679
Inventor 邹一凡沈荣娟张健
Owner SHENZHEN YILIAN INFORMATION SYST 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