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

Xen virtual machine scheduling control method in multi-core environment

A technology of scheduling control and virtual machine monitor, applied in program control device, multi-program device, software emulation/interpretation/simulation, etc., can solve the problems of starvation of other tasks, drop of cache hit rate, frequent switching of virtual cpu, etc. Achieve the effect of reducing cache invalidation, reducing execution time slices, and reducing frequent switching overhead.

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

AI Technical Summary

Problems solved by technology

[0005] The credit scheduling method is the default scheduling method in the xen virtual machine. For computing tasks, it can allocate CPU time to each virtual CPU fairly and efficiently. For io tasks, it will generate a certain amount of delay, and the existing The credit scheduling method always frequently switches virtual CPUs when processing io data distribution, causing virtual CPUs in domain0 to be switched out continuously, seriously affecting system performance
At the same time, with the development of computer systems, the number of virtual CPUs running on each logical CPU will increase sharply. At this time, only linear tables are used to organize and manage all virtual CPUs, and the performance is relatively low.
In addition, this scheduling method uses a fixed time slice for all logical CPUs in the system, which sometimes causes frequent switching of virtual CPUs, resulting in cache failure and a decrease in cache hit rate; and sometimes starvation of other tasks
These problems will seriously affect the performance of the entire xen 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
  • Xen virtual machine scheduling control method in multi-core environment
  • Xen virtual machine scheduling control method in multi-core environment
  • Xen virtual machine scheduling control method in multi-core environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0037]The present invention proposes a xen virtual machine scheduling method under a multi-core architecture. The method aims at defects such as low execution efficiency and single application range of existing scheduling methods, and proposes a virtual machine scheduling method that can be efficiently executed in a complex environment. The specific process is as follows:

[0038] Step 1: Scheduling initialization, which is an operation that must be performed before the scheduling method can run, this step includes the following execution steps:

[0039] (1.1) Enumerate all logical cpus, divide logical cpus belonging to the same physical cpu and the same core number into a group, and the logical cpus in each group share the same scheduling time slice length, and then allocate and initialize each group share The data structure used to organize and maintain vi...

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 provides an Xen virtual machine scheduling control method in multi-core environment. The method comprises the following steps: (I) carrying out scheduling initialization; (II) carrying out initialization of scheduling information statistics, namely monitoring the virtual CPU (central processing unit) in a management domain 0, and sending the monitoring result to a VMM (virtual machine monitor) in real time; (III) creating a virtual machine, allocating the virtual CPU, storing the virtual CPU to a red black tree of a corresponding CPU group according to the priority level and a credit value, and starting all timers set in the initialization stage; and (IV) scheduling the virtual machine. According to the invention, the time slice executed by a logic CPU in the group can be dynamically adjusted, the time consumed by the scheduling method in the execution process is effectively reduced, relatively short response time for the IO (input / output) task is realized, and the method adapts to any type with relatively high requirement on time.

Description

technical field [0001] The invention belongs to the direction of computer virtualization, in particular to a scheduling method under a multi-core architecture, and belongs to the technical field of computer operating systems and virtualization. Background technique [0002] At present, system virtualization technology is more and more widely used in enterprises. Virtualization technology mainly has two advantages of flexibility and high efficiency. Through virtualization technology, enterprises can quickly build basic IT facilities, such as operating systems, databases, Web servers, etc.; virtualization migration technology and dynamic adjustment technology for virtual machine hardware can meet the current server's demand for dynamic changes in hardware resources , thus greatly improving the flexibility of resource allocation such as hardware. Through virtualization technology, enterprises can improve the utilization rate of hardware and other resources, and use less hardwa...

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/46G06F9/50G06F9/455
Inventor 曾令仿刘景宁冯丹张灿群李家祥
Owner HUAZHONG UNIV OF SCI & TECH
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