Writing and block granularity compressing and combining method and system of key value storage system based on OCSSD

A storage system and key-value technology, applied in the input/output process of data processing, instruments, input/output to record carriers, etc., can solve the problem of excessive SliceLink metadata, redundant namespace management functions, and insufficient number of file fragments Control and other issues, to avoid read and write operations, improve read and write parallelism, reduce the effect of read and write amplification

Active Publication Date: 2021-02-09
HUAZHONG UNIV OF SCI & TECH
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method has the following defects: 1) When looking for a key-value pair in the lower-level file, it is necessary to read the upper-level file segment corresponding to the SliceLink first, and then read the content of the lower-level file itself if it is not hit, which introduces additional Small-grained read operations will lead to the read amplification problem of GET operations; 2) The number of overlapping file fragments between upper-level files and lower-level files is uncontrollable, and there is a hidden danger of excessive SliceLink metadata; 3) Relying on the file system, LSM-tree compression The merge operation, the GC operation of the file system, and the GC operation inside the SSD have functional redundancy. At the same time, the Key index of the LSM-tree and the namespace management of the file system also have functional redundancy.

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
  • Writing and block granularity compressing and combining method and system of key value storage system based on OCSSD
  • Writing and block granularity compressing and combining method and system of key value storage system based on OCSSD
  • Writing and block granularity compressing and combining method and system of key value storage system based on OCSSD

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0102] File F in this embodiment a =File A of Li layer, file F b It is file B of Li+1 layer, and the internal conditions of files A and B are as follows Figure 8 As shown, the new file F generated after compression and merging c File C for the Li+1 layer. The compression and merging process at block granularity is as follows:

[0103] Read the metadata area of ​​file A and file B to obtain the key range and logical block address of each data block in file A and file B. The block granularity compression and merging process is as follows:

[0104] 1) Compare the minimum key of the first data block in file A and file B, and get the data block with the smallest minimum key as data block 1 in file A, add it to the set of overlapping blocks, and add the data block 1 in file A The key range is used as the key range of the overlapping block set, compare the key range of the overlapping block set with the unprocessed data blocks in file B, and if there is no overlap, then directly...

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 writing and block granularity compressing and combining method and system of a key value storage system based on an OCSSD, and belongs to the field of computer storage. Through selective compression and combination of data block granularity, read-in and write-back of non-overlapping data blocks are avoided, and the problem of read-write amplification in the LSM-tree compression and combination process can be reduced; the data blocks of the same file are uniformly distributed in all channels of the OCSSD, so that the multi-channel parallel characteristic of the OCSSD can be explicitly utilized, and the throughput of a key value storage system is improved; by directly managing a bottom storage medium at a user layer and bypassing intermediate software layers such asa file system, consumption of host resources is reduced, and semantic features of application software are conveniently transmitted. Generally speaking, the problem of read-write amplification of thekey value storage system based on the LSM-tree can be effectively reduced, semantic isolation between upper-layer application software and bottom-layer storage equipment is eliminated, and the throughput of the whole key value of the system to operation is improved.

Description

technical field [0001] The invention belongs to the field of computer storage, and more specifically relates to a method and system for writing and block granularity compression and merging of an OCSSD-based key-value storage system. Background technique [0002] The application trend of large physical blocks of large-capacity solid state drives (SSD) and the development of 3D NAND Flash technology have brought opportunities and challenges to data storage management. Log-structured merge-tree (LSM-tree) key-value (key-value, KV) storage is optimized for random writes, providing efficient data insertion and deletion, and is widely used as a persistent storage engine in data center. LSM-tree KV storage directly uses SSD block devices, both of which have read / write amplification. What's worse is that the management of the host side and the device side are independent, and the problem of system read / write amplification will be further superimposed, seriously reducing the overa...

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/0613G06F3/0644G06F3/0679
Inventor 陈俭喜冯丹陈鑫宇陈彧马莉珍郑梦丽张兴锐
Owner HUAZHONG UNIV OF SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products