Method for accelerating random in-out (IO) read-write of disk

A random input, disk technology, applied in the computer field, can solve the problems of data loss and data unrecovery, and achieve the effect of speeding up the number of IO writes

Active Publication Date: 2015-07-22
UCLOUD TECH CO LTD
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method increases the risk of data loss. If the file system uses cache write-back, that is, data is written into the cache, the application layer will write successfully by default.

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
  • Method for accelerating random in-out (IO) read-write of disk
  • Method for accelerating random in-out (IO) read-write of disk
  • Method for accelerating random in-out (IO) read-write of disk

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0024] Such as figure 1 Shown, a kind of method for accelerating disk random input and output (IO) reading and writing is characterized in that comprising the following steps:

[0025] 101. The application layer of the computer operating system performs data read and write operations, and enters the kernel state through intrusion. The virtual file system layer encapsulates the data into BIO, that is, the data structure of the interaction between the virtual file system layer and the general block layer, and submits it to the general block layer. subsystem;

[0026] 102. In the DEVICE-MAPPER driver layer of the general block layer subsystem, the BIO will be cut into a fixed block size and passed to the BINLOGDEV module layer. When the BIO enters the BINLOGDEV module layer, it will be checked whether the cache condition is met, that is, whethe...

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 method for accelerating random in-out (IO) read-write of a disk. The method is characterized by comprising the steps that a computer operating system application layer performs a data read-write operation and enters a kernel mode through invagination, a virtual file system layer encapsulates data into a BIO which is an interactive data structure between the virtual file system layer and a general block layer, and then the BIO is submitted to a general block layer subsystem; the BIO is cut into the fixed block size and transmitted to a BINLOGDEV module layer at a DEVICE-MAPPER driving layer of the general block layer subsystem, when the BIO enters the BINLOGDEV module layer, whether a caching condition is met or not is checked, that is, whether the initial position of the BIO is aligned or not, whether the length of the BIO is the block length or not, if the condition is met, a step 103 is conducted, and if the condition is not met, a step 106 is conducted. According to the method for accelerating the random in-out (IO) read-write of the disk, on the condition that the random IO is written, the random IO is converted into the sequence IO, the storing velocity is high, and the efficiency is high.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method for accelerating disk random input and output (IO) reading and writing. Background technique [0002] In the field of data storage, especially the input and output (IO) acceleration technology, since the mechanical disk stores data through the disk, it is inevitable to perform operations such as seeking and addressing to locate the storage location, resulting in a certain delay in IO reading and writing. , it is precisely because of this feature that the IOPS (number of IO reads and writes per unit time) of the mechanical disk is extremely inefficient when it is random. [0003] In terms of disk acceleration, the SSD is usually used as a cache, and the data is first cached to the SSD to reduce real-time IO read and write requests to the mechanical disk. By adding a cache layer in the middle, the number of IO reads and writes per unit time is increased. Due to the expe...

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
IPC IPC(8): G06F3/06
Inventor 黄敏飞莫显峰蒙晓净
Owner UCLOUD TECH CO LTD
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