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

A data writing method, device, equipment and computer-readable storage medium

A data writing and data technology, applied in the fields of devices, equipment, computer-readable storage media, and data writing methods, can solve the problems of reducing SSD life, limited SSD life, and SSD performance, so as to reduce impact and improve performance. , high-performance effects

Active Publication Date: 2022-06-07
北京浪潮数据技术有限公司
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In SSD, the basic unit of reading and writing is page, and the basic unit of erasing (or garbage collection) is block, and a block is usually composed of an integer number of pages. When a page is updated or the data in the page is invalid and new data needs to be written, it is necessary to read and erase the entire block where the page is located, and then write the data into the page, which causes SSD write amplification, and the smaller the write data, the more serious the phenomenon of write amplification is. In addition, because a large amount of data migration will be caused during garbage collection under write-intensive conditions, it will cause a decline in SSD performance. At the same time, due to the lifespan of SSD Limited, therefore, frequent erasing will reduce the lifespan of the SSD

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
  • A data writing method, device, equipment and computer-readable storage medium
  • A data writing method, device, equipment and computer-readable storage medium
  • A data writing method, device, equipment and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0055] see figure 1 , which shows a flowchart of a data writing method provided by an embodiment of the present application. A data writing method provided by an embodiment of the present application may include:

[0056] S11: Receive the write data, and determine whether the length of the write data is greater than the preset length; if not, execute step S12; if yes, execute step S13.

[0057] When the user accesses the storage system ...

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 present application discloses a data writing method, device, device, and computer-readable storage medium. The method includes: receiving write data, and judging whether the length of the write data is greater than a preset length; if not, determining that the write data is lowercase data, And generate corresponding metadata according to the lowercase data; if so, determine that the write data is uppercase data, and generate corresponding metadata according to the uppercase data; write the lowercase data, the metadata corresponding to the lowercase data, and the metadata corresponding to the uppercase data into the SCM array, and write the uppercase data into the SSD array. In the above-mentioned technical solution disclosed in the present application, data with a relatively large data length is written into the SSD array, and data with a relatively small data length is written into the SCM array, so as to alleviate the write amplification problem existing in the SSD in the SSD array , thereby improving the performance of the SSD and reducing the impact on the life of the SSD.

Description

technical field [0001] The present application relates to the technical field of data storage, and more particularly, to a data writing method, apparatus, device, and computer-readable storage medium. Background technique [0002] With the capacity expansion and cost reduction of flash-based SSDs (Solid state drives), SSDs with high performance and low energy consumption are more and more widely used in storage systems. use. [0003] In SSD, the basic unit of reading and writing is page (page), and the basic unit of erasing (or garbage collection) is block (block), and a block is usually composed of an integer number of pages. When a page is updated or the data in the page is invalid and new data needs to be written, the entire block where the page is located needs to be read and erased, and then the data is written to the page, which causes SSD In addition, since a large amount of data migration will be caused during garbage collection under write-intensive conditions, th...

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/06
CPCG06F3/0616G06F3/0644G06F3/0689Y02D10/00
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