CN1280688C - Power management system for computer systems - Google Patents
Power management system for computer systems Download PDFInfo
- Publication number
- CN1280688C CN1280688C CN 200410075106 CN200410075106A CN1280688C CN 1280688 C CN1280688 C CN 1280688C CN 200410075106 CN200410075106 CN 200410075106 CN 200410075106 A CN200410075106 A CN 200410075106A CN 1280688 C CN1280688 C CN 1280688C
- Authority
- CN
- China
- Prior art keywords
- power management
- control signal
- load
- frequency
- voltage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 238000007726 management method Methods 0.000 claims description 45
- 230000001133 acceleration Effects 0.000 claims description 7
- 238000004891 communication Methods 0.000 claims description 4
- 230000007246 mechanism Effects 0.000 abstract description 2
- 238000001514 detection method Methods 0.000 abstract 1
- 238000012545 processing Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
Images
Landscapes
- Power Sources (AREA)
Abstract
Description
技术领域technical field
本发明涉及计算机系统电源管理的方法,特别是涉及可不通过软件控制而自动进行省电管理的计算机系统电源管理的方法和系统。The invention relates to a computer system power management method, in particular to a computer system power management method and system that can automatically perform power saving management without software control.
背景技术Background technique
在现今计算机系统中,省电一向是重要课题。尤其在以电池为主要电源的便携式计算机上更为关键。现今的计算机系统所据以实作的电源管理规格主要是来自高级电源管理接口(Advanced Configuration and PowerInterface;ACPI)规范。其架构如图1所示。In today's computer systems, power saving has always been an important issue. Especially more critical on portable computers that use batteries as the main power source. The power management specifications implemented by today's computer systems are mainly derived from the Advanced Configuration and Power Interface (ACPI) specification. Its architecture is shown in Figure 1.
ACPI为一软件与硬件互相搭配的规格。省电的原理,是由操作系统检测运作状况,通过软件驱动程序,遵循一特定的通讯协议送出命令,使硬件依照设计,降低工作电压以及频率,达到省电的目的。如图1所示的已知系统架构100,包含软件层101,系统硬件层103以及介于中间的ACPI控制层112。已知的电源管理,系由系统软件层101的操作系统104执行操作系统电源管理(OSPM)106,检测应用程序102的执行状况,通过装置驱动程序108以及ACPI驱动程序/机械语言解译器110对ACPI控制层112下达命令,将省电的操作转换成硬件讯号,传送至系统硬件层103。ACPI控制层112是一个介于硬件和软件之间的架构,包含程序、ACPI控制表(table),以及ACPI寄存器(register)。在系统硬件层103中,控制讯号是由南桥芯片组124主控,通过系统管理总线128传送至电压控制器122及频率产生器126。电压控制器122可依照系统管理总线128传来的控制讯号改变中央处理器114、绘图加速端口116及存储器120的工作电压,而频率产生器126可依照系统管理总线128传来的控制讯号为各个硬件组件产生不同的时钟。ACPI is a specification for the mutual matching of software and hardware. The principle of power saving is that the operating system detects the operating status, and through the software driver, sends commands according to a specific communication protocol, so that the hardware can reduce the working voltage and frequency according to the design, so as to achieve the purpose of power saving. The known system architecture 100 shown in FIG. 1 includes a software layer 101 , a system hardware layer 103 and an ACPI control layer 112 in between. Known power management is that the operating system power management (OSPM) 106 is executed by the operating system 104 of the system software layer 101, and the execution status of the application program 102 is detected, through the device driver 108 and the ACPI driver/machine language interpreter 110 Issue a command to the ACPI control layer 112 to convert the power saving operation into a hardware signal and send it to the system hardware layer 103 . The ACPI control layer 112 is a structure between hardware and software, including programs, ACPI control tables (tables), and ACPI registers (registers). In the system hardware layer 103 , the control signal is controlled by the south bridge chipset 124 and transmitted to the
整体来说,这是一种由软件来控制硬件的技术。需要支持ACPI标准的程序和硬件组件共同搭配来完成。由于操作系统与软件仰赖硬件执行,而硬件的电源管理又仰赖软件的执行,当硬件因省电模式而被降速时,软件执行效能亦降低,控制能力与可靠度皆有瓶颈。举例来说,当中央处理器儿4进入C3睡眠状态,寄存器内容不保存,高速缓存无法维持一致性,系统无法接受主控运作(Master cycle)及中断服务。当发生主控要求及中断要求时便回复运作,但是极耗时间。因为硬件所有的省电状态都是由软件决定,无法实时反应出硬件真实执行状况,所以省电效果亦大打折扣。Overall, this is a technology in which software controls hardware. Programs and hardware components that support the ACPI standard need to be matched together to complete. Because the operating system and software rely on hardware execution, and the power management of hardware relies on software execution, when the hardware is slowed down due to power-saving mode, the execution performance of the software is also reduced, and there are bottlenecks in control capability and reliability. For example, when the central processing unit 4 enters the C3 sleep state, the contents of the registers are not saved, the cache cannot maintain consistency, and the system cannot accept the master cycle and interrupt service. When the main control request and the interrupt request occur, the operation is resumed, but it is extremely time-consuming. Because all the power-saving status of the hardware is determined by the software, it cannot reflect the real execution status of the hardware in real time, so the power-saving effect is also greatly reduced.
发明内容Contents of the invention
有鉴于此,本发明的目的是提供一种自动电源管理方法,用于自动调节计算机系统耗电。该自动电源管理方法包含下列步骤。首先,建立一系统流量编码表,用以定义负载级数与这些内部组件的工作参数的关系。接着,检测一内部组件的一负载值,并将该负载值分级,得到一负载级数。最后对照该系统流量编码表及该负载级数,得到一控制讯号,用以调整该内部组件的工作参数。In view of this, the object of the present invention is to provide an automatic power management method for automatically adjusting the power consumption of a computer system. The automatic power management method includes the following steps. Firstly, a system flow coding table is established to define the relationship between the load levels and the working parameters of these internal components. Next, a load value of an internal component is detected, and the load value is graded to obtain a load level. Finally, a control signal is obtained by comparing the system flow code table and the load series to adjust the working parameters of the internal components.
其中该系统流量编码表系在系统启动阶段时,由固件根据系统的型态及特性所设定。该系统流量编码表可以是一电压控制参数表,该工作参数可以是一电压值,若该系统流量编码表为一频率控制参数表,则该工作参数可以是一频率值。该系统内部组件可以是中央处理器,存储器或绘图加速端口。耗电。该电源管理系统包含下列组件:一第一芯片,一第二芯片,一系统管The system flow code table is set by the firmware according to the type and characteristics of the system when the system is started. The system flow code table may be a voltage control parameter table, and the working parameter may be a voltage value. If the system flow code table is a frequency control parameter table, the working parameter may be a frequency value. The system internal components can be CPU, memory or graphics acceleration port. power consumption. The power management system includes the following components: a first chip, a second chip, a system management
本发明的另一目的是提供一种电源管理系统,用于自动调节计算机系统理总线,以及一控制器。该第一芯片检测系统运作状态,产生一负载值。该第二芯片,包含一系统流量编码表,用以根据该系统流量编码表及该负载值,产生一控制讯号。该系统管理总线(SMBUS)用以传送该控制讯号,而该控制器接收该控制讯号,据以调节一内部组件的工作参数。Another object of the present invention is to provide a power management system for automatically adjusting the bus of a computer system, and a controller. The first chip detects the operating state of the system and generates a load value. The second chip includes a system flow code table for generating a control signal according to the system flow code table and the load value. The system management bus (SMBUS) is used to transmit the control signal, and the controller receives the control signal to adjust the working parameters of an internal component.
其中该第一芯片为北桥芯片,该第二芯片为南桥芯片,而该系统管理总线,是依循系统管理总线(SMBUS)的通讯协议以传送该控制讯号。该第二芯片进一步包含一系统流量编码表,该系统流量编码表是在系统启动阶段时,由固件根据系统的型态及特性所设定。Wherein the first chip is a north bridge chip, the second chip is a south bridge chip, and the system management bus follows the communication protocol of the system management bus (SMBUS) to transmit the control signal. The second chip further includes a system flow code table, which is set by the firmware according to the type and characteristics of the system when the system starts up.
为了使本发明的上述和其它目的、特征、和优点能更明显易懂,下文特举实施例,并结合附图详细说明如下。In order to make the above and other objects, features, and advantages of the present invention more comprehensible, the following specific embodiments are described in detail with reference to the accompanying drawings.
附图说明Description of drawings
图1为已知计算机系统的架构图100。FIG. 1 is an architectural diagram 100 of a known computer system.
图2为本发明实施例的一的计算机系统架构图200。FIG. 2 is a computer system architecture diagram 200 of Embodiment 1 of the present invention.
图3为本发明实施例的一的系统流量编码表202。FIG. 3 is a system flow encoding table 202 of Embodiment 1 of the present invention.
附图符号说明Description of reference symbols
101~软件层 102~应用程序101~software layer 102~application program
103~系统硬件层 104~操作系统103~system hardware layer 104~operating system
106~操作系统电源管理 108~装置驱动程序106~Operating System Power Management 108~Device Driver
110~ACPI驱动程序 112~ACPI控制层110~ACPI driver 112~ACPI control layer
114~中央处理器 116~绘图加速端口114~
118~北桥芯片组 120~存储器118~North
122~电压控制器 124~南桥芯片组122~Voltage Controller 124~South Bridge Chipset
126~频率产生器 128~系统管理总线126~
202~系统流量编码表 224~南桥芯片组202~system traffic code table 224~South Bridge chipset
具体实施方式Detailed ways
以计算机系统为例,由于南桥芯片组是控制整个系统频率及电压的关键,而电子电路只要掌握住这两种要件就能控制电源消耗,所以只要南桥能准确且实时的根据系统的使用率自动控制系统的频率及电压,自然系统就能有效率的控制系统的电源。且由于这些控制都是由南桥主动发起,故实时性可远较软件佳,且更切近系统应用实况而准确控制。Taking the computer system as an example, since the Southbridge chipset is the key to controlling the frequency and voltage of the entire system, and the electronic circuit can control the power consumption as long as these two elements are mastered, so as long as the Southbridge can accurately and real-time according to the use of the system By automatically controlling the frequency and voltage of the system, the natural system can efficiently control the power supply of the system. And because these controls are all initiated by the South Bridge, the real-time performance is far better than that of software, and the control is closer to the real application of the system.
如图2所示,本发明的计算机系统架构200中,电源管理不需要软件的介入,取而代之的是在南桥芯片组224中实作一组寄存器,用以建立系统流量编码表202,做为省电控制的依据。在硬件组件中,北桥芯片组118掌控了对中央处理器114、绘图加速端口116、存储器120及南桥芯片组224的所有流量信息,可说是了解系统负载最透彻的单位。故由北桥芯片组118检测系统的各种负载,包括中央处理器114使用率,存储器120使用率,绘图加速端口116使用率等,将信息传送给南桥芯片组224。系统负载的监测可以是一种硬件状态的表现,亦即不需要执行额外的取样操作,数据本身是实时存在的。该南桥芯片组224中的系统流量编码表202,如图3所示,可以是一个用量状况列表,用来定义在什么状况下该有什么对应的电压或频率,比如说当中央处理器114用量不到1%时,中央处理器114核心电压(Vcore)降5%,或中央处理器114频率(CPUCLK)降50%。以一颗3.3V,2.4GHz的中央处理器而言,便是使之工作于3.23V或是1.2GHz。相对的,该系统流量编码表202可以同时兼具电压与频率,甚至是系统硬件组件其它工作参数的一个整体定义表,不限定于本实施例所述。该系统流量编码表202可以是在系统启动时,南桥芯片组224主动根据系统整体状况自动产生,也可以是通过程序微调的自定值。举例来说,负载的分级方式,或是系统内部各组件的额定工作电压、工作频率等通常是在出厂时记录在固件中,开机时这些信息便被读入南桥芯片组224中,以建立该系统流量编码表202。除此之外,通过固件升级,或是软件控制,也可以动态地设定该系统流量编码表202。As shown in FIG. 2, in the
于是通过比对北桥芯片组118传来的信息与系统流量编码表202,南桥芯片组224便产生对应的控制讯号,从系统管理总线128传送给电压控制器122和频率产生器126。在本例中,电压控制器122具有控制中央处理器114,绘图加速端口116及北桥芯片组118的工作电压的功能。在接到该控制讯号后,电压控制器122便对这些组件输出对应的工作电压,使之工作在预定的范围内。相对地,频率产生器126负责产生系统内部对应组件的工作频率,随着频率的增减,决定了组件的省电与耗电。在接收到该控制讯号后,该频率产生器126便为各对应的组件产生对应的频率。Then, by comparing the information from the
其中,该控制讯号的传送,是通过系统管理总线128以SMBUS的通讯协议发送,兼容于大部份的已知组件。因此本架构能够在不增加成本的状况下实作于现有的计算机系统中。Wherein, the transmission of the control signal is sent through the
以图2举另一较佳实施例,假设中央处理器114的正常工作电压为3.3伏特(V),正常工作频率为2.0G赫兹(Hz),且已知该系统流量编码表202中定义,当中央处理器114处于高99%的负载时,便给予升压1%以及超频10%的处理。当北桥芯片组118检测到中央处理器114的工作负载为100%,该负载值传到南桥芯片组224中与系统流量编码表202对照,符合超频的条件,该南桥芯片组224便对电压控制器122和频率产生器126发出一控制讯号,使电压控制器122对中央处理器114输出3.33V,使频率产生器126为中央处理器114产生2.2GHz的频率。换言之,本发明的架构,在组件工作容许范围内,除了有效率解决已知省电管理的问题,在需要的时候,甚至可以产生比预期更高的效能。Another preferred embodiment is cited with Fig. 2, assume that the normal working voltage of
综上所述,本发明提供了一个管理系统电压与频率的南桥芯片组224,搭配北桥芯片组118完善的系统内部组件监测机制,免除软件监测与控制硬件带来的不便,使得系统的效能发挥到最大,而能源消耗则减到最小。To sum up, the present invention provides a
本发明虽以较佳实施例披露如上,然其并非用以限定本发明的范围,本领域的技术人员在不脱离本发明的精神和范围的前提下,可做各种的更动与润饰,因此本发明的保护范围以本发明的权利要求为准。Although the present invention is disclosed above with preferred embodiments, it is not intended to limit the scope of the present invention. Those skilled in the art can make various modifications and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be determined by the claims of the present invention.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200410075106 CN1280688C (en) | 2004-08-31 | 2004-08-31 | Power management system for computer systems |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200410075106 CN1280688C (en) | 2004-08-31 | 2004-08-31 | Power management system for computer systems |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1588273A CN1588273A (en) | 2005-03-02 |
| CN1280688C true CN1280688C (en) | 2006-10-18 |
Family
ID=34604893
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 200410075106 Expired - Lifetime CN1280688C (en) | 2004-08-31 | 2004-08-31 | Power management system for computer systems |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1280688C (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101059686B (en) * | 2006-04-19 | 2011-12-21 | 鸿富锦精密工业(深圳)有限公司 | Portable electronic device with electricity-saving function and its implementation method |
| TW201001122A (en) | 2008-06-20 | 2010-01-01 | Asustek Comp Inc | Clock controlling apparatus for computer system |
| WO2010124479A1 (en) * | 2009-04-30 | 2010-11-04 | Sheng Yongxiang | User identification system and its power supply management method |
| CN103136064B (en) * | 2011-11-30 | 2015-09-30 | 英业达股份有限公司 | Boot Error Handling Method |
| CN103813218B (en) * | 2012-11-15 | 2017-09-19 | 中国电信股份有限公司 | The method and apparatus of dynamic adjustment optical line terminal equipment working condition |
| US20180039324A1 (en) * | 2015-03-03 | 2018-02-08 | Mediatek Inc. | Method for controlling a plurality of hardware modules and associated controller and system |
| CN112578892B (en) * | 2019-09-27 | 2023-05-30 | 宏碁股份有限公司 | Computer system and power management method thereof |
-
2004
- 2004-08-31 CN CN 200410075106 patent/CN1280688C/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| CN1588273A (en) | 2005-03-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7610497B2 (en) | Power management system with a bridge logic having analyzers for monitoring data quantity to modify operating clock and voltage of the processor and main memory | |
| KR100488088B1 (en) | The power management method of portable computer | |
| CN101770273B (en) | Method for realizing energy saving of system with a plurality of central processing units of server and device therefor | |
| US20040243858A1 (en) | Low power mode for device power management | |
| US8250393B2 (en) | Power management method and related chipset and computer system | |
| US8607080B2 (en) | Optimizing voltage on a power plane using a host control unit to control a networked voltage regulation module array | |
| CN1340751A (en) | Central processing unit dispatch method and device | |
| CN1955887A (en) | Dynamic lane management system and method | |
| US7062647B2 (en) | Method and apparatus for reducing the power consumed by a computer system | |
| JP2011523149A (en) | Sleep processor | |
| TWI243983B (en) | System and method of power management | |
| KR102702988B1 (en) | A power saving apparatus and method of a computer system by the optimized clock frequency and voltage of GPU | |
| CN101251834B (en) | Main bus parameter adjustment method, computer system | |
| CN100378617C (en) | Network awakening device and method | |
| CN102929381B (en) | Electronic system and power management method thereof | |
| CN1280688C (en) | Power management system for computer systems | |
| CN102566726A (en) | Automatic power consumption control network equipment and power consumption control method thereof | |
| US20090061918A1 (en) | Method and Apparatus for Managing Power Consumption Relating to a Differential Serial Communication Link | |
| CN101634882B (en) | High-density server power supply control system and method thereof | |
| CN101419497B (en) | Data transmission rate adjustment method and computer system | |
| KR101978323B1 (en) | An apparatus and method for managing a efficient power supply by using GPIO ports | |
| US6966007B2 (en) | Performance control method for a computer | |
| US7206883B2 (en) | Interruption control system and method | |
| CN101408792A (en) | Power management device and management method thereof | |
| CN1261846C (en) | A real-time power management method and system for a computer system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CX01 | Expiry of patent term |
Granted publication date: 20061018 |
|
| CX01 | Expiry of patent term |