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

CPU resource scheduling method based on Xen system

A technology of CPU resources and scheduling methods, which is applied in the directions of resource allocation, multi-programming device, program control design, etc., can solve the problems of inability to distinguish tasks of CPU resources, inability to adjust CPU resources, and low operation efficiency of IO-intensive tasks. Improve the effective utilization rate, reduce energy consumption, and ensure the effect of efficient utilization

Active Publication Date: 2019-10-22
HARBIN INST OF TECH
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem that the existing CPU resource scheduling method cannot distinguish the specific running tasks in the xen system, and cannot combine with the real-time running environment to adjust the CPU resources, resulting in low running efficiency of IO-intensive tasks in the Xen system question

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
  • CPU resource scheduling method based on Xen system
  • CPU resource scheduling method based on Xen system
  • CPU resource scheduling method based on Xen system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] combine Figures 1 to 6 , the realization of a kind of CPU resource scheduling method based on Xen system described in the present invention is set forth as follows:

[0041] When implementing the algorithm, the main thing to consider is to classify the tasks run by DomainU. Since CPU-intensive and IO-intensive tasks have completely different demands on CPU resources, if the two types of tasks are treated the same as the Credit algorithm , it will cause IO-intensive tasks to often fail to obtain the small amount of CPU resources they need, resulting in high response delays for their tasks. Basically, the delay may reach twice the size of the time slice.

[0042] The algorithm judges the number and proportion of CPU-intensive and IO-intensive tasks in all domain-running tasks globally by obtaining the remaining credits in the running queue of all vcpus on the global physical core and its status. The size of the time slice is adjusted by the ratio of CPU-intensive tasks to...

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 CPU resource scheduling method based on a Xen system, and relates to the technical field of CPU resource scheduling. The method aims to solve the problems that an existing CPU resource scheduling method cannot distinguish specific running tasks and cannot be combined with a real-time running environment to adjust CPU resources and the like. The method comprises the stepsof taking a vcpu queue as input data, and training an RNN classification model; obtaining global queue information cread [] and pril [] of the Xen system, and classifying the global queue informationcread [] and pril [] of the Xen system by using the trained RNN classification model; judging whether the array is empty or not; if yes, ending the process; if not, adopting a classification result for updating a q-table through a Q-learning algorithm; and performing time slice adjustment by using the currently updated q-table to complete scheduling of the CPU resources. The effective utilizationrate of resources is improved. The energy consumption of the cloud data center is reduced.

Description

technical field [0001] The invention relates to a CPU resource scheduling method based on a Xen system, and relates to the technical field of CPU resource scheduling. Background technique [0002] In recent years, with the development and rise of cloud computing technology, virtualization technology has begun to appear in people's sight again. The purpose of virtualization technology is to virtualize physical resources, through the Virtual Machine Monitor (Virtual Machine Monitor, VMM), to reasonably allocate the virtualized physical resources to multiple virtual machines for use, and to ensure that multiple virtual machines are independent of each other. , the operation of their respective tasks does not affect each other. The current mainstream virtual machine architectures mainly include: VMware's ESX, Microsoft's Hyper-V, open source Xen and KVM. As the scale of the cloud computing environment expands, resulting in the continuous increase of energy consumption, resourc...

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/50G06N3/04
CPCG06F9/5027G06N3/049G06N3/045Y02D10/00
Inventor 张伟哲方滨兴何慧刘川意陈煌王德胜
Owner HARBIN INST OF 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