Method and device for processing read and write request

A technology for reading and writing requests and processing methods, applied in program control devices, electrical digital data processing, and data processing input/output processes, etc., can solve IO delay (latency increase, IOlatency increase, server load upgrade, etc problem, to achieve the effect of shortening IO link, reducing IOlatency, and reducing Latency

Inactive Publication Date: 2018-05-08
ALIBABA GRP HLDG LTD
View PDF8 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The inside of the data center is composed of clusters, and each server is deployed with a virtualization platform, back-end storage (the back-end storage here includes the distributed storage and RAID storage introduced in the above paragraph), business management and monitoring systems, etc. The system itself will also consume some resources (such as CPU, memory, network, etc.), and the link connecting the virtual machine disk to the back-end storage will also become longer. delay (latency) increased
[0004] For the problem of increased IO latency in the prior art, no effective solution has been proposed yet

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 and device for processing read and write request
  • Method and device for processing read and write request
  • Method and device for processing read and write request

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] According to the embodiment of the present application, an embodiment of a method for processing read and write requests is also provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and , although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0039] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. figure 1 A block diagram of a hardware structure of a computer terminal for implementing the method for processing read and write requests is shown. Such as figure 1 As shown, the computer terminal 10 can include one or more (102a, 102b, ..., 102n are used to show in the figure) processors 102 (the processor 102 can ...

Embodiment 2

[0123] According to the embodiment of the present application, an embodiment of a method for processing read and write requests based on a virtual machine is also provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be implemented in a computer system such as a set of computer-executable instructions and, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0124] The embodiment of this application provides such as Figure 6 The shown virtual machine-based read and write request processing method. Figure 6 It is a flowchart of a method for processing read and write requests based on a virtual machine according to Embodiment 2 of the present application, such as Figure 6 As shown, the process includes the following steps:

[0125] Step S602, receiving an IO read and write request generated when reading and w...

Embodiment 3

[0159] According to the embodiment of the present application, an embodiment of a method for quickly processing read and write requests is also provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions , and, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0160] The embodiment of this application provides such as Figure 7 The shown virtual machine-based read and write request processing method. Figure 7 It is a flowchart of a method for quickly processing read and write requests according to Embodiment 3 of the present application, such as Figure 7 As shown, the process includes the following steps:

[0161] Step S702, receiving an IO read and write request generated when reading and writing a virtual disk on a virtual mach...

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 read and write request. The method includes the steps of receiving an IO read and write request from a virtual machine, wherein the IO read and write request is used for requesting to read and / or write data in any one disk of the virtual machine; obtaining a pre-mapped address space, and based on the IO read and write requests and the address space, acquiring the storage address of the data in the physical machine, where the address space is the address of the disk of the virtual machine obtained by mapping; after submitting the IO read and write request to a storage device, receiving the processed result of the data on the storage device, wherein the storage device is a device which stores the data in the physical machine; returning the processing result to the virtual machine through the address space. According to the method and device, by processing the data corresponding to the IO read and write request from the virtual machine by use of a memory address, a data copying process is omitted, IO Latency is reduced, and thus the technical problem of the increased IO latency in the prior art is solved.

Description

technical field [0001] The present application relates to the field of software, and in particular, to a method and device for processing read and write requests. Background technique [0002] In the cloud computing environment, the computing resources of a data center are divided into a large number of virtual machines (Virtual Machine, referred to as VM, VM is a plurality of instances virtualized on a server that can run the OS) through virtualization technology. You can flexibly deploy your own applications in the VM, such as web, social, games, finance, etc. Some of these applications store important data, and require data read and write delays as low as possible, and can achieve 7*24 hours of uninterrupted service , has good enough usability. For the storage of these data, different storage methods can be selected according to different needs. For example, some applications require good enough data reliability. Therefore, the data needs to have multiple redundant back...

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/455
CPCG06F3/0611G06F3/0664G06F9/45558G06F2009/45579G06F3/061G06F3/0659G06F3/067G06F3/0689G06F2009/45583G06F12/1081G06F9/5077G06F12/063
Inventor 田世坤
Owner ALIBABA GRP HLDG 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