Page-level buffer improvement method based on classification strategy

A classification strategy and buffer technology, applied in the fields of instruments, electrical digital data processing, memory systems, etc., can solve the problem of not taking into account the degree of hot and cold data pages in the buffer, not taking into account the spatial locality of data access, etc. , to achieve the effect of good practicability and application prospects

Inactive Publication Date: 2018-01-16
ZHEJIANG WANLI UNIV
View PDF2 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the above two classic buffer replacement algorithms do not take into account the degree of hot and cold data pages in the buffer, that is, the buffer is not divided into hot data page cache and cold data page cache, and the data is classified and stored; moreover, the page Both LRU and CFLRU do not take into account the spatial locality of data access, and the prefetching strategy can be used to improve the processing capacity of requests with high spatial locality.

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
  • Page-level buffer improvement method based on classification strategy
  • Page-level buffer improvement method based on classification strategy
  • Page-level buffer improvement method based on classification strategy

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] figure 1 The overall architecture diagram of the NAND flash-based solid-state disk is given. In terms of functions, the NAND flash-based SSD generally consists of a host interface layer, a buffer management layer (Buffer Management Layer, BML), a flash conversion layer, and a NAND flash array layer ( Flash Array Layer, FAL) composition.

[0028] exist figure 2 In, the overall architecture diagram of a page-level buffer improvement method based on classification strategy is described, in which R LPN and R PPN Respectively represent the logical page address and physical page address of the data. First, the algorithm uses the request type distinguishing module to determine the type of request sent by the file system, and divides the RAM into a hot cached data page (H-CDP) module and a cold cached data page (CDP) module. -CDP) and continuous data page storage module (sequential cached data page, S-CDP) three parts, H-CDP is mainly used to load frequently accessed data ...

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 page-level buffer improvement method based on a classification strategy. The method comprises a request type distinguishing module, a hot data page storage area module, a cold data page storage area module and a continuous data page storage area module. The method comprises the following steps: firstly, dividing a hot data page cache into the hot data page storage area module, the cold data page storage area module and the continuous data page storage area module, and separately using the modules to load data pages of a request with frequent accesses, the data pages of a request with lower access frequency and the data pages of the request with high spatial locality; secondly, arriving at the continuous data page storage area module by prefetching multiple continuous data pages; and finally, when the data page cache is full, preferably replacing least recently used (LRU) clean pages in the cold data page storage area module, and if the cold data page storage area module does not have dirty pages, replacing the dirty pages. Compared with a page-level LRU algorithm, by adopting the page-level buffer improvement method disclosed by the invention, the responseperformance to continuous loads can be improved, and the read and write overheads of flash memories can be effectively reduced.

Description

technical field [0001] The invention belongs to the technical field of solid-state hard disk algorithm design, and discloses a page-level buffer improvement method based on a classification strategy. Background technique [0002] The buffer replacement algorithm is one of the important means to improve the performance of the storage system. Currently, buffer replacement algorithms are widely used in file systems, databases, and other storage systems. However, the traditional buffer replacement algorithm is mainly aimed at improving the buffer hit rate, and it is designed for mechanical hard disks, and the asymmetry of the read and write operation costs of flash memory makes the traditional buffer replacement algorithm unable to adapt well to solid-state disks. . [0003] Currently, existing buffer replacement algorithms for solid-state disks mainly classify data pages for the uncertainty of flash memory read and write costs. When replacing data pages, try to minimize the ...

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/0882G06F12/0873G06F12/123
Inventor 杜晨杰
Owner ZHEJIANG WANLI 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