Task scheduling method, task scheduling device and multi-core system
A task scheduling and multi-core system technology, applied in the computer field, can solve problems such as increased power consumption, insensitivity, and increased processor core frequency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0112] An embodiment of the present invention provides a task scheduling method. The method of this embodiment may be executed by a current processor core in a multi-core system. The multi-core system in this embodiment of the present invention may be a server or a mobile terminal. refer to image 3 , when the task scheduling starts, the task scheduling method provided by the embodiment of the present invention includes the following steps:
[0113] S301. Calculate the absolute load of the first task to be scheduled.
[0114] Specifically, the concept of absolute load is proposed relative to the concept of process load. The process load refers to the running time of the process on the processor core divided by the total running time of the processor core, that is, the processor core occupancy rate of the process. However, since the frequency of the processor core can be changed when the process is running on the processor core, the embodiment of the present invention propose...
Embodiment 2
[0195] An embodiment of the present invention provides a task scheduling device 600, such as Image 6 As shown, the task scheduling apparatus 600 includes: a first calculation unit 602 , a second calculation unit 603 , a first determination unit 604 , a control unit 605 , and a scheduling unit 606 .
[0196] The first calculation unit 602 is configured to calculate the absolute load of the first task to be scheduled.
[0197] The second calculation unit 603 is used to calculate the system energy consumption of the multi-core system when the P processor cores managed by the R clusters in the multi-core system respectively work at corresponding operating frequencies to run the first task to be scheduled Estimation parameters, wherein the system energy consumption estimation parameters of the multi-core system include: nth r processor core working on the mth r The system energy consumption estimation parameters of the multi-core system when running the first task to be schedule...
Embodiment 3
[0220] An embodiment of the present invention provides a task scheduling device 800, such as Figure 8 As shown, the task scheduling apparatus 800 includes: a calculation unit 801 , a determination unit 802 , a control unit 803 , and a scheduling unit 804 .
[0221] The calculation unit 801 is configured to calculate the absolute load of the second task to be scheduled.
[0222] The determining unit 802 is configured to, when the absolute load of the second task to be scheduled is the same as the stored absolute load of the first task to be scheduled, according to the absolute load of the second task to be scheduled and the stored The first correspondence relationship is to determine the target processor core and the corresponding target operating frequency corresponding to the second task to be scheduled and to run the second task to be scheduled under the condition of minimum energy consumption of the system, wherein the stored first A corresponding relationship includes: t...
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