I/O instruction scheduling method and device based on disk device attributes

A disk device and command scheduling technology, applied in the field of disk array read and write, can solve the problems of long response time of I/O commands, slower response speed than the system speed, unbalanced disk access load, etc., to improve I/O performance, The effect of improving the utilization rate

Active Publication Date: 2021-03-16
无锡众星微系统技术有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] 1. When the following conditions exist, all physical links may be waiting for the target disk, resulting in low utilization of the physical link: a) Multiple I / O instructions in succession access the same target disk, which is a more common occurrence
However, in fact, a disk can only establish one physical channel at a time. At this time, the command execution state machine may try to establish a link from multiple physical channels. Unsuccessful and invalid link establishment operations reduce the utilization rate of the link.
b) There are multiple I / O commands accessing the same target disk in a short period of time. If some I / O commands access a large amount of data, or the response speed of the target disk is slow, resulting in a long I / O command response time, there will also be Link establishment is unsuccessful and link utilization is lost
[0011] 2. It may cause some disks to be unavailable for a long time, that is, the disk access load is unbalanced
When the I / O command of a certain disk is at the end of the I / O queue, and there are many pending commands of other disks in front of the I / O queue, it needs to wait for the previous command to be executed before it can be executed, and the response speed of the disk There are inherent differences, and the response speed is much slower than the system speed. If the disk load is unbalanced, the slow response disk may occupy the link for a long time, which is not conducive to the efficient utilization of the physical link

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
  • I/O instruction scheduling method and device based on disk device attributes
  • I/O instruction scheduling method and device based on disk device attributes
  • I/O instruction scheduling method and device based on disk device attributes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to make the objects, technical solutions, and advantages of the present invention more clear, the technical solutions in the embodiments of the present invention will be described in contemplation in the embodiment of the embodiment of the present invention. It is a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, there are all other embodiments obtained without making creative labor without making creative labor premises.

[0055] As well known, the disk's response speed is much lower than the transmission speed of the communication link. In a disk array system, see the disk is transmitted using a communication link by a manual multiplexed manner as described above. In order to give the communication link to the highest efficiency, you cannot make a long-term occupation link for a disk device.

[0056] The inventors have found in long-term research and exploration, when the disk is rea...

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 provides an I / O (Input / Output) instruction scheduling method and an I / O instruction scheduling device based on attributes of disk equipment, which are used for realizing I / O instructionscheduling in a disk array system. The method comprises the steps of reading an I / O instruction from a memory, and adding the I / O instruction into a command queue corresponding to a target disk according to a target disk device ID of the I / O instruction; selecting a first disk device to be accessed through polling a plurality of disk devices; selecting a first physical channel in an idle state bypolling the plurality of physical channels; obtaining an I / O instruction from a command queue corresponding to the first disk device, and distributing the obtained I / O instruction to the first physical channel.

Description

Technical field [0001] The present invention belongs to the field of disk array readout, and in particular, the I / O instruction scheduling method and apparatus for disk device attributes. Background technique [0002] The storage system is an infrastructure that satisfies a large amount of data to read and write needs. Its input / output (I / O) performance directly determines the data read and write efficiency, which is a key factor affecting the overall performance of data. In a server storage array system, there may be thousands of different types of hard drives, such as SAS (Serial AttachedSCSI) Solid Masses, SAS Machine, SATA (Serial Attachment) Machinery, etc. To manage these types of hard drives, server hosts and hard disks typically include a hardware and software system called HBA (Host Bus Adapter) / RAID (RedundantArray Os Independent Disks) card, if there is more hard drive, there may also include expand boards ( Expander, its main architecture is shown figure 1 In...

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/06G06F9/48G06F9/50
CPCG06F3/061G06F3/0689G06F9/4806G06F9/5083
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