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

A method and device for processing input and output requests

An input and output request and device technology, applied in the computer field, can solve the problems of inability to sort and merge IO requests, unable to sort and merge IO requests, and reduce the read and write performance and throughput of storage systems.

Active Publication Date: 2017-09-19
HUAWEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Since there is a one-to-one correspondence between virtual disks and LUNs, the virtual machine monitor can only sort and merge the IO requests sent by a virtual disk, but cannot sort and merge the IO requests of a virtual machine as a whole. It is even more impossible to perform overall IO sorting and merging of IO requests from multiple virtual machines
In this way, the storage system will face a large number of IO instructions, which greatly reduces the read and write performance and throughput of the storage system.

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
  • A method and device for processing input and output requests
  • A method and device for processing input and output requests
  • A method and device for processing input and output requests

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0080] The embodiment of the present invention provides a method for processing input and output requests, see figure 1 , the method includes:

[0081] Step 101: Obtain multiple IO requests;

[0082] Step 102: Encapsulate the obtained multiple IO requests into an IO command according to the obtained parameters of the multiple IO requests, and the parameters of each IO request in the multiple IO requests include at least the LUN corresponding to the IO request and the Command descriptors for priority and IO requests;

[0083] Step 103: Send the IO command to the storage system, so that the storage system parses out the multiple IO requests from the IO command, and processes the multiple IO requests respectively.

[0084] Wherein, according to the obtained parameters of the multiple IO requests, the multiple obtained IO requests are encapsulated into one IO instruction, including:

[0085] Fill the LUN corresponding to each IO request in the LUN field of the IO command;

[0...

Embodiment 2

[0113] An embodiment of the present invention provides a method for processing input and output requests. Among them, see figure 2 As shown in the structural schematic diagram of processing input and output requests, the system includes a virtual machine, a virtual machine monitor and a storage system, the virtual machine monitor and the storage system respectively include SCSI driver modules, and the storage system also includes multiple LUNs. Wherein, one virtual machine corresponds to one or more LUNs.

[0114] see image 3 , the method includes:

[0115] Step 201: when the virtual machine sends an IO request, the virtual machine monitor obtains multiple IO requests;

[0116] Further, when the virtual machine sends out an IO request, the virtual machine monitor can obtain multiple IO requests within a preset time period.

[0117] Wherein, the IO requests obtained by the virtual machine monitor within the preset time period may be requests sent by one virtual machine, o...

Embodiment 3

[0160] The embodiment of the present invention provides a method for processing input and output requests, see Figure 4 , the method includes:

[0161] Step 301: when the virtual machine sends an IO request, the virtual machine monitor obtains multiple IO requests;

[0162] Further, when the virtual machine sends an IO request, the virtual machine monitor obtains multiple IO requests within a preset time period;

[0163] Wherein, the IO requests obtained by the virtual machine monitor within the preset time period may be requests sent by one virtual machine, or requests sent by multiple virtual machines.

[0164] Since a virtual machine corresponds to one or more LUNs, the IO request sent by the virtual machine can be a request to multiple LUNs, or a request to the same LUN.

[0165] Wherein, in the embodiment of the present invention, the IO request may be issued by a virtual machine, a personal computer, or a clustered server system, so the embodiment of the present inven...

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 and device for processing input and output requests and belongs to the field of computers. The method includes the steps that the multiple IO requests are acquired; according to parameters of the acquired IO requests, the acquired IO requests are packaged to form an IO order, wherein the parameters of each IO request in the multiple IO requests at least comprise an LUN corresponding to the IO request, the priority of the IO request and a command description character of the IO request; the IO order is sent to a storage system, so that the storage system analyzes the multiple IO requests from the IO order and processes the multiple IO requests. The device comprises an acquisition module, a packaging module and a first transmission module. By the adoption of the method and device, the number of IO orders between a host and the storage system is reduced, and the read-write performance and the throughput capacity of the storage system are improved.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and equipment for processing input and output requests. Background technique [0002] With the rapid development of computer technology, multiple virtual machines can be simulated on one host. Multiple applications run on each virtual machine. When the application needs the storage system to perform an operation, the application sends an IO (input / output, input / output) request to the storage system, and the virtual machine passes the The virtual machine monitor on the host sends the IO request to the storage system. [0003] Wherein, one virtual machine corresponds to multiple virtual disks, and the virtual disks are stored on the storage system. Because virtual machines use virtual disks as the operation granularity when performing operations, and storage systems use LUN (Logical Unit Number) as the operation granularity when performing operations, so in order to ensure that ...

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 Patents(China)
IPC IPC(8): G06F13/18G06F3/06
CPCG06F3/061G06F3/0613G06F13/105
Inventor 和晓艳石佳
Owner HUAWEI TECH CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More