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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


