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

A virtual machine scheduling method and device

A scheduling method and virtual machine technology, applied in the computer field, can solve problems such as failure to boot, host memory overload, software and application freezes, etc., to avoid memory overload and ensure normal operation.

Active Publication Date: 2022-03-22
北京浪潮数据技术有限公司
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in order to ensure the normal operation of the host and its virtual machines, it is necessary to ensure that the host does not overprovision, that is, ensure that the sum of the configured memory of all VMs built on the host does not exceed the product of the host memory and the degree of virtualization, because the host oversubscribe In this case, if all the VMs are running at full capacity, not only will the performance of the host be degraded, but the software and applications deployed on the VM will also experience problems such as freezing or even failure to boot.
[0004] In many cases, it is necessary to quickly start a large number of virtual machines, for example: to start up all the VMs on the host, or to migrate a large number of virtual machines at one time, for example: when a host goes down, all VMs on it need to be Migrated to other hosts, it is very easy to have the problem of host memory over-allocation

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 virtual machine scheduling method and device
  • A virtual machine scheduling method and device
  • A virtual machine scheduling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0086] see figure 1 , is a schematic diagram of a host cluster, which may include: a host 10, a host 20, and a host 30, wherein, the host 10 may be configured with VM 101, VM 102, ... VM10n (wherein, n indicates that in the host 10 The total number of configured VMs, the value of n is an integer greater than 1), similarly, VM 201, VM 202, ... VM20m can be configured on the host 20 (wherein, m represents the total number of VMs configured in the host 20, m is an integer greater than 1), the host 30 can be configured with VM 301, VM 302, ... VM 30k (wherein, k represents the total number of VMs configured in the host 30, and the value of k is an integer greater than 1) . It should be noted that the above figure 1 The shown host cluster is only an exemplary illustration for illustrating the application scenario of the embodiment of the present application, and the host cluster may also include more hosts.

[0087] Taking the host 10 as an example, assuming that the host memory...

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 embodiment of the present application discloses a virtual machine scheduling method and device, which are applied to a host cluster. The host cluster includes multiple hosts, and each host is configured with multiple virtual machine VMs. The VM of the task is put into multiple threads, and each thread includes a preset number of VMs. The mechanism of multi-thread queuing and batch processing is adopted, and each thread sequentially processes the pending tasks of the included VMs. A thread processing to meet the preset condition is used as a condition to trigger the next thread to start processing the pending tasks of the VM included in it, so as to avoid parallel operation of a large number of pending tasks at the same time and cause the memory of the host in the host cluster to be oversubscribed. As a result, problems affecting the performance of the host and the normal operation of the virtual machines on it can effectively avoid the memory over-commitment of the host to a certain extent, and ensure the normal operation of the host and the virtual machines on it.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a virtual machine scheduling method and device. Background technique [0002] Usually, multiple virtual machines (English: Virtual Machine, VM for short) are configured on the host, and each VM runs independently on the host, and various software and applications can be installed on these VMs to enrich the services supported on the host , to improve host performance. The host is configured with host memory, and the configured memory will also be allocated to it when the VM is built on it, and each host determines any value between 0.8 and 1.2 as the virtualization degree. [0003] However, in order to ensure the normal operation of the host and its virtual machines, it is necessary to ensure that the host does not overprovision, that is, ensure that the sum of the configured memory of all VMs built on the host does not exceed the product of the host memory and th...

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): G06F9/455G06F9/50G06F9/52
CPCG06F9/45558G06F9/5016G06F9/526G06F2009/4557G06F2009/45583
Inventor 栗丽霞
Owner 北京浪潮数据技术有限公司