IO (input output) scheduling method and IO scheduling device

A scheduling method and IO request technology, applied in the computer field, can solve problems such as performance degradation, failure to make good use of SSD low latency, and increased probability of IO conflicts

Active Publication Date: 2014-05-28
常熟它思清源科技有限公司
View PDF4 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the case of using a solid state disk (SSD) as a cache, the above scheduling algorithms have their disadvantages: first, FIFO cannot make good use of the low latency of SSD, which reduces performance. It is not necessary for SSD with special features
Simple use of these two scheduling algorithms cannot give full play to the characteristics of SSD for processing
Moreover, due to the existence of the cache, the processing logic of IO is changed, and new problems are introduced, such as the probability of IO conflicts is greatly increased, which needs to be resolved
[0004] In the prior art, for storage system enterprises, especially in the process of using solid-state hard disk cache processing, how to efficiently and reasonably schedule IO to improve the read and write speed of the storage system is a difficult problem to solve

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
  • IO (input output) scheduling method and IO scheduling device
  • IO (input output) scheduling method and IO scheduling device
  • IO (input output) scheduling method and IO scheduling device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The specific implementation manners of the IO scheduling method and device of the present invention will be described below with reference to the accompanying drawings.

[0044] The embodiment of the present invention uses an IO scheduling method for a solid state disk as an example to describe the present invention, but is not limited thereto. In the entire storage system, the processing of storage IO is processed hierarchically, which is usually called a stack. SSD cache processing exists as the middle layer of the stack. It will receive IO requests from the upper layer and provide services for the upper layer. The services provided by the lower layer will be used.

[0045] An IO scheduling method provided by an embodiment of the present invention, such as figure 1 As shown, the IO scheduling method specifically includes the following steps:

[0046] Step S100, when the storage system is initialized, a one-to-one corresponding FIFO queue is established for each phys...

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 an IO (input output) scheduling method and IO scheduling device. The IO scheduling method includes steps of creating an FIFO (first input first output) queue for each physical disk in a storage system when the storage system is initialized; creating an IO request conflict link table for each IO request inserted into the corresponding FIFO queue; starting scanning head IO requests of the queues after each IO request inserted into the corresponding FIFO queue is executed, judging queue conflicts, recording the IO request conflict link tables, preparing to-be-processed events and transmitting notification by the aid of the conflict link tables. The FIFO queues are in one-to-one correspondence with the physical disks. The IO request conflict link tables are in one-to-one correspondence with the IO requests. The notification indicates that other IO request conflicts in the link tables are relieved. The IO scheduling method and the IO scheduling device have the advantages that large quantities of IO conflicts caused when solid state disks are used as caches and are processed can be prevented, and I/O reading and writing rates and transmission rates can be effectively increased.

Description

technical field [0001] The invention relates to the field of computers, in particular to an IO scheduling method and device. Background technique [0002] The IO (InputOutput, input and output) types of block devices are mainly divided into two types: read and write, and the disk IO processing capacity is far lower than the CPU processing capacity, resulting in multiple IO requests accumulated in the system within a certain period of time, waiting for scheduling For traditional disks, there are currently two main types of scheduling algorithms, one is the first-in-first-out service (First Input First Output, FIFO); [0003] However, in the case of using a solid state disk (SSD) as a cache, the above scheduling algorithms have their disadvantages: first, FIFO cannot make good use of the low latency of SSD, which reduces performance. It is not necessary for the characteristic SSD. Simple use of these two scheduling algorithms cannot give full play to the characteristics of t...

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
Inventor 裴金干王术刘虹越王旭光
Owner 常熟它思清源科技有限公司
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