Buffer improvement method oriented to page-level FTL (Flash translation layer)

A buffer and data page technology, applied in instruments, electrical digital data processing, memory systems, etc., can solve the problems of secondary access, poor performance, and reduced buffer space utilization, reducing the number of flash block erasures Effect

Active Publication Date: 2017-12-01
和宇健康科技股份有限公司
View PDF8 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If continuous requests with low access frequency are cached in the buffer, buffer pollution will be caused, that is, data without time locality will occupy valuable storage space, resulting in a decrease in the space utilization of the buffer
However, the effect of directly sending continuous requests to FTL for processing is not good, because there is a phenomenon that a certain data in a continuous request is accessed twice, or even multiple times.

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
  • Buffer improvement method oriented to page-level FTL (Flash translation layer)
  • Buffer improvement method oriented to page-level FTL (Flash translation layer)
  • Buffer improvement method oriented to page-level FTL (Flash translation layer)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] Combine now image 3 and Figure 4 , which describes in detail the implementation example of the present invention, which describes the processing flow of the algorithm in detail.

[0045]In this example, the present invention weakens the size of the buffer space, and the clusters of the random request processing area module and the continuous request processing area module both consist of 4 data pages. Assume that the order of request arrival is as follows: (131,1,W), (0,2,R), (12,4,W), (2,1,W), where the three parameters in brackets represent the request The initial logical page number, requested size, and requested type. Assume that both the random request processing area module and the continuous request processing area module have no storage space, such as image 3 shown.

[0046] The processing flow of the present invention: when the request (131, 1, W) arrives, since the requested data is in the continuous request processing area module and is accessed twice,...

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 buffer improvement method oriented to s page-level FTL (Flash translation layer). The buffer improvement method comprises the following steps that: 1: dividing an RAM (Random Access memory) into a request type distinguishing module, a random request processing area module and a continuous request processing area module; 2: judging a type which achieves the request by the request type distinguishing module, and processing by the corresponding request processing area module; 3: if the data page of the request is in the RAM, immediately obtaining service, during service, judging the read-write type of the request, if the request is a write request, carrying out data coverage in the buffer, and otherwise, directly reading data from the buffer; 4: when a data page in the continuous request processing module is subjected to secondary access, loading the data page into the random request processing module; and 5: when the random request processing area module is full, according an LRU (Least Recently Used) strategy, carrying out ejection by taking a cluster as a unit, and when the continuous request processing area module is full, according to an FIFO (First In First Out) strategy, carrying out ejection by taking the cluster as the unit. The method is high in practicality and has a good application prospect.

Description

technical field [0001] The invention belongs to the technical field of solid-state disk algorithm design, and discloses a page-level FTL-oriented buffer improvement method. Background technique [0002] Buffer algorithm design is a very critical issue in SSD firmware design, especially for mid-to-high-end SSD performance and life optimization, buffer algorithm design plays a vital role. Since data access has high temporal locality and spatial locality, the buffer algorithm design can cache frequently accessed data in the buffer to reduce direct access to flash memory and improve CPU read and write efficiency. [0003] Data replacement strategy is a key issue in buffer algorithm design. In the traditional page-level replacement strategy, the replacement granularity is 1 page. The advantage of the page-level replacement strategy is that the access characteristics of each page can be distinguished in a fine-grained manner, and the buffer hit rate is higher. The disadvantage i...

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/02G06F12/06G06F12/123
CPCG06F12/0246G06F12/0646G06F12/123
Inventor 姚英彪杜晨杰周杰
Owner 和宇健康科技股份有限公司
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