Write-friendly flash memory solid-state disk cache management method

A cache management, solid state disk technology, applied in memory systems, electrical digital data processing, memory address/allocation/relocation, etc., to improve overall performance, reduce overhead, and improve cache hit rate

Active Publication Date: 2020-08-25
XI AN JIAOTONG UNIV
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a write-friendly flash memory solid state disk cache management method for the shortcomings of existing flash memory solid state disk cache management methods in terms of optimizing write operations. The data

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
  • Write-friendly flash memory solid-state disk cache management method
  • Write-friendly flash memory solid-state disk cache management method
  • Write-friendly flash memory solid-state disk cache management method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] The present invention provides a write-friendly flash memory solid-state disk cache management method. According to whether the data pages in the cache have been modified, the clean data pages and dirty data pages in the cache are managed and replaced with different granularities, and the specific steps are as follows :

[0058] S1. Manage the clean data pages in the cache with the page as the basic unit. At the same time, perform page cluster operations on the dirty data pages in the cache according to the different physical blocks of the flash memory to which they belong, and organize multiple data pages of the same physical block of flash memory. in a page cluster;

[0059] see figure 1 , the cache management method uses two LRU linked lists to manage clean data pages in the cache: a cold-linked list (Cold-List, hereinafter referred to as CL) and a hot-linked list (Hot-List, hereinafter referred to as HL). The CL linked list is used to manage clean data pages that ...

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 write-friendly flash memory solid-state disk cache management method, which comprises the following steps of: managing clean data pages in a cache by taking pages as basic units, performing page cluster operation on dirty data pages in the cache according to different flash memory physical blocks to which the dirty data pages belong, and organizing a plurality of data pages of the same flash memory physical block into one page cluster; setting system access time visit _ time to record the number of times of accessing the data page; recording a time stamp of accessingthe data page by the cache; setting a latest access time window; wherein the recent access time window covers a plurality of recently accessed data pages in the cache; setting the size of the recent access time window value tw to be 10% of the size of the cache space; and when the target data of the I/O request is not hit in the cache, reading the target data of the I/O request from the flash memory, returning the target data to the upper-layer application, and inserting the target data page into the corresponding management linked list in the cache according to the read-write type of the I/Orequest. The cache replacement frequency and the flash memory garbage collection overhead are reduced, and the overall performance of the flash memory is improved.

Description

technical field [0001] The invention belongs to the technical field of caching, and in particular relates to a write-friendly flash memory solid state disk cache management method. Background technique [0002] The solid-state disk of flash memory has the advantages of fast access speed, low energy consumption, and good shock resistance. It has received extensive attention and research in industry and academia, and has been widely used in consumer devices, cloud storage, and data centers. However, due to the physical characteristics of flash memory, flash memory SSDs face many constraints such as erasure before writing, asymmetric reading and writing, and limited erasing times. In order to avoid data block erasure and data migration caused by update write operations, the flash memory uses an off-site update strategy to redirect update write operations to reallocated free blocks, thereby avoiding data block erasure for each write operation Operation and data migration, reduc...

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
IPC IPC(8): G06F3/06G06F12/02
CPCG06F3/061G06F3/0679G06F12/0246G06F12/0253
Inventor 伍卫国宫继伟聂世强张驰
Owner XI AN JIAOTONG 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