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

CPU (Central Processing Unit) resource scheduling method and server

A technology of CPU resources and scheduling methods, applied in the network field, can solve problems such as excess CPU resources, unreasonable and effective use of CPU resources, insufficient CPU resources, etc., and achieve the effect of improving utilization

Active Publication Date: 2016-05-18
NEW H3C TECH CO LTD
View PDF6 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Manual allocation will cause insufficient CPU resources allocated to some virtual devices, and excess CPU resources allocated to some virtual devices, which cannot make reasonable and effective use of CPU resources. However, the scheduling algorithm of dynamic real-time allocation is relatively simple, which reduces the effective utilization of CPU resources.

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) resource scheduling method and server
  • CPU (Central Processing Unit) resource scheduling method and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Apparently, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, other embodiments obtained by those skilled in the art all belong to the protection scope of this application.

[0023] Such as figure 1 As shown, it is a flowchart of a CPU scheduling method in the embodiment of the present application, the server includes multiple virtual devices, and the method includes the following steps:

[0024] Step 101, the server determines the amount of CPU resources occupied by tasks to be processed by the virtual device and the amount of unoccupied CPU resources among the CPU resources allocated to the virtual device (hereinafter referred to as the amount of unoccupied CPU resources).

[0025] Step 102, the server compares the amount of CPU resources...

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) resource scheduling method; a server comprises multiple virtual devices; the method comprises the following steps: the server makes a comparison on CPU resource amount which needs to be occupied by a task and the unoccupied CPU resource amount; when the CPU resource amount which needs to be occupied by the task is greater than the unoccupied CPU resource amount, the server judges whether a sum of the CPU resource amount which needs to be occupied by the task and the occupied CPU resource amount in the CPU resources distributed for the virtual devices is greater than the maximum CPU resource occupied amount set for the virtual devices; and if not, the server distributes some or all CPU resources of the undistributed CPU resources in the CPU resources to the virtual devices. According to the CPU resource scheduling method and the server disclosed by the invention, the idle CPU resources can be utilized, and the utilization rate of the CPU resources is improved.

Description

technical field [0001] The present application relates to the field of network technology, in particular to a CPU resource scheduling method and server. Background technique [0002] With the explosive growth of device performance and the gradual popularization of virtualization technology, how to implement dynamic resource allocation, flexible scheduling, and improved resource utilization of multiple virtualized devices on existing physical devices to meet users' daily needs The needs at work are imminent. [0003] Device virtualization refers to virtualizing one device into multiple logical devices (virtual devices) through virtualization technology, that is, multiple virtual devices can run on one device at the same time. In virtualization technology, CPU (Central Processing Unit, processor) Resource scheduling is the key, which determines which VCPU (VirtualCentralProcessingUnit, virtual processor, virtual device for short) can obtain CPU resources. In order to make bet...

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
Inventor 赵长逸
Owner NEW H3C TECH CO LTD