HK1075520B - Memory controller considering processor power states - Google Patents
Memory controller considering processor power states Download PDFInfo
- Publication number
- HK1075520B HK1075520B HK05109645.5A HK05109645A HK1075520B HK 1075520 B HK1075520 B HK 1075520B HK 05109645 A HK05109645 A HK 05109645A HK 1075520 B HK1075520 B HK 1075520B
- Authority
- HK
- Hong Kong
- Prior art keywords
- memory
- graphics controller
- components
- processor
- mode
- Prior art date
Links
Description
The present invention relates to the field of computer systems, more particularly relating to methods and apparatuses for reducing power consumption in computer systems.
Computer systems are pervasive in the world, including everything from small handheld electronic devices, such as personal data assistants and cellular phones, to application-specific electronic devices, such as set-top boxes, digital cameras, and other consumer electronics, to medium-sized mobile systems such as notebook, sub-notebook, and tablet computers, to desktop systems, workstations, and servers.
Over the last few years, there have been many advances in semiconductor technology that have resulted in the development of improved electronic devices having integrated circuits (IC) operating at higher frequencies and supporting additional and/or enhanced features. While these advances have enabled hardware manufacturers to design and build faster and more sophisticated computer systems, they have also imposed a disadvantage in higher power consumption, especially for battery-powered computer systems.
A variety of techniques are known for reducing the power consumption in computer systems. For example, the Advanced Configuration and Power Interface (ACPI) Specification (Rev. 2.0a, March 31, 2002) sets forth information about how to reduce the dynamic power consumption of portable and other computer systems. With respect to processors used in computer systems, four processor power consumption modes (C0, C1, C2, and C3) are defined in the ACPI Specification. For example, when the processor 105 is executing instructions, it is in the C0 mode. The C0 mode is a high power consumption mode. When the processor 105 is not executing instructions or idle, it may be placed in one of the low power consumption modes C1, C2 or C3. An Operating System (OS) in the computer system may dynamically transition the idle processor 105 into the appropriate low power consumption mode.
The C1 power mode is the processor power mode with the lowest latency. The C2 power mode offers improved power savings over the C1 power mode. In the C2 power mode, the processor is still able to maintain the context of the system caches. The C3 power mode offers still lower power consumption compared to the C1 and C2 power modes, but has higher exit latency than the C2 and C1 power modes. In the C3 power mode, the processor 105 may not be able to maintain coherency of the processor caches with respect to other system activities.
While the reduced power consumption modes defined by the ACPI Specification and known techniques have many advantages, there is a continuing need for ways to further reduce the power consumption of computer systems, including power consumption of individual components such as, for example, a display, a disk drive, an integrated graphics processor, etc.
EP 0 855 718 discloses an electronic device comprising a processor responsive to a sleep signal being asserted to emit an acknowledgment signal and to enter a low power mode, a memory settable in a low power mode and sleep control means for setting the memory into its low power mode upon detection of said acknowledgement signal.
US 2001/011356 A1 discloses a memory clock control system for a power reduction by detecting memory access request loading from a number of memory access devices, such as video and graphics engines. Based on the detected memory access requirements, the system and method adaptively varies a memory clock frequency in response to determine the desired memory usage at a given point in time. The memory clock is varied based on the priority of a given memory access engine, such that the clock is kept or increased to a higher rate for high priority engines such as real-time processing engines to facilitate high performance video capture. Conversely, if a lower priority graphics engine desires access to the memory controller, the system evaluates the memory access demand and reduces the memory clock to reduce power consumption and power dissipation. According to one embodiment, a duration of non-access for a given memory access engine is used to determine whether the memory clock frequency should be varied.
US 5,757,365 discloses a computer system comprising an information processor for storing and processing information and including a display controller, a display panel for receiving update data from the information processor and means responsive to absence of update data for a predetermined number of frames for disabeling portions of said information processor. The display panel includes a panel memory that stores a frame of data so that upon absence of update data, the display can be self-refreshed from the panel memory and other functions of the processor can be shut down.
US 2002/064083 A1 discloses clock-generating circuits controlling activation of a delay locked loop circuit on transition to an standby mode of a semiconductor memory device and methods for operating the same. The article titled "A 3-cycle lock time delay -locked loop with a parallel phase detector for low power mobile system" by Miyazaki M et al, ASICS, 1999. AP-ASIC'99, the first IEEE Asia Pacific Conference in Seoul, South Korea, 23-25 August 1999, Piscataway, NJ, USA, pages 396-399 discloses a delay-locked loop which has a parallel phase detector for generating a system clock in LSIs. The generated clock is synchronized to an internal clock for various loads in a system. Due to the short settling time, the DLL can be powered down to reduce the standby current.
The following drawings disclose various embodiments of the present invention for purposes of illustration only and are not intended to limit the scope of the invention.
- Figure 1 is a block diagram illustrating an example of a computer system.
- Figure 2 is a block diagram illustrating an example of a chipset in a computer system, according to one embodiment.
- Figure 3 is a block diagram illustrating an example of a graphics controller, according to one embodiment.
- Figure 4 is a flow diagram illustrating an example of a process used for reducing the power consumption of the memory and the graphics controller, according to one embodiment.
- Figure 5 is a flow diagram illustrating a process for restoring the memory and the graphics controller to a normal power mode, according to one embodiment.
Methods and systems are disclosed for controlling power consumption of computer systems. For one embodiment, when a processor of a computer system is in a low power mode, power consumption of one or more components of a memory coupled to the processor and of other system components that have controllers associated with making requests to the memory may be reduced.
In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be evident, however, to one skilled in the art that the present invention may be practiced without these specific details. In other instances, well-known structures, processes and devices are presented in terms of block diagrams and flowcharts to illustrate embodiments of the invention, and they may not be discussed in detail to avoid unnecessarily obscuring the understanding of this description.
As used herein, the term "when" may be used to indicate the temporal nature of an event. For example, the phrase "event 'A' occurs when event 'B' occurs" is to be interpreted to mean that event A may occur before, during, or after the occurrence of event B, but is nonetheless associated with the occurrence of event B. For example, event A occurs when event B occurs if event A occurs in response to the occurrence of event B or in response to a signal indicating that event B has occurred, is occurring, or will occur.
The disk drive unit 30 may include a machine-readable medium (not shown) on which is stored a set of instructions (e.g., software application) embodying any one, or all, of the embodiments described herein. The instructions may also reside, completely or at least partially, within the main memory 115 and/or within the processor 105. The instructions may furthermore be transmitted or received via the network interface device 35. The computer system 100 may also include a network interface 35 to connect to one or more networks. The computer system 100 may be powered by an alternating current (AC) power source or by a direct current (DC) power source using one or more batteries.
Although not shown, the bus 15 may include one or more of address bus, bus control signals and data bus and/or even a memory controller that arbitrates between all memory access requests. The processor 105 may control the bus 15 which means communications between input/output (I/O) devices (or slave devices) need involvement of the processor 105. Although not shown, there may be other controllers in the computer system 100 that are capable of taking turns with the processor 105 at making access requests to the memory 115. This may allow a controller to drive the address bus and the control signals of the bus 15 with minimal intervention by the processor 105. For example, the processor 105 may be busy performing other tasks that do not require the bus 15, or the processor 105 may be idle in a low power state. A controller may contain its own processor or microcontroller or engine that generates requests to the memory 115. A controller may be, for example, an Ethernet controller, a sound transducer controller, a universal serial bus (USB) controller, a graphics controller, etc.
In the following description, for purposes of explanation, an integrated graphics controller may be used as an example of a controller that is capable of controlling the bus 15 and accessing the memory 115 with minimal intervention by the processor 105. One skilled in the art will recognize that the description may also be applicable to other controllers.
The chipset 200 may also include a memory controller 213 that interfaces with the memory 115 to satisfy read/write requests from the processor 105. The memory 115 may be, for example, dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate (DDR) SDRAM, etc. The chipset 200 may also include an I/O controller 214 to interface with peripheral devices (not shown). Although Figure 2 illustrates the processor 105 as a different module from the graphics controller 212, one or more of the processor 105, the graphics controller 212, and the I/O controller 214 may be implemented in one module or in multiple modules. For example, functionalities of the memory controller 213 may be integrated in the processor 105.
The graphics controller 212 and the memory 115 may receive reference clock signals from a clock generator 205. The graphics controller 212, the memory controller 213 and the memory 115 may also include delayed locked loop (DLL) circuit(s) (not shown) used, for example, to control timings, etc.
The graphics controller 212 may perform computations to get display data from the memory 115 and to output the display data to the display unit 124 via the video out port 220. The graphics controller 212 may also control other operational behaviors of the display unit 124 including, for example, refresh rates, backlight brightness and the like. The activities performed by the graphics controller 212 may contribute to the power consumed by the chipset 200 and by the system 100.
It may be noted that the graphics controller 212 and the memory controller 213 (illustrated in Figure 2 ) (and thus the processor 105) may share the memory 115. That is, the graphics controller 212 may have its own memory controller 300 to initiate own accesses to the memory 115 without direct control of the processor 105. For example, considering a unified memory architecture (UMA) chipset with integrated graphics controller, in this case the memory controller 213 and the graphics controller 212 in the chipset 200 share the same memory 115, and the power consumption of the graphics controller 212 and the memory 115 may be reduced. When there is an external graphics controller (not shown) that has own local memory, the power consumption of the chipset 200, the memory 115, and the external graphics controller and its local memory may be reduced.
The memory 115 may be more efficient when it can provide the display data at a high rate. The display data, however, may only be processed by the display engine 315 at a lower rate. Breaks or interruptions in feeding the display data from the display buffer 310 to the display engine 315 may result in visual artifacts such as, for example, flickers or breaks in the final output on the display unit 124. As such, control values may need to be used. For example, the DS 305 may use a different set of control values for each display mode supported by the graphics controller 212. A display mode may include, for example, a combination of display device resolution, color depth or pixel depth, refresh rates, and system configuration.
The control values may allow the DS 305 to determine when to retrieve the display data and how much of the display data to retrieve from the memory 115. For example, the control values may include a watermark value and a burst length value. The watermark value may represent a value that falls between a minimum buffer value and a maximum buffer value, depending on the size of the buffer 310. The burst length value may represent the amount of display data that the DS 305 may request from the memory 115 at a time for a particular display mode. The DS 305 may use the watermark value and the burst length value to more efficiently control how and when the display data is fetched from the memory 115 and presented to the display engine 315 to display on the display unit 124. This may help eliminating visual artifacts or display corruption seen on the display unit 124.
The display buffer 310 may store up to a certain number of display data fetched from the memory 115. When the amount of display data in the display buffer 310 drops below the watermark value for the current display mode, the DS 305 requests more display data from the memory 115. It may be noted that other techniques other than using the water mark value and the burst length value to control when and how much display data to retrieve from the memory 115 may also be used.
The processor 105 illustrated in Figure 2 may dynamically compute the watermark values and burst length values for different display modes that may result from different configurations of the computer system 100. A configuration may be, e.g., a particular combination of multiple displays, display resolutions, color depths, refresh rates, overlay scaling conditions, video capture conditions, and/or other system configurations. The processor 105 may program one of the watermark values as a current watermark value and one of the burst length values as a current burst length value into the graphics controller 212 for use in processing the display data to be displayed on the display unit 124.
During normal operation, the memory 115 may be in a memory refresh mode and its contents may be refreshed or recharged at every memory refresh interval, for example. For one embodiment, the memory 115 may include features that enable its components to refresh on their own (or self-refresh), independent from the processor 105 or external refresh circuits (not shown).
According to the ACPI Specification, when the processor 105 is not executing instructions, the power consumption by the computer system 100 may be reduced by placing the processor 105 in a low power mode such as, for example, the C3 power mode (or C2 or C1 power mode). When the processor 105 is in the low power mode (e.g., the C3 mode), the DS 305 may still need to fetch the display data from the memory 115 for display refresh based on the control values (e.g., the watermark value and the burst length value). This may occur when other controller may or may not desire to access memory 115. When all the controller devices' contributions to memory access latency can be taken into account, the techniques described herein may work when the processor 105 is in the C3 power mode or in the C2 power mode or also in the C1 power mode.
For one embodiment, when the processor 105 is in the low power mode, the memory 115 may also be placed in a low power mode. That is, power consumption of one or more components of the memory 115 may be reduced. This may have minimal effect on processor performance. For example, the power consumption of the memory 115 may be reduced by placing the memory 115 in a self-refresh mode. Self-refresh may be a dynamic random access memory (DRAM) power reduced state where the memory requires no input clock and attempts to only have power consumption required to keep its memory states. This may be done, for example, by issuing a self-refresh command to the memory 115. Placing the memory 115 into the self-refresh mode may enable its contents to be saved while reducing power consumption.
One skilled in the art may recognize that other techniques may also be used to place the memory 115 into the low power mode such as, for example, by placing the memory 115 in a pre-charge power-down or active power-down. Precharge power down is a DRAM power reduced state that still requires system clocking, and that all DRAM memory pages are closed before it can be entered. Active power down is a DRAM power reduced state that requires system clocking, but not all DRAM pages are closed before it can be entered. Generally, the lower power states may have longer powerup or wakeup latency times.
For one embodiment, when the processor 105 is placed into the low power mode, the power consumption of the memory 115 may be reduced by reducing power to a delay locked loop (DLL) circuit associated with the memory 115.
For one embodiment, when the power consumption of the memory 115 is reduced, the power consumption of one or more components of the graphics controller 212 may also be reduced. The one or more components of the graphics controller 212 may include components that are needed to run the memory 115. This may place the graphics controller 212 in a low power mode and may have minimal effect on processor performance. For example, this may include reducing power (such as shutting off the DLL) to a delay locked loop (DLL) circuit associated with the graphics controller 212, or shutting off the clocking to the memory from the graphics controller 212. Reducing power consumption as used herein may include powering off or reducing power from a current amount to a lower amount when applicable.
In order to reduce the overall power consumption of the computer system 100 as much as possible, it may be advantageous for the memory 115 and the graphics controller 212 to stay in the low power mode for as long as possible. Of course, at some point, waking up the memory 115 and the graphics controller 212 may be necessary to allow the computer system 100 to operate in an acceptable manner. For example, at some point the amount of display data in the display buffer 310 may be reduced to the watermark level and a memory burst is required. In this situation, it may be necessary to wake up the graphics controller 212 and the memory 115 and restore them to their normal power mode. Waking up as used herein may include powering on or increasing power from a low amount to a higher amount when applicable.
As described above, the watermark value may be used to determine when a memory burst is necessary, and the burst length value may be used to determine the amount of data to be fetched from the memory 115 each time. Typically, during normal processor power mode (e.g., C0 power mode), the memory bursts may be smaller and spaced closer in time. Thus, when the processor is in a low power mode (e.g., C1/C2/or C3), it may be advantageous to change the control values (e.g., the burst length value and the water mark value) so that the memory bursts may be longer and spaced further apart in time. Of course, this may depend on the current display mode and the size of the display buffer 310. Changing the control values may allow the wakeup latency time to be shorter than the time to process the display data in the display buffer 310. The wakeup latency time may include time to restore power to the one or more components of the memory 115 and of the graphics controller 212.
At a next memory burst, the display buffer 310 may be populated with more display data (e.g., as dictated by the burst length value), and the wakeup latency time may be shorter than the time it takes to process the display data now in the display buffer 310. This may allow the memory 115 to be in the low power mode for a longer time.
At block 405, the power consumption of one or more components of the memory 115 is reduced. Reducing the power consumption of one or more components of the memory 115 may include, for example, placing the memory 115 in a self-refresh mode. When the memory 115 is in a self-refresh mode, power to the DLL circuit associated with the memory 115 may be reduced.
At block 410, the power consumption of one or more components of the graphics controller 212 is reduced. This may include, for example, shutting down the clocks to memory and reducing the power consumption of the DLL circuit associated with the graphics controller.
At block 515, the power to the memory 115 is restored to the normal power mode. This may include, for example, taking the memory 115 out of the self-refresh mode and powering up the DLL circuit associated with the memory 115. At block 520, the power to the graphics controller 212 is restored to the normal power mode. This may include, for example, powering up the DLL circuit associated with the graphics controller 212. It may be noted that the graphics controller 212 may drift in and out of the low power mode. For example, the graphics controller 212 may be out of the low power mode when more display data is needed and a memory burst is to be performed, as shown in block 525.
When the control values (e.g., the burst length value and the watermark value) are used and they are changed to increase the time that the memory 115 and the graphics controller 212 stay in the low power mode, these control values may need to be restored to their original values normally used when the processor 105 is in the normal power mode. Note that it may be necessary to wait for the memory 115 and the graphics controller 212 to power up before taking the processor 105 out of the low power mode.
It may be noted that although the processes described in Figure 4 and in Figure 5 refer to the graphics controller 212, one skilled in the art will recognize that those processes may also be applicable to other controller devices that are capable of accessing the memory 115 independently of the processor 105. It may also be noted that although the techniques described above refer to display data, one skilled in the art will recognize that the techniques may also be used with any data including, for example, time critical data.
Techniques for reducing power consumption in computer systems have been disclosed. The power consumption of a computer system may be reduced when the processor is in a low power mode by reducing the power consumption of the memory and of a bus controller associated with the memory. Although the techniques described above refer generally to the graphics controller and the processor sharing the same memory, when the graphics controller has its own local memory, power consumption of the graphics controller may be managed using the same technique. In addition, although the techniques described above refer to reducing the power consumption of the DLL circuits of the memory 115 and of the graphics controller 212, the techniques may also be used to reduce power consumption of other components in the computer system 100.
Although the present invention has been described with reference to specific exemplary embodiments, it will be evident that various modifications and changes may be made to these embodiments without departing from the scope of the invention as set forth in the claims. Accordingly, the specification and drawings are to be regarded in an illustrative rather than a restrictive sense.
Claims (20)
- A method, comprising:when a processor (105) is placed in a low power mode, placing a memory (115) and a graphics controller (212) in the low power mode to reduce power consumption of one or more components of the memory (115) coupled to the processor and of one or more components of the graphics controller (212) needed to run the memory, wherein an amount of display data to be retrieved from the memory is determined based on a wakeup latency time associated with the memory and the graphics controller, wherein time to process the display data retrieved from the memory is at least equal to the wakeup latency time,wherein the wakeup latency time includes an amount of time required to restore the memory (115) and the graphics controller (212) to a normal power mode from the low power mode.
- The method of claim 1, wherein reducing the power consumption of the one or more components of the memory (115) includes placing the memory in a self-refresh mode.
- The method of claim 1, wherein reducing the power consumption of the one or more components of the memory (115) includes placing the memory in a precharge power-down mode or an active powerdown mode.
- The method of claim 2, wherein reducing the power consumption of one or more components of the graphics controller (212) needed to run the memory includes reducing power to a delay locked loop, DLL, circuit associated with the graphics controller (212).
- The method of claim 4, wherein reducing the power consumption of one or more components of the graphics controller (212) needed to run the memory (115) further includes reducing power of control signals and clocks associated with the graphics controller including powering off or reducing power from a current amount to a lower amount.
- The method of claim 1, wherein the graphics controller (212) and the processor (105) share the memory (115).
- The method of claim 1, further comprising:verifying that the graphics controller needs to exit a low power mode before increasing the power consumption of the one or more components of the graphics controller.
- A computer readable medium comprising executable instructions which, when executed in a processing system, causes the processing system to perform a method, comprising:when a processor (105) is placed in a low power mode, placing a memory (115) and a graphics controller (212) in the low power mode to reduce power consumption of one or more components of the memory (115) coupled to the processor and of one or more components of the graphics controller (212) sharing the memory with the processor, wherein an amount of display data to be retrieved from the memoryis determined based on a wakeup latency time associated with the memory and the graphics controller, wherein time to process the amount of display data retrieved from the memory is at least equal to the wakeup latency time,wherein the wakeup latency time includes an amount of time required to restore the memory (115) and the graphics controller (212) to a normal power mode from the low power mode.
- The computer readable medium of claim 8, wherein reducing the power consumption of the one or more components of the memory (115) includes placing the memory in a self-refresh mode, a precharge powerdown mode, or an active powerdown mode.
- The computer readable medium of claim 9, wherein placing the memory (115) in a self-refresh mode includes reducing power to a delay locked loop, DLL, circuit associated with the memory.
- The computer readable medium of claim 10, wherein reducing the power consumption of one or more components of the graphics controller (212) includes reducing power to a delay locked loop, DLL, circuit associated with the graphics controller.
- The computer readable medium of claim 11, wherein reducing the power of the one or more components of the graphics controller (115) further includes reducing the power of control signals and clocks associated with the graphics controller (212), including powering off or reducing power from a current amount to a lower amount.
- The computer readable medium of claim 8, wherein the one or more components of the graphics controller (212) includes components needed to run the memory (115).
- The computer readable medium of claim 13, further comprising:verifying that the graphics controller (212) needs to exit a low power mode before subsequently restoring the power consumption of the one or more components of the graphics controller.
- A system comprising:a processor (105);a memory (115) coupled to the processor; anda graphics controller (212) coupled to the processor and to the memory, wherein the graphics controller (212) and the processor (105) share the memory (115), andwherein placing a memory (115) and a graphics controller (212) in the low power mode to reduce power consumption of one or more components of the memory and of one or more components of the graphics controller when the processor is in the low power mode, wherein an amount of display data to be retrieved from the memory is determined based on a wakeup latency time associated with the memory and the graphics controller, and wherein time to process the display data retrieved from the memory is at least equal to the wakeup latency time, wherein the wakeup latency time includes an amount of time required to restore the memory (115) and the graphics controller (212) to a normal power mode from the low power mode.
- The system of claim 15, wherein the one or more components of the memory includes a delay locked loop, DLL, circuit associated with the memory.
- The system of claim 15, wherein the one or more components of the graphics controller (212) includes a delay locked loop, DLL, circuit associated with the graphics controller.
- The system of claim 15, wherein the power consumption of the one or more components of the memory (115) is reduced by placing the memory in a self-refresh mode.
- The system of claim 15, wherein the power consumption of the memory (115) and of the graphics controller is subsequently increased when it is necessary to retrieve the display data from the memory (105).
- The system of claim 15, wherein the one or more components of the graphics controller (212) are needed to run the memory (105).
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US10/340,020 | 2003-01-09 | ||
| US10/340,020 US6971034B2 (en) | 2003-01-09 | 2003-01-09 | Power/performance optimized memory controller considering processor power states |
| PCT/US2004/000092 WO2004063916A2 (en) | 2003-01-09 | 2004-01-02 | Memory controller considering processor power states |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| HK1075520A1 HK1075520A1 (en) | 2005-12-16 |
| HK1075520B true HK1075520B (en) | 2010-07-23 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP1581856B1 (en) | Memory controller considering processor power states | |
| US9383813B2 (en) | Dynamic control of reduced voltage state of graphics controller component of memory controller | |
| US6657634B1 (en) | Dynamic graphics and/or video memory power reducing circuit and method | |
| CN108196809B (en) | Memory power savings in idle display situations | |
| US8593470B2 (en) | Dynamic memory clock switching circuit and method for adjusting power consumption | |
| JP4922306B2 (en) | Self-refresh mechanism at C0 | |
| US7343502B2 (en) | Method and apparatus for dynamic DLL powerdown and memory self-refresh | |
| US8769332B2 (en) | Regional clock gating and dithering | |
| US5881016A (en) | Method and apparatus for optimizing power consumption and memory bandwidth in a video controller using SGRAM and SDRAM power reduction modes | |
| EP4273666A2 (en) | Hardware automatic performance state transitions in system on processor sleep and wake events | |
| US8314806B2 (en) | Low power display mode | |
| US12019494B2 (en) | Domain clock and power activation control circuit to reduce voltage droop and related methods | |
| HK1075520B (en) | Memory controller considering processor power states |