Database storage engine acceleration method and system based on an SPDK
A storage engine and acceleration system technology, applied in file systems, electrical digital data processing, digital data information retrieval, etc., can solve low-latency IO storage software stack long data path performance bottlenecks, lock competition, and cross-core access CPU scheduling inconsistencies. In time, the performance improvement effect cannot be achieved, which can optimize the read service scheduling mechanism, facilitate debugging and analysis, and shorten the critical path.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0074] as attached figure 1 Shown, the SPDK-based database storage engine acceleration method of the present invention, the method is as follows:
[0075] S1. Bind the NVMe SSD device to the user mode driver of SPDK;
[0076] S2. Format the NVMe SSD device using the user mode file system format tool;
[0077] S3. Encapsulate the interface of the storage engine to operate the user mode file system, and perform normal storage access.
[0078] The user-mode file system and user-mode drivers access NVMe SSD devices, which can reduce the depth of the data IO scheduling stack, avoid context switching and user-mode kernel mode switching overhead caused by system scheduling, and save about 50% of the IO scheduling delay time. The theoretical scheduling delay is only 10us.
[0079] The user state file system of step S3 in the present embodiment is specifically as follows:
[0080] S301, Logical division management of NVMe SSD device space: Divide the physical space of NVMe SSD devi...
Embodiment 2
[0104] The database storage engine acceleration system based on SPDK of the present invention, the system includes,
[0105] The binding unit is used to bind the NVMe SSD device and the user mode driver of SPDK;
[0106] The formatting unit is used to format the NVMe SSD device using the user mode file system grid tool;
[0107] The encapsulation unit is used to encapsulate the interface of the storage engine to operate the user mode file system and perform normal storage access.
[0108] The user status file system in this embodiment includes,
[0109] The division unit is used to divide the physical space of the NVMe SSD device into multiple logical spaces, and each logical space is regarded as an NVMe SSD device for management;
[0110] The pre-allocation unit is used to pre-allocate the file space of the logical NVMe SSD device partition according to the storage engine file size configuration parameters, and set different pre-allocated space sizes for different logical p...
Embodiment 3
[0125] The embodiment of the present invention also provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions are loaded by a processor, so that the processor executes the SPDK-based database storage engine acceleration method in any embodiment of the present invention. Specifically, a system or device equipped with a storage medium may be provided, on which a software program code for realizing the functions of any of the above embodiments is stored, and the computer (or CPU or MPU of the system or device) ) to read and execute the program code stored in the storage medium.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com