Methods and apparatus for bi-directional control of computing unit frequency
Abstract
Methods and apparatus for bi-directional control of computing unit frequency are disclosed. An example apparatus to control a frequency of a computing unit includes instructions, memory in the apparatus, and processor circuitry. The processor circuitry is to determine a performance hint from a first register, the performance hint corresponding to a requested performance of the computing unit for executing a thread associated with software, determine power and performance (PnP) statistics pertaining to the thread from a second register, control the frequency of the computing unit based on the performance hint and the PnP statistics, and provide a pressure of the computing unit to the software.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 0.
Claims (22 — 4 Independent, 18 Dependent)
- Claim 1Independent Claim
An apparatus to control a frequency of a computing unit, the apparatus comprising: instructions; memory; and at least one programmable circuitry to be programmed by the instructions to: determine a performance hint from a first register, the performance hint corresponding to a requested performance of the computing unit for when executing a software thread, determine a presence of one or more non-compliant instructions in the software thread based on the performance hint, determine power and performance (PnP) statistics pertaining to the software thread from a second register, control the frequency of one or more of the at least one programmable circuit based on the performance hint and the PnP statistics, and provide pressure data associated with execution of the software thread by the computing unit to the software.
- Claim 2Depends on #1
The apparatus as defined in claim 1, wherein one or more of the at least one programmable circuitry is to place the computing unit in a mode that is independent of the performance hint after detection of the presence of the one or more non-compliant instruction.
- Claim 3Depends on #1
The apparatus as defined in claim 1, wherein one or more of the at least one programmable circuitry is to provide the pressure data to the software via a third register.
- Claim 4Depends on #3
The apparatus as defined in claim 3, wherein one or more of the at least one programmable circuitry is to calculate the pressure data based on a quotient of an actual frequency of the computing unit during the executing of the software thread divided by a maximum frequency of the computing unit.
- Claim 5Depends on #1
The apparatus as defined in claim 1, wherein one or more of the at least one programmable circuitry is to control the frequency of the computing unit based on whether increasing the frequency will yield a performance increase of the software.
- Claim 6Depends on #1
The apparatus as defined in claim 1, wherein the software thread is to adjust the performance hint in response to the pressure data after accessing the performance hint from a third register.
- Claim 7Depends on #1
The apparatus as defined in claim 1, wherein at least one of the PnP statistics or the second register is hidden from the software thread.
- Claim 8Independent Claim
A system on chip (SOC) package comprising: at least one core to execute software; instructions; and a first register to store a performance hint corresponding to execution of the software, the performance hint provided to the SOC package by the software, a second register to store pressure data associated with the execution of the software by the at least one core, and a third register to store power and performance (PnP) statistics associated with the execution of the software by the at least one core, at least one core to be programmed by the instructions to; control a frequency of one or more of the at least one core based on the performance hint and the PnP statistics, and provide the pressure data to the second register for access thereof by the software, and determine a presence of one or more non-compliant instructions in the software based on the performance hint.
- Claim 9Depends on #8
The SOC package as defined in claim 8, wherein one or more of the at least one core is to enter a mode that is independent of the performance hint in response to the presence of the one or more non-compliant instructions.
- Claim 10Depends on #8
The SOC package as defined in claim 8, wherein one or more of the at least one core is to select the frequency from an array of frequencies based on the performance hint and the PnP statistics.
- Claim 11Depends on #8
The SOC package as defined in claim 8, wherein the pressure data is based on a quotient of an actual frequency of the at least one core during the executing of the software divided by a maximum frequency of the at least one core.
- Claim 12Depends on #8
The SOC package as defined in claim 8, wherein at least one of the PnP statistics or the second register is hidden from the software.
- Claim 13Independent Claim
A non-transitory computer readable medium comprising instructions to cause programmable circuitry to: determine a performance hint from a first register, the performance hint corresponding to a requested performance of the programmable circuitry when executing software; determine a presence of a non-compliant instruction in the software; determine power and performance (PnP) statistics pertaining to the software from a second register; control a frequency of the programmable circuitry based on the performance hint and the PnP statistics; and provide pressure data associated with execution of the software via a third register.
- Claim 14Depends on #13
The non-transitory computer readable medium as defined in claim 13, wherein the instructions cause the programmable circuitry to enter a mode that is independent of the performance hint in response to the presence of the non-compliant instruction.
- Claim 15Depends on #13
The non-transitory computer readable medium as defined in claim 13, wherein the instructions cause the programmable circuitry to select the frequency from an array of frequencies based on the performance hint and the PnP statistics.
- Claim 16Depends on #13
The non-transitory computer readable medium as defined in claim 13, wherein the instructions cause the programmable circuitry to calculate the pressure data.
- Claim 17Depends on #16
The non-transitory computer readable medium as defined in claim 16, wherein the pressure data is based on a quotient of a measured frequency of the programmable circuitry during the executing of the software and a maximum frequency of the programmable circuitry.
- Claim 18Independent Claim
A method of controlling a frequency of a computing unit, the method comprising: determining, by executing instructions with at least one programmable circuitry, a performance hint from a first register, the performance hint corresponding to a requested performance of the computing unit for executing a thread associated with software; determining, by executing instructions with one or more of the at least one programmable circuitry, a presence of non-compliant instructions based on the performance hint; determining, by executing instructions with one or more of the at least one programmable circuitry, power and performance (PnP) statistics pertaining to the thread from a second register; controlling, by executing instructions with one or more of the at least one programmable circuitry, the frequency of the computing unit based on the performance hint and the PnP statistics; and providing, by executing instructions with one or more of the at least one programmable circuitry, a pressure of the computing unit to the software.
- Claim 19Depends on #18
The method as defined in claim 18, including setting, by executing instructions with one or more of the at least one programmable circuitry, the computing unit in a mode that is independent of the performance hint in response to the presence of the non-compliant instructions.
- Claim 20Depends on #18
The method as defined in claim 18, including selecting, by executing instructions with one or more of the at least one programmable circuitry, the frequency from an array of frequencies based on the performance hint and the PnP statistics.
- Claim 21Depends on #18
The method as defined in claim 18, including calculating, by executing instructions with one or more of the at least one programmable circuitry, the pressure of the computing unit.
- Claim 22Depends on #21
The method as defined in claim 21, wherein the pressure is calculated based on a quotient of an actual frequency of the computing unit during the executing of the thread divided by a maximum frequency of the computing unit.
Technical Overview & Description
FIELD OF THE DISCLOSURE This disclosure relates generally to computing devices and, more particularly, to methods and apparatus for bi-directional control of computing unit frequency. BACKGROUND As personal computing systems continue to evolve, efforts have been made toward improving an overall user experience. In particular, aspects such as responsiveness and battery life have been identified to affect the user experience. Accordingly, various techniques have been developed to improve the user experience at multiple layers and/or portions of such personal computing systems. For example, at an application layer, various software-centric techniques have been developed to improve power efficiency. At an operating system level, various techniques involving identifying background activities and collaborating with a system on chip (SOC) architecture have been implemented to execute the background activities in low-power mode to reduce power consumption. At an SOC level, many hardware techniques have also been developed to improve power efficiency, such as hardware autonomous frequency selection techniques to accommodate relatively quick execution variations from workloads. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic illustration of an example computing system in accordance with teachings of this disclosure. FIG. 2 is a block diagram of an example system on chip (SOC) implementation in accordance with teachings of this disclosure. FIG. 3 is an example process flow that can be implemented in examples disclosed herein. FIGS. 4 - 7 are flowcharts representative of example machine readable instructions and/or example operations that may be executed by example processor circuitry to implement the example computing system of FIG. 1 and/or the example SOC implementation of FIG. 2 . FIG. 8 is a block diagram of an example processing platform including processor circuitry structured to execute the example machine readable instructions and/or the example operations of F
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (4)
| Patent | Title | Year | Citations |
|---|