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

Virtual CPU scheduling method and device, electronic equipment and storage medium

A scheduling method and virtual machine technology, applied in the direction of multi-programming devices, program control devices, program control design, etc., can solve the problems of large CPU load differences of physical machines and affect computing performance, and achieve the goal of avoiding the continued increase of load differences Effect

Pending Publication Date: 2021-06-25
SANGFOR TECH INC
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the above-mentioned solution of directly dispatching multiple virtual CPUs of the same virtual machine to different physical machine CPUs will cause large load differences between physical machine CPUs and affect the overall computing performance.

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 CPU scheduling method and device, electronic equipment and storage medium
  • Virtual CPU scheduling method and device, electronic equipment and storage medium
  • Virtual CPU scheduling method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to make the objects, technical solutions, and advantages of the present application, the technical solutions in the present application embodiment will be clearly described, and the described embodiments will be described in conjunction with the drawings in the present application embodiment. It is an embodiment of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without making creative labor premises, all of the present application protected.

[0046]At present, the industry mainly implements virtual CPU coordination scheduling through Co-Scheduling or Balance Scheduling algorithms, and the CO-Scheduling Scheduling Algorithm will simultaneously schedule all virtual CPUs of the virtual machine, that is, all virtual CPUs of the virtual machine Either also get the physical machine CPU (Central Processing Unit) , Central processor), or simultan...

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 virtual CPU scheduling method. The virtual CPU scheduling method comprises the following steps: determining a target virtual CPU according to a received virtual CPU scheduling instruction; determining a physical machine CPU set corresponding to the target virtual CPU; judging whether an alternative physical machine CPU of which the current load is smaller than the global average load exists in the physical machine CPU set or not; If yes, scheduling the target virtual CPU to an alternative physical machine CPU with the minimum current load in the physical machine CPU set; If not, scheduling the target virtual CPU to the physical machine CPU with the minimum global load. According to the method and the device, the load balancing among the CPUs of the physical machine can be realized, and the synchronization delay among the virtual CPUs is reduced. The invention furthermore discloses a virtual CPU scheduling apparatus, an electronic device and a storage medium, which have the above beneficial effects.

Description

Technical field [0001] The present application relates to the field of virtual machines, and in particular, to a dispatching method, apparatus, an electronic device, and a storage medium for a virtual CPU. Background technique [0002] With the development of cloud computing, more and more business migrate to the cloud. In a virtualization scenario, multi-threaded applications run in a virtual machine, so the synchronization delay of multi-threaded applications is affected by the degree of collaborative scheduling of multiple virtual CPUs in the virtual machine. [0003] In the relevant technique, multiple virtual CPUs of the same virtual machine typically increase the probability of a virtual CPU coordinated scheduling to different physical machine CPUs. However, the above-mentioned scheme of multiple virtual CPUs to different virtual machines to different physical machine CPUs can result in a large load difference between the physical machine CPU, affecting the overall computin...

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/50G06F9/455
CPCG06F9/505G06F9/45558G06F2209/508G06F2009/4557
Inventor 刘飞周旭陈列林樟龙
Owner SANGFOR TECH INC
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