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

Data writing method, device and equipment and computer readable storage medium

A data writing and data technology, applied in the field of data storage, can solve the problems of reducing SSD life, SSD performance degradation, and limited SSD life, and achieve the effect of improving performance, reducing impact, and alleviating write amplification problems

Active Publication Date: 2020-12-04
北京浪潮数据技术有限公司
View PDF9 Cites 1 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
  • Data writing method, device and equipment and computer readable storage medium
  • Data writing method, device and equipment and computer readable storage medium
  • Data writing method, device and equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0055] see figure 1 , which shows a flow chart of a data writing method provided in the embodiment of the present application. The data writing method provided in the embodiment of the present application may include:

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

[0057] When the user accesses the storage system and sends the write data to 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 invention discloses a data writing method, device and equipment and a computer readable storage medium, and the method comprises the steps: receiving writing data, and judging whether the length of the writing data is greater than a preset length or not; if not, determining that the write data is small write data, and generating corresponding metadata according to the small write data; if yes,determining that the write data is capital data, and generating corresponding metadata according to the capital data; writing the small writing data, the metadata corresponding to the small writing data and the metadata corresponding to the big writing data into the SCM array, and writing the big writing data into the SSD array. According to the technical scheme disclosed by the invention, the data with relatively large data length is written into the SSD array, and the data with relatively small data length is written into the SCM array, so that the write amplification problem of the SSD inthe SSD array is relieved, the performance of the SSD is improved, and the influence on the service life of the SSD is reduced.

Description

technical field [0001] The present application relates to the technical field of data storage, and more specifically, to a data writing method, device, equipment, and computer-readable storage medium. Background technique [0002] With the expansion of flash-based SSD (Solid state drive, solid state disk) capacity and cost reduction, SSDs with high performance and low energy consumption are more and more widely used in storage systems, and SSDs are often formed into arrays for use. [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 phenomeno...

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): 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