Unlock instant, AI-driven research and patent intelligence for your innovation.

Virtual machine disk input and output scheduling method and system

A virtual machine disk, input and output technology, applied in the computer field, can solve problems such as disk IO reduction, achieve the effect of reducing efficiency, improving operating speed, and achieving isolation

Active Publication Date: 2016-01-13
TENCENT TECH (SHENZHEN) CO LTD +1
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the embodiments of the present invention is to provide a virtual machine disk input and output scheduling method and system, which dynamically adjusts the bandwidth used by LVM by monitoring the input and output service status of the virtual machine disk, and solves the problem in the prior art by setting Fixed value to achieve disk IO isolation, resulting in technical problems of disk IO efficiency reduction, greatly improving the running speed of virtual machines

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
  • Virtual machine disk input and output scheduling method and system
  • Virtual machine disk input and output scheduling method and system
  • Virtual machine disk input and output scheduling method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0029] see figure 1 , is a schematic flowchart of a method for scheduling virtual machine disk input and output provided by an embodiment of the present invention, and the method includes:

[0030] Step S100: When it is detected that the input and output service status of the virtual machine disk is busy, obtain the bandwidth used by each logical volume management LVM in the first preset time period before the current moment;

[0031] Specifically, before step S10...

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

An embodiment of the invention discloses a virtual machine disk input and output scheduling method and system. The method comprises: when monitoring that an input and output service state of a virtual machine disk is a busy state, obtaining the bandwidth used by each LVM (Logical Volume Manager) within a first preset time period before a current moment; according to the bandwidth used by each LVM, obtained in the busy state, reducing the bandwidth used by a first LVM, wherein the first LVM is an LVM corresponding to the maximum bandwidth in the bandwidths used by LVMs; and when monitoring that the input and output service state of the virtual machine disk is the busy state after a second preset time period, repeatedly executing the step of obtaining the bandwidth used by each LVM within the first preset time period before the current moment. With the adoption of the virtual machine disk input and output scheduling method and system, a time sequence is predicted in different time dimensions, the technical problem of reduced disk IO efficiency caused by realizing disk IO isolation by setting a fixed value in the prior art is solved, and the running speed of the virtual machine is greatly improved.

Description

technical field [0001] The invention relates to the field of computers, in particular to a virtual machine disk input and output scheduling method and system. Background technique [0002] LinuxContainer (lxc) container is a kind of kernel virtualization technology. At present, lxc is widely used as a lightweight virtualization solution; lxc has good isolation in terms of CPU and memory, but disk input and output (or read Write) IO isolation is poor. For multiple slaves deployed on the same underlying disk, when one or more slaves have intensive disk IO, other slaves will not work properly due to IO starvation; in order to eliminate this effect, high IO must be limited to achieve IO isolation . [0003] Existing technology can realize the IO isolation of lxc through Logical Volume Manager (LVM) technology. LVM is used as the storage device of lxc, and the bottom layer is a scsi disk; for example, through the io-throttle speed limit mechanism, according to the specific read...

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/455G06F3/06
Inventor 祝犇王佳贺永红朱建平
Owner TENCENT TECH (SHENZHEN) CO LTD