In processor-based platforms, lower platform power and maximized battery life are desirable features. Low hardware power states and memory self refresh modes, among others, may be used to reduce power consumption and increase battery life. It is desirable on power managed platforms to move as much of the hardware into low power states as possible, when feasible, and to increase memory self refresh time in order to minimize total platform power.
Some platforms may include components or functionality based on specialized hardware, often termed hardware acceleration. An example is a video decode data flow, which may pass data through multiple stages such as for example, a decoding stage, an image enhancement stage, and a composition stage as is known in the art. Several approaches can be used in order to lower the power consumption. One approach is to run a multi-stage hardware acceleration process such as a video decoder by pipeline processing through the stages so that all the stages are run in parallel, and then are shut down or idled until the next frame is scheduled to be processed. This approach may be based on an assumption that a parallelized pipeline leaves the platform most of the time in an idle mode, which enables a low power state for the various components.
In some embodiments, the processor based platform 100 may include specialized hardware units, also termed accelerators, for specific types of computation. For example, a video processing function may be provided as shown in
Although the embodiments described herein are described in terms of a specific video processing application for concreteness, in other embodiments other types of hardware units or accelerators may be provided for different functional needs. For one instance, a specialized hardware unit may be used to perform surround sound decoding for a high-resolution, surround-sound processing computing platform such as one that may be used to mix, master or produce multi-channel digital audio content, or alternatively process a surround sound digital source for reproduction. In other embodiments, specialized hardware units may be used to generate three-dimensional graphics such as for gaming or scientific visualization applications. Many other embodiments using specialized hardware to perform processing in the context of a processor based platform are known in the art.
It should be re-emphasized that the numerical values of the bandwidths shown are only exemplary and should not be construed as limiting. As indicated previously, different sets of units may be present in different embodiments of video processing platforms; and of course, completely different units may be used in platforms that are functionally related to other types of processing such as digital audio processing; 3-D animation, and many others as is known.
In general, multiple hardware units such as shown in
Turning first to
Alternatively, as in
When software such as video decoding software in this embodiment operates hardware units on a platform such as the platform of
A simple comparison of the time consumed by the platform in a sequential combination of stages with the time consumed by the platform in a parallel combination of stages executing on the units of the platform of an embodiment as in
This kind of analysis, however, is complicated by the fact that pipelined stages of a process such as that depicted in
In order to minimize platform power individual components may be considered which can be put into low power state. These components, in our example, include the specialized hardware units (such as DECODE, COMP, IE, the memory controller of the platform, various buses), of the platform, and memory, among others as is known. It should be noted that leaving a unit active consumes power even if the unit is not performing any useful work. For example, combinational logic consumes power due to leakage unless power is turned off and memory consumes power as long as there are open pages even if there are no read or write transactions.
It should be noted that for simplicity the display refresh traffic going through the memory controller and the memory is omitted in the following analysis as well as the CPU's main cores compute and bandwidth requirements (e.g. stream preprocessing and audio processing). The display refresh traffic and the main CPU cores do not substantially change the tradeoffs shown below.
In
On the right of the figure the actual duty cycle per unit is depicted as a bar graph for the embodiment. At 430, it may be seen that in the power aware combination, the memory duty cycle per unit is 32%; and in the parallel combination, it is 28%. Similarly, the duty cycles per unit are depicted at 440, 450, and 460 for the LLC, GT, and DECODE and IE in combination.
As shown in
In the example shown, in the power aware combination 420, the composition engine (COMP) along with portions of a processor used by COMP can be turned off for 85% of the time, while in the parallel or pipelined composition they can be turned off only 72% of the time. As may be seen from the figure at 420, the CODEC and IE hardware work longer (together) but they may consume a smaller amount of power (because IE if, for example, it is a low gate-count hardware accelerator). The memory moves to a lower power or self refresh mode when all units are off. When computing the power of the different units it turns out that the power aware manner shown in the bottom of
In the above description and figures, the exemplary embodiment is that of a video processing system with specific hardware units for accelerated processing. In the power aware composition described with reference to
In general, the processing of
Table 1 depicts detailed processing corresponding to the flowchart in
Pdecode*10%+Pcomp*7%+Pie*17%+Pddr*32%+Pddr_SelfRefresh*68%.
This equation lists the average power of the various units, neglecting their power while turned off (except PDDR_SelfRefresh, the memory low power state, which is usually too high to be neglected). In order to make computation more accurate, the leakage power can be added, multiplied by the actual duty cycle (the maximum between the compute and total memory bandwidth.
Based on the above power computation, which uses constants for the average power for the various units, the software may determine which way is likely to be the most power efficient way to run.
It should be noted that the computation is an example only, and can be refined to include frequency of operation, memory traffic mix, core utilization and other factors. Furthermore, the method can be applied statically (pre-determined power aware pipeline) or dynamically.
In the preceding description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the described embodiments, however, one skilled in the art will appreciate that many other embodiments may be practiced without these specific details.
Some portions of the detailed description above are presented in terms of algorithms and symbolic representations of operations on data bits within a processor-based system. These algorithmic descriptions and representations are the means used by those skilled in the art to most effectively convey the substance of their work to others in the art. The operations are those requiring physical manipulations of physical quantities. These quantities may take the form of electrical, magnetic, optical or other physical signals capable of being stored, transferred, combined, compared, and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.
It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the description, terms such as “executing” or “processing” or “computing” or “computing” or “determining” or the like, may refer to the action and processes of a processor-based system, or similar electronic computing device, that manipulates and transforms data represented as physical quantities within the processor-based system's storage into other data similarly represented or other such information storage, transmission or display devices.
In the description of the embodiments, reference may be made to accompanying drawings. In the drawings, like numerals describe substantially similar components throughout the several views. Other embodiments may be utilized and structural, logical, and electrical changes may be made. Moreover, it is to be understood that the various embodiments, although different, are not necessarily mutually exclusive. For example, a particular feature, structure, or characteristic described in one embodiment may be included within other embodiments.
Further, a design of an embodiment that is implemented in a processor may go through various stages, from creation to simulation to fabrication. Data representing a design may represent the design in a number of manners. First, as is useful in simulations, the hardware may be represented using a hardware description language or another functional description language. Additionally, a circuit level model with logic and/or transistor gates may be produced at some stages of the design process. Furthermore, most designs, at some stage, reach a level of data representing the physical placement of various devices in the hardware model. In the case where conventional semiconductor fabrication techniques are used, data representing a hardware model may be the data specifying the presence or absence of various features on different mask layers for masks used to produce the integrated circuit. In any representation of the design, the data may be stored in any form of a machine-readable medium. An optical or electrical wave modulated or otherwise generated to transmit such information, a memory, or a magnetic or optical storage such as a disc may be the machine readable medium. Any of these mediums may “carry” or “indicate” the design or software information. When an electrical carrier wave indicating or carrying the code or design is transmitted, to the extent that copying, buffering, or re-transmission of the electrical signal is performed, a new copy is made. Thus, a communication provider or a network provider may make copies of an article (a carrier wave) that constitute or represent an embodiment.
Embodiments may be provided as a program product that may include a machine-readable medium having stored thereon data which when accessed by a machine may cause the machine to perform a process according to the claimed subject matter. The machine-readable medium may include, but is not limited to, floppy diskettes, optical disks, DVD-ROM disks, DVD-RAM disks, DVD-RW disks, DVD+RW disks, CD-R disks, CD-RW disks, CD-ROM disks, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, magnet or optical cards, flash memory, or other type of media/machine-readable medium suitable for storing electronic instructions. Moreover, embodiments may also be downloaded as a program product, wherein the program may be transferred from a remote data source to a requesting device by way of data signals embodied in a carrier wave or other propagation medium via a communication link (e.g., a modem or network connection).
Many of the methods are described in their most basic form but steps can be added to or deleted from any of the methods and information can be added or subtracted from any of the described messages without departing from the basic scope of the claimed subject matter. It will be apparent to those skilled in the art that many further modifications and adaptations can be made. The particular embodiments are not provided to limit the claimed subject matter but to illustrate it. The scope of the claimed subject matter is not to be determined by the specific examples provided above but only by the claims below.
Number | Name | Date | Kind |
---|---|---|---|
5931942 | Sugimoto | Aug 1999 | A |
6457131 | Kuemerle | Sep 2002 | B2 |
6976178 | Kissell | Dec 2005 | B1 |
20070204318 | Ganesh et al. | Aug 2007 | A1 |
Number | Date | Country |
---|---|---|
2004127139 | Apr 2004 | JP |
Number | Date | Country | |
---|---|---|---|
20080148076 A1 | Jun 2008 | US |