The present invention pertains to the field of computer systems. More particularly, this invention pertains to the field of power management of devices within computer systems.
In many semiconductor devices such as embedded processors, systems-on-a-chip (SOC), or other computer systems or consumer electronic devices, on-chip busses are becoming faster and wider with many associated register queues and related logic in attached unit interfaces. Split transaction capabilities on these busses have added significant depth to these queues. This is leading to a situation where on-chip busses and their associated interfaces will become a significant portion of overall system power, particularly in SOC designs.
In prior systems, power management may include simply reducing clock frequency for portions of the system (e.g., host processor), stopping clocks to unused logic units, or reducing clock frequency for the entire system, including busses. Another technique that is used is to throttle the clock off and on rather than slowing the clock down. These prior systems do not provide throttling of shared system resources such as backbone busses based on bandwidth demands and do not provide adjustments to arbitration configuration to provide sustained and stable bandwidth allocations despite aggregate bandwidth reductions.
The invention will be understood more fully from the detailed description given below and from the accompanying drawings of embodiments of the invention which, however, should not be taken to limit the invention to the specific embodiments described, but are for explanation and understanding only.
In general, one embodiment of the invention involves throttling a bus frequency based upon bandwidth requirements of active units coupled to a variable speed bus. As units coupled to the bus are stopped, bandwidth requirements are lowered and the bus frequency is reduced in response to the lowered bandwidth requirements in order to reduce power consumption. Further, an arbiter selects an appropriate arbitration configuration based on which units are active and which are stopped. The arbitration configuration is adjusted to ensure that the bandwidth requirements of the active units are sustained despite reduced clock frequency.
The embodiments described herein discuss power management of shared resources such as busses by modulating bus frequency and adjusting arbiter configuration depending on current shared resource utilization. A wide range of techniques may be used to power manage the individual units or devices coupled to the bus.
For this example embodiment, the host processor 110 may require 700 MB/s bandwidth when active. The graphics processor 120 may require 300 MB/s of bandwidth when active. The peripheral device controller 130 may require 100 MB/s of bandwidth when active. The video processor may require 900 MB/s of bandwidth when active. The variable speed bus 155 may be a 64 bit wide bus having a top frequency of 250 MHz, yielding a maximum of 2 GB/s of available bandwidth. If all of the units 110, 120, 130, and 140 are active, the arbiter selects a configuration A which allocates 7 of 20 arbitration slots to the host processor 110, 3 of 20 arbitration slots to the graphics processor 120, 1 of 20 arbitration slots to the peripheral device controller 130, and 9 of 20 arbitration slots to the video processor 140.
For the current example, if the host processor 110 and graphics processor 120 are not used or are in a very low use state, such as when performing continuous video playback (watching a movie) using the peripheral controller 130 and the video processor 140, the variable speed bus may have as much as 1 GB/s of unused bandwidth. In this scenario, the variable speed bus 155 can reduce its frequency by 50%. In order to ensure that the video processor continues to receive its required 900 MB/s of bandwidth, the arbiter 150 selects a configuration B that provides 9 of 10 possible arbitration slots to the video processor 140. The peripheral controller 130 receives the remaining 1 of 10 arbitration slots to ensure that it receives its required 100 MB/s bandwidth.
Continuing with the current example, it is possible that the video processor 140 may switch its bandwidth requirements from 900 MB/s to 100 MB/s. The variable speed bus 155 frequency can now be reduced to 200 MB/s and the arbiter can change to a configuration where the video processor 140 is allocated 1 of 2 possible arbitration slots and the peripheral device controller 130 also receives 1 of 2 arbitration slots in order to ensure that each of the video processor 140 and the peripheral device controller 130 receive their required 100 MB/s of bandwidth.
Another example of a situation that can benefit from being able to adjust both bus frequency and arbitration configuration is the situation where the host processor 110 is working mainly out of its cache. To load the cache, the variable speed bus 155 can increase its clock frequency in order to support the 700 MB/s required by the host processor. Once the cache has been loaded and the processor is working mainly out of its cache, the bus frequency can be reduced and the arbiter can adjust its configuration to take into account the processor's lack of activity on the bus 155.
In the foregoing specification the invention has been described with reference to specific exemplary embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention as set forth in the appended claims. The specification and drawings are, accordingly, to be regarded in an illustrative rather than in a restrictive sense.
Reference in the specification to “an embodiment,” “one embodiment,” “some embodiments,” or “other embodiments” means that a particular feature, structure, or characteristic described in connection with the embodiments is included in at least some embodiments, but not necessarily all embodiments, of the invention. The various appearances of “an embodiment,” “one embodiment,” or “some embodiments” are not necessarily all referring to the same embodiments.
Number | Name | Date | Kind |
---|---|---|---|
5237676 | Arimilli et al. | Aug 1993 | A |
5509126 | Oprescu et al. | Apr 1996 | A |
5559967 | Oprescu et al. | Sep 1996 | A |
5581729 | Nishtala et al. | Dec 1996 | A |
5627744 | Baker et al. | May 1997 | A |
5628019 | O'Brien | May 1997 | A |
5630163 | Fung et al. | May 1997 | A |
5666422 | Harrison et al. | Sep 1997 | A |
5825854 | Larson et al. | Oct 1998 | A |
5949891 | Wagner et al. | Sep 1999 | A |
6006303 | Barnaby et al. | Dec 1999 | A |
6073244 | Iwazaki | Jun 2000 | A |
6079022 | Young | Jun 2000 | A |
6134621 | Kelley et al. | Oct 2000 | A |
6185692 | Wolford | Feb 2001 | B1 |
6304645 | Holland et al. | Oct 2001 | B1 |
6404883 | Hartmeier | Jun 2002 | B1 |
6418201 | Holland et al. | Jul 2002 | B1 |
6484222 | Olson et al. | Nov 2002 | B1 |
6510473 | Voit | Jan 2003 | B1 |
6556672 | Holland et al. | Apr 2003 | B1 |
6642942 | Crook | Nov 2003 | B1 |
6741791 | Wymore et al. | May 2004 | B1 |
6792102 | Shires | Sep 2004 | B2 |
6820209 | Culbert et al. | Nov 2004 | B1 |
6853720 | Ramachandran | Feb 2005 | B2 |
6920216 | Finnie et al. | Jul 2005 | B2 |
20020083241 | Moller | Jun 2002 | A1 |
20040017234 | Tam et al. | Jan 2004 | A1 |
20050044442 | Barr et al. | Feb 2005 | A1 |
Number | Date | Country | |
---|---|---|---|
20050216607 A1 | Sep 2005 | US |