Virtual CPU scheduling method

A scheduling method and virtual machine technology, applied in the field of virtual CPU scheduling, can solve problems such as the performance impact of virtual machines, and achieve the effects of meeting the needs of different application service types, increasing the number of scheduling times, and short response delays

Active Publication Date: 2013-04-17
HUAZHONG UNIV OF SCI & TECH
View PDF4 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] The present invention provides a virtual CPU scheduling method, which solves the problem that the existing virtual CPU scheduling method uses a fixed time slice to schedule all virtual CPUs, so that the performance of virtual machines is affected by resource constraints.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0064] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0065] Embodiments of the present invention include the following steps:

[0066] (1) The initialization step includes the following sub-steps:

[0067] (1.1) Initialize the virtual CPU credit value of each virtual machine,

[0068] The total number of virtual machines V=32, each virtual machine includes 2 virtual CPUs, the number of physical CPUs P=16; the weight of each virtual machine W i =256, total credit value C T =4800, total weight W T =16384, each virtual CPU credit value C of each virtual machine ij =75;

[0069] (1.2) Initialize the IO request bitmap of each virtual machine;

[0070] Initialize each bit of the IO request bitmap of each virtual machine to 0; the IO request bitmap is a one-dimensional 30-bit array, the first bit represents the IO request of Fiber Channel over Ethernet, and the second bit represents the IO request...

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 relates to a virtual central processing unit (CPU) scheduling method; belongs to the technical field of computer virtualization; and solves the problem that existing virtual CPU scheduling methods adopts fixed length time slices to perform scheduling on all virtual CPUs, accordingly virtual machine performance is affected due to resource limit. The virtual CPU scheduling method comprises the steps of initializing, updating virtual CPU credit values, joining the queue, selecting running the virtual CPU, processing integrated optics (OI) request bitmap, and running. The virtual CPU scheduling method sets scheduling time slices according to virtual CPU running state, during virtual CPU scheduling, and dynamically sets the scheduling time slices of the virtual CPU according to the IO request bitmap and a scheduling time slice table of a virtual machine which the virtual CPU belongs; the OI request bitmap reflects running characters of each virtual machine, accordingly virtual machines mainly basing on CPU operation have small switching overhead, virtual machines mainly basing on OI operation have short response delay, and further the effects of being suitable for various different application environment and meeting different application service type requirements are achieved.

Description

technical field [0001] The invention belongs to the technical field of computer virtualization, and in particular relates to a virtual CPU scheduling method, which adopts dynamic time slices and credit values ​​to improve the overall performance of a virtualization platform. Background technique [0002] At present, IT enterprises generally have the following problems: (1) The utilization rate of physical infrastructure is low and the cost is rising day by day. According to the report of International Data Corporation (IDC), a market research company, in a typical data center of an IT enterprise, physical The average utilization rate of the infrastructure is only 10% to 15%, and most of the computer resources are not fully utilized; (2) The cost of IT resource management and maintenance continues to increase. [0003] Virtualization technology allows multiple virtual machines to run on a single physical machine by inserting an abstraction layer (virtual machine monitor) betw...

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
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