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

Cache writing method, caching device and storing system

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

Active Publication Date: 2013-12-25
HUAWEI DIGITAL TECH SUZHOU
View PDF4 Cites 15 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
  • Cache writing method, caching device and storing system
  • Cache writing method, caching device and storing system
  • Cache writing method, caching device and storing 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. like 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 metadat...

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 invention provides a cache writing method, a caching device and a storing system. The method includes that at least one metadata in an internal storage is updated; at least one metadata set where the metadata belongs is obtained; if a writing state of a first metadata set in the metadata set is a non-writing state, and a plurality of writing input / output (IO) request commands waiting for executing metadata writing operation exist under the first metadata set, the plurality of writing IO request commands are moved to a combination writing metadata queue of the first metadata set; the metadata in the first metadata set is written into a metadata block corresponding to the first metadata set in Flash; according to the plurality of writing IO request commands under the combination writing metadata queue of the first metadata set, the state showing whether the first metadata set is written successfully is returned. By means of the cache writing method, the caching device and the storing system, writing times of metadata of the Flash can be reduced to some 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 Applications(China)
IPC IPC(8): G06F12/08G06F3/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