Task scheduling method, device and system
A task scheduling and task technology, applied in the computer field, can solve problems such as not being able to fully utilize the energy efficiency ratio, achieve high energy efficiency ratio, and reduce energy consumption costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] figure 1 The implementation flow of the task scheduling method provided by Embodiment 1 of the present invention is shown, and the master node side in the task scheduling system is taken as an example to illustrate, and the details are as follows:
[0050] In step S101, the energy efficiency ratio information of all first-type cores in each slave node is obtained, and the energy efficiency ratio information is sorted according to the value of the energy efficiency ratio, and the sorted energy efficiency ratio information result set is generated, the The value of the energy efficiency ratio of the first type of core is higher than the preset first energy efficiency ratio value.
[0051] In the embodiment of the present invention, the energy efficiency ratio information includes an identifier of each first-type core and a value of the energy efficiency ratio corresponding to each identifier of each first-type core. The task scheduling system consists of a master node and...
Embodiment 2
[0069] figure 2 The implementation process of the task scheduling method provided by the second embodiment of the present invention is shown, and the main node side is taken as an example for illustration. This embodiment is implemented on the basis of the first embodiment, and is described in detail as follows:
[0070] In step S201, the CPU frequency of each slave node is obtained.
[0071] In the embodiment of the present invention, the master node sends a preset number of CPU frequency query requests to each slave node at time T, and each slave node sends its CPU frequency to the master node after receiving the request. The master node averages the query results for a preset number of times, for example, 3 times, and uses the average value as the final CPU frequency.
[0072] In addition, each slave node can also actively send its own CPU frequency to the master node. Specifically, how the master node obtains the CPU frequency of each slave node is not limited here.
[...
Embodiment 3
[0087] image 3A specific structural block diagram of the task scheduling device provided by Embodiment 3 of the present invention is shown, and for convenience of description, only parts related to the embodiment of the present invention are shown. The task scheduling device 3 may be a software unit, a hardware unit, or a combination of software and hardware built in the master node, wherein the master node is a node in the task scheduling system, which is connected to at least one slave node, and the task The scheduling device 3 includes: an energy efficiency ratio acquisition unit 31 , a process acquisition unit 32 , a core search unit 33 and a core migration unit 34 .
[0088] The energy efficiency ratio acquisition unit 31 is configured to obtain the energy efficiency ratio information of all first-type cores in each slave node, and sort the energy efficiency ratio information in order of the value of the energy efficiency ratio, and generate a sorted energy efficiency ra...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 