Processor having accelerated user responsiveness in constrained environment
In one embodiment, a processor includes at least one core to execute instructions and a power controller coupled to the at least one core. The power controller may include a first logic to cause the at least one core to exit an idle state and enter into a maximum performance state for a first time duration, thereafter enter into an intermediate power state for a second time duration, and thereafter enter into a sustained performance state. Other embodiments are described and claimed.
1. A processor comprising:
at least one core to execute instructions; and
a power controller coupled to the at least one core, the power controller to cause the at least one core to exit an idle state and directly enter into a maximum performance state for a first time duration to execute a responsiveness workload in which a user interacts via a user interface with a computer system, thereafter enter into an intermediate performance state for a second time duration, and thereafter enter into a sustained performance state.
2. The processor of claim 1 , wherein the maximum performance state has a maximum frequency.
3. The processor of claim 1 , wherein the maximum performance state is greater than the intermediate performance state, and the intermediate performance state is greater than the sustained performance state.
4. The processor of claim 1 , wherein the power controller is to directly enter into the maximum performance state in response to a determination that the responsiveness workload has begun.
5. The processor of claim 4 , wherein the power controller is to determine that the responsiveness workload has begun in response to interaction of the user with the user interface.
6. The processor of claim 5 , wherein the user interface comprises a touchscreen.
7. The processor of claim 5 , wherein the user interface comprises a microphone.
8. The processor of claim 1 , wherein the power controller is to receive an indication that a first application is the responsiveness workload from an operating system.
9. The processor of claim 1 , wherein the power controller is to adapt a level of at least the intermediate performance state.
10. The processor of claim 1 , wherein the first time duration is at least approximately 100 milliseconds.
11. The processor of claim 10 , wherein the second time duration is at least approximately 10 seconds.
12. The processor of claim 1 , wherein the power controller comprises a microcontroller.
13. A non-transitory machine-readable medium having stored thereon instructions, which if performed by a machine cause the machine to perform a method comprising:
in response to identification of a responsiveness workload in which a user interacts with the machine, causing at least one core of a processor to exit an idle state and directly enter into successive ones of a maximum performance state for a first duration, a second performance state for a second duration, and a sustained performance state, according to an attack-decay-sustain technique.
14. The non-transitory machine-readable medium of claim 13 , wherein the method further comprises after the first duration, causing the at least one core to enter into the second performance state until a first budget is consumed, the second performance state greater than the sustained performance state and less than the maximum performance state.
15. The non-transitory machine-readable medium of claim 14 , wherein the method further comprises after the first budget is consumed, causing the at least one core to enter into the sustained performance state.
16. The non-transitory machine-readable medium of claim 13 , wherein the second performance state comprises a plurality of intermediate performance states.
17. A system comprising:
a processor including a plurality of cores, a configuration register and a power controller, wherein the power controller, responsive to identification of a responsiveness workload in which a user interacts with the system, is to cause at least a first core of the plurality of cores to exit an idle state and enter into a maximum performance state for a first time duration indicated in the configuration register, after the first time duration enter into a plurality of intermediate performance states according to an exponential decay function, and thereafter enter into a sustained performance state; and
a touchscreen coupled to the processor, wherein the user is to interact with the system via the touchscreen.
18. The system of claim 17 , wherein the power controller is to cause the at least first core to operate in the plurality of intermediate performance states until a budget is consumed, and thereafter to cause the at least first core to enter into the sustained performance state.
19. The system of claim 18 , wherein the processor further comprises a power meter to measure energy consumed by the plurality of cores, and wherein the power controller is to determine the budget based at least in part on a power limit of the processor and the measured energy consumed.
20. The system of claim 17 , wherein the power controller is to identify the responsiveness workload responsive to an external interrupt received in the processor, the external interrupt associated with the user interaction with the system.