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

Method for cache writing, cache device and storage system

A storage system and cache technology, applied in the direction of storage system, input/output to record carrier, memory address/allocation/relocation, etc., can solve the problems such as not giving full play to Flash performance, impact of Flash life, write amplification, etc., to avoid The effect of IO write amplification, improving service life and reducing the number of writes

Active Publication Date: 2016-08-10
HUAWEI DIGITAL TECH SUZHOU
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The lifespan of Flash is directly related to the number of writes. If each metadata is directly IO according to the size of the metadata, the performance of Flash cannot be fully utilized. If the metadata is IO according to the size of 4K alignment, there may be a problem of write amplification. , will greatly affect the life of the entire Flash

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 cache writing, cache device and storage system
  • Method for cache writing, cache device and storage system
  • Method for cache writing, cache device and storage system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0031] figure 1 It is a schematic diagram of a data layout of a flash memory (Flash) in an embodiment of the present invention. Such as figure 1 As shown, the storage area of ​​Flash may include three parts: super block, metadata area and data area.

[0032] The super block is used to store the global data in the cache (Cache), mainly for the data needed for recovery after the system crashes. Wherein, the global data may include the size of the meta...

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

An embodiment of the present invention provides a cache write method, a cache device, and a storage system. The method includes: updating at least one piece of metadata in memory; acquiring at least one metadata group to which the at least one piece of metadata belongs; if the If the write state of the first metadata group in the at least one metadata group is a non-write state and there are multiple write IO request commands waiting to execute the metadata write operation under the first metadata group, then the The multiple write IO request commands are moved to the merged write metadata queue of the first metadata group; the metadata of the first metadata group is written into the first metadata group in the Flash In the corresponding metadata block; for multiple write IO request commands under the combined write metadata queue of the first metadata group, return the status of whether the writing of the first metadata group is successful. The method, device and system of the embodiments of the present invention can reduce the number of times of writing metadata to Flash to a certain extent.

Description

technical field [0001] Embodiments of the present invention relate to the field of data storage, and more specifically, relate to a method for caching writes, a caching device, and a storage system. Background technique [0002] Nowadays, the industry adopts the existing technology. Since the storage medium of the cache (Cache) is based on NVRAM or NVDIMM, these storage medium characteristics can well meet the small IO performance of the system, especially for metadata. [0003] Usually the size of a piece of metadata is generally between 30B-64B. When Flash is used as the storage medium of the Cache, each write request requires 2 IOs to ensure data security. The lifespan of Flash is directly related to the number of writes. If each metadata is directly IO according to the size of the metadata, the performance of Flash cannot be fully utilized. If the metadata is IO according to the size of 4K alignment, there may be a problem of write amplification. , will greatly affect ...

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 Patents(China)
IPC IPC(8): G06F3/06G06F12/02G06F12/0877
Inventor 黄福堂明亮王朝海
Owner HUAWEI DIGITAL TECH SUZHOU
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