Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Caching system capable of supporting zero copy on the basis of flash memory array, and method

A cache system and flash memory array technology, applied in the field of data processing, can solve problems such as reducing cache access speed, affecting storage system performance, reducing cache hit rate, etc., to eliminate intermediate copy processes, reduce erasure, and increase service life.

Inactive Publication Date: 2017-10-17
北京中航通用科技有限公司
View PDF3 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If you simply apply for the cache according to the page size, it will cause a waste of cache space, thereby reducing the cache hit rate
[0005] In addition, the cache of traditional flash memory requires two data copies when reading and writing, which reduces the access speed of the cache and affects the performance of the entire storage system.

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
  • Caching system capable of supporting zero copy on the basis of flash memory array, and method
  • Caching system capable of supporting zero copy on the basis of flash memory array, and method
  • Caching system capable of supporting zero copy on the basis of flash memory array, and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0060] see figure 1 , is a structure diagram of the cache system of the present invention. The description of each module of the system is as follows:

[0061] physical cache module

[0062] A piece of DDR is used to store actual data, which is divided into several physical blocks according to the size of 4KB. For example, a DDR with a capacity of 1G will be divided into 1G / 4KB = 256K physical blocks, called PBN1~PBN256K (PBN is physical block number, physical block number, corresponding to LBN, logic block number, logical block number).

[0063] Read and write address translation module

[0064] When the front-end access request reads a block of data in the cache, the read-write address conversion module will map its read address to another actual physical block according to certain rules. as attached figure 2 As shown, the front-end access request wa...

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 caching system capable of supporting zero copy on the basis of a flash memory array, and a method. The system comprises a main control module, a physical caching module, a read address and write address conversion module, an idle block management module, a metadata recording table and a rear side flash memory module. The method comprises the following the following steps that: receiving a command request sent from a front side, converting a logic block number in the command request into a corresponding physical block number, carrying out a Hash operation on a rear-side address in the command request to obtain a corresponding metadata address index; according to the metadata address index, inquiring a metadata state table and a metadata record chart, processing the data of a corresponding table item in the metadata record chart according to the state information of the corresponding table item of the state table, and updating the corresponding table item of the metadata state table, and updating a mapping table in the read address and write address conversion module; and returning a completion command to the front side. By use of the system, a contradiction that the read-write access size of a traditional cache and a flash memory page size are not matched is solved, meanwhile, the zero copy on a caching read-write data path is realized, an unnecessary middle copy process is eliminated, cache read-write efficiency is improved, meanwhile, erasing for Flash can be reduced, and the service life of the Flash is prolonged.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a flash memory array-based cache system and method supporting zero copy. Background technique [0002] The solid-state storage system using NAND Flash has gradually become a new popular storage system (Solid State Disk, SSD). With the development of flash memory technology, the single page capacity of MLC gradually develops from 4KB to 8KB, 16KB, and 32KB. With the maturity of TLC technology, the single page capacity will reach 64KB, 128KB or even higher. However, the service life of Flash is limited (25nm MLC can be erased and written about 3000 times), so in order to improve the service life of Flash, the erasing and writing operations on Flash should be minimized. [0003] Zero-copy (zero-copy) technology was originally the main technology for realizing high-speed network interfaces of devices such as hosts or routers. Later, it generally refers to reducing the numb...

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): G06F12/02G06F12/0897
Inventor 杨珏成柳卯刘靖
Owner 北京中航通用科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products