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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com