Unlock instant, AI-driven research and patent intelligence for your innovation.

A Flash Data Distribution Method Oriented to Read and Write Data Streams

A technology for writing data and data allocation, which is applied in the field of storage systems, can solve the problems of poor random access performance and high sequential addressing access performance, and achieve high performance

Active Publication Date: 2021-03-23
MEMBLAZE TECH BEIJING
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The sequential addressing access performance of the disk device is high, and the random access performance is extremely poor, which is also caused by a large number of physical addressing of the magnetic head generated by the random access.

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 Flash Data Distribution Method Oriented to Read and Write Data Streams
  • A Flash Data Distribution Method Oriented to Read and Write Data Streams
  • A Flash Data Distribution Method Oriented to Read and Write Data Streams

Examples

Experimental program
Comparison scheme
Effect test

Embodiment A

[0082] Image 6 A schematic diagram showing a data writing method according to another embodiment of the present invention.

[0083] Such as Image 6 As shown in , in response to receiving the write request, the data is written to the buffer, and the writing success is acknowledged to the sender of the write request. Data from multiple write requests is written to the buffer. Mix and write multiple data sets in the buffer to the same container until the container is full.

[0084] exist Image 6 In the embodiment, there are three threads of thread 601, thread 602 and thread 603 to execute concurrently, and these three threads extract the data of the buffer zone simultaneously, the extracted data constitute data set 611, data set 612 and data set 613, and will Data sets are written to container 620 . The data extracted from the buffer by thread 601 constitutes one or more data sets 611, the data extracted from the buffer by thread 602 constitutes one or more data sets 612,...

Embodiment B

[0089] Figure 7 A schematic diagram showing a data writing method according to another embodiment of the present invention.

[0090] Such as Figure 7 As shown in , in response to receiving the write request, the data is written to the buffer, and the writing success is acknowledged to the sender of the write request. Data from multiple write requests is written to the buffer.

[0091] exist Figure 7 In the embodiment, there are three threads of thread 701, thread 702 and thread 703 to execute concurrently, and these three threads extract the data of the buffer zone simultaneously, the extracted data constitute data set 711, data set 712 and data set 713, and will Data sets are written to active container 721 , active container 722 and active container 723 . The data extracted from the buffer by thread 701 constitutes one or more data sets 711, the data extracted from the buffer by thread 702 constitutes one or more data sets 712, and the data extracted by thread 703 fro...

Embodiment C

[0095] Figure 8 A schematic diagram showing a data writing method according to another embodiment of the present invention.

[0096] exist Figure 8 In the embodiment, N pieces of SSDs form a storage pool, and M different logical devices are allocated from the storage pool for users to use. A logical device can be indicated by a drive letter or a directory in the operating system, and can be indicated by a logical partition or a file system. After the user gets a logical device, he can format it with different file systems (such as ext4) on this logical device, just like using a disk.

[0097] The data on the logical device is scattered and distributed on multiple SSDs. Preferably, multiple SSDs are used to provide copies, which can ensure reliability; multiple SSDs also have a RAID relationship, which can improve performance and reliability.

[0098] The write request sent by the user contains the identifier of the logical device. When processing a write request, the da...

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

A flash memory data distribution method oriented to read and write data streams. The invention discloses a data writing method. The method includes: writing data into a buffer, and acknowledging writing success to a writing request sender; aggregating the data in the buffer into a data set of a specified size; Sets are written sequentially to active storage objects. The present invention can aggregate concurrent write streams to completely eliminate small-write requests; realize sequential additional writing to SSD devices, reducing the number of erases before writing; physically separate read and write streams at the device level, and eliminate SSD read-write competition.

Description

technical field [0001] The invention relates to the field of storage systems, in particular to a flash memory data distribution method oriented to read and write data streams. Background technique [0002] Data writing mode includes overwriting mode and appending mode, such as figure 1 shown, overwrite mode ( figure 1 Left) is when updating data, the update content "B" is written into the storage block that has been written into "A". Append write mode ( figure 1 On the right side) when updating the written data "A", the storage block is reallocated for the updated data "B", and the update content is written into the newly allocated storage block. [0003] In the process of writing data to the flash memory medium, the programming value is allowed to change from "1" to "0", but not from "0" to "1". Therefore, if you want to return the programming value of the flash medium to "1", An erase operation is required first. During the erasing process of the flash memory media, t...

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
CPCG06F13/16G06F13/42
Inventor 王利虎王田欧阳涛吴忠杰
Owner MEMBLAZE TECH BEIJING