Unlock instant, AI-driven research and patent intelligence for your innovation.

Virtual machine real-time task scheduling method and device and virtual machine

A technology of real-time tasks and scheduling methods, applied in multi-programming devices, program control devices, software simulation/interpretation/simulation, etc., can solve spinlock blocking, inaccurate switching strategy results, delay real-time computing operations, etc. problem, to achieve the effect of improving stability

Active Publication Date: 2014-03-26
TSINGHUA UNIV
View PDF6 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, the current problem is that both of the above two methods take the VCPU context switching overhead as the main consideration, thus speeding up the operation of computationally intensive tasks.
But unlike the physical processor PCPU, VCPU is not always online, which will bring a lot of spinlock spinlock blocking
Although Weng et al. used VCRD to measure the relationship between VCPUs and used machine learning methods to predict future usage, but for some real-time tasks, since the response time of real-time tasks needs to be limited to milliseconds or even microseconds, the VCPU When executing real-time programs, timely feedback information is required
However, Xen's scheduling strategy does not individually identify the VCPUs running real-time tasks, which not only leads to inaccurate results of switching strategies, but also delays the running of real-time computing

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 real-time task scheduling method and device and virtual machine
  • Virtual machine real-time task scheduling method and device and virtual machine
  • Virtual machine real-time task scheduling method and device and virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention. On the contrary, the embodiments of the present invention include all changes, modifications and equivalents coming within the spirit and scope of the appended claims.

[0028] In the description of the present invention, it should be understood that the terms "first", "second" and so on are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance. In the description of the present invention, it should be noted that unless otherwise specified and limited, the terms "connected" and "connect...

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 a virtual machine real-time task scheduling method and device and a virtual machine. The method includes the following steps that when the execution cycles of tasks are started, a plurality of VCPUs are respectively initialized, and a credit value of the preset size is distributed to each VCPU, wherein the credit value is a natural number; a designated urgency value is distributed to each VCPU; the state information of each VCPU is acquired, a priority queue is generated according to the state information and the urgency values, and then corresponding VUPU execution tasks are selected by PCPUS according to the priority queue. According to the method, the VCPUs with urgent states can be switched in a priority mode in each cycle, and therefore the real-time tasks can be responded in time. It shows that the scheduling method can process the real-time tasks in time through experimental use of ping delay and the handling capacity of a web server, and stability of response time is improved.

Description

technical field [0001] The invention relates to the field of virtual machine scheduling, in particular to a virtual machine real-time task scheduling method, device and virtual machine. Background technique [0002] With the rapid development of cloud computing, companies in the industry provide more and more services based on virtualization technology. They gradually use virtual machines to replace traditional physical machines. This method can make full use of physical resources and provide better services, which has become a major development trend. [0003] Currently, the most commonly used virtual machines are VMware ESX and Xen (VMware ESX is a software product developed by VMware, and Xen is an open source virtual machine monitor created by Cambridge University). As a virtual machine monitoring program, Xen enables multiple operating systems to run on a single computer at the same time, and supports paravirtualization and online migration of virtual machines. In a X...

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/48G06F9/455
Inventor 郑纬民武永卫姜进磊赵勋
Owner TSINGHUA UNIV