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

CPU (Central Processing Unit) scheduling method and device in cloud host system

A scheduling method and cloud host technology, applied in the field of CPU scheduling, can solve problems such as the inability to use the host machine

Inactive Publication Date: 2016-10-12
GUANGDONG EFLYCLOUD COMPUTING CO LTD
View PDF10 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing cloud host system, each cloud host uses the resources of the host machine in a balanced manner according to its own configuration, but cannot use the resources of the host machine according to the different requirements of service quality

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 (Central Processing Unit) scheduling method and device in cloud host system
  • CPU (Central Processing Unit) scheduling method and device in cloud host system
  • CPU (Central Processing Unit) scheduling method and device in cloud host system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] figure 1 It is a flow chart of a CPU scheduling method in a cloud host system provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the CPU is scheduled according to the quality of service level. The method can be scheduled by the CPU in the cloud host system device, which may be implemented by software and / or hardware. The method specifically includes the following steps:

[0022] Step 110, setting the CPU priorities of the cloud host processes in the cloud host system to the same value.

[0023] Wherein, the cloud host system refers to multiple cloud hosts installed on one host machine.

[0024] In common server operating systems, the nice value of a process is often used to indicate the CPU priority of the process. The higher the priority, the nice value is at the end of the month; the lower the priority, the higher the nice value. According to the nice value, the length of CPU time that a process can occupy for ea...

Embodiment 2

[0035] figure 2 It is a flowchart of a CPU scheduling method in a cloud host system provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of Embodiment 1. The method specifically includes the following steps:

[0036] Step 210, setting the CPU scheduling policy of the cloud host process as time slice round-robin scheduling.

[0037] Among them, time slice round-robin scheduling is a real-time scheduling strategy for processes.

[0038] By setting the CPU scheduling policy of all cloud host processes to time slice round-robin scheduling, it is ensured that the time length of the CPU used by the cloud host process in one scheduling is the length of the time slice.

[0039] In the time slice round-robin scheduling mode, when the time slice of a process is used up, the system will re-allocate the time slice for the process and place it at the end of the ready queue. Putting it at the end of the queue ensures fair scheduling of all tasks wi...

Embodiment 3

[0053] image 3 It is a flowchart of a CPU scheduling method in a cloud host system provided by Embodiment 3 of the present invention. This embodiment is a preferred example based on the above embodiments. The method specifically includes the following steps:

[0054] Step 310, setting the scheduling policy of each cloud host process in the physical device to time slice round-robin scheduling.

[0055] Wherein, the physical device is the above-mentioned host machine.

[0056] Step 320, setting the CPU priorities of all cloud host processes to the same value.

[0057] Step 330, acquiring the CPU load information of the physical device every preset time interval.

[0058] Step 340 , judging whether the CPU load information reaches a critical value, if yes, execute step 350 , if not, return to execute step 330 .

[0059] Step 350, according to the preset QOS level of each cloud host, gradually increase the CPU priority of the corresponding cloud host process, or gradually decr...

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 (Central Processing Unit) scheduling method and a CPU scheduling device in a cloud host system. The method comprises the steps of: setting CPU priorities of cloud host processes in a cloud host system as the same value; acquiring load information of a host computer, to which a cloud host belongs every other preset time interval; and when the load information of the host computer reaches a preset critical value, adjusting the CPU priorities of the cloud host processes according to a preset quality of service (QOS) grade of the cloud host. According to the CPU scheduling method and the CPU scheduling device in the cloud host system, the usage of a CPU of the cloud host in a high preset QOS grade is guaranteed, and the utilization of resources of the host computer is realized according to different requirements of the quality of service.

Description

technical field [0001] Embodiments of the present invention relate to CPU scheduling technology, and in particular, to a CPU scheduling method and device in a cloud host system. Background technique [0002] Cloud host is an important part of cloud computing in infrastructure applications. It is located at the bottom of the cloud computing industry chain pyramid, and its products originate from cloud computing platforms. The platform integrates three core elements of Internet applications: computing, storage, and network, and provides public Internet infrastructure services for users. Cloud host is a virtualization technology similar to VPS (Virtual Private Server, virtual private server) host. VPS uses virtual software (such as VZ or VM) to virtualize multiple parts similar to independent hosts on one host, which can realize Stand-alone multi-user, each part can be a separate operating system, and the management method is the same as that of the host. The cloud host is to...

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/50
CPCG06F9/5027
Inventor 刘杰黄衍博吴毅浩麦剑郭俊杰
Owner GUANGDONG EFLYCLOUD COMPUTING CO LTD