Energy-aware task scheduling for core voltage regulators
By receiving task performance instructions and voltage regulator efficiency calculations, the task scheduling situation with the lowest power is selected to execute the task, which solves the problem of task energy consumption adjustment in multi-core processor systems and improves the power efficiency of the system.
Patent Information
- Application Number
- CN202180089295.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-01-13
- Filing Date
- 2021-12-02
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-12-02
AI Technical Summary
Existing technology is difficult to effectively regulate the energy consumption of tasks in multi-core processor systems, resulting in low power efficiency.
By receiving a task performance level indication, multiple task scheduling situations are determined, and the total regulator input power level is calculated based on the efficiency level of the voltage regulator, and the lowest power task scheduling situation is selected to execute the task.
It achieves power optimization during task scheduling in multi-core processor systems, reduces total power consumption, and improves system energy efficiency.
Smart Images

Figure CN116745732B_ABST
Abstract
Description
Background Art
[0001] Portable computing devices (“PCDs”) are becoming a necessity for people on both a personal and professional level. These devices may include mobile phones, tablet computers, handheld computers, portable digital assistants (“PDAs”), portable game consoles, and other portable electronic devices. PCDs typically contain an integrated circuit or system-on-a-chip (“SoC”), which includes many components or subsystems designed to work together to deliver functionality to a user. For example, an SoC may contain any number of processing engines, such as a central processing unit (“CPU”), a graphics processing unit (“GPU”), a digital signal processor (“DSP”), a neural processing unit (“NPU”), a wireless transceiver unit (also known as a modem), etc.
[0002] A processing engine such as a CPU may have multiple cores that are capable of performing tasks independently of each other. The cores may be symmetrical, where each core is capable of the same performance level as the other cores, or the cores may be asymmetrical (also known as heterogeneous), where one or more cores are optimized for higher performance than other cores. The cores may be organized into clusters. In some heterogeneous architectures, a cluster may consist of cores that are optimized for higher performance than the cores of another cluster. High-performance cores typically consume more power than low-performance cores. The process of determining which of a plurality of tasks is executed on which core of the plurality of cores is generally referred to as task scheduling. Task scheduling may be controlled by a scheduler, which is typically part of the operating system kernel.
[0003] Task scheduling that attempts to minimize the total amount of energy consumed by all executing tasks may be referred to as energy-aware scheduling ("EAS"). To determine on which core it is most efficient to execute a task, a scheduler employing EAS may apply an estimate of the processing load that would place the task 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 governor efficiency-aware task scheduling in a computing device.
[0005] An exemplary method for task scheduling in a computing device may include receiving a task including a task performance level indication, and determining a plurality of task scheduling situations. In the exemplary method, each task scheduling situation may indicate that the task is executed on an associated processor of the plurality of processors while one or more other tasks are executed on the plurality of processors. In the exemplary method, each processor may be powered by one of the plurality of voltage regulators. The exemplary method may also include, for each task scheduling situation, determining 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 the efficiency level of each voltage regulator. The exemplary method may also include, for each task scheduling situation, determining a total regulator input power level by summing the regulator input power levels of the voltage regulators. The exemplary method may also include selecting one of the plurality of task scheduling situations that has a lowest total regulator input power level. The exemplary method may also include executing the task on a processor associated with the selected one of the task scheduling situations.
[0006] An exemplary system for task scheduling in a computing device may include multiple processors, a task scheduler, and multiple voltage regulators. The task scheduler may be configured to receive a task including a task performance level indication, and determine multiple task scheduling situations. In the exemplary system, each task scheduling situation may indicate that the task is executed on an associated processor while one or more other tasks are executed on multiple processors. In the exemplary system, each processor may be powered by one of the voltage regulators. In the exemplary system, the task scheduler may also be configured to determine, for each task scheduling situation, a regulator input power level of each voltage regulator based on the task performance level indication, one or more other tasks executed on the processor, and an efficiency level of each voltage regulator. In the exemplary system, the task scheduler may also be configured to determine, for each task scheduling situation, 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 configured to select one of the task scheduling situations having the lowest total regulator input power level among the multiple task scheduling situations. In the exemplary system, the task scheduler may also be configured to execute the task on a processor associated with the selected one of the task scheduling situations.
[0007] Another exemplary system for task scheduling in a computing device may include a component for receiving a task including a task performance level indication and a component for determining a plurality of task scheduling situations. In the exemplary system, each task scheduling situation may indicate that the task is executed on an associated processor of the plurality of processors while one or more other tasks are executed on the plurality of processors. In the exemplary system, each processor may be powered by one of a plurality of voltage regulators. The exemplary system may also include a component for determining a regulator input power level of each voltage regulator for each task scheduling situation based on the task performance level indication, one or more other tasks executed on the processor, and an efficiency level of each voltage regulator. The exemplary system may also include a component for determining a total regulator input power level by summing the regulator input power levels of the voltage regulators for each task scheduling situation. The exemplary system may also include a component for selecting a task scheduling situation having a lowest total regulator input power level among the plurality of task scheduling situations. The exemplary system may also include a component for executing a task on a processor associated with a selected task scheduling situation among the task scheduling situations.
[0008] An exemplary computer-readable medium for task scheduling in a computing device may include a non-transitory computer-readable medium having instructions in a computer-executable form stored thereon. When executed by a processing system of a computing device, the instructions may configure the processing system to receive a task including a task performance level indication and determine a plurality of task scheduling situations. In the exemplary computer-readable medium, each task scheduling situation may represent that the task is executed on an associated processor in a plurality of processors while one or more other tasks are executed on a plurality of processors. In the exemplary computer-readable medium, each processor may be powered by one of a plurality of voltage regulators. The instructions may also configure the processing system to determine a regulator input power level of each voltage regulator for each task scheduling situation based on the task performance level indication, one or more other tasks executed on the processor, and an efficiency level of each voltage regulator. The instructions may also configure the processing system to determine a total regulator input power level by summing the regulator input power levels of the voltage regulators for each task scheduling situation. The instructions may also configure the processing system to select a task scheduling situation having a lowest total regulator input power level in the task scheduling situation among the plurality of task scheduling situations. The instructions may also configure the processing system to execute the task on a processor associated with a selected one of the task scheduling scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In the drawings, unless otherwise indicated, like reference numerals refer to like parts in the various views. For reference numerals with letter character designations, such as "102A" or "102B", the letter character designations may distinguish between two similar parts or elements appearing in the same drawing. Letter character designations of a reference numeral may be omitted when a reference numeral is intended to encompass all parts having the same reference numeral in all drawings.
[0010] Figure 1 is a block diagram illustrating a task scheduling system in a computing device having multiple core clusters according to an exemplary embodiment.
[0011] Figure 2 is a block diagram illustrating a task scheduling system in a computing device having multiple corelets according to an exemplary embodiment.
[0012] Figure 3A A first example of a task scheduling situation in a method for task scheduling in a computing device according to an exemplary embodiment is shown.
[0013] Figure 3B A second example of a task scheduling situation in a method for task scheduling in a computing device according to an exemplary embodiment is shown.
[0014] Figure 3C A third example of a task scheduling situation in a method for task scheduling in a computing device according to an exemplary embodiment is shown.
[0015] Figure 4 is a flow chart illustrating a method for task scheduling in a computing device according to an exemplary embodiment.
[0016] Figure 5 is a graph showing an example of a voltage regulator efficiency curve.
[0017] Figure 6 and Figure 5 Similarly, examples of voltage regulator efficiency curves for two different voltage regulators are shown.
[0018] Figure 7 is a block diagram of a portable computing device according to an exemplary embodiment. DETAILED DESCRIPTION
[0019] The word "exemplary" is used herein to mean "serving as an example, instance, or illustration." The word "illustrative" may be used herein as a synonym for "exemplary." Any aspect described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other aspects. In contrast to the term "directly connected," which may be used herein to mean a connection without via intermediate elements, the term "coupled" may be used herein to mean a connection via zero or more intermediate elements.
[0020] Reference to tasks executed on a processor means that the software (instructions, data, etc.) represented by the tasks is executed by the processor in a manner in accordance with conventional computing principles well understood by those of ordinary skill in the art, retrieving and executing portions of the software from memory, storing results in memory, etc. In some exemplary embodiments described herein, explicit descriptions of such memory may be omitted for clarity.
[0021] like Figure 1 As shown, in an illustrative or exemplary 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 a plurality of cores 104, such as cores 104A, 104B, 104C, and 104D. Although in the illustrated embodiment, the processor chip 102 has four cores 104, in other embodiments, such a processor chip may have any other number of cores. The cores 104A and 104B may be organized in a first cluster 106A, and the cores 104C and 104D may be organized in a second cluster 106B. Although in the illustrated embodiment, the cores 104 are organized into two clusters 106A and 106B, 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 maintain 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 each other. However, in other embodiments, all such cores are capable of sustaining the same maximum processing load.
[0022] The first voltage regulator 108A may be configured to provide power to the cores 104A and 104B of the first cluster 106A. Similarly, the second voltage regulator 108B may be configured to provide power to the cores 104C and 104D of the second cluster 106B. In the exemplary embodiments described herein, the term "power" refers to the amount of current at a regulated voltage. Although not described herein for clarity, Figure 1108A and 108B, but one or more regulated 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 further detail below, in some embodiments, the voltage regulators 108A and 108B may be different from each other, such as having different efficiencies. However, in other embodiments, these voltage regulators may be similar to each other, such as having the same efficiency.
[0023] In addition to the processor chip 102 and voltage regulators 108A and 108B described above, other elements of the computing device 100 may include, for example, one or more memories, other processors, input / output systems, data communication buses, power management circuits, etc. For clarity, Figure 1 Such other elements are not shown.
[0024] like Figure 2 As shown, in another exemplary embodiment, the computing device 200 may include a processor chip 202. The processor chip 202 may be, for example, a CPU or an application processor. The processor chip 202 may include a plurality of cores 204, such as cores 204A, 204B, 204C, and 204D. Although in the illustrated embodiment, the processor chip 202 has four cores 204, in other embodiments, such a processor chip may have any other number of cores. Voltage regulators 208A, 208B, 208C, and 208D may be configured to supply power to the cores 204A, 204B, 204C, and 204D, respectively. In addition to the above-described processor chip 202 and voltage regulators 208A, 208B, 208C, and 208D, other elements of the computing device 200 may include, for example, one or more memories, other processors, input / output systems, data communication buses, and the like. For clarity, Figure 2 Such other elements are not shown.
[0025] like Figure 3A-3C As shown, the system 300 may include a task scheduler 302 and a processor 304, such as processors 304A, 304B, 304C, and 304D. The processor 304 may be the core 104 ( Figure 1 ) or core particle 204 ( Figure 2) or any other group of two or more processors. In addition, although in the above-described embodiments, all cores 104 are included in a single chip 102 and all core particles 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. In addition, although in the illustrated embodiment, the system 300 has four processors 304, in other embodiments, such a system may have any other number of processors.
[0026] The voltage regulator can be referenced above Figure 1 to Figure 2 The first voltage regulator 308A may provide power to the processors 304A and 304B, and the second voltage regulator 308B may provide power to the processors 304C and 304D.
[0027] exist Figure 3A-3C In the illustrated embodiment, task scheduler 302 may correspond to a portion or feature of an operating system (not shown). That is, task scheduler 302 may include a portion of a processor (such as processor 304 or any one of other processors (not shown)) configured by executing operating system software including task scheduling software.
[0028] The term "task scheduling" or "scheduling" refers to selecting a processor 304 to execute a task on. In an example of operation of system 300, when scheduler 302 receives an indication of an additional or second task 306B to be scheduled (e.g., from another portion of the operating system), first task 306A may be executed on processor 304A. Arrow 310A conceptually indicates that scheduler 302 may have previously (i.e., before receiving the indication of second task 306B) scheduled first task 306A to execute on processor 304A. In response to the indication of second task 306B, scheduler 302 may select one of processors 304 to execute second task 306B. As described below, in Figure 3A , Figure 3B and Figure 3C304B, 304C, and 304D. However, in this example, the candidate processor set for executing the second task 306B can be identified or determined according to the traditional task scheduling principles. Conventionally, one or more processors with the heaviest task load (if any) will be excluded from the candidate processor set for executing the additional task. In other words, one or more processors with the smallest load form the candidate set. In this example, when the processor 304A is executing the first task 306A and the other processors 304B, 304C, and 304D are not executing any tasks, the processors 304B, 304C, and 304D form the candidate processor set for executing the second task 306B.
[0029] For example, Figure 3A As conceptually indicated by arrow 310B in FIG. 1 , and based on the method described below, scheduler 302 may schedule second task 306B to execute on processor 304B, rather than on any 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 method may be based in part on voltage regulator efficiency. Although for purposes of example, in Figure 3A-3C Only two tasks 306A and 306B are shown in FIG. 1 , but any number of tasks may be distributed among any number of processors and executed concurrently with each other.
[0030] like Figure 4 As shown, 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 in other embodiments, some steps or similar steps or actions of method 400 may occur in a different order than method 400, or may be omitted. For the purpose of example, method 400 may be performed with respect to one or more computing devices 100 ( Figure 1 ) or 200( Figure 2 ) or system 300 (FIG. 3) are described. However, method 400 or related methods may be applied to other computing devices, systems, etc. In addition, the values of current, voltage, etc. described below are provided for example purposes and may be different in other examples.
[0031] As indicated in block 402, an additional task may be received. That is, an indication of an additional task to be scheduled is received. The indication may include an indication of a task performance level. The task performance level may relate to, for example, the number of MIPS or similar performance metrics that a processor may need to maintain to perform the task. The additional task may be scheduled by, for example, the task scheduler 302 ( Figure 3A-3C )take over.
[0032] As indicated in block 404, two or more candidate processors for performing 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 one or more processors with the least load. Figure 3A-3C In the example described, in which an additional or second task 306B is received when processor 304A is executing a first task 306A and none of the other processors 304B, 304C, and 304D are executing any tasks, when the first task 306A is executed simultaneously on processor 304A, each of processors 304B, 304C, and 304D is the least loaded processor and is a candidate for executing the second task 306B.
[0033] As indicated in block 406, two or more task scheduling conditions may be determined. A task scheduling condition according to exemplary embodiments described herein is a representation of a state in which an additional task is being executed on a selected one of the (candidate) processors while one or more other tasks are being executed on those processors. Figure 3A-3C As indicated, there are three possible task scheduling situations. Figure 3A As shown, one of the task scheduling situations may indicate that an additional or second task 306B is executed on processor 304B while the first task 306A is executed on processor 304A. Figure 3B As shown, another task scheduling situation may indicate that the second task 306B is executed on the processor 304C while the first task 306A is executed on the processor 304A. Figure 3C As shown, another task scheduling situation may indicate that the second task 306B is executed on the processor 304D while the first task 306A is executed on the processor 304A. The number of task scheduling situations that may be determined in block 406 may correspond to the number of candidate processors. In each task scheduling situation, a different processor among the candidate processors may be considered to execute the additional task. Figure 3A-3C A simple example is shown in which only one task 306A is executing when the scheduler 302 receives an additional or second task 306B, but there may be other operating examples in which many tasks are distributed and executed among the various processors 304 when the scheduler 302 receives additional tasks to schedule.
[0034] As indicated at block 408, a regulator input power level for each voltage regulator may be determined for each task scheduling scenario. The term "regulator input" is used in this disclosure to refer to the power supply side of a voltage regulator, as opposed to the term "regulator output," which refers to the power sinking side of a voltage regulator that the voltage regulator attempts to maintain at a ("regulated") voltage level. An example of a power source is a battery (not shown).
[0035] The regulator input power level for a task scheduling situation represents the amount of power that the voltage regulator will draw at its input (e.g., from a battery or other power source) when one or more processors powered by the voltage regulator are executing one or more tasks represented by the task scheduling situation. In order to determine the regulator input power level of the voltage regulator for one of the task scheduling situations, the scheduler 302 may, for example, utilize one or more lookup tables (not shown), calculations, or a combination of lookup tables and calculations. The regulator input power level for a task scheduling situation may be based in part on an indication of the task performance level of an additional task, as well as other indications of the performance level or processor load of any other tasks that may be executed on one or more processors powered by the regulator in the task scheduling situation. Importantly, the regulator input power level may also be based in part on regulator efficiency.
[0036] The scheduler 302 may determine the regulator input power in response to an indication of a performance level or processor load, for example, using a lookup table (not shown). Such a table may be based in part on regulator efficiency. That is, the relationship between the input power level of a voltage regulator and the processor load, for example, provided by a 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 is able to provide at its output, i.e., the regulator output power level. As described above, the voltage regulator output is coupled to one or more processors, and the voltage regulator input may be coupled to a power source, such as a battery.
[0037] Reference again Figure 3A-3C In the example shown in , the output of the first voltage regulator 308A is coupled to the processors 304A and 304B, thereby supplying current thereto, and the output of the second voltage regulator 308B is coupled to the processors 304C and 304D, thereby supplying current thereto. According to block 408, the input power level of the first voltage regulator 308A may be determined for each task scheduling situation, and the input power level of the second voltage regulator 308B may be determined for each task scheduling situation. Figure 3A The task scheduling shown in the figure is as follows: Figure 3B The task scheduling shown and Figure 3CThe task scheduling scenario shown may determine the input power level of each of the voltage regulators 308A and 308B.
[0038] against Figure 3A In the illustrated task scheduling situation where the first task 306A is executed on the processor 304A and the additional or second task 306B is executed on the processor 304B, the input power level of the voltage regulator 308A can be determined based on the processor load on the processor 304A associated with the execution of its task 306A and the processor load on the processor 304B associated with the execution of its task 306B, taking into account the efficiency of the voltage regulator 308A. For the same situation where the first task 306A is executed on the processor 304A and the additional or second task 306B is executed on the processor 304B, the input power level of the voltage regulator 308B is zero.
[0039] against Figure 3B In the task scheduling situation shown in , where the first task 306A is executed on the processor 304A and the additional or second task 306B is executed on the processor 304C, the input power level of the voltage regulator 308A can be determined based on the processor load on the processor 304A associated with the execution of its task 306A, because the processor load on the processor 304B, which is not executing any task, is zero in this case. For the same situation where the first task 306A is executed on the processor 304A and the additional or second task 306B is executed on the processor 304C, the input power level of the voltage regulator 308B can be determined based on the processor load on the processor 304C associated with the execution of its task 306B, because the processor load on the processor 304D, which is not executing any task, is zero in this case.
[0040] against Figure 3C In the task scheduling situation shown in , where the first task 306A is executed on the processor 304A and the additional or second task 306B is executed on the processor 304D, the input power level of the voltage regulator 308A can be determined based on the processor load on the processor 304A associated with the execution of its task 306A, because the processor load on the processor 304B, which is not executing any task in this case, is zero. For the same situation where the first task 306A is executed on the processor 304A and the additional or second task 306B is executed on the processor 304D, the input power level of the voltage regulator 308B can be determined based on the processor load on the processor 304D associated with the execution of its task 306B, because the processor load on the processor 304C, which is not executing any task in this case, is zero.
[0041] Alternatively, or in addition to utilizing one or more lookup tables, or in order to generate such lookup tables, the regulator input power level can be determined by first determining the corresponding regulator output power level. The regulator output power level is a percentage of the regulator input power level, where the percentage 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 further detail below, the efficiency of the voltage regulator is not constant over the range of current it is capable of supplying. The regulator output power is the sum of the power supplied by the regulator that is drawn by one or more processors. Determining the regulator input power by first determining the regulator output power can be accomplished by referring to the above Figure 3A-3C Describe the example to illustrate.
[0042] In targeting Figure 3A When determining regulator output power for the task scheduling scenario shown, in which a first task 306A is executed on processor 304A and an additional or second task 306B is executed 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 an N value (e.g., "N" MIPS, where N is an integer greater than zero) that indicates the processing load to be contributed by the additional task. Scheduler 302 may determine (e.g., using a lookup table) that in order to maintain a processing load of N MIPS, processor 304B will require 2.14 W. Scheduler 302 may determine in the same manner that processor 304A requires 2.14 A when executing task 306A. Alternatively, in some embodiments, such as Figure 2 In the illustrated embodiment, the power drawn by a processor executing a task can be determined using telemetry readings of current and voltage from a voltage regulator powering the processor.
[0043] The voltage regulator output power level can then be determined by summing the processor power levels of all processors powered by the voltage regulator. Figure 3A For the task scheduling scenario shown, in which the first task 306A is executed on the processor 304A and the additional or second task 306B is executed on the processor 304B, the scheduler 302 may determine that the output power of the voltage regulator 308A is 2.14W+2.14W=4.28W. Figure 3A In the illustrated task scheduling case, the output power of voltage regulator 308B is zero because no tasks are executing on processors 304C or 304D. The voltage regulator input power level can then be determined by dividing the voltage regulator output power level by the voltage regulator efficiency.
[0044] like Figure 5As shown, voltage regulator efficiency can be obtained from a model, which can be in the form of a graph 500 or a lookup table (not shown). Graph 500 includes a curve 502 that relates voltage regulator load current (e.g., in mA) to efficiency (percentage). The voltage regulator load current level can 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 understood that different voltage regulators may have efficiencies modeled by different curves. For Figure 3A-3C For purposes of the illustrated example, curve 502 may describe the efficiency of both voltage regulators 308A and 308B.
[0045] In some embodiments, the calculated voltage regulator output power level can be adjusted by adding the calculated power plane losses. Power plane losses are the amount of power dissipated by a metal layer or plane in a circuit board (not shown) that distributes power from the voltage regulator. Power plane losses can be expressed as the product of resistance and the square of the regulator output current. The regulator output current can be determined by dividing the voltage regulator output power by the regulator output voltage. In some embodiments, the regulator output voltage can be determined by telemetry (i.e., obtaining measurements from the voltage regulator). For Figure 3A In the illustrated task scheduling case where the output power of the voltage regulator 308A is 4.28W and the measured voltage is, for example, 0.769 volts (V), the regulator output current is 4.28W / 0.769V=5.56 amperes (A). The resistance of the path between the voltage regulator output and the processor can be a predetermined value. In the above example where the output power of the voltage regulator 308A is 4.28W and the path between the voltage regulator output and each processor 304A and 304B has a resistance of, for example, 3 milliohms, (5.56) 2 The power plane losses of x(0.003) or 0.092 are added to the voltage regulator output power of 4.28W calculated above, resulting in an adjusted output power level of 4.372W for the voltage regulator 308A.
[0046] Reference again Figure 5 ,against Figure 3A For the task scheduling case shown, the voltage regulator load current is 4.372W / 0.769V=5.69A. Curve 502 indicates that when the load current level is 5.69A, the efficiency level of the voltage regulator 308A is 77.4% or 0.774. Therefore, for Figure 3A For the task scheduling case shown, the input power level of voltage regulator 308A is 4.372W / 0.774=5.65W. Figure 3AIn the illustrated task scheduling scenario, the input power level to voltage regulator 308B is zero because neither processor 304C or 304D is executing any tasks.
[0047] Back to Figure 4 As indicated in block 410, for each task scheduling scenario, the total regulator input power may be determined by summing the input power levels of all voltage regulators. Figure 3A For the task scheduling case shown 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.
[0048] For each task scheduling situation, the steps described above with respect to blocks 408 and 410 are performed to generate an input power level for each voltage regulator. Figure 3B and Figure 3C For the task scheduling situation shown in FIG. 1 , the following exemplary calculations can be performed. Note that in this example, Figure 3B and Figure 3C The computations for the illustrated task scheduling scenarios are identical to one another because it is computationally unimportant whether the additional or second task 306B is executed on processor 304C or processor 304D.
[0049] against Figure 3B and Figure 3C In the task scheduling case shown, based on the task performance level of the additional or second task 306B, the scheduler 302 can determine in the same manner as the first task scheduling case described above that the processor 304C or 304D will require 2.14W to maintain execution of the second task 306B. Since no other tasks are executed on the processors 304C or 304D in this example, the output power level of the voltage regulator 308B is 2.14W.
[0050] The output power of the voltage regulator 308B can be modified by increasing the power plane loss. If the measured output voltage is, for example, 0.769V, then the output current of the voltage regulator 308B is 2.14W / 0.769V=2.82A. If the path resistance is, for example, 3 milliohms, then the power plane loss (2.82) 2 x(0.003) or 0.023 may be added to the voltage regulator output power of 2.14W calculated above, resulting in a modified output power level of 2.163W for the voltage regulator 308B.
[0051] Reference again Figure 5 ,against Figure 3B and Figure 3CFor the task scheduling situation shown, the voltage regulator load current is 2.163W / 0.769V=2.84A. Curve 502 indicates that at the load current level of 2.84A, the efficiency level of voltage regulator 308B is 82.5% or 0.825. Figure 3B and Figure 3C For the task scheduling case shown, the input power level of voltage regulator 308B is 2.163 / 0.825=2.616 W. The input power level of voltage regulator 308A is also 2.616 W because the same conditions apply to voltage regulators 308A and 308B in this example. That is, each of voltage regulators 308A and 308B is supplying power to processors operating at similar performance levels.
[0052] Back to Figure 4 , as indicated in block 410, the total regulator input power for each task scheduling situation may be determined by summing the input power levels of all voltage regulators. Figure 3A For the task scheduling case shown, 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. Figure 3B For the task scheduling case shown, where the input power level of voltage regulator 308A is 2.616W and the input power level of voltage regulator 308B is 2.616W, the total regulator input power is 5.23W. Figure 3C For the task scheduling scenario shown, where the input power level of voltage regulator 308A is 2.616W and the input power level of voltage regulator 308B is 2.616W, the total regulator input power is 5.23W.
[0053] As indicated in block 412, the task scheduling situation with the lowest total regulator input power may be selected. Figure 3B and Figure 3C The total regulator input power for the task scheduling cases shown is 5.23W, while for Figure 3A The total regulator input power for the task scheduling case shown is 5.65 W. Accordingly, the task scheduler 302 may select Figure 3B The task scheduling shown or Figure 3C In such an example where two or more task scheduling situations also have the lowest total regulator input power, one may be selected in any manner, such as by a predetermined order or index, randomly, and the like.
[0054] As indicated in block 414, the additional tasks may then be executed on the processor associated with the selected task scheduling scenario. Figure 3B If the task scheduling is shown, the second task 306B can be executed on the processor 304C. Figure 3C According to the task scheduling situation shown, the second task 306B can be executed on the processor 304D.
[0055] Note that if the determination of the regulator power level were not based in part on regulator efficiency (ie, losses), the calculation of total power consumption would produce the same results in each of the three task scheduling scenarios in the foregoing example. Figure 3A In the case of the task scheduling shown, the result of calculating the total power consumption without considering the regulator efficiency would be 4.28W, because it would be determined that processor 304A consumes 2.14W and processor 304B consumes 2.14W. Figure 3B In the case of the task scheduling shown, the result of calculating the total power consumption without considering the regulator efficiency will also be 4.28W, because it will be determined that processor 304A consumes 2.14W and processor 304C consumes 2.14W. Figure 3C In the illustrated task scheduling case, the result of calculating the total power consumption without considering the regulator efficiency would be 4.28 W, because it would be determined that processor 304A consumes 2.14 W and processor 304D consumes 2.14 W. Based on the result of calculating the total power consumption without considering the regulator efficiency, a conventional task scheduler (not shown) may execute the additional or second task 306B on processor 304B, however the above example of method 300 reveals that executing the second task 306B on processor 304C or 304D is more energy efficient than executing it on processor 304B.
[0056] like Figure 6 As shown, the graph 600 includes a first load current-efficiency curve 602 of a first voltage regulator and a second load current-efficiency curve 604 of a second voltage regulator. The first voltage regulator and the second voltage regulator may be, for example, voltage regulators 108B and 108A, respectively. Figure 1 ). As mentioned above Figure 1As described, the cores 104A and 104B of the first cluster 106A powered by the voltage regulator 108A can be configured to maintain a higher processing load than the cores 104C and 104D of the second cluster 106B powered by the voltage regulator 108B. Accordingly, the voltage regulator 108A can be configured to supply more current than the voltage regulator 108B under high processing load. For example, the voltage regulator 108A can have a higher number of phases, a larger inductor, etc. than the voltage regulator 108B. Accordingly, at higher current levels, the voltage regulator 108B may be more efficient than the voltage regulator 108A. Under some exemplary processing loads (i.e., the number of MIPS), the current 606 drawn by the voltage regulator 108B may be lower than the current 608 drawn by the voltage regulator 108A. Regardless of the regulator efficiency, a traditional task scheduler can determine that the additional task will be executed on one of the cores 104C and 104D. However, under this processing load, the efficiency 610 of the voltage regulator 108A may be higher than the efficiency 612 of the voltage regulator 108B. Based in part on the determination of the regulator efficiencies, the task scheduler 302 may determine that additional tasks are to be executed on the core 104B.
[0057] like Figure 7 As shown, an exemplary embodiment of a system and method for task scheduling in a computing device may be provided in a portable computing device (“PCD”) 700. The PCD 700 may be the PCD described above with reference to FIG. Figure 1 An example of a computing device 100 is described.
[0058] PCD 700 may include SoC 702. SoC 702 may include CPU 704, GPU 706, DSP 707, analog signal processor 708, or other processors. CPU 704 may include multiple cores, such as first core 704A, second core 704B, and so on, up to Nth core 704N. In some examples of SoC 702, CPU 704 may be referred to as an application processor.
[0059] The display controller 710 and the touch screen controller 712 can be coupled to the CPU 704. A touch screen display 714 external to the SoC 702 can be coupled to the display controller 710 and the touch screen controller 712. The PCD 700 can also include a video decoder 716 coupled to the CPU 704. A video amplifier 718 can be coupled to the video decoder 716 and the touch screen display 714. A video port 720 can be coupled to the video amplifier 718. A universal serial bus ("USB") controller 722 can also be coupled to the CPU 704, and a USB port 724 can be coupled to the USB controller 722. A subscriber identity module ("SIM") card 726 can also be coupled to the CPU 704.
[0060] One or more memories may be coupled to the CPU 704. The one or more memories may include both volatile memory and non-volatile memory. Examples of volatile memory include static random access memory ("SRAM") 728 and dynamic RAM ("DRAM") 730 and 731. Such memory 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 writing data to and reading data from the DRAMs 730 and 731. In other embodiments, such a DRAM controller may be included in a processor (such as the CPU 704).
[0061] A stereo audio CODEC (codec) 734 can be coupled to the analog signal processor 708. In addition, an audio amplifier 736 can be coupled to the stereo audio CODEC 734. A first stereo speaker 738 and a second stereo speaker 740 can be coupled to the audio amplifier 736, respectively. In addition, a microphone amplifier 742 can be coupled to the stereo audio CODEC 734, and a microphone 744 can be coupled to the microphone amplifier 742. A frequency modulation (FM) radio tuner 746 can be coupled to the stereo audio CODEC 734. An FM antenna 748 can be coupled to the FM radio tuner 746. In addition, a stereo headset 750 can be coupled to the stereo audio CODEC 734. Other devices that can be coupled to the CPU 704 include one or more digital (e.g., CCD or CMOS) cameras 752. In addition, a keyboard 760, a mono headset 762 with a microphone, and a vibrator device 764 can be coupled to the analog signal processor 708.
[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 the RF antenna 758.
[0063] 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 may convert the voltage drop generated by thermal sensors 770A and 770B into a digital signal. A power supply 774 and a power management integrated circuit (PMIC) 776 may supply power to SoC 702.
[0064] The firmware or software may be stored in any of the above memories, 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. The execution of such firmware or software may control aspects of any of the above methods or configure aspects of any of the above systems. Any such memory or other non-transitory storage medium having firmware or software stored therein in a computer-readable form for execution by processor hardware may be an example of a "computer-readable medium," as that term is understood in the patent dictionary.
[0065] Alternative embodiments will become apparent to those skilled in the art to which the present invention pertains.Thus, while selected aspects have been shown and described in detail, it should be understood that various substitutions and changes may be made therein.
[0066] Implementation examples are described in the following numbered clauses:
[0067] 1. A method for task scheduling in a computing device, comprising:
[0068] receiving tasks, including an indication of task performance level;
[0069] determining a plurality of task scheduling conditions, each task scheduling condition indicating that the task is executed on an associated processor of the plurality of processors while one or more other tasks are executed on the plurality of processors, each processor being powered by a voltage regulator of the plurality of voltage regulators;
[0070] determining, for each task scheduling situation, a total regulator input power level for the plurality of voltage regulators;
[0071] selecting a task scheduling case having a lowest total regulator input power level among the plurality of task scheduling cases; and
[0072] The task is executed on a processor associated with a selected one of the task scheduling scenarios.
[0073] 2. The method of clause 1, wherein for each task scheduling scenario, determining the total regulator input power level comprises:
[0074] determining, for each task scheduling scenario, a regulator input power level for each voltage regulator of the plurality of voltage regulators based on the task performance level indication, one or more other tasks executing on the plurality of processors, and an efficiency level of each voltage regulator; and
[0075] For each task scheduling scenario, a total regulator input power level is determined based on the plurality of task scheduling scenarios by summing the regulator input power levels of the plurality of voltage regulators.
[0076] 3. The method of clause 2, wherein determining a regulator input power level for each of the plurality of voltage regulators comprises, for one of the voltage regulators:
[0077] determining a regulator output current level of one of the voltage regulators;
[0078] determining an efficiency level of one of the voltage regulators based on the regulator output current level and an efficiency model of the one of the voltage regulators; and
[0079] A regulator input power level is determined based on the regulator output current level and the efficiency level.
[0080] 4. The method of clause 3, wherein determining the regulator output current level comprises:
[0081] determining a processor power level for each processor powered by one of the voltage regulators;
[0082] summing processor power levels for all processors powered by one of the voltage regulators; and
[0083] The sum of the processor power levels of all processors powered by one of the voltage regulators is divided by the output voltage of one of the voltage regulators.
[0084] 5. The method of clause 3, wherein determining the regulator output current level further comprises:
[0085] Determine power plane losses; and
[0086] The sum of the processor power levels is adjusted by adding the power plane losses to the sum of the processor power levels before dividing the sum by the output voltage.
[0087] 6. The method of clause 5, wherein determining the regulator input power level comprises dividing the regulator output power level by the efficiency level.
[0088] 7. The method of clause 1, wherein the plurality of processors comprises:
[0089] a first cluster including a plurality of high performance processors powered by a first voltage regulator; and
[0090] The second cluster includes a plurality of low-performance processors powered by a second voltage regulator.
[0091] 8. The method of clause 1, wherein each processor of the plurality of processors comprises a chip powered by a corresponding voltage regulator.
[0092] 9. A system for task scheduling in a computing device, comprising:
[0093] Multiple processors;
[0094] Task scheduler; and
[0095] Multiple voltage regulators;
[0096] The task scheduler is configured as follows:
[0097] receiving a task, the task including an indication of the task performance level;
[0098] determining a plurality of task scheduling conditions, each task scheduling condition indicating that the task is executed on an associated processor of the plurality of processors while one or more other tasks are executed on the plurality of processors, each processor being powered by a voltage regulator of the plurality of voltage regulators;
[0099] determining, for each task scheduling situation, a total regulator input power level for the plurality of voltage regulators;
[0100] selecting one of the task scheduling situations having a lowest total regulator input power level among a plurality of task scheduling situations; and
[0101] A task is executed on a processor associated with a selected one of the task scheduling scenarios.
[0102] 10. The system of clause 9, wherein the task scheduler is configured to determine the total regulator input power level for each task scheduling case by being configured to:
[0103] determining, for each task scheduling scenario, a regulator input power level for each voltage regulator of the plurality of voltage regulators based on the task performance level indication, one or more other tasks executing on the plurality of processors, and an efficiency level of each voltage regulator; and
[0104] determining a total regulator input power level by summing regulator input power levels of a plurality of voltage regulators for each task scheduling situation;
[0105] 11. The system of clause 10, wherein the task scheduler is configured to determine a regulator input power level for each of the plurality of voltage regulators by being configured to:
[0106] determining a regulator output current level of one of the voltage regulators;
[0107] determining an efficiency level of one of the voltage regulators based on the regulator output current level and an efficiency model of one of the voltage regulators; and
[0108] A regulator input power level is determined based on the regulator output current level and the efficiency level.
[0109] 12. The system of clause 11, wherein the task scheduler is configured to determine the regulator output current level by being configured to:
[0110] determining a processor power level for each processor powered by one of the voltage regulators;
[0111] summing the processor power levels of all processors powered by one of the voltage regulators; and
[0112] The sum of the processor power levels of all processors powered by one of the voltage regulators is divided by the output voltage of one of the voltage regulators.
[0113] 13. The system of clause 11, wherein the task scheduler is configured to determine the regulator output current level by being further configured to:
[0114] Determine power plane losses; and
[0115] The sum of the processor power levels is adjusted by adding the power plane losses to the sum of the processor power levels before dividing the sum by the output voltage.
[0116] 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.
[0117] 15. The system of clause 9, wherein the plurality of processors comprises:
[0118] A first cluster includes at least one high-performance processor; and
[0119] The second cluster includes at least one low-performance processor.
[0120] 16. A system according to clause 15, wherein:
[0121] At least one high performance processor of the first cluster is powered by a first voltage regulator; and
[0122] At least one low-performance processor of the second cluster is powered by a second voltage regulator.
[0123] 17. A system according to clause 16, wherein:
[0124] The first cluster includes a plurality of high-performance processors, each high-performance processor being powered by a first voltage regulator; and
[0125] The second cluster includes a plurality of low-performance processors, each of which is powered by a second voltage regulator.
[0126] 18. The system of clause 9, wherein each processor of the plurality of processors comprises a chip powered by a corresponding voltage regulator.
[0127] 19. A system for scheduling tasks in a computing device, comprising:
[0128] means for receiving a task including an indication of a task performance level;
[0129] means for determining a plurality of task scheduling conditions, each task scheduling condition indicating that the task is executed on an associated processor of the plurality of processors while one or more other tasks are executed on the plurality of processors, each processor being powered by one of the plurality of voltage regulators;
[0130] means for determining a total regulator input power level of a plurality of voltage regulators for each task scheduling condition;
[0131] means for selecting one of the task scheduling scenarios having a lowest total regulator input power level among the plurality of task scheduling scenarios; and
[0132] Means for executing a task on a processor associated with a selected one of the task scheduling scenarios.
[0133] 20. The system of clause 19, wherein the means for determining the total regulator input power level for each task scheduling scenario comprises:
[0134] means for determining, for each task scheduling scenario, a regulator input power level for each of the plurality of voltage regulators based on the task performance level indication, one or more other tasks executing on the plurality of processors, and an efficiency level of each voltage regulator; and
[0135] means for determining a total regulator input power level by summing regulator input power levels of a plurality of voltage regulators for each task scheduling condition;
[0136] 21. The system of clause 20, wherein the means for determining a regulator input power level for each of the plurality of voltage regulators comprises, for one of the voltage regulators:
[0137] means for determining a regulator output current level of one of the voltage regulators;
[0138] means for determining an efficiency level of one of the voltage regulators based on the regulator output current level and an efficiency model of the one of the voltage regulators; and
[0139] Means for determining a regulator input power level based on a regulator output current level and an efficiency level.
[0140] 22. The system of clause 21, wherein the means for determining the regulator output current level comprises:
[0141] means for determining a processor power level for each processor powered by one of the voltage regulators;
[0142] means for summing processor power levels for all processors powered by one of the voltage regulators; and
[0143] Means for dividing a sum of processor power levels of all processors powered by one of the voltage regulators by an output voltage of one of the voltage regulators.
[0144] 23. The system of clause 21, wherein the means for determining the regulator output current level further comprises:
[0145] Components for determining power plane losses; and
[0146] Means for adjusting the sum of the processor power levels by adding the power plane losses to the sum of the processor power levels before dividing the sum of the processor power levels by the output voltage.
[0147] 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 the efficiency level.
[0148] 25. The system of clause 19, wherein the plurality of processors comprises:
[0149] A first cluster includes at least one high-performance processor; and
[0150] The second cluster includes at least one low-performance processor.
[0151] 26. A system according to clause 25, wherein:
[0152] At least one high performance processor of the first cluster is powered by a first voltage regulator; and
[0153] At least one low-performance processor of the second cluster is powered by a second voltage regulator.
[0154] 27. A system according to clause 26, wherein:
[0155] The first cluster includes a plurality of high-performance processors, each high-performance processor being powered by a first voltage regulator; and
[0156] The second cluster includes a plurality of low-performance processors, each of which is powered by a second voltage regulator.
[0157] 28. The system of clause 19, wherein each processor of the plurality of processors comprises a chip powered by a corresponding voltage regulator.
[0158] 29. A computer-readable medium for scheduling tasks in a computing device, the computer-readable medium comprising a non-transitory computer-readable medium having stored thereon instructions in computer-executable form, which, when executed by a processing system of the computing device, configure the processing system to:
[0159] receiving a task, said task including a task performance level indication;
[0160] determining a plurality of task scheduling conditions, each task scheduling condition indicating that the task is executed on an associated processor of the plurality of processors while one or more other tasks are executed on the plurality of processors, each processor being powered by a voltage regulator of the plurality of voltage regulators;
[0161] determining, for each task scheduling situation, a total regulator input power level for the plurality of voltage regulators;
[0162] selecting one of the task scheduling situations having a lowest total regulator input power level among the plurality of task scheduling situations; and
[0163] The task is executed on a processor associated with a selected one of the task scheduling scenarios.
[0164] 30. The computer-readable medium of clause 29, wherein the instructions configure the processing system to determine a total regulator input power level for each task scheduling scenario by configuring the processing system to:
[0165] determining, for each task scheduling scenario, a regulator input power level for each voltage regulator of the plurality of voltage regulators based on the task performance level indication, one or more other tasks executing on the plurality of processors, and an efficiency level of each voltage regulator; and
[0166] determining a total regulator input power level by summing regulator input power levels of a plurality of voltage regulators for each task scheduling situation;
[0167] 31. The computer-readable medium of clause 30, wherein the instructions configure the processing system to determine a regulator input power level for each of the plurality of voltage regulators by configuring the processing system to, for one of the voltage regulators:
[0168] determining a regulator output current level of one of the voltage regulators;
[0169] determining an efficiency level of one of the voltage regulators based on the regulator output current level and an efficiency model of the one of the voltage regulators; and
[0170] A regulator input power level is determined based on the regulator output current level and the efficiency level.
[0171] 32. The computer-readable medium of clause 31, wherein the instructions configure the processing system to:
[0172] determining a processor power level for each processor powered by one of the voltage regulators;
[0173] summing processor power levels for all processors powered by one of the voltage regulators; and
[0174] The sum of the processor power levels of all processors powered by one of the voltage regulators is divided by the output voltage of one of the voltage regulators.
[0175] 33. The computer-readable medium of clause 32, wherein the instructions configure the processing system to determine the regulator output current level by further configuring the processing system to:
[0176] Determine power plane losses; and
[0177] The sum of the processor power levels is adjusted by adding the power plane losses to the sum of the processor power levels before dividing the sum by the output voltage.
[0178] 34. The computer-readable medium of clause 33, 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. A method for task scheduling in a computing device, comprising: receiving a task, the task including a task performance level indication; determining a plurality of task scheduling conditions, each task scheduling condition representing execution of the task on an associated processor of the plurality of processors concurrently with execution of one or more other tasks on the plurality of processors, each processor being powered by a voltage regulator of the plurality of voltage regulators; determining, for each task scheduling condition, a total regulator input power level of the plurality of voltage regulators; selecting, among the plurality of task scheduling situations, one of the task scheduling situations having a lowest total regulator input power level; as well as The task is executed on a processor associated with a selected one of the task scheduling instances.
2. The method of claim 1 , wherein for each task scheduling situation, determining the total regulator input power level comprises: determining, for each task scheduling scenario, a regulator input power level for each voltage regulator 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; as well as The total regulator input power level is determined based on the plurality of task scheduling scenarios by summing the regulator input power levels of the plurality of voltage regulators for each task scheduling scenario.
3. The method of claim 2 , wherein determining the regulator input power level for each of the plurality of voltage regulators comprises, for one of the voltage regulators: determining a regulator output current level of said one of said voltage regulators; determining an 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; as well as The regulator input power level is determined based on the regulator output current level and the efficiency level.
4. The method of claim 3 , wherein determining the regulator output current level comprises: determining a processor power level for each processor powered by said one of said voltage regulators; summing processor power levels for all processors powered by said one of said voltage regulators; as well as A sum of the processor power levels of all processors powered by the one of the voltage regulators is divided by the output voltage of the one of the voltage regulators.
5. The method of claim 4 , wherein determining the regulator output current level further comprises: Determine power plane losses; as well as The sum of the processor power levels is adjusted by adding the power plane loss to the sum of the processor power levels before dividing the sum by the output voltage. The method of claim 5 , wherein determining the regulator input power level comprises dividing the regulator output power level by the efficiency level.
7. The method of claim 1 , wherein the plurality of processors comprises: a first cluster including a plurality of high-performance processors powered by a first voltage regulator; as well as The second cluster includes a plurality of low-performance processors powered by a second voltage regulator.
8. The method of claim 1, wherein each processor of the plurality of processors comprises a chip powered by a corresponding voltage regulator.
9. A system for task scheduling in a computing device, comprising: Multiple processors; Task scheduler; as well as multiple voltage regulators; The task scheduler is configured as follows: receiving a task, the task including a task performance level indication; determining a plurality of task scheduling conditions, each task scheduling condition indicating that the task is executed on an associated processor of the plurality of processors while one or more other tasks are executed on the plurality of processors, each processor being powered by a voltage regulator of the plurality of voltage regulators; determining, for each task scheduling condition, a total regulator input power level of the plurality of voltage regulators; selecting, among the plurality of task scheduling situations, one task scheduling situation having a lowest total regulator input power level; as well as The task is executed on a processor associated with a selected one of the task scheduling instances.
10. The system of claim 9, wherein the task scheduler is configured to determine the total regulator input power level for each task scheduling situation by being configured to: determining, for each task scheduling scenario, a regulator input power level for each voltage regulator 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 For each task scheduling scenario, the total regulator input power level is determined by summing the regulator input power levels of the plurality of voltage regulators.
11. The system of claim 10 , wherein the task scheduler is configured to determine a regulator input power level for each of the plurality of voltage regulators by being configured to: determining a regulator output current level of said one of said voltage regulators; determining an 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; as well as The regulator input power level is determined based on the regulator output current level and the efficiency level.
12. The system of claim 11 , wherein the task scheduler is configured to determine the regulator output current level by being configured to: determining a processor power level for each processor powered by said one of said voltage regulators; summing processor power levels for all processors powered by said one of said voltage regulators; as well as A sum of the processor power levels of all processors powered by the one of the voltage regulators is divided by the output voltage of the one of the voltage regulators.
13. The system of claim 12, wherein the task scheduler is configured to determine the regulator output current level by being further configured to: Determine power plane losses; and The sum of the processor power levels is adjusted by adding the power plane loss to the sum of the processor power levels before dividing the sum by the output voltage. 14 . The system of claim 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.
15. The system of claim 9, wherein the plurality of processors comprises: A first cluster including at least one high-performance processor; as well as The second cluster includes at least one low-performance processor.
16. The system of claim 15, wherein: The at least one high-performance processor of the first cluster is powered by a first voltage regulator; and The at least one low-performance processor of the second cluster is powered by a second voltage regulator.
17. The system of claim 16, wherein: The first cluster includes a plurality of high-performance processors, each high-performance processor being powered by the first voltage regulator; and The second cluster includes a plurality of low-performance processors, each of which is powered by the second voltage regulator.
18. The system of claim 9, wherein each processor of the plurality of processors comprises a chip powered by a corresponding voltage regulator.
19. A system for task scheduling in a computing device, comprising: means for receiving a task including an indication of a task performance level; means for determining a plurality of task scheduling conditions, each task scheduling condition representing execution of the task on an associated one of the plurality of processors concurrently with execution of one or more other tasks on the plurality of processors, each processor being powered by a voltage regulator from a plurality of voltage regulators; means for determining a total regulator input power level for the plurality of voltage regulators for each task scheduling condition; means for selecting, among the plurality of task scheduling situations, one of the task scheduling situations having a lowest total regulator input power level; as well as Means for executing the task on a processor associated with a selected one of the task scheduling instances.
20. The system of claim 19, wherein the means for determining the total regulator input power level for each task scheduling situation comprises: means for determining, for each task scheduling scenario, a regulator input power level for each voltage regulator 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; as well as 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 scenario.
21. The system of claim 20, wherein the means for determining a 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 of said one of said voltage regulators; means for determining an 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; as well as Means for determining the regulator input power level based on the regulator output current level and the efficiency level.
22. The system of claim 21 , wherein the means for determining the regulator output current level comprises: means for determining a processor power level for each processor powered by said one of said voltage regulators; means for summing processor power levels for all processors powered by said one of said voltage regulators; as well as Means for dividing a sum of processor power levels of all processors powered by said one of said voltage regulators by an output voltage of said one of said voltage regulators.
23. The system of claim 22, wherein the means for determining the regulator output current level further comprises: Components used to determine power plane losses; as well as Means for adjusting the sum of the processor power levels by adding the power plane losses to the sum of the processor power levels before dividing the sum of the processor power levels by the output voltage.
24. The system of claim 23, wherein the means for determining the regulator input power level comprises means for dividing the regulator output power level by the efficiency level.
25. The system of claim 19, wherein the plurality of processors comprises: A first cluster including at least one high-performance processor; as well as The second cluster includes at least one low-performance processor.
26. The system of claim 25, wherein: The at least one high-performance processor of the first cluster is powered by a first voltage regulator; and The at least one low-performance processor of the second cluster is powered by a second voltage regulator.
27. The system of claim 26, wherein: The first cluster includes a plurality of high-performance processors, each high-performance processor being powered by the first voltage regulator; and The second cluster includes a plurality of low-performance processors, each of which is powered by the second voltage regulator.
28. The system of claim 19, wherein each processor of the plurality of processors comprises a chip powered by a corresponding voltage regulator.
29. A computer-readable medium for scheduling tasks in a computing device, the computer-readable medium comprising a non-transitory computer-readable medium having stored thereon instructions in computer-executable form, the instructions, when executed by a processing system of the computing device, configuring the processing system to: receiving a task, the task including a task performance level indication; determining a plurality of task scheduling conditions, each task scheduling condition indicating executing the task on an associated processor of a plurality of processors concurrently with executing one or more other tasks on the plurality of processors, each processor being powered by a voltage regulator of a plurality of voltage regulators; determining, for each task scheduling condition, a total regulator input power level of the plurality of voltage regulators; selecting, among the plurality of task scheduling situations, one task scheduling situation having a lowest total regulator input power level; as well as The task is executed on a processor associated with a selected one of the task scheduling instances.
30. The computer-readable medium of claim 29, wherein the instructions configure the processing system to determine the total regulator input power level for each task scheduling scenario by configuring the processing system to: determining, for each task scheduling scenario, a regulator input power level for each voltage regulator 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 For each task scheduling scenario, the total regulator input power level is determined by summing the regulator input power levels of the plurality of voltage regulators.
31. The computer-readable medium of claim 30, wherein the instructions configure the processing system to determine a regulator input power level for each of the plurality of voltage regulators by configuring the processing system to, for one of the voltage regulators: determining a regulator output current level of said one of said voltage regulators; determining an 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; as well as The regulator input power level is determined based on the regulator output current level and the efficiency level.
32. The computer-readable medium of claim 31 , wherein the instructions configure the processing system to determine the regulator output current level by configuring the processing system to: determining a processor power level for each processor powered by said one of said voltage regulators; summing processor power levels for all processors powered by said one of said voltage regulators; as well as A sum of the processor power levels of all processors powered by the one of the voltage regulators is divided by the output voltage of the one of the voltage regulators.
33. The computer-readable medium of claim 32, wherein the instructions configure the processing system to determine the regulator output current level by further configuring the processing system to: Determine power plane losses; and The sum of the processor power levels is adjusted by adding the power plane loss to the sum of the processor power levels before dividing the sum by the output voltage.
34. The computer-readable medium of claim 33, 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.
