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

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, software and application freezes, host memory overscaling, etc.

Active Publication Date: 2020-01-10
北京浪潮数据技术有限公司
View PDF2 Cites 4 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
  • Virtual machine scheduling method and device
  • Virtual machine scheduling method and device
  • 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 invention discloses a virtual machine scheduling method and device. The method and the device are applied to host cluster. The host cluster comprises a plurality of hosts. Each host is configured with a plurality of virtual machines (VMs). The method comprises the following steps: putting a VM with a to-be-processed task in a host cluster into a plurality of threads, whereineach thread comprises a preset number of VMs; using a multi-thread queuing batch processing mechanism; each thread sequentially processing the to-be-processed tasks of the VMs included in the thread;that is to say, the condition that the previous thread meets the preset condition being used as a condition for triggering the next thread to begin to process the to-be-processed task of the VM included in the next thread. Therefore, the problem that the performance of the host and the normal operation of the virtual machine on the host are influenced due to the fact that the memory of the host inthe host cluster is excessively divided when a large number of tasks to be processed are simultaneously operated in parallel is avoided. The excessive division of the memory of the host can be effectively avoided to a certain extent, and the normal operation of the host and the virtual machine on the host is ensured.

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
IPC IPC(8): G06F9/455G06F9/50G06F9/52
CPCG06F9/45558G06F9/5016G06F9/526G06F2009/4557G06F2009/45583
Inventor 栗丽霞
Owner 北京浪潮数据技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products