Embodiments described herein generally relate to determining a latency tolerance in a processor environment.
As electronic apparatuses become more complex and ubiquitous in the everyday lives of users, more and more diverse requirements are placed upon them. For example, many electronic apparatuses can operate on battery power, thus allowing users to operate these devices in many different circumstances. In addition, as capabilities of electronic apparatuses become more extensive, many users have become reliant on the enhanced performance such capabilities provide. As these aspects of electronic apparatuses have evolved, there has become an increasing need for reducing power consumption. However, under many circumstances, reducing power consumption 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 optimizing power performance during circumstances where performance may be less important to them. One possible area that may be advantageous for such improvements may pertain to the communication of latency concerns regarding devices of an electronic apparatus.
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. It should be understood that terms such as “first”, “second”, etc. are merely used for differentiation purposes, and do not denote any sequential relationship, chronological relationship, and/or the like.
In electronic devices, there is often a tradeoff between power saving and performance. For example, lesser power saving states may have longer associated latency times than higher power saving states. In some circumstances, it may be desirable to avoid performance degradation associated with power saving. For example, if a device performs an operation that would benefit from the use of another device within a certain period of time, it may be desirable to influence power saving measures such that the power saving still allows the device to use the other device without undue delay. For example, a hard drive may benefit from avoiding circumstances where a processor is unable to receive information associated with a read operation due to a power saving recovery. The amount of time in which a power saving feature should avoid interference with a device may be referred to as a latency tolerance. For example, if a device benefits from avoiding unavailability of another device after a specified period of time, the latency tolerance for the device may indicate a value of the specified period of time. Under some circumstances, devices may communicate their latency tolerances, but in other circumstances, devices may be unable to communicate their latency tolerances in a timely manner. In still other circumstances, devices may be unable to communicate their latency tolerances altogether.
The example of
In at least one example embodiment, a device, such as device 121, sends information indicating a latency tolerance to a controller, such as PCIe controller 111. In such embodiments, a controller, such as PCIe controller 111, may receive information indicating the latency tolerance. In at least one embodiment, a controller, such as USB controller 113, sends information indicating a latency tolerance to power management unit 104. In such embodiments, power management unit 104 may receive information indicating the latency tolerance.
Latency tolerance information received from another component may be referred to as a reported latency tolerance. A reported latency tolerance may be received from a component so that a device, a set of devices, a controller, a set of controllers, a platform, a set of platforms, and/or the like, may inform another component of latency tolerance associated with other components with which the component communicates. In the example of
In at least one example embodiment, a controller, such as LPC controller 116, is in communication with one or more devices, such as device 126. In such an embodiment, the controller may receive reported latency tolerance from each device with which the controller is in communication. In other words, the reported latency tolerance may represent at least one device. The controller may determine a latency tolerance based on the reported latency tolerance of the devices with which the controller is connected. For example, the controller may determine the latency tolerance to be the lowest value indicated by the reported latency tolerances. The controller may perform determination of the latency tolerance in response to receiving the reported latency tolerance. In other words, the device may cause the controller to determine the latency tolerance associated with the one or more devices by sending the latency tolerance to the controller. For example, if LAN controller 115 is in communication with device 125 and other devices, device 125 may cause LAN controller 115 to determine latency tolerance for device 125 and the other devices by sending a latency tolerance to LAN controller 115.
In at least one example embodiment, power management unit 104 receives reported latency tolerance from each controller with which the controller, such as USB controller 114, is in communication. For at least the reason that each controller may be in communication with one or more devices, the reported latency tolerance from a controller may represent one or more devices. Power management unit 104 may determine a latency tolerance based on the reported latency tolerance of the controllers with which power management unit 104 is in communication. The latency tolerance determined by power management unit 104 may be referred to as the platform latency tolerance. The platform latency tolerance represents a latency tolerance associated with the collection of devices in communication with the controllers with which power management unit 104 is in communication. For example, power management unit 104 may determine the platform latency tolerance to be the lowest value indicated by the reported latency tolerances of the controllers. Power management unit 104 may perform determination of the platform latency tolerance in response to receiving the reported latency tolerance. In other words, a controller, such as SATA/AHCI controller 112, may cause power management unit 104 to determine the platform latency tolerance associated with the one or more devices by sending the latency tolerance to power management unit 104. For example, USB controller 113 may cause power management unit 104 to determine the platform latency tolerance by sending a latency tolerance to power management unit 104.
A device in communication with a controller may be referred to as being attached to the controller. For example, in
There may be circumstances where at least one device does not send a latency tolerance to a controller. For example, the device may not support communication of a latency tolerance, a protocol used for communication between the device and the controller may not support communication of latency tolerance, the controller may not support communication of latency tolerance, and/or the like. In another example, even though the device may be capable of sending a latency tolerance, the sending may be delayed. Therefore, in such circumstances, there may be no reported latency tolerance associated with a device, at the controller and/or at the power management unit 104. It may be desirable to associate a latency tolerance with such a device in the absence of a reported latency tolerance.
Under such circumstances, a predefined latency tolerance may be used. The predefined latency tolerance may indicate a value that may serve as a substitute for a reported latency tolerance. The predefined latency tolerance may be a value associated with one or more devices for which no reported latency tolerance was received. There may be one or more predefined latency tolerances. The value of a predefined latency tolerance may be static or dynamic. For example, a predefined latency tolerance may be set prior to operation of a platform chipset, for example platform chipset 202 (of
Without limiting the scope of the claims in any way, at least one technical advantage to providing a predetermined latency tolerance may be allowing the power management unit to consider latency tolerance implications associated with devices that do not provide a latency tolerance, and/or allowing the power management unit to determine platform latency tolerance without waiting for a reported latency tolerance from each controller, or for each device.
The example of
In the example of
In the example of
In the example of
In at least one example embodiment, power management unit 204 may receive a directive to change the value indicated by predefined latency tolerance to a different value. The directive may be a message, an indicator, a signal, and/or the like. For example, a device driver may send the directive. In response to receiving the directive, power management unit 204 may determine the platform latency tolerance based, at least in part, on the predetermined latency tolerance indicating the different value. In at least one example embodiment, power management unit 204 may change the value stored in association with predefined latency tolerance 251 in response to receiving the directive.
The example of
In the example of
In the example of
In the example of
In circumstances where a controller, such as USB controller 313, has not received a reported latency tolerance associated with an attached device, the controller may determine a latency tolerance based, at least in part, on a predefined latency tolerance, such as predefined latency tolerance 353. The determination may be based, at least in part, on the predefined latency tolerance serving as a substitute for a reported latency tolerance associated with an attached device. For example, when determining the latency tolerance, the controller may evaluate a predefined latency tolerance as if the controller had received a reported latency tolerance associated with the device for which no reported latency tolerance was received. For example, the controller may determine a latency tolerance based, at least in part, on a reported latency tolerance from a first device, a reported latency tolerance from a second device, and a predefined latency tolerance. The controller may substitute a predefined latency tolerance for the reported latency tolerances that were not received from one or more devices. Upon determining the latency tolerance, the controller may send the determined latency tolerance to power management unit 304. In at least one example embodiment, a controller may cause determination of a platform latency tolerance based on its predefined latency tolerance by sending its determined latency tolerance to power management unit 304. The sending, by the controller, of the latency tolerance that was based, at least in part, on the predetermined latency tolerance causes determination of the platform latency tolerance to also be based, at least in part on the predefined latency tolerance. In at least one example embodiment, the controller sends the predefined latency tolerance in place of a reported latency tolerance that was not received.
In at least one example embodiment, a controller, such as SATA/AHCI controller 312, may receive a directive to change the value indicated by a predefined latency tolerance, such as predefined latency tolerance 352, to a different value. The directive may be a message, an indicator, a signal, and/or the like. For example, a device driver may send the directive. In response to receiving the directive, a controller may determine a latency tolerance based, at least in part, on the predetermined latency tolerance indicating the different value. In at least one example embodiment, a controller may change the value stored in association with its predefined latency tolerance in response to receiving the directive.
At block 402, the apparatus determines that a reported latency tolerance has not been received. This determination may comprise determining that a device is attached and that no reported latency associated with the attached device has been received. Determination that the reported latency tolerance has not been received may comprise determining that there has been no reported latency tolerance after a device was attached. In at least one example embodiment, determination that a reported latency tolerance has not been received may occur when a device is attached, upon elapse of a predetermined amount of time after a device attaches, and or the like. In at least one example embodiment, determining that a reported latency tolerance was not received may comprise determining that a controller did not send the reported latency tolerance, similar as described regarding
At block 404, the apparatus causes determination of a platform latency tolerance based on a predefined latency tolerance. The platform latency tolerance and predefined latency tolerance may be similar as described regarding
At block 502, the apparatus determines that a reported latency tolerance has not been received form a controller. The determination that the reported latency tolerance has not been received form a controller may be similar as described regarding block 402 of
At block 552, the apparatus determines that a first reported latency tolerance has not been received from a first controller. The determination that the first reported latency tolerance has not been received from the first controller may be similar as described regarding block 502 of
At block 602, the apparatus determines that a reported latency tolerance has not been received from a device. The determination that the reported latency tolerance has not been received from the device may be similar as described regarding block 402 of
At block 702, the apparatus determines that a reported latency tolerance has not been received, similar as described regarding block 402 of
At block 802, the apparatus determines that a reported latency tolerance has not been received, similar as described regarding block 402 of
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 dosed 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 dosed 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. In addition, one or more blocks of one flow diagram may be combined with one or more blocks of another diagram.
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 means for determining that a first reported latency tolerance, the first reported latency tolerance representing at least one first device, has not been receive, and means for causing determination of a platform latency tolerance based, at least in part, on a first predefined latency tolerance, the predefined latency tolerance that serves as a substitute for the first reported latency tolerance