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

Solid state disk intelligent garbage recycling and scheduling method

A solid-state drive and scheduling method technology, applied in the fields of instrumentation, electrical digital data processing, memory architecture access/allocation, etc., can solve the problems of asymmetric operation performance, slow erasing, flash memory does not support in-place update, etc., to reduce the impact , to ensure the effect of efficiency

Active Publication Date: 2020-09-25
HANGZHOU DIANZI UNIV
View PDF7 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] NAND flash memory, the storage medium of SSD, has the following physical characteristics: 1) Flash memory only provides three operations: read, write, and erase, and the performance of these three operations is asymmetrical, with the fastest read, followed by write, and the slowest erase; 2) Flash memory is organized according to the structure of pages, blocks, and planes; a page is the smallest unit of reading / writing, generally 2 / 4 / 8KB; a block is the smallest unit of erasing, and a block generally contains 64 / 128 pages; 3) After the flash memory is erased, it can only be written once, that is, the so-called erase-before-write, which causes the flash memory to not support in-place update; 4) The number of programming / erasing (P / E) of each storage unit of the flash memory is limited. After / E times, flash storage data is no longer reliable
[0004] Due to the above physical characteristics of NAND flash memory, SSD can only adopt an off-site update strategy: invalidate the previously written data, and then write the data to a new location

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
  • Solid state disk intelligent garbage recycling and scheduling method
  • Solid state disk intelligent garbage recycling and scheduling method
  • Solid state disk intelligent garbage recycling and scheduling method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0085] Example 1: A specific case of garbage collection and IO scheduling.

[0086] In order to further explain the garbage collection generation and IO scheduling of the present invention, the description will be given in conjunction with a specific situation. For the convenience of description, the pages referred to are all physical pages, and the process of address translation is omitted. Suppose the flash memory has 2 channels, each channel has 4 blocks, each block is 4 pages, each channel has a total of 16 pages, each number represents the physical page number, the blank square represents a free page, and the horizontal square represents Valid pages, slashed squares indicate invalid pages. R_x_y and W_x_y represent the read and write operations on the physical page y in the x channel, respectively, and E_x_y represent the erase operation on the physical block y in the x channel. B GC The size is 2 pages, th hard =0.3, TH soft =0.35. In addition, since the number of ...

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 solid state disk intelligent garbage recycling and scheduling method. According to the method, the type of generated GC is determined through two levels of thresholds. Read-write erasing operation capable of interrupting garbage collection is combined with read-write IO of each channel for management, and available space is actively recycled by fully utilizing idle time ofeach channel. An interruptible garbage collection IO queue is set, a GC buffer area is used for temporarily storing and recycling effective pages of damaged blocks, the writing operation of the interruptible garbage collection effective pages is delayed, and the influence of GC on host IO is reduced. For non-interruptible GC, a greedy strategy is adopted for selection of damaged blocks, the blockwith the most invalid pages is selected, and GC efficiency is maximized. For interruptible GC, the recovery efficiency, the data updating frequency and the erasure frequency are comprehensively considered for selection of damaged blocks, and the garbage recovery efficiency and abrasion balance are considered. According to the method, the GC efficiency can be ensured, Meanwhile, the influence of GC on host IO is reduced.

Description

technical field [0001] The invention belongs to the field of solid-state hard disk (SSD) firmware algorithm design, and particularly relates to a solid-state hard disk intelligent garbage collection (GC) and scheduling method. Background technique [0002] With the development of semiconductor technology, in computer systems, the storage subsystem has become a bottleneck restricting the development of computer systems. Due to its high-speed read and write performance, SSD based on NAND flash memory has become one of the mainstream storage devices. [0003] NAND flash memory, the storage medium of SSD, has the following physical characteristics: 1) Flash memory only provides three operations: read, write, and erase, and the performance of these three operations is asymmetrical. Read is the fastest, followed by write, and erase is the slowest; 2) Flash memory is organized in the structure of pages, blocks and planes; a page is the smallest unit of read / write, generally 2 / 4 / 8K...

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/06
CPCG06F12/0253G06F3/061G06F3/0659G06F3/0679G06F2212/7205G06F12/0246
Inventor 姚英彪孔小冲包杰丞冯维范金龙姜显扬徐欣
Owner HANGZHOU DIANZI UNIV
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