# US 9,354,930 B2 · Scheduling of global voltage/frequency scaling switches among asynchronous dataflow dependent processors

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 9,354,930 B2
- Document ID: US9354930B2
- Status: Granted
- Kind: B2
- Application number: 14/250,819
- Filed: 2014-04-11
- Published: 2015-10-15
- Granted: 2016-05-31
- Earliest claimed: 2014-04-11
- Assignees: Telefonaktiebolaget LM Ericsson (publ)
- Applicants: Telefonaktiebolaget L M Ericsson (publ)
- Inventors: Orlando Pires Dos Reis Moreira; Cornelis Van Berkel
- Web page: https://patentgrep.com/patent/US9354930B2

## CPC

- G06F 9/4893: {taking into account power or heat criteria (power management in computers in general G06F1/3203; thermal management in computers in general G06F1/206)}
- G06F 1/3234: Power saving characterised by the action undertaken
- G06F 1/329: by task scheduling
- G06F 9/5094: {where the allocation takes into account power or heat criteria (power management in computers in general G06F1/3203; thermal management in computers in general G06F1/206)}
- G06F 1/324: by lowering clock frequency
- G06F 1/3296: by lowering the supply or operating voltage
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

Task execution among a plurality of processors that are configured to operate concurrently at a same global Voltage/Frequency (VF) level is controlled by using a global power manager to control VF switching from one VF level to another VF level, the same current VF level governing VF settings of each processor. Each of the processors controls whether it will wait for a VF switch from a current VF level to a next VF level prior to enabling execution of a next scheduled task for the one of the processors, with the decision being based on whether a current VF level is higher than the next scheduled VF level. The global power manager performs VF level switching at least based on a timing schedule, and in some but not all embodiments, also on whether all processors indicate that they are waiting for a VF level switch.

## Claims

### Claim 1

A method of controlling task execution among a plurality of processors that are configured to operate concurrently at a same global Voltage/Frequency (VF) level, the method comprising:
using a global power manager to control VF switching from one VF level to another VF level, wherein a same current VF level governs VF settings of each of the processors; and
each one of the processors controlling whether the one of the processors will wait for a VF switch from a current VF level to a next VF level prior to enabling execution of a next scheduled task for the one of the processors,
wherein:
the global power manager performs a VF level switching process that comprises:
controlling a timer so as to cause the timer to generate a timer event at a known future time; and
whenever the timer event occurs, detecting the timer event and in response to said detection, causing a VF switch from a current VF level to a next scheduled VF level; and
controlling whether said one of the processors will wait for a VF switch from the current VF level to the next VF level prior to enabling execution of the next scheduled task for the one of the processors comprises:
detecting that the current VF level is higher than the next scheduled VF level; and
responsive to said detecting that the current VF level is higher than the next scheduled VF level, causing the one of the processors to wait for the VF switch from the current VF level to the next VF level prior to enabling execution of the next scheduled tasks of the one of the processors to begin, otherwise enabling execution of the next scheduled tasks of the one of the processors to begin without waiting for the VF switch from the current VF level to the next VF level.

### Claim 2 (depends on 1)

The method of claim 1, wherein causing the one of the processors to wait for the VF switch from the current VF level to the next VF level prior to enabling execution of the next scheduled tasks of the one of the processors to begin comprises:
causing the one of the processors to wait until the one of the processors detects an occurrence of the timer event.

### Claim 3 (depends on 1)

The method of claim 1, wherein the VF level switching process performed by the global power manager comprises:
detecting that all execution processes of the processors are waiting for the VF switch from the current VF level to the next VF level prior to enabling execution of the next scheduled tasks of the one of the processors to begin, and in response to said detection, causing the VF switch from the current VF level to the next scheduled VF level.

### Claim 4 (depends on 3)

The method of claim 3, wherein causing the one of the processors to wait for the VF switch from the current VF level to the next VF level prior to enabling execution of the next scheduled tasks of the one of the processors to begin comprises:
notifying the global power manager that the one of the processors is waiting for the VF switch from the current VF level to the next VF level prior to enabling execution of the next scheduled tasks of the one of the processors to begin.

### Claim 5 (depends on 1)

The method of claim 1, wherein each one of the next scheduled tasks of the one of the processors begins only when execution of said one of the next scheduled tasks has been enabled and when all task specific dependencies of said one of the next scheduled tasks has been satisfied.

### Claim 6 (depends on 5)

The method of claim 5, where the task specific dependencies of said one of the next scheduled tasks comprises task specific data dependencies.

### Claim 7

An apparatus that controls task execution among a plurality of processors that are configured to operate concurrently at a same global Voltage/Frequency (VF) level, the apparatus comprising:
a global power manager configured to control VF switching from one VF level to another VF level, wherein a same current VF level governs VF settings of each of the processors; and
a task execution controller in each one of the processors, each task one of the task execution controllers being configured to control whether the one of the processors will wait for a VF switch from a current VF level to a next VF level prior to enabling execution of a next scheduled task for the one of the processors,
wherein:
the global power manager is configured to perform a VF level switching process that comprises:
controlling a timer so as to cause the timer to generate a timer event at a known future time; and
whenever the timer event occurs, detecting the timer event and in response to said detection, causing a VF switch from a current VF level to a next scheduled VF level; and
each of the task execution controllers is configured to control whether said one of the processors will wait for a VF switch from the current VF level to the next VF level prior to enabling execution of the next scheduled task for the one of the processors by:
detecting that the current VF level is higher than the next scheduled VF level; and
responsive to said detecting that the current VF level is higher than the next scheduled VF level, causing the one of the processors to wait for the VF switch from the current VF level to the next VF level prior to enabling execution of the next scheduled tasks of the one of the processors to begin, otherwise enabling execution of the next scheduled tasks of the one of the processors to begin without waiting for the VF switch from the current VF level to the next VF level.

### Claim 8 (depends on 7)

The apparatus of claim 7, wherein causing the one of the processors to wait for the VF switch from the current VF level to the next VF level prior to enabling execution of the next scheduled tasks of the one of the processors to begin comprises:
causing the one of the processors to wait until the one of the processors detects an occurrence of the timer event.

### Claim 9 (depends on 7)

The apparatus of claim 7, wherein the VF level switching process performed by the global power manager comprises:
detecting that all execution processes of the processors are waiting for the VF switch from the current VF level to the next VF level prior to enabling execution of the next scheduled tasks of the one of the processors to begin, and in response to said detection, causing the VF switch from the current VF level to the next scheduled VF level.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein causing the one of the processors to wait for the VF switch from the current VF level to the next VF level prior to enabling execution of the next scheduled tasks of the one of the processors to begin comprises:
notifying the global power manager that the one of the processors is waiting for the VF switch from the current VF level to the next VF level prior to enabling execution of the next scheduled tasks of the one of the processors to begin.

### Claim 11 (depends on 7)

The apparatus of claim 7, wherein each one of the next scheduled tasks of the one of the processors begins only when execution of said one of the next scheduled tasks has been enabled and when all task specific dependencies of said one of the next scheduled tasks has been satisfied.

### Claim 12 (depends on 11)

The apparatus of claim 11, where the task specific dependencies of said one of the next scheduled tasks comprises task specific data dependencies.
