CN1619467A - Computer system and power source management state - Google Patents
Computer system and power source management state Download PDFInfo
- Publication number
- CN1619467A CN1619467A CN 200410100357 CN200410100357A CN1619467A CN 1619467 A CN1619467 A CN 1619467A CN 200410100357 CN200410100357 CN 200410100357 CN 200410100357 A CN200410100357 A CN 200410100357A CN 1619467 A CN1619467 A CN 1619467A
- Authority
- CN
- China
- Prior art keywords
- processing unit
- central processing
- computer system
- down mode
- clockless
- 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.)
- Granted
Links
Images
Landscapes
- Power Sources (AREA)
Abstract
The present invention relates to a power supply management state switching method of computer system. Said method utilizes the actions of processor, bus master, north bridge chip and south bridge chip, etc. to implement state transition of computer system. Said invention also provides the concrete steps of said switching method.
Description
Technical field
The present invention relates to the method for power management, and be particularly related to the method for the power management states switching of computer system.
Background technology
Generally speaking, present Computer System Design all can be abideed by senior configuration and power supply interface (Advanced Configuration and Power Interface is hereinafter to be referred as ACPI).
Fig. 1 is the synoptic diagram of a computer system.Computer system 100 comprises central processing unit (Central Processing Unit) 110, north bridge chips 120, South Bridge chip 130, storage device 140, peripheral unit 150 and primary memory (Main Memory) 160.North bridge chips 120 connects central processing unit 110, primary memory 160 and South Bridge chip 130 via bus.South Bridge chip 130 connects north bridge chips 120, storage device 140, reaches peripheral unit 150 via bus.Comprise operating system 141 in the storage device 140.South Bridge chip 130 comprises an arbitration position 131 (as the PM2_CNT buffer ARB_DIS position of ACPI definition).
Fig. 2 is the power supply status synoptic diagram of ACPI definition central processing unit.ACPI definition central processing unit in working order when (full running state) (C0 state) normally operate, for example execute instruction, carry data.If computer system 100 is idle above one period schedule time, operating system 141 can allow central processing unit 110 enter power down mode.
Defined central processing unit power down mode comprises first (C1), second (C2), the 3rd (C3) power down mode and than C3 state more other state of power saving, for example C4 state (not shown) in the ACPI standard.And the C2 state can be than the power saving of C1 state, and the C3 state can be than the power saving of C2 state.When operating system 141 detects the no any action of computer system 100, then can make central processing unit 110 enter C3 or C4 state (hereinafter to be referred as the C3/C4 state) can make computer system more effectively save power supply.
Operating system 141 can decide according to the bus master assembly operating state on the computer system 100 (BusMaster activity status, for example BM_STS buffer) and allow central processing unit 110 enter C2 state or C3 state.The bus master assembly is meant the assembly that has bus master power in computer system 100.
In the C2 state, central processing unit 110 is not carried out any instruction, but can spy upon the action of (snoop) bus master assembly (Bus Master) accessing main memory.If when having interrupt event (Breakevent) to produce, that is produce when interrupting (Interrupt) or central processing unit 110 when being requested to execute instruction, central processing unit 110 can be got back to the C0 state from the C2 state.
In the C3/C4 state, central processing unit 110 stops time clock, can not spy upon the action of bus master assembly accessing main memory 160 simultaneously.Therefore the C3/C4 state is for than the C2 state of power saving (claiming that the C3/C4 state is the clockless power down mode) more.
Destroyed the data consistency (Cache Coherence) of the high-speed cache of central processing unit 110 for fear of bus master assembly accessing main memory 160, operating system 141 is before making that central processing unit 110 enters the C3/C4 state, can will arbitrate position 131 earlier and switch to starting state (for example the ARB_DIS position being made as " 1 "), be sent to central processing unit 110 by north bridge chips 120 with the request that limits any bus master assembly.
If when having interrupt event to produce, for example may by a bus master assembly accessing main memory 160 or request central processing unit 110 execution commands or produce when interrupting (Interrupt), then central processing unit 110 just must be got back to the C0 state from the C3/C4 state.
Though the C3/C4 state is compared to the more power saving of C2 state, if but when the C3/C4 state, received an interrupt request, then carry out time (latency) that this interrupt request will wait for compared to receiving that the time that interrupt request will be waited for is long when the C2 state.
Receive interrupt request from South Bridge chip 130 and comprise that to the time that interrupt request is responded by central processing unit 110 central processing unit 110 gets back to the time of C0 state, the time of switching arbitration position 131, South Bridge chip 130 from the C3/C4 state interrupt request is sent to time of north bridge chips 120, and north bridge chips 120 is sent to interrupt request the time of central processing unit 110.
Fig. 3 is general power management states changing method process flow diagram.At first South Bridge chip 130 receives an interrupt request (step S302) from peripheral unit 150, (interrupt request is the request in order to request central processing unit 110 execution commands or carrying data); Then South Bridge chip 130 makes central processing unit 110 get back to C0 state (step S304) from the C3/C4 state; When central processing unit 110 after the C3/C4 state is got back to the C0 state, close arbitration position 131 (step S306); Interrupt request is sent to north bridge chips 120 (step S308) from South Bridge chip 130; Again interrupt request is sent to central processing unit 110 (step S310) from north bridge chips at last.
Can find by above narration, when central processing unit is received an interrupt request during at the C3/C4 state, then must allow central processing unit get back to the C0 state earlier from the C3/C4 state, close arbitration position afterwards and make interrupt request to deliver to north bridge from south bridge earlier to deliver to processor processing again, therefore from receiving that interrupt request really carries out time that interrupt request will wait for very to processor.Therefore, if when the request of interrupting is image processing, crosses and wait for that for a long time tending to cause image to play slack situation takes place.
Summary of the invention
The invention provides the method that a kind of computer system power source supervisor status is switched, can reduce the stand-by period.
Computer system power source supervisor status changing method of the present invention includes: when central processing unit was the C3/C4 state, South Bridge chip received an interrupt request; Then the state exchange with central processing unit is the C0 state, simultaneously interrupt request is sent to north bridge chips and keeps in; After central processing unit is the C0 state, close an arbitration position; At last interrupt request being sent to central processing unit handles.
In addition, the present invention also provides a kind of computer system of electric power management mechanism, include: a central processing unit, central processing unit include at least three kinds of duties, are respectively clockless power down mode (for example C3/C4), can spy upon power down mode (for example C2) and duty; One first control chip is connected to central processing unit; And one second control chip, be connected to first control chip; Wherein when central processing unit is the clockless power down mode, after second control chip receives an interrupt request, when making central processing unit convert duty to, interrupt request is delivered to first control chip and keep in by the clockless power down mode; After central processing unit is duty, makes interrupt request be sent to central processing unit and handle by first control chip.
Description of drawings
Fig. 1 is the synoptic diagram of a computer system;
Fig. 2 is the power supply status synoptic diagram of ACPI definition central processing unit;
Fig. 3 is general power management states changing method process flow diagram;
Fig. 4 unifies the embodiment synoptic diagram for the department of computer science of power management of the present invention;
The signal figure that Fig. 5 switches for one embodiment of the invention power management states;
Fig. 6 is power management states changing method one an embodiment process flow diagram of the present invention.
The reference numeral explanation
10~central processing unit; 20~north bridge chips; 30~South Bridge chip; 60~primary memory; 100~computer system; 110~central processing unit; 120~north bridge chips; 130~South Bridge chip; 131~arbitration position; 140~storage device; 141~operating system; 150~peripheral unit; 160~primary memory; 200~computer system; 202~motherboard; B2~control bus; B3~bus; T1-T7~time point.
Embodiment
The present invention proposes a kind of power management states changing method, switches the stand-by period in order to the power management states of improving computer system.
Fig. 4 is the computer system synoptic diagram of power management of the present invention.Wherein computer system 200 may be personal computer, Portable mobile computer or other computer installation.
South Bridge chip 30 connects north bridge chips 20 via bus B 3, and can connect storage device, peripheral unit.Comprise an operating system in the storage device.Central processing unit 10 transmits signal by South Bridge chip 30 and storage device, peripheral unit with low clock frequency.
The request that can limit any bus master assembly when the arbitration position starts (ARB_DIS=1) is by north bridge chips 20, and relatively, when (ARB_DIS=0) closed in the arbitration position, the request of bus master assembly just can be passed through north bridge chips 20.
In this embodiment, South Bridge chip 30 can be via the state of control bus B2 control central processing unit 10.
Suppose that central processing unit 10 is originally when the C0 duty, when detecting computer system 200, operating system surpassed a schedule time when not had any action, operating system can decide according to the bus master assembly operating state in the system (Bus Master activity status, for example BM_STS buffer) and allow central processing unit 10 enter C2 or C3/C4 state.
If also when running, central processing unit 10 can enter C2 state (can spy upon state) to the bus master assembly.If when not having the running of bus master assembly, central processing unit 10 can be arbitrated position (ARB_DIS=1) according to os starting, and central processing unit 10 enters the C3/C4 state.
The signal figure that Fig. 5 switches for power management states of the present invention.Central processing unit 10 has four pins that connect control bus B2: first pin (STPCLK), second pin (CPU_SLP), the 3rd pin (STP_CPU), and the 4th pin (DPSLP).South Bridge chip 30 when T1, control first pin (STPCLK) in order to switch central processing unit 10 from the C0 state to the C2 state, when T2, control second pin (CPU_SLP) in order to switch central processing unit 10 from the C2 state to the C3 state, when T3, control the 3rd pin (STP_CPU) in order to stopping the time clock of central processing unit 10, and when T3, control the 4th pin (DPSLP) in order to switch central processing unit 10 from the C3 state to the C4 state.
After central processing unit 10 entered C2 state or C3 state (clockless power down mode), central processing unit 10 is the power management routines of executive operating system no longer.Therefore, South Bridge chip 30 is responsible for the power management states switching of control central processing unit 10.
When central processing unit 10 at the clockless power down mode, C3/C4 state for example, South Bridge chip 30 can switch the state of central processing unit 10 according to the kind that receives the bus master components request.
If a bus master assembly sends a kind of request, make central processing unit 10 to get back to the C0 state from the C3/C4 state, above-mentioned request promptly causes interrupt event, and as shown in Figure 5, South Bridge chip 30 receives an interrupt request during time T 7.
When central processing unit 10 under C3/C4 state or state than C4 power saving, if South Bridge chip 30 receives an interrupt request, then South Bridge chip 30 by control bus B2 make central processing unit 10 switch to the C0 state with the response interrupt request.
Fig. 6 is a power management states changing method process flow diagram of the present invention.At first, South Bridge chip 30 is from the bus master assembly, and for example a peripheral unit receives an interrupt request (step S602); Then South Bridge chip 30 is got back to the C0 state by control bus B2 control central processing unit 10 from the C3/C4 state, simultaneously interrupt request is delivered to north bridge chips 20 temporary (step S602) from South Bridge chip 30; Then, after central processing unit 10 is got back to the C0 state, close arbitration position (ARB_DIS=0) (step S604); At last, interrupt request is delivered to central processing unit 10 by north bridge chips 20 and handle (step S606).
With reference to Fig. 5, South Bridge chip 30 is controlled the 4th and the 3rd pin (DPSLP, STP_CPU etc.) when T4 signal is controlled central processing unit 10 and is got back to the C3 state from the C4 state, and recovers the time clock of central processing unit 10.Then, South Bridge chip 30 is controlled second pin (CPU_SLP) when T5 signal make central processing unit 10 times from C3 to the C2 state, last, the signal of controlling first pin (STPCLK) when T6 makes central processing unit 10 get back to the C0 state from C2.
Though in the above description, South Bridge chip is to utilize the control bus B2 that walks around north bridge chips 20 to make central processing unit 10 get back to the C0 state from the C3/C4 state.But in other example, South Bridge chip 30 can be got back to the C0 state from the C3/C4 state by north bridge chips 20 control central processing units 10.Though central processing unit 10 is when the C3/C4 state, the arbitration position is at starting state (ARB_DIS=1), and any request can not arrive central processing unit 10 by north bridge chips 20.But can utilize a kind of agreement or mechanism to allow the arbitration position when starting state (ARB_DIS=1) between north bridge chips 20 of the present invention and the South Bridge chip 30, the signal of control central processing unit 10 states can be transferred into central processing unit 10.
In the present invention, interrupt request does not need to wait for that the arbitration position is set to closed condition (ARB_DIS=0) and transmits afterwards again.Just before the closed condition of arbitration position, it is temporary just earlier interrupt request to be delivered to north bridge chips 20.With Fig. 5 is example, and South Bridge chip 30 can promptly transmit interrupt request to north bridge chips 20 when T4, the T5 of corresponding diagram 5 or T6.
Compared to known method, the present invention can just be sent to interrupt request north bridge chips in the central processing unit transition status temporary, by this, can reduce central processing unit responds running request or other interrupt event in the C3/C4 state stand-by period.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; those skilled in the art can be used for a variety of modifications and variations under the premise without departing from the spirit and scope of the present invention, so protection scope of the present invention is as the criterion with claim of the present invention.
Claims (11)
1. computer system power source management method, wherein this computer system meets a senior configuration and power supply interface norm, this computer system includes a central processing unit at least, one north bridge coremaking sheet, an and South Bridge chip, wherein this central processing unit is at the clockless power down mode, and this method includes:
This South Bridge chip receives an interrupt request;
The state of changing this central processing unit is a duty, and it is temporary to this north bridge chips to transmit this interrupt request simultaneously;
Close an arbitration position; And
Transmitting this interrupt request to this central processing unit handles;
Wherein when this central processing unit was this clockless power down mode, this arbitration position was a starting state.
2. computer system power source management method as claimed in claim 1 wherein also comprises this central processing unit converted to by this clockless power down mode and can spy upon power down mode, converts this duty again to.
3. computer system power source management method as claimed in claim 1, wherein this arbitration position is positioned at this north bridge chips.
4. computer system power source management method as claimed in claim 1 wherein when this arbitration position starts, can limit this interrupt request and be sent to this central processing unit by north bridge chips.
5. computer system power source management method as claimed in claim 1, wherein this South Bridge chip utilization total this central processing unit of line traffic control of being connected to this central processing unit is converted to this duty by this clockless electricity saver, or utilizes one to make this central processing unit convert this duty to by this clockless power down mode with the communications protocol of central processing unit.
6. the computer system of an electric power management mechanism includes:
One central processing unit, this central processing unit includes at least three kinds of duties, is respectively the clockless power down mode, can spies upon power down mode and duty;
One first control chip is connected to this central processing unit; And
One second control chip is connected to this first control chip;
Wherein when this central processing unit during at this clockless power down mode, this second control chip receives a request, if this request must be handled by this central processing unit, then make this central processing unit convert this duty to by this clockless power down mode, it is temporary simultaneously this request to be delivered to this first control chip, when this central processing unit is duty, makes this request be sent to this central processing unit and handle by this first control.
7. the computer system of electric power management mechanism as claimed in claim 6, wherein this first control chip includes an arbitration position, wherein when this central processing unit during at this clockless power down mode, this arbitration position is a starting state, and this moment, this request was limited by this first control chip in this arbitration position.
8. the computer system of electric power management mechanism as claimed in claim 7, wherein when this central processing unit during in this duty, this arbitration position be a closed condition, should allow this request to pass through this first control chip in the arbitration position this moment.
9. the computer system of electric power management mechanism as claimed in claim 6, wherein this central processing unit is converted to and can this be spied upon power down mode by this clockless power saving power down mode, converts this duty again to.
10. the computer system of electric power management mechanism as claimed in claim 6, wherein this second control chip utilization bus of being linked to this central processing unit makes this central processing unit convert this duty to by this clockless power down mode.
11. the computer system of electric power management mechanism as claimed in claim 6, wherein this second control chip utilize one and this central processing unit between communications protocol make this central processing unit convert this duty to by this clockless power down mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004101003573A CN1300661C (en) | 2004-12-09 | 2004-12-09 | Computer system and power source management state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004101003573A CN1300661C (en) | 2004-12-09 | 2004-12-09 | Computer system and power source management state |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1619467A true CN1619467A (en) | 2005-05-25 |
CN1300661C CN1300661C (en) | 2007-02-14 |
Family
ID=34766707
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004101003573A Active CN1300661C (en) | 2004-12-09 | 2004-12-09 | Computer system and power source management state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1300661C (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100377041C (en) * | 2005-12-02 | 2008-03-26 | 威盛电子股份有限公司 | Power source management device and method for multi-processor system |
CN100381975C (en) * | 2005-12-19 | 2008-04-16 | 威盛电子股份有限公司 | Computer system and its power supply management method |
CN100403228C (en) * | 2005-07-05 | 2008-07-16 | 威盛电子股份有限公司 | Power supply management for central processing unit with a plurality of main bridges |
CN100470451C (en) * | 2007-01-24 | 2009-03-18 | 威盛电子股份有限公司 | Computer system and its electricity-saving method |
CN102566739A (en) * | 2012-01-06 | 2012-07-11 | 威盛电子股份有限公司 | Multicore processor system and dynamic power management method and control device thereof |
US8230250B2 (en) | 2008-08-18 | 2012-07-24 | Asustek Computer Inc. | Computer having power saving state control function and control method thereof |
TWI465917B (en) * | 2011-12-12 | 2014-12-21 | Via Tech Inc | Bridging device and energy saving method thereof |
CN104781756A (en) * | 2012-12-21 | 2015-07-15 | 英特尔公司 | Managing a power state of a processor |
TWI514154B (en) * | 2011-12-12 | 2015-12-21 | Via Tech Inc | Bridging device and energy saving method thereof |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1262863B1 (en) * | 1992-09-17 | 2006-11-22 | Kabushiki Kaisha Toshiba | Portable computer having dedicated register group and peripheral controller bus between system bus and peripheral controller |
US5790808A (en) * | 1995-07-06 | 1998-08-04 | 3 Com | Active topology maintenance in reconfiguring bridged local area networks with state transition with forgetting interval |
KR100603926B1 (en) * | 1999-10-25 | 2006-07-24 | 삼성전자주식회사 | Power supply control circuit for computer system having a plurality of power management states and control method of the same |
US6499102B1 (en) * | 1999-12-29 | 2002-12-24 | Intel Corporation | Method of dynamically changing the lowest sleeping state in ACPI |
US6748548B2 (en) * | 2000-12-29 | 2004-06-08 | Intel Corporation | Computer peripheral device that remains operable when central processor operations are suspended |
CN1504860A (en) * | 2002-12-02 | 2004-06-16 | 华硕电脑股份有限公司 | Power supply efficiency mode instantaneously switching apparatus of computer system |
CN1246751C (en) * | 2003-09-09 | 2006-03-22 | 威盛电子股份有限公司 | Computer system with power management and its method |
-
2004
- 2004-12-09 CN CNB2004101003573A patent/CN1300661C/en active Active
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100403228C (en) * | 2005-07-05 | 2008-07-16 | 威盛电子股份有限公司 | Power supply management for central processing unit with a plurality of main bridges |
CN100377041C (en) * | 2005-12-02 | 2008-03-26 | 威盛电子股份有限公司 | Power source management device and method for multi-processor system |
CN100381975C (en) * | 2005-12-19 | 2008-04-16 | 威盛电子股份有限公司 | Computer system and its power supply management method |
CN100470451C (en) * | 2007-01-24 | 2009-03-18 | 威盛电子股份有限公司 | Computer system and its electricity-saving method |
US8230250B2 (en) | 2008-08-18 | 2012-07-24 | Asustek Computer Inc. | Computer having power saving state control function and control method thereof |
TWI514154B (en) * | 2011-12-12 | 2015-12-21 | Via Tech Inc | Bridging device and energy saving method thereof |
US9477300B2 (en) | 2011-12-12 | 2016-10-25 | Via Technologies, Inc. | Bridging device and power saving method thereof |
TWI465917B (en) * | 2011-12-12 | 2014-12-21 | Via Tech Inc | Bridging device and energy saving method thereof |
CN102566739B (en) * | 2012-01-06 | 2014-11-26 | 威盛电子股份有限公司 | Multicore processor system and dynamic power management method and control device thereof |
US8977880B2 (en) | 2012-01-06 | 2015-03-10 | Via Technologies, Inc. | Method for managing power supply of multi-core processor system involves powering off main and slave cores when master bus is in idle state |
CN102566739A (en) * | 2012-01-06 | 2012-07-11 | 威盛电子股份有限公司 | Multicore processor system and dynamic power management method and control device thereof |
CN104781756A (en) * | 2012-12-21 | 2015-07-15 | 英特尔公司 | Managing a power state of a processor |
CN104781756B (en) * | 2012-12-21 | 2018-01-05 | 英特尔公司 | The power rating of management processor |
Also Published As
Publication number | Publication date |
---|---|
CN1300661C (en) | 2007-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2465631C2 (en) | Method, system and device to determine activity of processor core and cashing agent | |
US7330926B2 (en) | Interruption control system | |
KR101517258B1 (en) | Apparatus, system, and method for cross-system proxy-based task offloading | |
CN1818828A (en) | Information processing apparatus and control method for the same | |
CN102693162A (en) | Method for process communication among multiple virtual machines on multi-core platform based on shared memory and intercore interruption | |
WO2012006824A1 (en) | Multi-virtual serial port system and communication method thereof | |
CN1308746A (en) | Method and apparatus for power mode transition in a multi-theread processor | |
US9552308B2 (en) | Early wake-warn for clock gating control | |
CN1732447A (en) | Mechanism for processor power state aware distribution of lowest priority interrupt | |
US7350087B2 (en) | System and method of message-based power management | |
CN101581964B (en) | Computer system and peripheral equipment drive method | |
CN1300661C (en) | Computer system and power source management state | |
WO2013063972A1 (en) | Communication method, communication apparatus and electronic device | |
CN1873585A (en) | Information processing apparatus and controlling method thereof | |
CN1801132A (en) | Computer with multiple processors and operating method thereof | |
CN116132287A (en) | DPU-based high-performance network acceleration method and system | |
CN101051242A (en) | Power supply control method and device for computer system | |
CN107861763B (en) | Interrupt routing environment recovery method for dormancy process of Feiteng processor | |
CN113946537A (en) | Accelerating device and server | |
CN1464415A (en) | Multi-processor system | |
CN101639814B (en) | Input-output system facing to multi-core platform and networking operation system and method thereof | |
CN110401939A (en) | A kind of low-power consumption bluetooth controller link layer device | |
CN1540539A (en) | System and method for controlling interrput | |
CN1278204C (en) | Power source management state control method | |
CN1547088A (en) | Interrupt signal control method |
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 |