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

A CPU resource scheduling method based on xen system

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

Active Publication Date: 2022-08-02
HARBIN INST OF TECH
View PDF8 Cites 0 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
  • A CPU resource scheduling method based on xen system
  • A CPU resource scheduling method based on xen system
  • A 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 of the present invention is described 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 latency of their tasks, which may basically reach twice the time slice size.

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

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 CPU resource scheduling method based on Xen system relates to the technical field of CPU resource scheduling. The present invention solves the problems that the existing CPU resource scheduling method cannot distinguish specific running tasks, and cannot be combined with a real-time running environment to adjust CPU resources. Use the vcpu queue as input data to train the RNN classification model; obtain the global queue information credit[] and pri[] of the Xen system, and then use the trained RNN classification model to train the global queue information credit[] and pri[ of the Xen system ] for classification; determine whether the above array is empty, if so, end, otherwise the classification result will update the q-table table through the Q-learning algorithm; use the current updated q-table table to adjust the time slice to complete the scheduling of CPU resources. Improve efficient utilization of resources and reduce energy consumption in cloud data centers.

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 virtual machine monitor (Virtual MachineMonitor, VMM), the virtualized physical resources are reasonably allocated to multiple virtual machines for use, and to ensure that multiple virtual machines are independent of each other. , which do not affect the operation of their respective tasks. The current mainstream virtual machine architectures are: VMware's ESX, Microsoft's Hyper-V, open source Xen and KVM. With the expansion of the cloud computing environment, resulting in the continuous increase of energy consumption, resource scheduling is becomin...

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 Patents(China)
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