Embodiments described herein generally relate to providing for power savings in a processor environment.
As electronic devices become more complex and more ubiquitous in the everyday lives of users, more and more diverse requirements are placed upon them. For example, many electronic devices can operate on battery power, thus allowing users to operate these devices in many different circumstances. In addition, as capabilities of electronic devices become more extensive, many users may become reliant on the enhanced performance such capabilities provide. As these aspects of electronic devices have evolved, there has become an increasing need for power optimization so that users may enjoy longer battery life. However, under many circumstances, power optimization may sacrifice performance. Therefore, it will be highly beneficial for a user to be able to have the desired performance when it matters the most to them, and to have power optimization during circumstances where performance may be less important to them.
Embodiments are illustrated by way of example and not by way of limitation in the FIGURES of the accompanying drawings, in which like references indicate similar elements and in which:
The FIGURES of the drawings are not necessarily drawn to scale or proportion, as their dimensions, arrangements, and specifications can be varied considerably without departing from the scope of the present disclosure.
The following detailed description sets forth example embodiments of apparatuses, methods, and systems relating to providing a power savings in a processor environment. Features such as structure(s), function(s), and/or characteristic(s), for example, are described with reference to one embodiment as a matter of convenience; various embodiments may be implemented with any suitable one or more of the described features.
Even though processor power states described herein relate to the Advanced Control and Power Interface Specification (ACPI) (e.g., Version 5.0 released Dec. 6, 2011), it should be understood that the ACPI is merely an example of a power management scheme that may be utilized to manage power in a processor or a system. Therefore, direct references to specific elements of the ACPI Specification do not limit the claims, unless such specific elements are expressly incorporated into the claims. Moreover, any prior version of the ACPI Specification would also be applicable to the present disclosure.
Processor power may be managed by placing the processor into power states that influence the operation of the processor such that the power consumption of the processor differs across different power states. There may be a tradeoff associated with each power state between performance and power savings. For example, higher power saving power states may be associated with a longer delay in placing the processor into a state that allows for execution of instructions. A power state is a concept used to identify a behavioral profile of a component or system. A processor power state is a concept used to identify a behavioral profile of a processor.
The table of
It should be understood that processor power states may be further divided into sub-states as desired. For example, power state C3 may have sub-states that vary in power savings and recovery latency. In another example, power state C1 may have sub-states that vary in power savings and recovery latency.
Programs may communicate regarding power state by using information indicating power state information. For example, there may be a variable, a message parameter, and/or the like that comprises information that indicates a power state. In addition, there may be a variable, a message parameter, and/or the like, that comprises information indicating a power state limitation. A power state limitation may be a limitation that restricts a power state that the processor is allowed to enter. For example, a power state limitation may be a limitation that the power state should be no greater than C2, thus precluding power state C3. In at least one example embodiment, the power state limitation may apply to the ACPI standard. In such an embodiment, the power state limitation may constrain C-level settings.
Even though sleep power states described herein relate to the Advanced Control and Power Interface specification (ACPI), it should be understood that the ACPI is merely an example of a power management scheme that may be utilized to manage power in a processor or a system. Therefore, direct references to specific elements of the ACPI do not limit the claims, unless such specific elements are expressly incorporated into the claims.
System power may be managed by placing the system, and/or one or more parts of the system, into power states that influence the operation of the system such that the power consumption of the system differs across different power states. There may be a tradeoff associated with each power state between performance and power savings. For example, higher power saving power states may be associated with a longer delay in placing the system into a state that allows for execution of instructions. A power state is a concept used to identify a behavioral profile of a component or system. A sleep power state is a concept used to identify a behavioral profile of a system.
The table of
It should be understood that power states may be further divided into sub-states as desired. For example, power state C0 may have sub-states that vary in power savings and recovery latency.
Programs may communicate regarding system power state by using information indicating power state information. For example, there may be a variable, a message parameter, and/or the like that comprises information that indicates a power state. In addition, there may be a variable, a message parameter, and/or the like, that comprises information indicating a power state limitation. A power state limitation may be a limitation that restricts a power state that the system is allowed to enter. For example, a power state limitation may be a limitation that the power state should be no greater than S2, thus precluding power states S3, S4, and S5. In at least one example embodiment, the power state limitation may apply to the ACPI standard. In such an embodiment, the power state limitation may constrain S-level settings.
In at least one example embodiment, the apparatus comprises storage policy 202. Storage policy 202 may be referred to as Dynamic Storage Acceleration Technology. Storage policy 202 may evaluate one or more factors to influence one or more power saving and/or performance determinations.
Storage policy 202 may be in communication with storage driver 204. Storage driver 204 may be a Rapid Storage Technology driver. In at least one example embodiment, storage driver 204 controls operation of one or more storage device, such as a hard drive. A hard drive may comprise one or more hard disk drive, solid state drive, optical disk drive, etc. Operations controlled by storage driver 204 may be referred to as storage drive operations. A storage drive operation may relate to reading information to a storage device and/or writing information to a storage device. Such reading and or writing operations may be referred to as an IO operation. Storage driver 204 may control the storage device by tracking pending storage drive operations. For example, there may be more than one storage drive operation to be performed and/or completed by way of storage driver 204. In such an example, storage driver 204 may track the storage drive operations as pending storage drive operations. Storage driver 204 may use a queue to track storage drive operations such that the queue comprises information indicating at least one pending storage drive operation. Storage driver 204 may provide power management control for the storage device. For example, storage driver 204 may set voltage regulation, power up, and/or latency tolerance for the storage device. For example, if a pending storage operation does not require media access, the storage device may be powered up in standby mode, but if the pending storage operation does require media access, the storage device may be powered up in active mode. Storage driver 204 may control latency tolerance of the storage device by increasing latency tolerance as time elapses without any pending storage operation. For example, if a first time threshold expires without an intervening storage operation, latency tolerance of the storage device may be increased. In such an example, if a greater, second time threshold expires without an intervening storage operation, latency tolerance of the storage device may be further increased. Storage driver 204 may control voltage regulation of the storage device by increasing latency tolerance as time elapses without any pending storage operation. For example, if a first time threshold expires without an intervening storage operation, light load signaling of the storage device may be initiated. In such an example, if a greater, second time threshold expires without an intervening storage operation, the storage device voltage regulators may be powered off.
In at least one example embodiment, storage policy 202 may control the power management of storage driver 204. For example, storage policy 202 may determine the first and second threshold discussed above in relation to pending storage operations. Storage policy 202 may influence power management of storage driver 204 by providing performance profile information to storage driver 204. The performance profile information comprises information representing at least one aspect of a performance profile. A performance profile is one or more regulation regarding power savings and/or latency. The performance profile comprises information that relates to a balance between storage drive operation latency and power consumption. The performance profile may comprise storage drive power regulation information, such as storage drive voltage regulation, a latency directive, and/or the like. A latency directive can include any information communicating regulation of latency. For example, a latency directive may be information indicating low latency.
In some circumstances, it may be desirable for storage policy 202 to influence power management regarding components beyond the storage device. For example, if there is a pending storage operation, it may be undesirable for the processor and/or the system to enter a power saving mode associated with a recovery latency that may cause the completion of the storage operation to be delayed by recovery from the power saving mode. In such an example, the processor may be unable to execute instructions resulting from completion of a storage operation until completion of power saving recovery. Therefore, it may be desirable that the performance profile comprise information regulating power state. In at least one example embodiment, the performance profile comprises information indicating a power state limitation. The power state limitation may relate to a processor power state. For example, the power state limitation may constrain a processor power state. The power state limitation may constrain the processor power state by comprising information indicating a threshold processor power state that should not be exceeded. For example, the power state limitation may constrain a C-level setting such that the power state limitation indicates a threshold C-level power state which should not be surpassed. This threshold processor power state limitation may indicate a maximum processor power state limitation. The power state limitation may constrain the sleep power state by comprising information indicating a threshold sleep power state that should not be exceeded. For example, the sleep state limitation may constrain an S-level setting such that the power state limitation indicates a threshold S-level power state which should not be surpassed. This threshold sleep power state limitation may indicate a maximum sleep power state limitation. In an example embodiment, the performance profile may comprise information corresponding to preclusion of a power saving feature. For example, the performance profile may comprise a directive to preclude a power saving feature. In another example, the performance profile may comprise information setting a power state threshold that precludes invocation of a power saving power state. In such an example, the performance profile may comprise information indicating a processor power state threshold of C0, a sleep power state of S0, and/or the like.
In at least one example embodiment, storage policy 202 receives storage operation information from storage driver 204. The storage operation information may indicate one or more pending storage drive operations. For example, the storage operation information may indicate a quantity of pending storage operations. The storage operation information may relate to allowable latency for a pending storage operation. For example, a storage operation associated with media access may have a low allowable latency. In another example, a storage operation associated with non-media access may have a high allowable latency in comparison to the media access storage operation. The storage operation information may indicate a latency tolerance for pending storage drive operations. For example, a storage operation associated with media access may have a low latency tolerance. In such an example, the storage operation information may indicate that increased storage operations latency is unfavorable. In another example, a storage operation associated with non-media access may have a high latency tolerance in comparison to the media access storage operation. In such an example, the storage operation information may indicate that increased storage operation latency is acceptable. In at least one embodiment, storage driver 204 may track elapsed time associated with a storage operation, similar as described regarding storage policy 202. Under such circumstances, the storage operation information may comprise information indicating an elapsed time associated with a storage drive operation, such as an elapsed time relating to a duration after performance of a storage drive operation. In an example embodiment, receiving the storage operation information comprises receiving an indication that a timer event has occurred.
Storage policy 202 may receive storage independent power information. The storage independent power information may be received from operating system 206, from a user interface, and/or the like. Storage independent power information comprises information indicating one or more factors that may be pertinent to storage policy power management, but are not directly related to storage. For example, the storage independent power information may comprise a user directive indicator. The user directive indicator may indicate a directive that is modifiable by a user. The directive may be modified by a user by the user selecting an interface item associated, directly or indirectly, with the directive. For example, the user directive may comprise a power scheme indicator. The power scheme indicator relates to a power scheme of an operating system, such as Windows, Linux, etc. For example, the power scheme indicator may indicate a high performance mode, a balanced mode, a power saver mode, and/or the like.
The storage independent power information may comprise any suitable information regarding a power source. The power source relates to the supply of power that the apparatus comprising storage policy 202 is utilizing. For example, information regarding a power source may indicate an internal power source, an external power source, a battery power source, a power source connected to a power plug, a direct current power source, an alternating current power source, and/or the like.
Storage policy 202 may cause setting of at least one power management directive that corresponds with the performance profile. The power management directive may comprise information that communicates to a software component outside of storage policy 202, at least a part of the performance profile information. For example the power management directive may indicate preclusion of a power state, such as sleep power state. In an example embodiment, causing a setting of the power management directive may comprise communicating the power management directive to operating system 206, to storage driver 204, to bios 208, and/or the like. Causing a setting of the power management directive may comprise remapping at least one power state to an alternative power state. For example, remapping may be performed so that a determination to enter one power state results in entry of a different power state. In such an example, if the power management directive relates to limiting processor power state to C1, processor power states C2 and C3 may be remapped such that when processor power states C2 or C3 are invoked, the resulting processor power state is C1. This remapping may correspond to updating an ACPI table. In at least one example embodiment, operating system 206 may send power management information to the processor. Such power management information may comprise information enabling or disabling a processor power state, such as a C-state.
An apparatus may determine a performance profile based at least in part on the storage operation information and the storage independent power information. The determination may comprise determining a balance between storage drive operation latency and power consumption.
In the example of
In the example of
In the example of
When there is a change in at least one of the storage operation information or the storage independent power information, the apparatus may determine to change the performance profile. For example, the apparatus may change from utilization of first performance profile 302 to utilization of second performance profile 304.
There may be some storage independent power information that corresponds to a selection by a user. For example, an option selected by a user from the example interface of the example of
In the example of
Selection of the automatic option may result in a user directive indicator indicating an automation directive that indicates that automatic determination of performance profile should be performed. The options provided to the user for power saver gear, balanced gear, or high performance gear, may be referred to as predetermined performance profiles. If the user selects one of the options associated with a predetermined performance profile, the automation directive may specify the predetermined performance profile to be used. For example, if the automation directive specifies “Gear2”, the Gear 2 performance profile may be determined absent other considerations. Therefore, an automation directive specifying a predetermined performance profile may result in the user manually selecting the performance profile to be determined by storage policy 202.
At block 502, storage operation information is received. The storage operation information and the receiving of the storage operation information may be similar as described regarding
At block 602 storage latency tolerance information is received. The storage latency tolerance information may be similar as described regarding
At block 602, the apparatus determines if increased storage operation latency is acceptable. This determination may be similar as described regarding
In this example of
ARM ecosystem SOC 1000 may also include a subscriber identity module (SIM) I/F 1030, a boot read-only memory (ROM) 1035, a synchronous dynamic random access memory (SDRAM) controller 1040, a flash controller 1045, a serial peripheral interface (SPI) master 1050, a suitable power control 1055, a dynamic RAM (DRAM) 1060, and flash 1065. In addition, one or more example embodiment include one or more communication capabilities, interfaces, and features such as instances of Bluetooth 1070, a 3G modem 1075, a global positioning system (GPS) 1080, and an 802.11 WiFi 1085.
In operation, the example of
System control logic 1106, in at least one embodiment, includes any suitable interface controllers to provide for any suitable interface to at least one processor 1104 and/or to any suitable device or component in communication with system control logic 1106. System control logic 1106, in at least one example embodiment, includes one or more memory controllers to provide an interface to system memory 1108. System memory 1108 may be used to load and store data and/or instructions, for example, for system 1100. System memory 1108, in at least one example embodiment, includes any suitable volatile memory, such as suitable dynamic random access memory (DRAM) for example. System control logic 1106, in at least one example embodiment, includes one or more input/output (I/O) controllers to provide an interface to a display device, touch controller 1102, and non-volatile memory and/or storage device(s) 1110.
Non-volatile memory and/or storage device(s) 1110 may be used to store data and/or instructions, for example within software 1128. Non-volatile memory and/or storage device(s) 1110 may include any suitable non-volatile memory, such as flash memory for example, and/or may include any suitable non-volatile storage device(s), such as one or more hard disc drives (HDDs), one or more compact disc (CD) drives, and/or one or more digital versatile disc (DVD) drives for example.
Power management controller 1118 may include power management logic 1130 configured to control various power management and/or power saving functions disclosed herein or any part thereof. In at least one example embodiment, power management controller 1118 is configured to reduce the power consumption of components or devices of system 1100 that may either be operated at reduced power or turned off when the electronic device is in the closed configuration. For example, in at least one example embodiment, when the electronic device is in a closed configuration, power management controller 1118 performs one or more of the following: power down the unused portion of the display and/or any backlight associated therewith; allow one or more of processor(s) 1104 to go to a lower power state if less computing power is required in the closed configuration; and shutdown any devices and/or components, such as keyboard 108, that are unused when an electronic device is in the closed configuration.
Communications interface(s) 1120 may provide an interface for system 1100 to communicate over one or more networks and/or with any other suitable device. Communications interface(s) 1120 may include any suitable hardware and/or firmware. Communications interface(s) 1120, in at least one example embodiment, may include, for example, a network adapter, a wireless network adapter, a telephone modem, and/or a wireless modem.
System control logic 1106, in at least one example embodiment, includes one or more input/output (I/O) controllers to provide an interface to any suitable input/output device(s) such as, for example, an audio device to help convert sound into corresponding digital signals and/or to help convert digital signals into corresponding sound, a camera, a camcorder, a printer, and/or a scanner.
For at least one example embodiment, at least one processor 1104 may be packaged together with logic for one or more controllers of system control logic 1106. In at least one example embodiment, at least one processor 1104 may be packaged together with logic for one or more controllers of system control logic 1106 to form a System in Package (SiP). In at least one example embodiment, at least one processor 1104 may be integrated on the same die with logic for one or more controllers of system control logic 1106. For at least one example embodiment, at least one processor 1104 may be integrated on the same die with logic for one or more controllers of system control logic 1106 to form a System on Chip (SoC).
For touch control, touch controller 1102 may include touch sensor interface circuitry 1122 and touch control logic 1124. Touch sensor interface circuitry 1122 may be coupled to detect touch input over a first touch surface layer and a second touch surface layer of display 11 (i.e., display device 1110). Touch sensor interface circuitry 1122 may include any suitable circuitry that may depend, for example, at least in part on the touch-sensitive technology used for a touch input device. Touch sensor interface circuitry 1122, in one embodiment, may support any suitable multi-touch technology. Touch sensor interface circuitry 1122, in at least one embodiment, includes any suitable circuitry to convert analog signals corresponding to a first touch surface layer and a second surface layer into any suitable digital touch input data. Suitable digital touch input data for one embodiment may include, for example, touch location or coordinate data.
Touch control logic 1124 may be coupled to help control touch sensor interface circuitry 1122 in any suitable manner to detect touch input over a first touch surface layer and a second touch surface layer. Touch control logic 1124 for at least one example embodiment may also be coupled to output in any suitable manner digital touch input data corresponding to touch input detected by touch sensor interface circuitry 1122. Touch control logic 1124 may be implemented using any suitable logic, including any suitable hardware, firmware, and/or software logic (e.g., non-transitory tangible media), that may depend, for example, at least in part on the circuitry used for touch sensor interface circuitry 1122. Touch control logic 1124 for one embodiment may support any suitable multi-touch technology.
Touch control logic 1124 may be coupled to output digital touch input data to system control logic 1106 and/or at least one processor 1104 for processing. At least one processor 1104 for one embodiment may execute any suitable software to process digital touch input data output from touch control logic 1124. Suitable software may include, for example, any suitable driver software and/or any suitable application software. As illustrated in
Note that in some example implementations, the functions outlined herein may be implemented in conjunction with logic that is encoded in one or more tangible, non-transitory media (e.g., embedded logic provided in an application-specific integrated circuit (ASIC), in digital signal processor (DSP) instructions, software [potentially inclusive of object code and source code] to be executed by a processor, or other similar machine, etc.). In some of these instances, memory elements can store data used for the operations described herein. This includes the memory elements being able to store software, logic, code, or processor instructions that are executed to carry out the activities described herein. A processor can execute any type of instructions associated with the data to achieve the operations detailed herein. In one example, the processors could transform an element or an article (e.g., data) from one state or thing to another state or thing. In another example, the activities outlined herein may be implemented with fixed logic or programmable logic (e.g., software/computer instructions executed by a processor) and the elements identified herein could be some type of a programmable processor, programmable digital logic (e.g., a field programmable gate array (FPGA), a DSP, an erasable programmable read only memory (EPROM), electrically erasable programmable read-only memory (EEPROM)) or an ASIC that includes digital logic, software, code, electronic instructions, or any suitable combination thereof.
Note that with the examples provided above, as well as numerous other examples provided herein, interaction may be described in terms of layers, protocols, interfaces, spaces, and environments more generally. However, this has been done for purposes of clarity and example only. In certain cases, it may be easier to describe one or more of the functionalities of a given set of flows by only referencing a limited number of components. It should be appreciated that the architectures discussed herein (and its teachings) are readily scalable and can accommodate a large number of components, as well as more complicated/sophisticated arrangements and configurations. Accordingly, the examples provided should not limit the scope or inhibit the broad teachings of the present disclosure, as potentially applied to a myriad of other architectures.
It is also important to note that the blocks in the flow diagrams illustrate only some of the possible signaling scenarios and patterns that may be executed by, or within, the circuits discussed herein. Some of these blocks may be deleted or removed where appropriate, or these steps may be modified or changed considerably without departing from the scope of teachings provided herein. In addition, a number of these operations have been described as being executed concurrently with, or in parallel to, one or more additional operations. However, the timing of these operations may be altered considerably. The preceding operational flows have been offered for purposes of example and discussion. Substantial flexibility is provided by the present disclosure in that any suitable arrangements, chronologies, configurations, and timing mechanisms may be provided without departing from the teachings provided herein.
It is also imperative to note that all of the Specifications, protocols, and relationships outlined herein (e.g., specific commands, timing intervals, supporting ancillary components, etc.) have only been offered for purposes of example and teaching only. Each of these data may be varied considerably without departing from the spirit of the present disclosure, or the scope of the appended claims. The specifications apply to many varying and non-limiting examples and, accordingly, they should be construed as such. In the foregoing description, example embodiments have been described. Various modifications and changes may be made to such embodiments without departing from the scope of the appended claims. The description and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.
Numerous other changes, substitutions, variations, alterations, and modifications may be ascertained to one skilled in the art and it is intended that the present disclosure encompass all such changes, substitutions, variations, alterations, and modifications as falling within the scope of the appended claims. In order to assist the United States Patent and Trademark Office (USPTO) and, additionally, any readers of any patent issued on this application in interpreting the claims appended hereto, Applicant wishes to note that the Applicant: (a) does not intend any of the appended claims to invoke paragraph six (6) of 35 U.S.C. section 112 as it exists on the date of the filing hereof unless the words “means for” or “step for” are specifically used in the particular claims; and (b) does not intend, by any statement in the Specification, to limit this disclosure in any way that is not otherwise reflected in the appended claims.
One particular example implementation may include an apparatus that includes a means for receiving storage operation information indicating one or more storage drive operations; means for receiving storage independent power information; means for determining, by a processor, a performance profile based at least in part on the storage operation information and the storage independent power information; and means for causing a setting of at least one power management directive that corresponds with the performance profile.