Method for managing solid-state hard disk mapping tables

A technology of solid-state hard drives and mapping tables, applied in the input/output process of data processing, electrical digital data processing, instruments, etc., can solve problems such as read amplification, impact on cache hit rate, write amplification, etc.

Active Publication Date: 2018-03-23
UNIV OF SCI & TECH OF CHINA
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The minimum read / write unit of the flash memory in the SSD is 4KB, and the size of a mapping record is only 8B. The mapping table in the buffer is managed according to a mapping record (8B), and the mapping records stored in the flash memory are all in accordance with the page (4KB), so that when the mapping records in the cache area are swapped in and out, it will cause a large read amplification and write amplification effect; on the other hand, there are only a few mappings in the flash memory page storing the mapping table Records are frequently accessed, which also affects the cache hit rate

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
  • Method for managing solid-state hard disk mapping tables
  • Method for managing solid-state hard disk mapping tables
  • Method for managing solid-state hard disk mapping tables

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] A specific implementation process example of the management method of the solid-state hard disk mapping table of the present invention comprises the following steps:

[0027] Step 1: Design the functional structure of the SSD

[0028] figure 1 It is the logic function structure schematic diagram of the solid-state hard disk among the present invention, and the part above is dynamic random access memory (marked as DRAM in the figure), and the following part is flash memory (marked as flash among the figures); For two parts, which are used to store user data (marked as User Page in the figure) and mapping table (marked as Translation Page in the figure), the flash memory page (Translation Page) storing the mapping table is divided into two parts, one part is sequence The stored mapping table page (marked as In-order Translation Page in the figure), and another part is used to dynamically store the mapping table page (marked as Dynamic Translation Page in the figure).

...

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 managing solid-state hard disk mapping tables. The method is characterized by comprising the following steps of designing a functional structure of a solid-state hard disk, dividing translation pages for storing the mapping tables into in-order storage and dynamic storage, establishing an index for dynamic translation pages, and designing a buffer area writeback strategy, the search flow of mapping records and combination of the dynamic translation pages and the like. A second chance is provided for dirty data in caches to stay in a buffer area, and the writeback operations are reduced. When the dynamic translation pages are hit, the mapping records of one translation page is read every time and all loaded to the buffer area, and the cache hit rate is increased. Compared with traditional mapping table management methods, the method has the advantages that the frequency of reading and writing of the solid-state disk is reduced, the service life of the solid-state disk can be prolonged at the same time, the hit rate of the buffer area is increased, and the performance of the solid-state disk is greatly improved.

Description

technical field [0001] The invention belongs to the technical field of solid-state hard disks, and in particular relates to a method for managing address mapping tables of solid-state hard disks. Background technique [0002] Introduced in Proceedings of the 2009 International Conference on Architectural Support for Programming Languages ​​and Operating Systems (2009, pp. 229-240) published by the American Association for Computing Machinery The management method of the solid-state disk mapping table (DFTL: a flash translation layer employing demand-based selective caching of page-level address mappings), stores the mapping table of the solid-state disk in the underlying flash memory, and puts part of the mapping table into the cache ; When the mapping table needs to be looked up, it is preferred to search in the cache. If there is no hit, it is necessary to read the mapping table of a page from the flash memory, and find the required mapping record from it, and load it into...

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): G06F3/06
CPCG06F3/061G06F3/0616G06F3/0656G06F3/0679
Inventor 许胤龙陈浩李永坤吕敏刘彩银
Owner UNIV OF SCI & TECH OF CHINA
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