Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Linux-based IO scheduling method

A scheduling method and process technology, applied in the direction of program startup/switching, resource allocation, multi-program device, etc., can solve problems such as low efficiency

Active Publication Date: 2017-02-08
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since this piece of memory is integrated, the memory is equipped with a lock mechanism to prevent different processes from accessing the memory at the same time, so only one IO process can use the cache page at the same time, while other IO processes are in a waiting state. Low

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
  • Linux-based IO scheduling method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The core of the present invention is to provide an IO scheduling method based on the linux system, which can avoid the blocking situation between different IO processes due to the need to obtain resources in the same cache page at the same time, and improve the speed and efficiency of read and write operations.

[0027] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0028] The present inv...

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 linux system-based IO scheduling method. The method comprises the steps of receiving a read-write command and then selecting an IO process from N same IO processes preset by a linux system according to a preset rule, wherein each IO process is pre-allocated with an independent memory block, and N is not less than 2; obtaining a plurality of processing threads from a preset thread pool by the IO process; and performing corresponding read-write operations according to the independent memory block corresponding to the IO process by the processing threads respectively. According to the method, the situation of blockage caused by the fact that different IO processes need to obtain resources in a same cache page at the same time can be avoided, so that the read-write operation speed is increased and the efficiency is high.

Description

technical field [0001] The invention relates to the technical field of software storage, in particular to a Linux-based IO scheduling method. Background technique [0002] IO scheduling is a common data application operation, and the process of IO scheduling is implemented by the CPU. Under the Linux operating system, the process of IO scheduling is as follows: the user layer provides an interface for reading and writing files, which is performed through virtual file system interface calls, actual file system interface calls, cache page mapping operations, general block layer creation of bio, and io scheduling layer After operations such as sorting, the drive side of the storage device writes data into the storage device or reads data in the storage device. [0003] There may be multiple IO processes in the current IO scheduling. These IO processes are queued and processed by the same CPU core. The CPU core allocates a piece of memory for these IO processes to perform IO op...

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): G06F9/48G06F9/50
Inventor 牛佳宁
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products