Virtual CPU dispatching method

A scheduling method and virtual machine technology, applied in the field of computing system virtualization, can solve problems such as lock holder preemption, improve accuracy and precision, improve performance, and avoid lock holder preemption problems.

Inactive Publication Date: 2011-05-11
HUAZHONG UNIV OF SCI & TECH
View PDF2 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The invention provides a virtual CPU scheduling method, which solves the problem of lock holder preemption and improves the performance of a virtual machine in a multiprocessor system

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 dispatching method
  • Virtual CPU dispatching method
  • Virtual CPU dispatching method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0042] In order to verify the feasibility and effectiveness of the present invention, the steps of the present invention can be written as computer programs, loaded into the Xen system, and compared with an original Xen system that does not use the present invention.

[0043] In this embodiment, two computers with the same hardware configuration are used, wherein the computer PC1 is installed with the Xen system with the steps of the present invention, and the computer PC2 is installed with the original Xen system.

[0044] Table 1: Experimental configuration environment

[0045]

[0046] On computer PC1 and computer PC2, start virtual machine VM1 and virtual machine VM2 respectively, run the same Apache Web service load on VM1 and VM2 respectively, and the running results are shown in Table 2.

[0047] Run the same common performance evaluation tool on VM1 and VM2 respectively: Stanford Parallel Applications for SharedMemory (Stanford Parallel Applications for SharedMemory...

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

A virtual CPU (Central Processing Unit) dispatching method belongs to the technical field of computing system virtualization, solves the problem of lock holder preemption, and improves the performance of a virtual machine in a multiple processor system. The virtual CPU dispatching method is used in a multiprocessor virtualized environment and comprises a monitoring procedure, an information collecting procedure and a dispatching procedure, wherein the monitoring procedure performs real-time monitoring to spin lock operating commands of all virtual machine operating systems; the information collecting procedure extracts spin lock amount obtained by the monitoring procedure, to form spin lock counting information; and the dispatching procedure adopts fair and efficient dispatching method todispatch the virtual CPU according to the spin lock counting information extracted from the information collecting procedure. Compared with the prior art, the method can detect whether dispatching isavailable more accurately, so as to improve the utilization ratio of physical CPU, ensure that dispatching strategy has flexibility and expandability, as well as fairness, effectively solve the problem of lock holder preemption, and greatly improve the performance of virtual machine in a multiple processor system.

Description

technical field [0001] The invention belongs to the technical field of computing system virtualization, and in particular relates to a virtual CPU scheduling method, which is used in a multi-processor virtualization environment. Background technique [0002] In recent years, with the rapid development of computing architecture and hardware and software technology, computing system virtualization technology has become increasingly mature, and has become a popular technology in academia and industry. Virtualization technology enables computer software to run on a virtual platform instead of a real physical machine, and applications run in separate spaces without affecting each other, enabling one platform to run multiple operating systems at the same time, expanding hardware capacity and simplifying The process of software reconfiguration is improved, which significantly improves the utilization rate, work efficiency, security and flexibility of the computer. [0003] Multipr...

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/455
Inventor 金海吴松石宣化耿玮
Owner HUAZHONG UNIV OF SCI & TECH
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