Design and Implementation method of a high concurrent index B + linked list data structure

A technology of data structure and implementation method, which is applied in the input/output process of data processing, electrical digital data processing, calculation, etc., and can solve problems such as capital enlargement overhead, high cost of sorting and balancing writes, and increased duration, etc., to achieve concurrency Effective mechanism, fast system recovery, and the effect of system recovery

Active Publication Date: 2019-03-01
TSINGHUA UNIV
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The main reason for these problems lies in the traditional B+ tree, which still adopts an array-based structure for the organization of nodes. The sorting and balancing problems caused by this structure make the writing cost relatively high. This cost requires additional maintenance of faults. In the case of consistency, it will become larger and thus cause a large write amplification overhead
Secondly, the coarse-grained array structure will be locked at the granularity of the whole, and the high-overhead sorting and balancing operations will further increase the duration of holding a lock. This overhead will be more reflected in the larger NVM media write delay. obvious
[0004] In addition, some data structures optimized for NVM will lead to multi-version garbage of version elements and low utilization of tree nodes, which will lead to serious space utilization problems
At the same time, the memory allocator for NVM will also bring some performance degradation

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
  • Design and Implementation method of a high concurrent index B + linked list data structure
  • Design and Implementation method of a high concurrent index B + linked list data structure
  • Design and Implementation method of a high concurrent index B + linked list data structure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0027] The following describes the design and implementation method of the high-concurrency index B+ linked list data structure proposed according to the embodiment of the present invention with reference to the accompanying drawings.

[0028] figure 1 It is a flow chart of the design and implementation method of the high-concurrency index B+ linked list data structure according to an embodiment of the present invention.

[0029] Such as figure 1 As shown, the design and implementation method of the highly concurrent index B+ l...

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 design and implementation method of a high concurrent index B + linked list data structure. The method comprises the following steps: simultaneously using an array-based datastructure and an element-based data structure; for the non-leaf nodes of the data structure, the preset B + tree data structure is adopted and placed in the DRAM, so that the non-leaf nodes located on the DRAM can guarantee the locality of access; for the leaf nodes of the data structure, a unidirectional linked list data structure is adopted, which is placed in the NVM, so that the leaf nodes located on the NVM can avoid sorting and balancing overhead. The method uses array-based data organization and element-based data organization, Linked list data structure constructs the leaf node of index data structure, B + tree data structure constructs the inner node of index data structure, skip table data structure removes sorting and balancing operation, which can realize lock-free concurrencymechanism and effective space management, and ensure efficient concurrency access performance and rapid system recovery.

Description

technical field [0001] The invention relates to the technical field of non-volatile main memory storage, in particular to a design and implementation method of a highly concurrent index B+ linked list data structure. Background technique [0002] Non-volatile main memory (Non-Volatile Memory, NVM) is a new type of memory storage medium, which has byte addressability, non-volatile information after power failure, high storage density, no need for dynamic refresh, and static power consumption. low merit. At the same time, there are also some shortcomings, such as asymmetric read and write performance, limited write times and high write power consumption. Its emergence has brought great new opportunities and challenges to the storage field, and has triggered a research boom in the industry and academia on heterogeneous hybrid memory architecture and related system software. Non-volatile memory has many new implications for computer system architecture, system software, softwa...

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/06G06F12/02
CPCG06F3/0608G06F3/0643G06F3/0679G06F12/0246
Inventor 舒继武陆游游胡庆达刘昊
Owner TSINGHUA UNIV
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