Unlock instant, AI-driven research and patent intelligence for your innovation.

A method for implementing a flash conversion layer of a solid state disk

A technology of flash conversion layer and implementation method, which is applied in the direction of memory address/allocation/relocation, input/output to record carrier, etc., and can solve the problem that the cache scheduling algorithm is not well combined with the read and write characteristics of the solid-state disk, and the cache of the solid-state disk is not good. The problem of high hit overhead and shortened hard disk lifespan can achieve the effect of reducing the number of reads and writes, reducing the number of reads and writes, and improving the cache hit rate

Active Publication Date: 2015-12-02
HUAZHONG UNIV OF SCI & TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In the existing FTL, although the feature of erasing before writing can be shielded from the upper system, there are still obvious deficiencies: 1. The cache scheduling algorithm in it is not well combined with the read and write characteristics of the solid state disk; For example, the commonly used page-level mapping FTL now uses the LRU algorithm commonly used in the traditional file system used in the transfer of the mapping relationship to the cache, that is, only one mapping relationship is transferred at a time, but the SSD uses pages as read and write units. Calling in a mapping relationship requires reading the entire mapping page, calling out and updating a mapping relationship requires writing the entire mapping page
Therefore, the hit rate of the existing FTL call-out algorithm applied to the solid-state disk is not ideal.
However, the SSD cache miss overhead is very high (if the mapping needs to be updated, the miss overhead includes two read operations and one write operation), which seriously reduces the life of the hard disk.

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 implementing a flash conversion layer of a solid state disk
  • A method for implementing a flash conversion layer of a solid state disk
  • A method for implementing a flash conversion layer of a solid state disk

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0039] The technical terms of the present invention are firstly explained and illustrated below.

[0040] Cache mapping table: CacheMappingTable, hereinafter referred to as CMT, is used to store the active mapping table;

[0041] Mapping table: TranslationBlocks, which stores the mapping relationship between all logical page numbers and physical page numbers;

[0042] Data block: DataBlocks, used to store the user's real data;

[0043] Global translation directory: GlobalTranslationDirectory, which is used to track which page in the mapping table the mapping relationship of the logical address nu...

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 an implementation method for a flash translation layer of a solid-state disc. The implementation method includes that a read-write request sent by a file system is received and corresponds to a page with a logic address K; whether the logic address K is targeted in a cache mapping table is judged; if the logic address K is not targeted in the cache mapping table, whether the number (n) of mapping relations to be transferred to the cache mapping table for one time can be contained in the cache mapping table is judged; if the number (n) of mapping relations cannot be contained in the cache mapping table, a logic page number Victim_Num of a mapping relation which is used the least recently is found out in the cache mapping table, all logic page numbers stored in the same page as the mapping relation of the Victim_Num are found in the cache mapping table, and n mapping relations used the least recently are found from mapping relations corresponding to the logic page numbers; and then corresponding mapping relations are found in a global conversion directory according to the Victim_Num. The implementation method for the flash translation layer of the solid-state disc is higher in read-write efficiency, improves performance of the system, and prolongs the service life of the solid-state disc.

Description

technical field [0001] The invention belongs to the technical field of solid-state disk storage, and more particularly relates to a method for realizing a flash conversion layer of a solid-state disk. Background technique [0002] In recent years, flash memory (Flash) technology has led new changes in the storage field. With its small size, fast speed, low power consumption, no noise and anti-vibration and many other advantages, it has gradually replaced the traditional mechanical hard disk. [0003] It is completely different from traditional hard disks, such as figure 1 As shown, the flash memory chip (FlashChip) 101 in the prior art is made up of a plurality of blocks (Block) 102, and a block 102 is made up of a plurality of pages (Page) 103, usually 64, and one page 103 is divided into two There are three areas, which are respectively composed of data area 104 (DataArea) and OOB area (Out-ofBandarea) 105. Generally, the data area in a page 103 is 512B, and the OOB is ...

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): G06F12/02G06F3/06
CPCG06F12/0246G06F2212/7201
Inventor 吴非谢长生周健朱胜本陈克
Owner HUAZHONG UNIV OF SCI & TECH