Energy-Aware Task Scheduling for Core Voltage Regulators

The method optimizes task scheduling by considering voltage regulator efficiency, reducing power consumption in computing devices by distributing tasks to minimize total regulator input power.

JP7557631B2Active Publication Date: 2024-09-27QUALCOMM INC
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2023540962
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-01-13
Filing Date
2021-12-02
Publication Date
2024-09-27
Estimated Expiration
2041-12-02

AI Technical Summary

Technical Problem

Existing task scheduling methods in computing devices do not effectively minimize energy consumption by considering the efficiency of voltage regulators, leading to inefficient power usage across multiple cores or processors.

Method used

A method and system for task scheduling that determines multiple scheduling cases based on task performance levels and efficiency levels of voltage regulators, calculating total regulator input power levels, and selecting the case with the lowest power consumption to execute tasks on appropriate processors.

Benefits of technology

This approach reduces overall power consumption by optimizing task distribution across processors based on regulator efficiency, leading to more energy-efficient operation of computing devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007557631000006
    Figure 0007557631000006
  • Figure 0007557631000005
    Figure 0007557631000005
  • Figure 0007557631000007
    Figure 0007557631000007
Patent Text Reader

Abstract

Task scheduling within a computing device may be based in part on voltage regulator efficiency. For an additional task to be scheduled, multiple task scheduling cases may be determined, each representing execution of the additional task on each of several processors in parallel with one or more other tasks executed among the processors. For each task scheduling case, a regulator input power level for a voltage regulator may be determined based on a performance level indication associated with the additional task, one or more other tasks executing on the processor, and the efficiency level of each voltage regulator. For each task scheduling case, a total regulator input power level may be determined by summing the regulator input power levels for all voltage regulators. The additional task may be executed on the processor associated with the task scheduling case with the lowest total regulator input power.
Need to check novelty before this filing date? Find Prior Art

Description

[Background technology]

[0001] Portable computing devices ("PCDs") have become a necessity for people at both the personal and professional levels. These devices may include mobile phones, tablet computers, palmtop computers, personal digital assistants ("PDAs"), handheld game consoles, and other portable electronic devices. PCDs typically include an integrated circuit or system-on-a-chip ("SoC") that includes a number of components or subsystems designed to work together to deliver functionality to a user. For example, an SoC may include any number of processing engines, such as a central processing unit ("CPU"), a graphical processing unit ("GPU"), a digital signal processor ("DSP"), a neural processing unit ("NPU"), a wireless transceiver unit (also called a modem), and the like.

[0002] A processing engine such as a CPU may have multiple cores capable of executing tasks independently of each other. The cores may be symmetric, with each core enabling the same level of performance as the other cores, or asymmetric, with one or more cores optimized for higher performance than the other cores (also called heterogeneous). The cores may be organized in clusters. In some heterogeneous architectures, one cluster may consist of cores optimized for higher performance than the cores of another cluster. Higher performance cores generally consume more power than lower performance cores. The process of determining which of multiple cores will execute which of multiple tasks is usually called task scheduling. Task scheduling may be controlled by a scheduler, which is usually part of the operating system kernel.

[0003]

[0003] Task scheduling that attempts to minimize the total amount of energy consumed by all executing tasks is sometimes referred to as energy-aware scheduling ("EAS"). To determine the most efficient core on which to execute a task, a scheduler using EAS can apply an estimate of the processing load that the task will place on each core to a model that relates processing load (i.e., performance) to power. The scheduler then selects the core on which the model indicates that executing the task will minimize total power. Summary of the Invention

[0004] Systems, methods, computer-readable media, and other embodiments are disclosed for regulator efficiency-aware task scheduling within a computing device.

[0005]

[0005] An exemplary method for task scheduling in a computing device may include receiving a task comprising a task performance level indication and determining a plurality of task scheduling cases. In the exemplary method, each task scheduling case may represent execution of a task on an associated processor of a plurality of processors in parallel with one or more other tasks executed on the plurality of processors. In the exemplary method, each processor may be supplied by one of a plurality of voltage regulators. The exemplary method may also include, for each task scheduling case, determining a regulator input power level for each voltage regulator based on the task performance level indication, the one or more other tasks executed on the processor, and an efficiency level of each voltage regulator. The exemplary method may further include, for each task scheduling case, determining a total regulator input power level by summing the regulator input power levels of the voltage regulators. The exemplary method may still further include selecting one of the task scheduling cases having the lowest total regulator input power level among the plurality of task scheduling cases. The exemplary method may yet further include executing the task on the processor associated with the selected one of the task scheduling cases.

[0006]

[0006] An exemplary system for task scheduling in a computing device may include a plurality of processors, a task scheduler, and a plurality of voltage regulators. The task scheduler may be configured to receive a task comprising a task performance level indication and to determine a plurality of task scheduling cases. In the exemplary system, each task scheduling case may represent execution of a task on an associated processor in parallel with one or more other tasks executing on the processor. In the exemplary system, each processor may be supplied by one of the voltage regulators. In the exemplary system, the task scheduler may also be configured to determine, for each task scheduling case, a regulator input power level of each voltage regulator based on the task performance level indication, the one or more other tasks executing on the processor, and an efficiency level of each voltage regulator. In the exemplary system, the task scheduler may further be configured to determine, for each task scheduling case, a total regulator input power level by summing the regulator input power levels of the voltage regulators. In the exemplary system, the task scheduler may also be further configured to select one of the task scheduling cases having the lowest total regulator input power level among the plurality of task scheduling cases. In an example system, the task scheduler may be further configured to execute the task on a processor associated with a selected one of the task scheduling cases.

[0007] Another exemplary system for task scheduling in a computing device may include means for receiving a task comprising a task performance level indication and means for determining a plurality of task scheduling cases. In the exemplary system, each task scheduling case may represent execution of a task on an associated one of a plurality of processors in parallel with one or more other tasks executed on the processor. In the exemplary system, each processor may be supplied by one of a plurality of voltage regulators. The exemplary system may also include means for determining, for each task scheduling case, a regulator input power level of each voltage regulator based on the task performance level indication, the one or more other tasks executed on the processor, and an efficiency level of each voltage regulator. The exemplary system may further include means for determining, for each task scheduling case, a total regulator input power level by summing the regulator input power levels of the voltage regulators. The exemplary system may also further include means for selecting one of the task scheduling cases having the lowest total regulator input power level among the plurality of task scheduling cases. The exemplary system may yet further include means for executing the task on the processor associated with the selected one of the task scheduling cases.

[0008]

[0008] An exemplary computer-readable medium for task scheduling in a computing device may comprise a non-transitory computer-readable medium having instructions stored thereon in a computer-executable format. The instructions, when executed by a processing system of the computing device, may configure the processing system to receive a task comprising a task performance level indication and to determine a plurality of task scheduling cases. In the exemplary computer-readable medium, each task scheduling case may represent execution of a task on an associated processor of a plurality of processors in parallel with one or more other tasks executed on the processor. In the exemplary computer-readable medium, each processor may be supplied by one of a plurality of voltage regulators. The instructions may also configure the processing system to determine, for each task scheduling case, a regulator input power level for each of the voltage regulators based on the task performance level indication, the one or more other tasks executed on the processor, and an efficiency level of each voltage regulator. The instructions may further configure the processing system to determine, for each task scheduling case, a total regulator input power level by summing the regulator input power levels of the voltage regulators. The instructions may also further configure the processing system to select one of the task scheduling cases having the lowest total regulator input power level among the plurality of task scheduling cases. The instructions may still further configure the processing system to execute the task on a processor associated with a selected one of the task scheduling cases.

[0009]

[0009] In the figures, unless otherwise specified, like reference numbers refer to like parts throughout the various figures. In the case of a reference number having an English letter designation such as "102A" or "102B", the English letter designation can distinguish between two similar parts or elements present in the same figure. When the reference number is intended to include all parts having the same reference number in all figures, the English letter designation for the reference number may be omitted. [Brief description of the drawings]

[0010] [Figure 1] 1 is a block diagram illustrating a task scheduling system in a computing device having multiple clusters of cores, in accordance with an illustrative embodiment. [Diagram 2] 1 is a block diagram illustrating a task scheduling system in a computing device having multiple chiplets, in accordance with an example embodiment. [Figure 3A] FIG. 2 illustrates a first example of a task scheduling case in a method for task scheduling in a computing device, according to an exemplary embodiment. [Figure 3B] FIG. 13 illustrates a second example of a task scheduling case in a method for task scheduling in a computing device, according to an exemplary embodiment. [Figure 3C] FIG. 11 illustrates a third example of a task scheduling case in a method for task scheduling in a computing device, according to an exemplary embodiment. [Figure 4] 1 is a flow diagram illustrating a method for task scheduling in a computing device, according to an example embodiment. [Diagram 5] 2 is a graph showing an example of a voltage regulator efficiency curve. [Figure 6] FIG. 6 is a diagram similar to FIG. 5 showing example voltage regulator efficiency curves for two different voltage regulators. [Figure 7] 1 is a block diagram of a portable computing device in accordance with an exemplary embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011]

[0019] The word "exemplary" is used herein to mean "serving as an example, instance, or illustration." The word "exemplary" may be used herein synonymously with "exemplary." Any aspect described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other aspects. The term "coupled" may be used herein to mean connected through zero or more intervening elements, as opposed to the term "directly connected," which may be used herein to mean connected without any intervening elements.

[0012]

[0020] References to a task being executed on a processor mean that the software (instructions, data, etc.) represented by the task is executed by the processor retrieving and executing portions of the software from memory and storing results in memory in a manner consistent with conventional computing principles well understood by those of skill in the art. In some of the exemplary embodiments described herein, explicit descriptions of such memory may be omitted for clarity.

[0013]

[0021] As shown in FIG. 1, in an exemplary or illustrative embodiment, a computing device 100 may include a processor chip 102. The processor chip 102 may be, for example, a CPU (sometimes also referred to as an application processor). The processor chip 102 may have multiple cores 104, such as cores 104A, 104B, 104C, and 104D. In the illustrated embodiment, the processor chip 102 has four cores 104, but in other embodiments, such a processor chip may have any other number of cores. The cores 104A and 104B may be organized into a first cluster 106A, and the cores 104C and 104D may be organized into a second cluster 106B. In the illustrated embodiment, the cores 104 are organized into two clusters 106A and 106B, but in other embodiments, the cores may be organized into any other number of clusters. In some embodiments, the cores 104A and 104B of the first cluster 106A may be configured to sustain a higher processing load or a higher performance level (e.g., expressed in millions of instructions per second or "MIPS") than the cores 104C and 104D of the second cluster 106B. As used in this disclosure, the terms "high performance" and "low performance" refer to performance levels relative to one another. Nevertheless, in other embodiments, all such cores may be capable of sustaining the same maximum processing load.

[0014]

[0022] The first voltage regulator 108A may be configured to supply power to the cores 104A and 104B of the first cluster 106A. Similarly, the second voltage regulator 108B may be configured to supply power to the cores 104C and 104D of the second cluster 106B. In the exemplary embodiment described herein, the term "power" refers to an amount of current at a regulated voltage. Although not shown in FIG. 1 for clarity, the regulated voltage or voltages may be selected or adjusted by a power management circuit of the computing device 100 that provides voltage control signals to the voltage regulators 108A and 108B. As described in more detail below, in some embodiments, the voltage regulators 108A and 108B may differ from one another to have different efficiencies. Nevertheless, in other embodiments, such voltage regulators may be similar to one another to have the same efficiency.

[0015]

[0023] In addition to the processor chip 102 and voltage regulators 108A and 108B described above, other elements of computing device 100 may include, for example, one or more memories, other processors, input / output systems, data communications buses, power management circuits, etc. Such other elements are not shown in FIG.

[0016]

[0024] As shown in FIG. 2, in another exemplary embodiment, computing device 200 may include processor chip 202. Processor chip 202 may be, for example, a CPU or an application processor. Processor chip 202 may comprise multiple chiplets 204, such as chiplets 204A, 204B, 204C, and 204D. In the illustrated embodiment, processor chip 202 has four chiplets 204, but in other embodiments, such a processor chip may have any other number of chiplets. Voltage regulators 208A, 208B, 208C, and 208D may be configured to provide power to chiplets 204A, 204B, 204C, and 204D, respectively. In addition to processor chip 202 and voltage regulators 208A, 208B, 208C, and 208D described above, other elements of computing device 200 may include, for example, one or more memories, other processors, an input / output system, a data communication bus, etc. Such other elements are not shown in FIG. 2 for clarity.

[0017]

[0025] As shown in FIGS. 3A-3C, system 300 may include task scheduler 302 and processors 304, such as processors 304A, 304B, 304C, and 304D. Processors 304 may be an example of the cores 104 (FIG. 1) or chiplets 204 (FIG. 2) described above, or any other grouping of two or more processors. Also, while in the embodiment described above all of the cores 104 are included in a single chip 102 and all of the chiplets 204 are included in a single chip 202, in other embodiments such processors may be in separate chips. In the following description, the term "processor" encompasses all such processors that may be included in one or more chips. Additionally, in the embodiment shown, system 300 has four processors 304, but in other embodiments such systems may have any other number of processors.

[0018]

[0026] The voltage regulators may supply power to the processors 304 in the manner described above with respect to Figures 1-2. For example, a first voltage regulator 308A may supply power to processors 304A and 304B, and a second voltage regulator 308B may supply power to processors 304C and 304D.

[0019]

[0027] 3A-3C, task scheduler 302 may correspond to a portion or feature of an operating system (not shown), i.e., task scheduler 302 may comprise a portion of a processor, such as processor 304 or another processor (not shown) configured by execution of operating system software that includes task scheduling software.

[0020]

[0028] The term "task scheduling" or "scheduling" refers to selecting one of the processors 304 on which to execute a task. In one example of the operation of the system 300, a first task 306A may be executing on the processor 304A when the scheduler 302 receives (e.g., from another part of the operating system) an indication of an additional or second task 306B to be scheduled. Arrow 310A conceptually indicates that the scheduler 302 may have previously scheduled (i.e., prior to receiving an indication of) the second task 306B to execute on the processor 304A. In response to the indication of the second task 306B, the scheduler 302 may select one of the processors 304 to execute the second task 306B. As described below, three alternative methods of scheduling additional tasks, referred to herein as "task scheduling cases," are illustrated in Figures 3A, 3B, and 3C, respectively. Generally, the additional or second task 306B may potentially be executed on any of the four processors 304A, 304B, 304C, and 304D. Nevertheless, in this example, a set of candidate processors for executing the second task 306B may be identified or determined according to conventional task scheduling principles. Conventionally, the processor or processors with the highest task load, if any, should be excluded from the set of candidate processors for executing the additional task. That is, the processor or processors with the least load form the candidate set. In this example, where processor 304A is executing the first task 306A but none of the other processors 304B, 304C, and 304D are executing any tasks, processors 304B, 304C, and 304D form the set of candidate processors for executing the second task 306B.

[0021]

[0029] For example, as conceptually illustrated by arrow 310B in FIG. 3A and based on the methods described below, scheduler 302 may schedule second task 306B to execute on processor 304B rather than on any of the other processors 304A, 304C, and 304D. That is, scheduler 302 may select one of processors 304 on which to execute second task 306B. As described below, the methods may base the selection in part on voltage regulator efficiency. Although only two tasks 306A and 306B are shown in FIGS. 3A-3C for illustrative purposes, any number of tasks may be distributed among any number of processors and executed concurrently with one another.

[0022]

[0030] As shown in FIG. 4, a method 400 for task scheduling in a computing device may include the following. It should be understood that method 400 represents an example or embodiment, and that in other embodiments, some steps of method 400, or similar steps or actions, may occur in a different order than method 400 or may be omitted. For illustrative purposes, method 400 may be described in the context of one or more of computing devices 100 (FIG. 1) or 200 (FIG. 2) or system 300 (FIG. 3). Nevertheless, method 400 or related methods may be applied to other computing devices, systems, and the like. Additionally, numerical values ​​of currents, voltages, and the like described below are provided for illustrative purposes and may differ in other examples.

[0023]

[0031] As indicated by block 402, an additional task may be received. That is, an indication of an additional task to be scheduled is received. The indication may comprise an indication of a task performance level. The task performance level may relate, for example, to a number of MIPS or a similar measure of performance that a processor may need to sustain to execute the task. The additional task may be received, for example, by the task scheduler 302 (FIGS. 3A-3C) described above.

[0024]

[0032] As indicated by block 404, two or more candidate processors for executing the additional task may be identified or determined. The candidate processors may be determined, for example, by the task scheduler 302. Conventional methods may be used to identify the candidate processors, such as identifying the least loaded processor or processors. With reference to the example described above with respect to FIGS. 3A-3C, where the processor 304A is executing the first task 306A and an additional or second task 306B is received while none of the other processors 304B, 304C, and 304D is executing any task, each of the processors 304B, 304C, and 304D is the least loaded processor and is a candidate for executing the second task 306B while the first task 306A is simultaneously executing on the processor 304A.

[0025]

[0033] As illustrated by block 406, two or more task scheduling cases may be determined. A task scheduling case according to the exemplary embodiment described herein is a representation of a state in which an additional task is being executed on a selected one of the (candidate) processors at the same time as one or more other tasks are being executed among the processors. As illustrated by FIG. 3A-3C, there may be three task scheduling cases. As illustrated in FIG. 3A, one of the task scheduling cases may represent a first task 306A being executed on processor 304A while an additional or second task 306B is being executed on processor 304B. As illustrated in FIG. 3B, another task scheduling case may represent a first task 306A being executed on processor 304A while a second task 306B is being executed on processor 304C. As illustrated in FIG. 3C, yet another task scheduling case may represent a first task 306A being executed on processor 304A while a second task 306B is being executed on processor 304D. The number of task scheduling cases that may be determined in block 406 may correspond to the number of candidate processors. In each task scheduling case, a different one of the candidate processors may be considered for executing an additional task. Although FIGS. 3A-3C show a simple example in which only one task 306A is running when the scheduler 302 receives an additional or second task 306B, there may be other examples of operation in which many tasks are distributed and running among the various processors 304 when the scheduler 302 receives an additional task to be scheduled.

[0026]

[0034] As indicated by block 408, a regulator input power level for each voltage regulator may be determined for each task scheduling case. The term "regulator input" is used in this disclosure to refer to the power source side of a voltage regulator, in contrast to the term "regulator output," which refers to the power sink side of a voltage regulator that the voltage regulator attempts to maintain at a ("regulated") voltage level. One example of a power source is a battery (not shown).

[0027]

[0035] The regulator input power level for a task scheduling case represents the amount of power that the voltage regulator draws at its input (e.g., from a battery or other power source) under operating conditions in which one or more processors supplied by that voltage regulator are executing one or more tasks represented by that task scheduling case. To determine the regulator input power level of the voltage regulator for one of the task scheduling cases, the scheduler 302 may utilize, for example, one or more lookup tables (not shown), a calculation, or a combination of lookup tables and calculations. The regulator input power level for a task scheduling case may be based in part on task performance level indications for additional tasks as well as performance levels or other indications of processor load for any other tasks that may execute on one or more processors supplied by that regulator under that task scheduling case. Importantly, the regulator input power level may also be based in part on regulator efficiency.

[0028]

[0036] The scheduler 302 may determine the regulator input power in response to an indication of the performance level or processor load, for example, by utilizing a look-up table (not shown). Such a table may be based in part on the regulator efficiency. That is, for example, the relationship between the input power level of a voltage regulator and the processor load provided by the table may take into account the efficiency level of the voltage regulator. Regulator efficiency refers to the percentage of the input power level that a voltage regulator can provide at its output, i.e., the regulator output power level. As discussed above, the voltage regulator output may be coupled to one or more processors, and the voltage regulator input may be coupled to a power source, such as a battery.

[0029]

[0037] 3A-3C, an output of the first voltage regulator 308A is coupled to the processors 304A and 304B to provide current thereto, and an output of the second voltage regulator 308B is coupled to the processors 304C and 304D to provide current thereto. According to block 408, an input power level of the first voltage regulator 308A may be determined for each task scheduling case, and an input power level of the second voltage regulator 308B may be determined for each task scheduling case. The input power levels of each of the voltage regulators 308A and 308B may be determined for the task scheduling case illustrated in FIG. 3A, the task scheduling case illustrated in FIG. 3B, and the task scheduling case illustrated in FIG. 3C.

[0030]

[0038] 3A, where a first task 306A executes on processor 304A and an additional or second task 306B executes on processor 304B, the input power level of voltage regulator 308A may be determined based on the processor load on processor 304A associated with its execution of task 306A and the processor load on processor 304B associated with its execution of task 306B, taking into account the efficiency of voltage regulator 308A. For the same case where a first task 306A executes on processor 304A and an additional or second task 306B executes on processor 304B, the input power level of voltage regulator 308B is zero.

[0031]

[0039] 3B, where a first task 306A is executed on processor 304A and an additional or second task 306B is executed on processor 304C, the input power level of voltage regulator 308A may be determined based on the processor load on processor 304A associated with its execution of task 306A, since in this case the processor load on processor 304B, which is not executing any tasks, is zero. For the same case, where a first task 306A is executed on processor 304A and an additional or second task 306B is executed on processor 304C, the input power level of voltage regulator 308B may be determined based on the processor load on processor 304C associated with its execution of task 306B, since in this case the processor load on processor 304D, which is not executing any tasks, is zero.

[0032]

[0040] 3C, where a first task 306A is executed on processor 304A and an additional or second task 306B is executed on processor 304D, the input power level of voltage regulator 308A may be determined based on the processor load on processor 304A associated with its execution of task 306A, since in this case the processor load on processor 304B, which is not executing any tasks, is zero. For the same case, where a first task 306A is executed on processor 304A and an additional or second task 306B is executed on processor 304D, the input power level of voltage regulator 308B may be determined based on the processor load on processor 304D associated with its execution of task 306B, since in this case the processor load on processor 304C, which is not executing any tasks, is zero.

[0033]

[0041] Instead of, or in addition to, utilizing one or more look-up tables, or to generate such look-up tables, the regulator input power level may be determined by first determining a corresponding regulator output power level. The regulator output power level is a percentage of the regulator input power level, which is the efficiency level of the voltage regulator at the supply current level (i.e., the current that the voltage regulator is supplying). As described in more detail below, the efficiency of a voltage regulator is not constant over the range of currents it can supply. The regulator output power is the sum of the power drawn by the one or more processors that the regulator supplies. Determining the regulator input power by first determining the regulator output power may be illustrated through the examples described above with respect to FIGS. 3A-3C.

[0034]

[0042] In determining regulator output power for the task scheduling case illustrated in FIG. 3A, where a first task 306A executes on processor 304A and an additional or second task 306B executes on processor 304B, a processor power level or amount of power required for each processor 304A and 304B to maintain its processing load may first be determined. Scheduler 302 may receive a task performance level indication having a value of N (e.g., “N” MIPS, where N is an integer greater than zero) indicating the processing load contributed by the additional task. Scheduler 302 may determine (e.g., using a look-up table) that processor 304B requires 2.14 W to maintain a processing load of N MIPS. Scheduler 302 may similarly determine that processor 304A requires 2.14 W when executing task 306A. Alternatively, in some embodiments, such as the embodiment illustrated in FIG. 2, the power drawn by a processor executing a task may be determined using telemetry readings of current and voltage from a voltage regulator supplying that processor.

[0035]

[0043] The voltage regulator output power level may then be determined by summing the processor power levels of all processors supplied by that voltage regulator. For example, for the task scheduling case shown in FIG. 3A, where a first task 306A runs on processor 304A and an additional or second task 306B runs on processor 304B, scheduler 302 may determine that the output power of voltage regulator 308A is 2.14W+2.14W=4.28W. For the task scheduling case shown in FIG. 3A, the output power of voltage regulator 308B is zero because no tasks are running on processors 304C and 304D. The voltage regulator input power level may then be determined by dividing the voltage regulator output power level by the voltage regulator efficiency.

[0036]

[0044] As shown in FIG. 5, the voltage regulator efficiency may be obtained from a model, which may be in the form of a graph 500 or a look-up table (not shown). Graph 500 includes a curve 502 relating efficiency (in percent) to voltage regulator load current (e.g., in mA). The voltage regulator load current level may be determined by dividing the voltage regulator output power level by the regulator output voltage level. Although only one curve 502 is shown, it should be appreciated that different voltage regulators may have efficiencies modeled by different curves. For illustrative purposes shown in FIGS. 3A-3C, curve 502 may describe the efficiency of both voltage regulators 308A and 308B.

[0037]

[0045] The calculated voltage regulator output power level may be adjusted in some embodiments by adding the calculated power supply plane loss. The power supply plane loss is the amount of power dissipated by a metal layer or plane in a circuit board (not shown) that distributes power from the voltage regulator. The power supply plane loss may be expressed as a product of resistance and the square of the regulator output current. The regulator output current may be determined by dividing the voltage regulator output power by the regulator output voltage. The regulator output voltage may be determined in some embodiments by telemetry, i.e., by obtaining a measurement from the voltage regulator. For the task scheduling case shown in FIG. 3A, where the output power of the voltage regulator 308A is 4.28W and the measured voltage is, for example, .769 volts (V), the regulator output current is 4.28W / .769V=5.56 amps (A). The resistance of the path between the voltage regulator output and the processor may be a predetermined value. In the example given above, where the output power of the voltage regulator 308A is 4.28 W and the paths between the voltage regulator output and each processor 304A and 304B have a resistance of, for example, 3 milliohms, (5.56) 2A power supply plane loss of ×(.003) or .092 may be added to the voltage regulator output power of 4.28W calculated above, resulting in an adjusted output power level of voltage regulator 308A of 4.372W.

[0038]

[0046] Referring again to Figure 5, for the task scheduling case shown in Figure 3A, the voltage regulator load current is 4.372W / .769V = 5.69A. Curve 502 shows that at a load current level of 5.69A, the efficiency level of voltage regulator 308A is 77.4% or .774. Thus, for the task scheduling case shown in Figure 3A, the input power level of voltage regulator 308A is 4.372W / .774 = 5.65W. Note that for the task scheduling case shown in Figure 3A, the input power level of voltage regulator 308B is zero since neither processor 304C nor 304D is executing any tasks.

[0039]

[0047] Returning to Figure 4, for each task scheduling case, the total regulator input power may be determined by summing the input power levels of all the voltage regulators, as indicated by block 410. For the task scheduling case illustrated in Figure 3A, where the input power level of voltage regulator 308A is 5.65W and the input power level of voltage regulator 308B is zero, the total regulator input power is 5.65W.

[0040]

[0048] The steps described above with respect to blocks 408 and 410 are performed for each task scheduling case, resulting in an input power level for each voltage regulator. The following example calculations may be performed for the task scheduling cases shown in Figures 3B and 3C. Note that in this example, the calculations for the task scheduling cases shown in Figures 3B and 3C are identical to each other, and it is immaterial to the calculations whether the additional or second task 306B is executed on processor 304C or processor 304D.

[0041]

[0049] 3B and 3C, based on the task performance level for the additional or second task 306B, scheduler 302 may determine, in the same manner as described above for the first task scheduling case, that processor 304C or 304D requires 2.14 W to sustain execution of the second task 306B. In this example, since there are no other tasks executing on processor 304C or 304D, the output power level of voltage regulator 308B is 2.14 W.

[0042]

[0050] The output power of the voltage regulator 308B may be corrected by adding the power supply plane losses. If the measured output voltage is, for example, .769V, then the output current of the voltage regulator 308B is 2.14W / .769V=2.82A. If the path resistance is, for example, 3 milliohms, then (2.82) 2 A power supply plane loss of ×(.003) or .023 may be added to the voltage regulator output power of 2.14W calculated above, resulting in a revised output power level of voltage regulator 308B of 2.163W.

[0043]

[0051] Referring again to FIG. 5, for the task scheduling case shown in FIG. 3B and FIG. 3C, the voltage regulator load current is 2.163W / .769V=2.84A. Curve 502 shows that at a load current level of 2.84A, the efficiency level of voltage regulator 308B is 82.5% or .825. Thus, for the task scheduling case shown in FIG. 3B and FIG. 3C, the input power level of voltage regulator 308B is 2.163 / .825=2.616W. In this example, the same conditions apply to both voltage regulators 308A and 308B, so the input power level of voltage regulator 308A is also 2.616W. That is, each of voltage regulators 308A and 308B supplies one processor operating at a similar performance level.

[0044]

[0052] Returning to FIG. 4, as indicated by block 410, the total regulator input power for each task scheduling case may be determined by summing the input power levels of all the voltage regulators. For the task scheduling case illustrated in FIG. 3A, where the input power level of voltage regulator 308A is 5.65 W and the input power level of voltage regulator 308B is zero, the total regulator input power is 5.65 W. For the task scheduling case illustrated in FIG. 3B, where the input power level of voltage regulator 308A is 2.616 W and the input power level of voltage regulator 308B is 2.616 W, the total regulator input power is 5.23 W. For the task scheduling case illustrated in FIG. 3C, where the input power level of voltage regulator 308A is 2.616 W and the input power level of voltage regulator 308B is 2.616 W, the total regulator input power is 5.23 W.

[0045]

[0053] As indicated by block 412, the task scheduling case having the lowest total regulator input power may be selected. In the example described above, the total regulator input power for the task scheduling cases shown in Figures 3B and 3C is 5.23 W each, while the total regulator input power for the task scheduling case shown in Figure 3A is 5.65 W. Thus, task scheduler 302 may select either the task scheduling case shown in Figure 3B or the task scheduling case shown in Figure 3C. In an example such as this where two or more task scheduling cases have equally low total regulator input power, one case may be selected in any manner, such as by a predetermined order or index, randomly, etc.

[0046]

[0054] The additional tasks may then be executed on a processor associated with the selected task scheduling case, as indicated by block 414. In the example described above, if the task scheduling case shown in Figure 3B is selected, the second task 306B may be executed on processor 304C. If the task scheduling case shown in Figure 3C is selected, the second task 306B may be executed on processor 304D.

[0047]

[0055] It should be noted that if the determination of the regulator power level was not based in part on regulator efficiency (i.e., losses), the calculation of the total power consumption would yield the same results in each of the three task scheduling cases in the above example. In the task scheduling case shown in FIG. 3A, the result of calculating the total power consumption without taking into account the regulator efficiency would be 4.28W, since it would be determined that 2.14W is consumed by the processor 304A and 2.14W is consumed by the processor 304B. In the task scheduling case shown in FIG. 3B, the result of calculating the total power consumption without taking into account the regulator efficiency would be 4.28W, since it would be determined that 2.14W is consumed by the processor 304A and 2.14W is consumed by the processor 304C. In the task scheduling case shown in FIG. 3C, the result of calculating the total power consumption without taking into account the regulator efficiency would be 4.28W, since it would be determined that 2.14W is consumed by the processor 304A and 2.14W is consumed by the processor 304D. Based on the calculation of the total power consumption without taking into account regulator efficiency, a conventional task scheduler (not shown) might execute an additional or second task 306B on processor 304B, and further, the above-described example of method 300 reveals that it would be more power efficient to execute the second task 306B on processor 304C or 304D rather than on processor 304B.

[0048]

[0056] As shown in FIG. 6, the graph 600 comprises a first load current vs. efficiency curve 602 for a first voltage regulator and a second load current vs. efficiency curve 604 for a second voltage regulator. The first and second voltage regulators may be, for example, voltage regulators 108B and 108A (FIG. 1), respectively. As described above with respect to FIG. 1, the cores 104A and 104B of the first cluster 106A, which are supplied by the voltage regulator 108A, may be configured to sustain a higher processing load than the cores 104C and 104D of the second cluster 106B, which are supplied by the voltage regulator 108B. Thus, the voltage regulator 108A may be configured to supply more current at a higher processing load than the voltage regulator 108B. For example, the voltage regulator 108A may have a higher phase count, a larger inductor, etc., than the voltage regulator 108B. Thus, at high current levels, the voltage regulator 108B may be more efficient than the voltage regulator 108A. At some example processing load (i.e., number of MIPS), the current 606 drawn by voltage regulator 108B may be lower than the current 608 drawn by voltage regulator 108A. Ignoring regulator efficiency, a conventional task scheduler may determine that the additional task should be executed on one of cores 104C and 104D. Nevertheless, at that processing load, the efficiency 610 of voltage regulator 108A may be higher than the efficiency 612 of voltage regulator 108B. The task scheduler 302 may determine that the additional task should be executed on core 104B, basing the decision in part on the regulator efficiency.

[0049]

[0057] 7, an exemplary embodiment of a system and method for task scheduling within a computing device may be provided in a portable computing device ("PCD") 700. The PCD 700 may be one example of the computing device 100 described above with respect to FIG.

[0050]

[0058] The PCD 700 may include a SoC 702. The SoC 702 may include a CPU 704, a GPU 706, a DSP 707, an analog signal processor 708, or other processor. The CPU 704 may include multiple cores, such as a first core 704A, a second core 704B, up to an Nth core 704N. In some examples of the SoC 702, the CPU 704 may be referred to as an application processor.

[0051]

[0059] A display controller 710 and a touchscreen controller 712 may be coupled to the CPU 704. A touchscreen display 714, external to the SoC 702, may be coupled to the display controller 710 and the touchscreen controller 712. The PCD 700 may further include a video decoder 716 coupled to the CPU 704. A video amplifier 718 may be coupled to the video decoder 716 and the touchscreen display 714. A video port 720 may be coupled to the video amplifier 718. A universal serial bus ("USB") controller 722 may also be coupled to the CPU 704, and a USB port 724 may be coupled to the USB controller 722. A subscriber identity module ("SIM") card 726 may also be coupled to the CPU 704.

[0052]

[0060] The one or more memories may be coupled to the CPU 704. The one or more memories may include both volatile and non-volatile memory. Examples of volatile memory include static random access memory ("SRAM") 728 and dynamic RAM ("DRAM") 730 and 731. Such memories may be external to the SoC 702, such as DRAM 730, or internal to the SoC 702, such as DRAM 731. A DRAM controller 732 coupled to the CPU 704 may control the writing of data to and reading of data from the DRAMs 730 and 731. In other embodiments, such a DRAM controller may be included within a processor, such as the CPU 704.

[0053]

[0061] A stereo audio codec 734 may be coupled to the analog signal processor 708. Additionally, an audio amplifier 736 may be coupled to the stereo audio codec 734. First and second stereo speakers 738 and 740 may be coupled to the audio amplifier 736, respectively. Additionally, a microphone amplifier 742 may be coupled to the stereo audio codec 734, and a microphone 744 may be coupled to the microphone amplifier 742. A frequency modulation ("FM") radio tuner 746 may be coupled to the stereo audio codec 734. An FM antenna 748 may be coupled to the FM radio tuner 746. Additionally, a stereo headphone 750 may be coupled to the stereo audio codec 734. Other devices that may be coupled to the CPU 704 include one or more digital (e.g., CCD or CMOS) cameras 752. Additionally, a keypad 760, a mono headset with microphone 762, and a vibrator device 764 may be coupled to the analog signal processor 708.

[0054]

[0062] A radio frequency (RF) transceiver or modem 754 may be coupled to the analog signal processor 708 and the CPU 704. An RF switch 756 may be coupled to the modem 754 and to an RF antenna 758.

[0055]

[0063] The SoC 702 may have one or more internal or on-chip thermal sensors 770A and may be coupled to one or more external or off-chip thermal sensors 770B. An analog-to-digital converter ("ADC") controller 772 can convert the voltage drops generated by the thermal sensors 770A and 770B into digital signals. A power supply 774 and a power management integrated circuit ("PMIC") 776 can provide power to the SoC 702.

[0056]

[0064] The firmware or software may be stored in any of the memories described above, such as DRAM 730 or 731, SRAM 728, or may be stored in local memory directly accessible by the processor hardware on which the software or firmware is executed. Execution of such firmware or software may control any aspect of the methods described above or configure any aspect of the systems described above. Any such memory or other non-transitory storage medium storing firmware or software in computer readable form for execution by the processor hardware may be an example of a "computer readable medium" as that term is understood in the vocabulary of the patent.

[0057]

[0065] Alternative embodiments will be apparent to those skilled in the art to which the invention pertains, and therefore, while selected aspects have been shown and described in detail, various substitutions and modifications may be made therein.

[0058]

[0066] Example implementations are described in the following numbered clauses:

[0059]

[0067] 1. A method for task scheduling in a computing device, comprising: receiving a task comprising a task performance level indication; determining a plurality of task scheduling cases, each task scheduling case representing execution of a task on an associated processor of the plurality of processors in parallel with one or more other tasks executing on the plurality of processors, each processor being supplied by a voltage regulator of the plurality of voltage regulators; determining, for each task scheduling case, a total regulator input power level for a plurality of voltage regulators; selecting one of the task scheduling cases having a lowest total regulator input power level among the plurality of task scheduling cases; executing the task on a processor associated with a selected one of the task scheduling cases; A method comprising:

[0060]

[0068] 2. Determining the total regulator input power level for each task scheduling case. determining, for each task scheduling case, a regulator input power level for each of the plurality of voltage regulators based on the task performance level indication, the one or more other tasks executing on the plurality of processors, and an efficiency level of each voltage regulator; determining a total regulator input power level based on the plurality of task scheduling cases by summing regulator input power levels of the plurality of voltage regulators for each task scheduling case; 2. The method of claim 1, comprising:

[0061]

[0069] 3. Determining a regulator input power level for each of a plurality of voltage regulators includes: determining a regulator output current level for one of the voltage regulators; determining an efficiency level of one of the voltage regulators based on a regulator output current level of the one of the voltage regulators and an efficiency model; determining a regulator input power level based on a regulator output current level and an efficiency level; 2. The method of claim 2,

[0062]

[0070] 4. Determining the regulator output current level determining a processor power level for each processor supplied by one of the voltage regulators; summing processor power levels for all processors supplied by one of the voltage regulators; dividing a sum of the processor power levels for all the processors supplied by one of the voltage regulators by the output voltage of one of the voltage regulators; The method of clause 3.

[0063]

[0071] 5. Determining the regulator output current level Determining power supply plane losses; and adjusting the sum of the processor power levels by adding power supply plane losses to the sum of the processor power levels before dividing the sum of the processor power levels by the output voltage; 3. The method of claim 3, further comprising:

[0064]

[0072] 6. The method of clause 5, wherein determining the regulator input power level comprises dividing the regulator output power level by an efficiency level.

[0065]

[0073] 7. Multiple processors a first cluster comprising a plurality of high performance processors powered by a first voltage regulator; a second cluster having a plurality of lower performance processors powered by a second voltage regulator; 2. The method of claim 1, comprising:

[0066]

[0074] 8. The method of clause 1, wherein each of the plurality of processors comprises a chiplet powered by a corresponding voltage regulator.

[0067]

[0075] 9. Multiple processors; Task scheduler and Multiple voltage regulators and 1. A system for task scheduling in a computing device, comprising: The task scheduler receiving a task comprising a task performance level indication; determining a plurality of task scheduling cases, each task scheduling case representing execution of a task on an associated processor of the plurality of processors in parallel with one or more other tasks executing on the plurality of processors, each processor being supplied by a voltage regulator of the plurality of voltage regulators; determining, for each task scheduling case, a total regulator input power level for a plurality of voltage regulators; selecting one of the task scheduling cases having a lowest total regulator input power level among the plurality of task scheduling cases; executing the task on a processor associated with a selected one of the task scheduling cases; A system configured to:

[0068]

[0076] 10. Task Scheduler determining, for each task scheduling case, a regulator input power level for each of the plurality of voltage regulators based on the task performance level indication, the one or more other tasks executing on the plurality of processors, and an efficiency level of each voltage regulator; determining a total regulator input power level by summing regulator input power levels of a plurality of voltage regulators for each task scheduling case; 10. The system of claim 9, configured to determine a total regulator input power level for each task scheduling case by being configured to:

[0069]

[0077] 11. The task scheduler is running the following command for one of the voltage regulators: determining a regulator output current level for one of the voltage regulators; determining an efficiency level of one of the voltage regulators based on a regulator output current level of the one of the voltage regulators and an efficiency model; determining a regulator input power level based on a regulator output current level and an efficiency level; 11. The system of claim 10, configured to determine a regulator input power level for each of a plurality of voltage regulators by being configured to perform:

[0070]

[0078] 12. Task Scheduler, determining a processor power level for each processor supplied by one of the voltage regulators; summing processor power levels for all processors supplied by one of the voltage regulators; dividing a sum of the processor power levels for all the processors supplied by one of the voltage regulators by the output voltage of one of the voltage regulators; 12. The system of claim 11, configured to determine a regulator output current level by:

[0071]

[0079] 13. Task Scheduler, Determining power supply plane losses; and adjusting the sum of the processor power levels by adding power supply plane losses to the sum of the processor power levels before dividing the sum of the processor power levels by the output voltage; 12. The system of claim 11, further configured to determine a regulator output current level by:

[0072]

[0080] 14. The system of clause 13, wherein the task scheduler is configured to determine the regulator input power level by dividing the regulator output power level by the efficiency level.

[0073]

[0081] 15. Multiple processors a first cluster having at least one high performance processor; a second cluster having at least one lower performance processor; The system of clause 9 comprises:

[0074]

[0082] 16. At least one high performance processor of the first cluster is powered by a first voltage regulator; At least one lower performance processor of the second cluster is powered by a second voltage regulator; Article 15 System.

[0075]

[0083] 17. a first cluster comprising a plurality of high performance processors each powered by a first voltage regulator; a second cluster comprising a plurality of lower performance processors each powered by a second voltage regulator; Article 16 System.

[0076]

[0084] 18. The system of clause 9, wherein each of the multiple processors comprises a chiplet powered by a corresponding voltage regulator.

[0077]

[0085] 19. A system for task scheduling in a computing device, comprising: means for receiving a task comprising a task performance level indication; means for determining a plurality of task scheduling cases, each task scheduling case representing execution of a task on an associated processor of the plurality of processors in parallel with one or more other tasks executing on the plurality of processors, each processor being supplied by one voltage regulator of the plurality of voltage regulators; means for determining, for each task scheduling case, a total regulator input power level for a plurality of voltage regulators; means for selecting one of the task scheduling cases having a lowest total regulator input power level among a plurality of task scheduling cases; means for executing a task on a processor associated with a selected one of the task scheduling cases; A system comprising:

[0078]

[0086] 20. A means for determining a total regulator input power level for each task scheduling case comprises: means for determining, for each task scheduling case, a regulator input power level for each of a plurality of voltage regulators based on the task performance level indication, the one or more other tasks executing on the plurality of processors, and an efficiency level of each voltage regulator; means for determining, for each task scheduling case, a total regulator input power level by summing regulator input power levels of a plurality of voltage regulators; The system of clause 19 comprises:

[0079]

[0087] 21. A means for determining a regulator input power level for each of a plurality of voltage regulators includes, for one of the voltage regulators: means for determining a regulator output current level for one of the voltage regulators; means for determining an efficiency level of one of the voltage regulators based on a regulator output current level and an efficiency model of the one of the voltage regulators; means for determining a regulator input power level based on a regulator output current level and an efficiency level; The system of clause 20.

[0080]

[0088] 22. The means for determining a regulator output current level comprises: means for determining a processor power level for each processor supplied by one of the voltage regulators; means for summing processor power levels for all processors supplied by one of the voltage regulators; means for dividing a sum of the processor power levels for all the processors supplied by one of the voltage regulators by an output voltage of one of the voltage regulators; The system of clause 21, comprising:

[0081]

[0089] 23. The means for determining a regulator output current level comprises: means for determining power supply plane losses; means for adjusting the sum of the processor power levels by adding power supply plane losses to the sum of the processor power levels before dividing the sum of the processor power levels by the output voltage; The system of clause 21 further comprises:

[0082]

[0090] 24. The system of clause 23, wherein the means for determining the regulator input power level comprises means for dividing the regulator output power level by an efficiency level.

[0083]

[0091] 25. Multiple processors a first cluster having at least one high performance processor; a second cluster having at least one lower performance processor; The system of clause 19 comprises:

[0084]

[0092] 26. At least one high performance processor of the first cluster is powered by a first voltage regulator; At least one lower performance processor of the second cluster is powered by a second voltage regulator; Article 25 system.

[0085]

[0093] 27. a first cluster comprising a plurality of high performance processors each powered by a first voltage regulator; a second cluster comprising a plurality of lower performance processors each powered by a second voltage regulator; Article 26 System.

[0086]

[0094] 28. The system of clause 19, wherein each of the multiple processors comprises a chiplet powered by a corresponding voltage regulator.

[0087]

[0095] 29. A computer-readable medium for task scheduling in a computing device, the computer-readable medium, when executed by a processing system of the computing device, receiving a task comprising a task performance level indication; determining a plurality of task scheduling cases, each task scheduling case representing execution of a task on an associated processor of the plurality of processors in parallel with one or more other tasks executing on the plurality of processors, each processor being supplied by a voltage regulator of the plurality of voltage regulators; determining, for each task scheduling case, a total regulator input power level for a plurality of voltage regulators; selecting one of the task scheduling cases having a lowest total regulator input power level among the plurality of task scheduling cases; executing the task on a processor associated with a selected one of the task scheduling cases; A computer-readable medium comprising a non-transitory computer-readable medium having stored thereon in computer-executable form instructions that configure a processing system to perform the steps of:

[0088]

[0096] 30. The command, determining, for each task scheduling case, a regulator input power level for each of the plurality of voltage regulators based on the task performance level indication, the one or more other tasks executing on the plurality of processors, and an efficiency level of each voltage regulator; determining a total regulator input power level by summing regulator input power levels of a plurality of voltage regulators for each task scheduling case; 30. The computer-readable medium of clause 29, further comprising: configuring the processing system to determine, for each task scheduling case, a total regulator input power level by configuring the processing system to:

[0089]

[0097] 31. The command is for one of the voltage regulators: determining a regulator output current level for one of the voltage regulators; determining an efficiency level of one of the voltage regulators based on a regulator output current level of the one of the voltage regulators and an efficiency model; determining a regulator input power level based on a regulator output current level and an efficiency level; 31. The computer-readable medium of clause 30, further comprising: configuring the processing system to determine a regulator input power level for each of a plurality of voltage regulators by configuring the processing system to perform:

[0090]

[0098] 32. The command, determining a processor power level for each processor supplied by one of the voltage regulators; summing processor power levels for all processors supplied by one of the voltage regulators; dividing a sum of the processor power levels for all the processors supplied by one of the voltage regulators by the output voltage of one of the voltage regulators; 32. The computer-readable medium of claim 31, further comprising: configuring the processing system to determine a regulator output current level by configuring the processing system to:

[0091]

[0099] 33. The command, Determining power supply plane losses; and adjusting the sum of the processor power levels by adding power supply plane losses to the sum of the processor power levels before dividing the sum of the processor power levels by the output voltage; 33. The computer-readable medium of clause 32, further configuring the processing system to determine a regulator output current level by:

[0092]

[0100] 34. The computer-readable medium of clause 33, wherein the instructions configure the processing system to determine a regulator input power level by dividing the regulator output power level by an efficiency level. The invention as described in the claims of the original application is set forth below. [C1] 1. A method for task scheduling in a computing device, comprising: receiving a task comprising a task performance level indication; determining a plurality of task scheduling cases, each task scheduling case representing execution of a task on an associated processor of the plurality of processors in parallel with one or more other tasks executed on the plurality of processors, each processor being supplied by one voltage regulator of the plurality of voltage regulators; determining a total regulator input power level for the plurality of voltage regulators for each task scheduling case; selecting one of the task scheduling cases having a lowest total regulator input power level among the plurality of task scheduling cases; and executing the task on a processor associated with the selected one of the task scheduling cases. [C2] determining the total regulator input power level for each task scheduling case; determining, for each task scheduling case, a regulator input power level for each of the plurality of voltage regulators based on the task performance level indication, the one or more other tasks executing on the plurality of processors, and an efficiency level of each voltage regulator; and determining the total regulator input power level based on the multiple task scheduling cases by summing the regulator input power levels of the multiple voltage regulators for each task scheduling case. [C3] Determining the regulator input power level for each of the plurality of voltage regulators includes, for one of the voltage regulators: determining a regulator output current level for said one of said voltage regulators; determining the efficiency level of the one of the voltage regulators based on the regulator output current level of the one of the voltage regulators and an efficiency model; determining the regulator input power level based on the regulator output current level and the efficiency level. [C4] determining the regulator output current level; determining a processor power level for each processor supplied by said one of said voltage regulators; summing the processor power levels for all processors supplied by the one of the voltage regulators; and dividing the sum of the processor power levels for all processors supplied by the one of the voltage regulators by an output voltage of the one of the voltage regulators. [C5] determining the regulator output current level; Determining power supply plane losses; and and adjusting the sum of processor power levels by adding the power supply plane losses to the sum of processor power levels before dividing the sum of processor power levels by an output voltage. [C6] The method of C5, wherein determining the regulator input power level comprises dividing the regulator output power level by the efficiency level. [C7] The plurality of processors: a first cluster comprising a plurality of high performance processors powered by a first voltage regulator; and a second cluster comprising a plurality of lower performance processors supplied by a second voltage regulator. [C8] 3. The method of claim 1, wherein each of the plurality of processors comprises a chiplet powered by a corresponding voltage regulator. [C9] A plurality of processors; Task scheduler and and a plurality of voltage regulators, comprising: The task scheduler, receiving a task comprising a task performance level indication; determining a plurality of task scheduling cases, each task scheduling case representing execution of a task on an associated processor of the plurality of processors in parallel with one or more other tasks executed on the plurality of processors, each processor being supplied by one voltage regulator of the plurality of voltage regulators; determining a total regulator input power level for the plurality of voltage regulators for each task scheduling case; selecting one of the task scheduling cases having a lowest total regulator input power level among the plurality of task scheduling cases; and executing the task on a processor associated with the selected one of the task scheduling cases. [C10] The task scheduler, determining, for each task scheduling case, a regulator input power level for each of the plurality of voltage regulators based on the task performance level indication, the one or more other tasks executing on the plurality of processors, and an efficiency level of each voltage regulator; and determining, for each task scheduling case, the total regulator input power level by summing the regulator input power levels of the multiple voltage regulators. [C11] the task scheduler, for one of the voltage regulators, determining a regulator output current level for said one of said voltage regulators; determining the efficiency level of the one of the voltage regulators based on the regulator output current level of the one of the voltage regulators and an efficiency model; and determining the regulator input power level based on the regulator output current level and the efficiency level, thereby determining the regulator input power level for each of the plurality of voltage regulators. [C12] The task scheduler, determining a processor power level for each processor supplied by said one of said voltage regulators; summing the processor power levels for all processors supplied by the one of the voltage regulators; The system of claim 11, further comprising: a first input to the first power supply of the first power supply and a second input to the second power supply of the first power supply. [C13] The task scheduler, Determining power supply plane losses; and The system of C11, further configured to determine the regulator output current level by adjusting the sum of the processor power levels by adding the power supply plane losses to the sum of the processor power levels before dividing the sum of the processor power levels by the output voltage. [C14] The system of C13, wherein the task scheduler is configured to determine the regulator input power level by dividing the regulator output power level by the efficiency level. [C15] The plurality of processors: a first cluster having at least one high performance processor; and a second cluster comprising at least one lower performance processor. [C16] the at least one high performance processor of the first cluster is powered by a first voltage regulator; The system of C15, wherein the at least one lower performance processor of the second cluster is powered by a second voltage regulator. [C17] the first cluster comprises a plurality of high performance processors, each processor being powered by the first voltage regulator; The system of C16, wherein the second cluster comprises a plurality of lower performance processors each powered by the second voltage regulator. [C18] The system of C9, wherein each of the plurality of processors comprises a chiplet powered by a corresponding voltage regulator. [C19] 1. A system for task scheduling in a computing device, comprising: means for receiving a task comprising a task performance level indication; means for determining a plurality of task scheduling cases, each task scheduling case representing execution of a task on an associated processor of the plurality of processors in parallel with one or more other tasks executed on the plurality of processors, each processor being supplied by one voltage regulator of a plurality of voltage regulators; means for determining a total regulator input power level for the plurality of voltage regulators for each task scheduling case; means for selecting one of the plurality of task scheduling cases having a lowest total regulator input power level among the plurality of task scheduling cases; and means for executing the task on a processor associated with the selected one of the task scheduling cases. [C20] The means for determining the total regulator input power level for each task scheduling case further comprises: means for determining, for each task scheduling case, a regulator input power level for each of the plurality of voltage regulators based on the task performance level indication, the one or more other tasks executing on the plurality of processors, and an efficiency level of each voltage regulator; and means for determining the total regulator input power level by summing the regulator input power levels of the plurality of voltage regulators for each task scheduling case. [C21] The means for determining the regulator input power level for each of the plurality of voltage regulators comprises, for one of the voltage regulators: means for determining a regulator output current level for said one of said voltage regulators; means for determining the efficiency level of the one of the voltage regulators based on the regulator output current level of the one of the voltage regulators and an efficiency model; and means for determining the regulator input power level based on the regulator output current level and the efficiency level. [C22] The means for determining the regulator output current level further comprises: means for determining a processor power level for each processor supplied by said one of said voltage regulators; means for summing the processor power levels for all processors supplied by the one of the voltage regulators; and means for dividing a sum of the processor power levels for all processors supplied by the one of the voltage regulators by an output voltage of the one of the voltage regulators. [C23] The means for determining the regulator output current level further comprises: means for determining power supply plane losses; and means for adjusting the sum of processor power levels by adding the power supply plane losses to the sum of processor power levels prior to dividing the sum of processor power levels by the output voltage. [C24] The system of C23, wherein the means for determining the regulator input power level comprises means for dividing the regulator output power level by the efficiency level. [C25] The plurality of processors, a first cluster having at least one high performance processor; and a second cluster comprising at least one lower performance processor. [C26] the at least one high performance processor of the first cluster is powered by a first voltage regulator; The system of C25, wherein the at least one lower performance processor of the second cluster is powered by a second voltage regulator. [C27] the first cluster comprises a plurality of high performance processors, each processor being powered by the first voltage regulator; The system of C26, wherein the second cluster comprises a plurality of lower performance processors each powered by the second voltage regulator. [C28] The system of C19, wherein each of the plurality of processors comprises a chiplet powered by a corresponding voltage regulator. [C29] 1. A computer-readable medium for task scheduling in a computing device, the computer-readable medium, when executed by a processing system of the computing device, comprising: receiving a task comprising a task performance level indication; determining a plurality of task scheduling cases, each task scheduling case representing execution of a task on an associated processor of the plurality of processors in parallel with one or more other tasks executed on the plurality of processors, each processor being supplied by one voltage regulator of the plurality of voltage regulators; determining a total regulator input power level for the plurality of voltage regulators for each task scheduling case; selecting one of the task scheduling cases having a lowest total regulator input power level among the plurality of task scheduling cases; and executing the task on a processor associated with the selected one of the task scheduling cases. [C30] The instruction: determining, for each task scheduling case, a regulator input power level for each of the plurality of voltage regulators based on the task performance level indication, the one or more other tasks executing on the plurality of processors, and an efficiency level of each voltage regulator; and determining the total regulator input power level by summing the regulator input power levels of the multiple voltage regulators for each task scheduling case. [C31] The instructions include, for one of the voltage regulators: determining a regulator output current level for said one of said voltage regulators; determining the efficiency level of the one of the voltage regulators based on the regulator output current level of the one of the voltage regulators and an efficiency model; and determining the regulator input power level based on the regulator output current level and the efficiency level. [C32] The instruction: determining a processor power level for each processor supplied by said one of said voltage regulators; summing the processor power levels for all processors supplied by the one of the voltage regulators; The computer-readable medium of C31, further comprising: configuring the processing system to determine the regulator output current level by configuring the processing system to: divide a sum of the processor power levels for all processors supplied by the one of the voltage regulators by an output voltage of the one of the voltage regulators. [C33] The instruction: Determining power supply plane losses; and The computer-readable medium of C32, further configuring the processing system to determine the regulator output current level by adjusting the sum of processor power levels by adding the power supply plane losses to the sum of processor power levels before dividing the sum of processor power levels by the output voltage. [C34] The computer-readable medium of C33, wherein the instructions configure the processing system to determine the regulator input power level by dividing the regulator output power level by the efficiency level.

Claims

1. 1. A method for task scheduling in a computing device, comprising: The task scheduler receiving a task comprising a task performance level indication; identifying a candidate processor for performing the task, comprising identifying a least loaded processor among a plurality of processors; determining a plurality of task scheduling cases, each task scheduling case representing execution of a task on a respective one of the candidate processors in parallel with one or more other tasks executed on the plurality of processors, each processor being supplied by one voltage regulator of a plurality of voltage regulators; determining a total regulator input power level for the plurality of voltage regulators for each task scheduling case; selecting one of the task scheduling cases having a lowest total regulator input power level among the plurality of task scheduling cases; and executing the task on a processor associated with the selected one of the task scheduling cases.

2. determining the total regulator input power level for each task scheduling case; determining, for each task scheduling case, a regulator input power level for each of the plurality of voltage regulators based on the task performance level indication, the one or more other tasks executing on the plurality of processors, and an efficiency level of each voltage regulator; and determining the total regulator input power level based on the multiple task scheduling cases by summing the regulator input power levels of the multiple voltage regulators for each task scheduling case.

3. Determining the regulator input power level for each of the plurality of voltage regulators includes, for a voltage regulator of the voltage regulators: determining a regulator output current level for the one of the voltage regulators; determining the efficiency level of the one of the voltage regulators based on the regulator output current level and an efficiency model of the one of the voltage regulators; determining the regulator input power level based on the regulator output current level and the efficiency level.

4. determining the regulator output current level; determining a processor power level for each processor supplied by the one of the voltage regulators; summing the processor power levels for all processors supplied by the one of the voltage regulators; and dividing the sum of the processor power levels for all processors supplied by the one of the voltage regulators by an output voltage of the one of the voltage regulators.

5. determining the regulator output current level; Determining power supply plane losses; 4. The method of claim 3, further comprising: adjusting the sum of processor power levels by adding the power supply plane losses to the sum of processor power levels before dividing the sum by an output voltage.

6. The method of claim 5 , wherein determining the regulator input power level comprises dividing a regulator output power level by the efficiency level.

7. The plurality of processors, a first cluster comprising a plurality of high performance processors supplied by a first voltage regulator; and a second cluster comprising a plurality of lower performance processors powered by a second voltage regulator.

8. The method of claim 1 , wherein each of the multiple processors comprises a chiplet powered by a corresponding voltage regulator.

9. A plurality of processors; Task scheduler and and a plurality of voltage regulators, comprising: The task scheduler, receiving a task comprising a task performance level indication; identifying a candidate processor for executing the task, comprising identifying a least loaded processor among the plurality of processors; determining a plurality of task scheduling cases, each task scheduling case representing execution of a task on a respective one of the candidate processors in parallel with one or more other tasks executed on the plurality of processors, each processor being supplied by one voltage regulator of a plurality of voltage regulators; determining a total regulator input power level for the plurality of voltage regulators for each task scheduling case; selecting one of the task scheduling cases having a lowest total regulator input power level among the plurality of task scheduling cases; and executing the task on a processor associated with the selected one of the task scheduling cases.

10. The task scheduler, determining, for each task scheduling case, a regulator input power level for each of the plurality of voltage regulators based on the task performance level indication, the one or more other tasks executing on the plurality of processors, and an efficiency level of each voltage regulator; and determining, for each task scheduling case, the total regulator input power level by summing the regulator input power levels of the multiple voltage regulators.

11. The task scheduler, for one of the voltage regulators, determining a regulator output current level for the one of the voltage regulators; determining the efficiency level of the one of the voltage regulators based on the regulator output current level and an efficiency model of the one of the voltage regulators; and determining the regulator input power level based on the regulator output current level and the efficiency level.

12. The task scheduler, determining a processor power level for each processor supplied by the one of the voltage regulators; summing the processor power levels for all processors supplied by the one of the voltage regulators; 12. The system of claim 11, configured to determine the regulator output current level by: dividing a sum of the processor power levels for all processors supplied by the one of the voltage regulators by an output voltage of the one of the voltage regulators.

13. The task scheduler, Determining power supply plane losses; and 12. The system of claim 11, further configured to determine the regulator output current level by: adjusting the sum of processor power levels by adding the power supply plane losses to the sum of processor power levels before dividing the sum of processor power levels by an output voltage.

14. The system of claim 13 , wherein the task scheduler is configured to determine the regulator input power level by dividing a regulator output power level by the efficiency level.

15. The plurality of processors: a first cluster comprising at least one high performance processor; and a second cluster comprising at least one lower performance processor.

16. the at least one high performance processor of the first cluster is supplied by a first voltage regulator; 16. The system of claim 15, wherein the at least one lower performance processor of the second cluster is powered by a second voltage regulator.

17. the first cluster comprises a plurality of high performance processors, each processor being powered by the first voltage regulator; 17. The system of claim 16, wherein the second cluster comprises a plurality of lower performance processors each powered by the second voltage regulator.

18. 10. The system of claim 9, wherein each of the multiple processors comprises a chiplet powered by a corresponding voltage regulator.

19. 1. A system for task scheduling in a computing device, comprising: means for receiving a task comprising a task performance level indication; means for identifying a candidate processor for performing said task, comprising identifying a least loaded processor among a plurality of processors; means for determining a plurality of task scheduling cases, each task scheduling case representing execution of a task on a respective one of the candidate processors in parallel with one or more other tasks executed on the plurality of processors, each processor being supplied by one voltage regulator of a plurality of voltage regulators; means for determining a total regulator input power level for the plurality of voltage regulators for each task scheduling case; means for selecting one of the plurality of task scheduling cases having a lowest total regulator input power level among the plurality of task scheduling cases; and means for executing the task on a processor associated with the selected one of the task scheduling cases.

20. The means for determining the total regulator input power level for each task scheduling case further comprises: means for determining, for each task scheduling case, a regulator input power level for each of the plurality of voltage regulators based on the task performance level indication, the one or more other tasks executing on the plurality of processors, and an efficiency level of each voltage regulator; and means for determining the total regulator input power level by summing the regulator input power levels of the multiple voltage regulators for each task scheduling case.

21. The means for determining the regulator input power level for each of the plurality of voltage regulators comprises, for a voltage regulator of the voltage regulators: means for determining a regulator output current level for the one of the voltage regulators; means for determining the efficiency level of the one of the voltage regulators based on the regulator output current level and an efficiency model of the one of the voltage regulators; and means for determining the regulator input power level based on the regulator output current level and the efficiency level.

22. The means for determining the regulator output current level further comprises: means for determining a processor power level for each processor supplied by said one of said voltage regulators; means for summing the processor power levels for all processors supplied by the one of the voltage regulators; and means for dividing a sum of the processor power levels for all processors supplied by the one of the voltage regulators by an output voltage of the one of the voltage regulators.

23. The means for determining the regulator output current level further comprises: means for determining power supply plane losses; and means for adjusting the sum of processor power levels by adding the power supply plane losses to the sum of processor power levels prior to dividing the sum of processor power levels by an output voltage.

24. 24. The system of claim 23, wherein the means for determining the regulator input power level comprises means for dividing a regulator output power level by the efficiency level.

25. The plurality of processors: a first cluster comprising at least one high performance processor; and a second cluster comprising at least one lower performance processor.

26. the at least one high performance processor of the first cluster is supplied by a first voltage regulator; 26. The system of claim 25, wherein the at least one lower performance processor of the second cluster is powered by a second voltage regulator.

27. the first cluster comprises a plurality of high performance processors, each processor being powered by the first voltage regulator; 27. The system of claim 26, wherein the second cluster comprises a plurality of lower performance processors each powered by the second voltage regulator.

28. 20. The system of claim 19, wherein each of the multiple processors comprises a chiplet powered by a corresponding voltage regulator.

29. 1. A computer-readable medium for task scheduling in a computing device, the computer-readable medium, when executed by a processing system of the computing device, comprising: receiving a task comprising a task performance level indication; identifying a candidate processor for performing the task, comprising identifying a least loaded processor among a plurality of processors; determining a plurality of task scheduling cases, each task scheduling case representing execution of a task on a respective one of the candidate processors in parallel with one or more other tasks executed on the plurality of processors, each processor being supplied by one voltage regulator of a plurality of voltage regulators; determining a total regulator input power level for the plurality of voltage regulators for each task scheduling case; selecting one of the task scheduling cases having a lowest total regulator input power level among the plurality of task scheduling cases; and executing the task on a processor associated with the selected one of the task scheduling cases.

30. The instruction: determining, for each task scheduling case, a regulator input power level for each of the plurality of voltage regulators based on the task performance level indication, the one or more other tasks executing on the plurality of processors, and an efficiency level of each voltage regulator; and determining, for each task scheduling case, the total regulator input power level by summing the regulator input power levels of the multiple voltage regulators.

31. The instructions include, for one of the voltage regulators: determining a regulator output current level for the one of the voltage regulators; determining the efficiency level of the one of the voltage regulators based on the regulator output current level and an efficiency model of the one of the voltage regulators; and determining the regulator input power level based on the regulator output current level and the efficiency level.

32. The instruction: determining a processor power level for each processor supplied by the one of the voltage regulators; summing the processor power levels for all processors supplied by the one of the voltage regulators; 32. The computer readable medium of claim 31 , further comprising: configuring the processing system to determine the regulator output current level by: configuring the processing system to: divide a sum of the processor power levels for all processors supplied by the one of the voltage regulators by an output voltage of the one of the voltage regulators.

33. The instruction: Determining power supply plane losses; and and adjusting the sum of the processor power levels by adding the power supply plane losses to the sum of the processor power levels prior to dividing the sum of the processor power levels by the output voltage.

34. 34. The computer-readable medium of claim 33, wherein the instructions configure the processing system to determine the regulator input power level by dividing a regulator output power level by the efficiency level.

Citation Information

Patent Citations

  • Multiprocessor system

    JP2009069921A

  • Multiprocessor system and task allocation method for the same

    JP2011209846A

  • Multichip system, communication device, video / audio device and automobile

    JP2012138020A

  • Information processing apparatus and image forming apparatus

    JP2017062666A

  • Multi-core dynamic workload management

    US20150178138A1