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

A scheduling method and scheduling device technology, applied in the field of CPU scheduling, can solve problems such as the inability to use the host computer, and achieve the effect of avoiding migration

Inactive Publication Date: 2016-10-12
GUANGDONG EFLYCLOUD COMPUTING CO LTD
View PDF5 Cites 1 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, when creating a cloud host process in the cloud host system, randomly bind the cloud host process to a CPU core.

[0023] Among them, the cloud hosts in the cloud host system are set with preset QOS levels, so as to ensure the service quality of cloud hosts with high preset QOS levels.

[0024] When creating a cloud host process in the cloud host system, randomly bind each cloud host process to a CPU core, and record the CPU core bound to the cloud host process. By binding the cloud host process to the CPU core, the automatic migr...

Embodiment 2

[0032] figure 2 It is a flowchart of a CPU scheduling method in a cloud host system provided by Embodiment 2 of the present invention. On the basis of Embodiment 1, this embodiment will "according to the preset QOS level of the cloud host Migrate a set number of cloud host processes to newly inserted CPU cores and "further optimize" to "When the load information reaches a preset critical value, the CPU usage rate of the cloud host with a low preset QOS level will be at the preset Cloud host processes above the usage rate are migrated to newly inserted CPU cores". The method specifically includes the following steps:

[0033] Step 210, when creating a cloud host process in the cloud host system, randomly bind the cloud host process to a CPU core.

[0034] Step 220, when it is captured that a CPU hot insertion event occurs, the load information of the host machine to which the cloud host belongs is acquired.

[0035] Step 230, when the load information reaches a preset criti...

Embodiment 3

[0039] image 3It is a flowchart of a CPU scheduling method in a cloud host system provided by Embodiment 3 of the present invention. On the basis of Embodiment 1, this embodiment will "when the load information reaches a preset critical value, according to the cloud host The preset QOS level of the cloud host process will migrate a set number of cloud host processes to the newly inserted CPU cores, which is further optimized to "when the load information reaches the preset critical value, the cloud host process will Sort in reverse order according to the CPU usage and the preset QOS level of the cloud host; migrate the top-ranked set number of cloud host processes to the newly inserted CPU cores. The method specifically includes the following steps:

[0040] Step 310, when creating a cloud host process in the cloud host system, randomly bind the cloud host process to a CPU core.

[0041] Step 320, when it is captured that a CPU hot insertion event occurs, the load informati...

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: randomly binding cloud host processes to a CPU core when the cloud host processes in the cloud host system are created, wherein a preset QOS (Quality of Service) grade is set for a cloud host in the cloud host system; when a hot insertion event of a CPU is captured, acquiring load information of a host computer, to which the cloud host belongs; and when the load information reaches a preset critical value, migrating the preset number of cloud host processes in the cloud host processes to a newly inserted CPU core according to the preset QOS grade of the cloud host. According to the CPU scheduling method and the CPU scheduling device in the cloud host system, the usage capability of the CPU of the cloud host in a high preset QOS grade on an original CPU core is guaranteed; the usage capability of the CPU of the cloud host, which is migrated to the newly inserted CPU core, in the high preset QOS grade can be also 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/5088G06F9/5077
Inventor 刘杰黄燕飞梁润强麦剑闵宇
Owner GUANGDONG EFLYCLOUD COMPUTING CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products