Flash conversion layer control method based on request classification

A flash memory conversion layer and control method technology, applied in the storage field, can solve the problems of limited erasing times of flash memory, lower cache hit rate, and become bad blocks, so as to speed up the removal speed and avoid updating

Active Publication Date: 2018-04-20
HANGZHOU DIANZI UNIV
View PDF6 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

2) When the page is not an empty page, the flash memory cannot overwrite the page. It is necessary to erase the block where the page is located before writing data to this page.
4) The erasing times of the flash memory are limited, and after reaching a certain number, it will become a bad block and cannot be used anymore
[0005] However, the CMT in DFTL only considers the time locality of the request, and does not consider the spatial locality of the request, which reduces the hit rate of the cache.
In addition, the elimination strategy of CMT's LRU single mapping item may trigger frequent update operations and garbage collection operations of conversion pages. Reduced system speed and lifespan

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
  • Flash conversion layer control method based on request classification
  • Flash conversion layer control method based on request classification
  • Flash conversion layer control method based on request classification

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] A method for controlling the flash translation layer based on request classification provided by the present invention will be further described below in conjunction with the accompanying drawings.

[0054] see figure 1 , shows a schematic diagram of the address mapping principle of the flash memory conversion layer in the present invention, and the flash memory is divided into two parts: a data block area and a conversion block area. A variety of tables for address translation are stored in the memory SRAM, and these tables are classified according to the operation requests of the file system and the frequency of address requests, that is, the single cache translation table (CMT) of DFTL in the prior art is at least divided into The following types: Infrequent Read Random CachedMapping Table (IR_RCMT), Frequent Read Random CachedMapping Table (FR_RCMT), Infrequent Write Random CachedMapping Table (Infrequent Write Random CachedMapping Table, IW_RCMT), Frequent Write R...

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 discloses a flash conversion layer control method based on request classification. The method comprises the following steps: Step S1: setting a plurality of address mapping cachetables in a memory according to an operation request of the file system and an address request frequency; Step S2: obtaining the operation request of the file system in the flash conversion layer andparsing the operation request to determine the operation request type; Step S3: searching the logical page address of the operation request in multiple address mapping cache tables in different priority orders according to the operation request type until hitting the corresponding address mapping entry; and Step S4: updating the memory address mapping cache tables according to the operation request result. Compared with the prior art, according to the method disclosed by the present invention, the request is divided in a more fine-grained manner, quickly hitting the mapping entry is facilitated, and when removing the mapping entry, the classified removal can be carried out to accelerate the removal speed, the mapping entries that must be updated can be quickly sorted, and the update of the mapping entries that does not require to be updated is avoided.

Description

technical field [0001] The invention relates to the field of storage technology, in particular to a method for controlling a flash conversion layer based on request classification for solid-state storage devices. Background technique [0002] With the continuous popularization of computers and networks, people have higher and higher requirements on the speed of computers, and a key factor restricting the speed of computers is the speed of storage media. The large-capacity storage medium of traditional personal computers is a mechanical hard disk, but due to its mechanical rotating structure, its read and write speed is very limited and its shock resistance is not good. Compared with HDD (Hard Disk Drive), SSD has the advantages of fast read and write speed, good shock resistance, and low power consumption. At present, common SSDs are mainly based on NAND flash, and the physical structure of NAND flash is different from traditional magnetic storage media. The main difference...

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/1009
CPCG06F12/1009G06F12/0246G06F2212/7201
Inventor 樊凌雁王鑫陈龙
Owner HANGZHOU DIANZI UNIV
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