JP5075942B2 - Information processing apparatus and control method thereof - Google Patents
Information processing apparatus and control method thereof Download PDFInfo
- Publication number
- JP5075942B2 JP5075942B2 JP2010123503A JP2010123503A JP5075942B2 JP 5075942 B2 JP5075942 B2 JP 5075942B2 JP 2010123503 A JP2010123503 A JP 2010123503A JP 2010123503 A JP2010123503 A JP 2010123503A JP 5075942 B2 JP5075942 B2 JP 5075942B2
- Authority
- JP
- Japan
- Prior art keywords
- state
- mode
- aspm
- information processing
- function
- 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 - Fee Related
Links
- 230000010365 information processing Effects 0.000 title claims description 28
- 238000000034 method Methods 0.000 title claims description 16
- 230000004044 response Effects 0.000 claims description 7
- 230000006870 function Effects 0.000 description 39
- 230000007704 transition Effects 0.000 description 23
- 238000004891 communication Methods 0.000 description 13
- 238000012545 processing Methods 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 239000000470 constituent Substances 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Power Sources (AREA)
- Information Transfer Systems (AREA)
Description
本発明は、パーソナルコンピュータのような情報処理装置および同装置の動作を制御する制御方法に関する。 The present invention relates to an information processing apparatus such as a personal computer and a control method for controlling the operation of the apparatus.
近年、パーソナルコンピュータのような情報処理装置においては、PCI EXPRESSと称される第3世代汎用I/O相互接続インタフェースが注目されている。PCI EXPRESSは、リンクと称される通信路を介してデバイス間を相互接続するための規格であり、PCI SIG(Peripheral Component Interconnect Special Interest Group)によって規定されている。PCI EXPRESSの規格においては、デバイス間のデータの伝送はパケットを用いて実行される。 In recent years, in information processing apparatuses such as personal computers, a third-generation general-purpose I / O interconnection interface called PCI EXPRESS has attracted attention. PCI EXPRESS is a standard for interconnecting devices via a communication path called a link, and is defined by PCI SIG (Peripheral Component Interconnect Special Interest Group). In the PCI EXPRESS standard, data transmission between devices is performed using packets.
また、PCI EXPRESSの規格においては、たとえデバイスが動作状態であってもリンクをローパワーステートに設定することが可能な通信路制御機能が規定されている。この通信路制御機能は、Active State Power Management (ASPM)と称されている。リンクの状態は、当該リンクのアイドル時にハードウェアによって自動的に動作ステートからローパワーステート(スタンバイステート)に設定される。通信の必要が生じた場合、リンクの状態はハードウェアによってスタンバイステートから動作ステートに戻される。このASPM機能により、リンクのアイドル期間中における無駄な電力消費を低減することができ、情報処理装置の消費電力を低減することができる。 In addition, the PCI EXPRESS standard defines a communication path control function that can set a link to a low power state even if a device is in an operating state. This communication path control function is called Active State Power Management (ASPM). The link state is automatically set from the operation state to the low power state (standby state) by hardware when the link is idle. When communication is necessary, the link state is returned from the standby state to the operating state by hardware. With this ASPM function, it is possible to reduce useless power consumption during the idle period of the link, and to reduce power consumption of the information processing apparatus.
また、特許文献1には、データバスのバス幅を32ビット幅から16ビット幅に切り替えることによって電力消費を削減する技術が開示されている。 Patent Document 1 discloses a technique for reducing power consumption by switching the bus width of a data bus from a 32-bit width to a 16-bit width.
しかし、特許文献1の技術では、バス幅が16ビット幅に切り替えられた場合、バスのデータ転送速度が大幅に低下してしまうことになる。 However, in the technique of Patent Document 1, when the bus width is switched to 16-bit width, the data transfer speed of the bus is greatly reduced.
また、上述のASPM機能においては、リンクがスタンバイステートに設定されるのは当該リンクがアイドルである場合であるので、特許文献1の技術とは異なり、実際のデータ転送速度に影響が及ぶことはない。 In the ASPM function described above, since the link is set to the standby state when the link is idle, unlike the technique of Patent Document 1, the actual data transfer rate is not affected. Absent.
しかし、リンクの状態をスタンバイステートから動作ステートに戻すためには遅延が発生するので、この遅延が、システム性能の低下を引き起こす原因となる。よって、上述のASPM機能を常に用いると、システムの本来の性能を十分に発揮することができなくなる。 However, since a delay occurs in order to return the link state from the standby state to the operation state, this delay causes a decrease in system performance. Therefore, if the above ASPM function is always used, the original performance of the system cannot be fully exhibited.
本発明は上述の事情を考慮してなされたものであり、省電力とパフォーマンスの両立を図ることが可能な情報処理装置を提供することを目的とする。 The present invention has been made in consideration of the above-described circumstances, and an object thereof is to provide an information processing apparatus capable of achieving both power saving and performance.
上述の課題を解決するため、請求項1に係る本発明の情報処理装置は、シリアルバスを介してポイントツーポイント形式で相互接続された第1および第2のデバイスであって、前記第1および第2のデバイスが動作状態において、前記シリアルバスがアイドル状態であるか否かに応じて前記シリアルバスの状態を動作ステートと当該動作ステートよりも低消費電力のスタンバイステートとの間で遷移させるASPM(Active State Power Management)機能を各々が有する第1および第2のデバイスと、前記ASPM機能の設定に関する第1、第2および第3のモードそれぞれに対応する3つの設定項目を含み、前記第1、前記第2および前記第3のモードの内の一つをユーザに選択させるための設定画面を表示する手段と、前記第1のモードが選択された場合、前記情報処理装置がバッテリによって駆動される場合に前記ASPM機能の実行を許可し、前記第2のモードが選択された場合、前記情報処理装置がバッテリまたは外部電源のいずれによって駆動されるかに関係なく前記ASPM機能の実行を許可し、前記第3のモードが選択された場合、前記情報処理装置がバッテリまたは外部電源のいずれによって駆動されるかに関係なく前記ASPM機能の実行を禁止する制御手段とを具備する。 In order to solve the above-described problem, an information processing apparatus according to a first aspect of the present invention includes first and second devices interconnected in a point-to-point manner via a serial bus. An ASPM that transitions the state of the serial bus between an operation state and a standby state with lower power consumption than the operation state according to whether or not the serial bus is in an idle state when the second device is in an operation state (Active State Power Management) including first and second devices each having a function, and three setting items corresponding to the first, second and third modes relating to the setting of the ASPM function, and means for displaying a setting screen for allowing the user to select one, the first mode is selected of among the second and the third mode When the information processing apparatus is driven by a battery, the execution of the ASPM function is permitted, and when the second mode is selected, the information processing apparatus is driven by either a battery or an external power source. Regardless of whether the ASPM function is allowed to be executed and when the third mode is selected, the ASPM function is prohibited to be executed regardless of whether the information processing apparatus is driven by a battery or an external power source. Control means.
本発明によれば、省電力とパフォーマンスの両立を図ることが可能となる。 According to the present invention, both power saving and performance can be achieved.
以下、図面を参照して本発明の実施形態を説明する。
図1には、本発明の一実施形態に係る情報処理装置のシステム構成が示されている。この情報処理装置は、バッテリ駆動可能なノートブック型パーソナルコンピュータとして実現されている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 shows a system configuration of an information processing apparatus according to an embodiment of the present invention. This information processing apparatus is realized as a battery-driven notebook personal computer.
このパーソナルコンピュータは、内蔵バッテリ27を備えており、外部電源(AC電源)にパーソナルコンピュータが接続されていない状態においては内蔵バッテリ27からの電力によって動作する。一方、ACアダプタ28がパーソナルコンピュータに接続されている状態、つまり外部電源(AC電源)にパーソナルコンピュータが接続されている状態においては、パーソナルコンピュータは外部電源(AC電源)によって動作する。また、外部電源によってバッテリ27の充電が行われる。
This personal computer is provided with a built-in
このパーソナルコンピュータは、図示のように、CPU(Central Processing Unit)11、ノースブリッジ12、主メモリ13、グラフィクスコントローラ14、表示装置(LCD)15、サウスブリッジ16、PCI(Peripheral Component Interconnect)デバイス群17、PCI Express デバイス群18,19、ハードディスクドライブ(HDD)20、BIOS−ROM21、エンベデッドコントローラ/キーボードコントローラIC(EC/KBC)22、および電源コントローラ(PSC)23、キーボード(KB)25、タッチパッド26などを備えている。
As shown in the figure, the personal computer includes a CPU (Central Processing Unit) 11, a North Bridge 12, a
ノースブリッジ12、グラフィクスコントローラ14、サウスブリッジ16、およびPCI Express デバイス群18,19の各々は、PCI EXPRESS規格に準拠したデバイス(コンポーネント)である。ノースブリッジ12とグラフィクスコントローラ14との間の通信は、ノースブリッジ12とグラフィクスコントローラ14との間に配設されたPCI EXPRESSリンク21を介して実行される。同様に、サウスブリッジ16とPCI Expressデバイス18との間の通信は、サウスブリッジ16とPCI Expressデバイス18との間に配設されたPCI EXPRESSリンク22を介して実行され、サウスブリッジ16とPCI Expressデバイス19との間の通信は、サウスブリッジ16とPCI Expressデバイス19との間に配設されたPCI EXPRESSリンク23を介して実行される。各PCI EXPRESSリンクはシリアルインタフェースから構成される通信路であり、アップストリームレーンおよびダウンストリームレーンを含む。
Each of the
CPU11は本コンピュータの動作を制御するプロセッサであり、HDD20から主メモリ13にロードされる各種プログラム(オペレーティングシステム、アプリケーションプログラム)を実行する。また、CPU11は、BIOS−ROM21に格納されたBIOS(Basic Input Output System)も実行する。BIOSはハードウェアを制御するためのプログラムである。また、BIOSは、PCI Express 規格で規定されたActive State Power Management (ASPM)機能の実行を本コンピュータの動作モードに応じて動的に許可または禁止するためのSMI(System Management Interrupt)ルーチンを有している。ASPM機能は、上述したように、たとえPCI Express規格に対応するデバイスが動作状態(D0ステート)であっても、そのデバイスが接続されたリンクをローパワーステート(スタンバイステート)に設定することが可能な通信路制御機能である。リンクを介して相互接続された2つのデバイスの各々はASPM機能を有しており、リンクがアイドル状態であるか否かに応じて、リンクの状態を動作ステートと当該動作ステートよりも低消費電力のスタンバイステートとの間で遷移させることができる。この遷移はハードウェアによって自動的に実行される。
The
ノースブリッジ12はCPU11のローカルバスとサウスブリッジ16との間を接続するブリッジデバイスである。ノースブリッジ12には、主メモリ13をアクセス制御するメモリコントローラも内蔵されている。また、ノースブリッジ12は、PCI EXPRESSリンク21を介してグラフィクスコントローラ114との通信を実行する機能も有している。
The
グラフィクスコントローラ14は本コンピュータのディスプレイモニタとして使用されるLCD15を制御する表示コントローラである。サウスブリッジ16は、PCIバス10を介してデバイス群17との通信を実行する。また、サウスブリッジ16は、PCI EXPRESSリンク22を介してPCI Expressデバイス18との通信を実行する機能、およびPCI EXPRESSリンク23を介してPCI Expressデバイス19との通信を実行する機能を有している。また、サウスブリッジ16は、LPC(Low Pin Count)バス30上の各デバイスの制御も実行する。
The
エンベデッドコントローラ/キーボードコントローラIC(EC/KBC)22は、電力管理のためのエンベデッドコントローラと、キーボード(KB)25およびタッチパッド26を制御するためのキーボードコントローラとが集積された1チップマイクロコンピュータである。このエンベデッドコントローラ/キーボードコントローラIC(EC/KBC)22は、ユーザによるパワーボタン24の操作に応じて、電源コントローラ(PSC)23と共同して、本コンピュータ10をパワーオン/パワーオフする機能を有している。さらに、エンベデッドコントローラ/キーボードコントローラIC(EC/KBC)22は、本コンピュータに対するACアダプタ28の接続および取り外しを検出する機能も有している。ACアダプタ28の接続または取り外しのイベントが発生した時、エンベデッドコントローラ/キーボードコントローラIC(EC/KBC)22は、電力管理イベントの発生をBIOSに通知するために割り込み信号(INTR)を発生する。この割り込み信号(INTR)の発生に応答して、サウスブリッジ16は、CPU11に割り込み信号(SMI)を発生する。CPU11は、SMIに応答して、BIOSのSMIルーチンを実行する。なお、EC/KBC22からCPU11に直接的にSMIを供給するようにしてもよい。
The embedded controller / keyboard controller IC (EC / KBC) 22 is a one-chip microcomputer in which an embedded controller for power management and a keyboard controller for controlling the keyboard (KB) 25 and the
図2には、PCI EXPRESS規格にそれぞれ準拠した2つのデバイス間の接続構成が示されている。ここでは、サウスブリッジ16とPCI Expressデバイス18とを例示して説明する。以降、サウスブリッジ16はデバイス#1、PCI Expressデバイス18はデバイス#2と称する。
FIG. 2 shows a connection configuration between two devices each compliant with the PCI EXPRESS standard. Here, the
デバイス#1およびデバイス#2は、PCI EXPRESSリンク22を介して相互接続されている。PCI EXPRESSリンク22は、デバイス#1とデバイス#2との間をポイントツーポイント形式で接続するシリアルインタフェース(シリアルバス)である。このPCI EXPRESSリンク22は、デバイス#1からデバイス#2の方向に情報を伝送するための差動信号線対と、デバイス#2からデバイス#1の方向に情報を伝送するための差動信号線対とを含む。PCI EXPRESSリンク22を介したデバイス#1とデバイス#2との間の情報の伝送は、パケットを用いて実行される。 Device # 1 and device # 2 are interconnected via a PCI EXPRESS link 22. The PCI EXPRESS link 22 is a serial interface (serial bus) that connects the device # 1 and the device # 2 in a point-to-point format. The PCI EXPRESS link 22 includes a differential signal line pair for transmitting information in the direction from device # 1 to device # 2, and a differential signal line for transmitting information in the direction from device # 2 to device # 1. Including pairs. Transmission of information between the device # 1 and the device # 2 via the PCI EXPRESS link 22 is performed using a packet.
デバイス#1は、PCI EXPRESSリンク22に接続されたポート101を有している。同様に、デバイス#2は、PCI EXPRESSリンク22に接続されたポート102を有している。
Device # 1 has a
ポート101は、PCI EXPRESSリンク22を介してデバイス#2にデータを送信する送信部、およびPCI EXPRESSリンク22を介してデバイス#2から送信されるデータを受信する受信部とを有している。同様に、ポート102も、PCI EXPRESSリンク22を介してデバイス#1にデータを送信する送信部、およびPCI EXPRESSリンク22を介してデバイス#1から送信されるデータを受信する受信部とを有している。ポート101,102の各々は、PCI EXPRESSリンク22を介して伝送されるデータ(有効データ)が無い状態が一定期間続いたならば、PCI EXPRESSリンク22がアイドル状態であることを検出する。この場合、ポート101,102は、互いに共同して、PCI EXPRESSリンク22のステート(リンクステート)を動作ステートからスタンバイステートに遷移させる処理を実行する。スタンバイステートにおいては、例えば、送信部および受信部の各々の動作は停止され、またPCI EXPRESSリンク22は駆動されない。よって、消費電力が低減される。
The
PCI EXPRESS規格においては、図3のリンクステート状態遷移図に示されているように、リンクステートとして、L0, L0s, L1, L2, L2/L3 Ready, L3 が定義されている。L0は通常の動作ステート(アクティブステート)である。L0s, L1, L2, L2/L3 Ready, L3 は、それぞれL0 よりも電力消費の少ないローパワーステートである。L0s, L1, L2/L3 Ready, L2, , L3の順で電力消費は減る。 In the PCI EXPRESS standard, L0, L0s, L1, L2, L2 / L3 Ready, and L3 are defined as link states as shown in the link state state transition diagram of FIG. L0 is a normal operation state (active state). L0s, L1, L2, L2 / L3 Ready, and L3 are low power states that consume less power than L0. Power consumption decreases in the order of L0s, L1, L2 / L3 Ready, L2, and L3.
PCI EXPRESS規格においては、PCI EXPRESSデバイスが動作状態である時にPCI EXPRESSリンクが遷移可能なローパワーステートとして、L0s, L1の2つのスタンバイステートが定義されている。L1 は、L0s よりも低消費電力のスタンバイステートである。L0s から L0 への復帰に要する遅延時間は、L1 から L0 への復帰に要する遅延時間よりも短い。PCI EXPRESSデバイスは、PCI EXPRESSデバイスが動作状態である時にPCI EXPRESSリンクが遷移可能なローパワーステートとして、少なくともL0s をサポートすることが必要とされている。また、PCI EXPRESSデバイスによっては、PCI EXPRESSデバイスが動作状態である時にPCI EXPRESSリンクが遷移可能なローパワーステートとして、 L0s, L1の2つのスタンバイステートをサポートするものもある。 In the PCI EXPRESS standard, two standby states L0s and L1 are defined as low power states in which the PCI EXPRESS link can transition when the PCI EXPRESS device is in an operating state. L1 is a standby state with lower power consumption than L0s. The delay time required for returning from L0s to L0 is shorter than the delay time required for returning from L1 to L0. The PCI EXPRESS device is required to support at least L0s as a low power state in which the PCI EXPRESS link can transition when the PCI EXPRESS device is operating. Some PCI EXPRESS devices support two standby states, L0s and L1, as low power states to which the PCI EXPRESS link can transition when the PCI EXPRESS device is operating.
また、ポート101,102の各々は、相手に送信すべきデータが生じたとき、互いに共同して、PCI EXPRESSリンク22のステート(リンクステート)を現在のL0s またはL1 から L0 へ復帰する処理を実行する。
Each of the
また、デバイス#1は、図2に示すように、ASPMサポートレジスタ102、リンク制御レジスタ103を有している。これらASPMサポートレジスタ102、およびリンク制御レジスタ103は、CPU11からアクセス可能に構成されている。ASPMサポートレジスタ102は、デバイス#1がASPMとしてサポートしているスタンバイステートを示すフィールドを有している。BIOSは、ASPMサポートレジスタ102をリードアクセスすることにより、デバイス#1がASPMとしてサポートしているスタンバイステートを認識することができる。リンク制御レジスタ103は、ASPM機能の実行の許可または禁止を指示するパワーマネージメント制御情報を格納するためのフィールドを有している。BIOSは、パワーマネージメント制御情報をリンク制御レジスタ103に書き込むことにより、デバイス#1のポート101に対して、ASPM機能の実行の許可または禁止を指示することができる。
The device # 1 has an
このパワーマネージメント制御情報は2ビットから構成される。“00”は、L0sへの遷移およびL1への遷移の双方を禁止することを指示する。“01”は、L0sへの遷移を許可し、L1への遷移を禁止することを指示する。 “11”は、L0sへの遷移およびL1への遷移の双方を許可することを指示する。デバイスは、許可されたスタンバイステートの中で、当該デバイスがサポートしている最も深いスタンバイステートに遷移する。例えばL0sへの遷移およびL1への遷移の双方が許可されており、且つデバイスがL0s, L1の双方をサポートしているならば、リンクアイドル時にリンクステートはL1 に遷移する。 This power management control information is composed of 2 bits. “00” indicates that both the transition to L0s and the transition to L1 are prohibited. “01” indicates that a transition to L0s is permitted and a transition to L1 is prohibited. “11” indicates that both transition to L0s and transition to L1 are permitted. The device transitions to the deepest standby state supported by the device among the permitted standby states. For example, if both the transition to L0s and the transition to L1 are permitted and the device supports both L0s and L1, the link state transitions to L1 at the time of link idle.
このように、BIOSは、パワーマネージメント制御情報を用いることによって、ASPM機能の実行を許可または禁止するだけでなく、リンクアイドル時にL0s, L1のどちらのスタンバイステートに遷移すべきかをデバイス#1に指示することができる。 In this way, the BIOS uses the power management control information to not only permit or prohibit execution of the ASPM function, but also instruct the device # 1 to transition to the L0s or L1 standby state when the link is idle. can do.
デバイス#2も、デバイス#1と同様に、ASPMサポートレジスタ202、リンク制御レジスタ203を有している。これらASPMサポートレジスタ202、リンク制御レジスタ203の機能は、上述のASPMサポートレジスタ102、リンク制御レジスタ103と同じである。
The device # 2 also has an
本実施形態においては、ASPM機能の実行の許可/禁止の制御は、本コンピュータの動作モードの切り替えに応じて動的に実行される。 In the present embodiment, the permission / prohibition control of the execution of the ASPM function is dynamically executed according to the switching of the operation mode of the computer.
本コンピュータは、図4に示されているように、パフォーマンスモードと省電力モードの2つの動作モードを有している。パフォーマンスモードは、低消費電力よりもシステムのパフォーマンスを優先する動作モードであり、また省電力モードはパフォーマンスよりも低消費電力を優先するモードである。BIOSは、ユーザからの指示に応じて、または本コンピュータに外部電源が接続されているか否かに応じて、本コンピュータの動作モードをパフォーマンスモードと省電力モードとの間で動的に切り替える。例えば、本コンピュータに外部電源が接続された時(AC駆動時)は、本コンピュータの動作モードはパフォーマンスモードに自動的に設定される。本コンピュータから外部電源が取り外された時(バッテリ駆動時)は、本コンピュータの動作モードは省電力モードに自動的に設定される。また、AC駆動/バッテリ駆動に関係なく、ユーザは、例えば、BIOSによって提供されるシステム環境設定画面を用いて、パフォーマンスモードおよび省電力モードの一方を明示的に指定することもできる。これにより、例えば、バッテリ駆動時においても、本コンピュータをパフォーマンスモードで動作させることができる。 As shown in FIG. 4, the computer has two operation modes, a performance mode and a power saving mode. The performance mode is an operation mode that prioritizes system performance over low power consumption, and the power saving mode is a mode that prioritizes low power consumption over performance. The BIOS dynamically switches the operation mode of the computer between the performance mode and the power saving mode according to an instruction from the user or whether an external power source is connected to the computer. For example, when an external power supply is connected to the computer (AC drive), the operation mode of the computer is automatically set to the performance mode. When the external power supply is removed from the computer (when the battery is driven), the operation mode of the computer is automatically set to the power saving mode. Regardless of the AC drive / battery drive, the user can explicitly specify one of the performance mode and the power saving mode by using a system environment setting screen provided by the BIOS, for example. Thereby, for example, even when the battery is driven, the computer can be operated in the performance mode.
また、キーボード25上のある所定のキーにパフォーマンスモードを指定するためのホットキーの機能を割り当て、他のキーに省電力モードを指定するホットキーの機能を割り当てることもできる。この場合、ユーザは、キーボード15上のホットキーを押下操作することで、パフォーマンスモードおよび省電力モードの一方を明示的に指定することができる。
Further, a hot key function for designating a performance mode can be assigned to a predetermined key on the
パフォーマンスモードにおいては、ASPM機能の実行はBIOSによって禁止される。この場合、PCI Expressリンクがアイドル状態の期間中も、PCI ExpressリンクのステートはL0 に維持される。一方、省電力モードにおいては、ASPM機能の実行はBIOSによって許可される。この場合、PCI Expressリンクがアイドル状態であるか否かに応じて、PCI Expressリンクのステートは L0 と L0s (またはL1 )との間で自動的に遷移する。 In the performance mode, execution of the ASPM function is prohibited by the BIOS. In this case, the state of the PCI Express link is maintained at L0 even while the PCI Express link is in an idle state. On the other hand, in the power saving mode, execution of the ASPM function is permitted by the BIOS. In this case, the state of the PCI Express link automatically transitions between L0 and L0s (or L1) depending on whether or not the PCI Express link is idle.
次に、図5のフローチャートを参照して、BIOSによって実行されるASPM制御処理の手順について説明する。 Next, the procedure of ASPM control processing executed by the BIOS will be described with reference to the flowchart of FIG.
本コンピュータの動作モードの切り替えを要求するモード切替イベントが発生したならば、BIOSは以下の処理を実行する。 If a mode switching event requesting switching of the operation mode of the computer occurs, the BIOS executes the following processing.
モード切替イベントは、例えば、ユーザによるシステム環境設定画面の操作、ユーザによるホットキー操作、またはACアダプタ28の着脱、等に応答して発生する。モード切替イベントに応じて、BIOSは、本コンピュータの動作モードをパフォーマンスモードおよび省電力モードのどちらに設定すべきかを判別する(ステップS11)。もしモード切替イベントの発生要因がACアダプタ28の接続に起因するものであれば、BIOSは、本コンピュータの動作モードを省電力モードからパフォーマンスモードに切り替えるべきであることを決定する。また、もしモード切替イベントの発生要因がACアダプタ28の取り外しに起因するものであれば、BIOSは、本コンピュータの動作モードをパフォーマンスモードから省電力モードからに切り替えるべきであることを決定する。また、ユーザによって明示的にパフォーマンスモードおよび省電力モードの一方が指定されならば、BIOSは、その指示に従って、本コンピュータの動作モードをパフォーマンスモードおよび省電力モードのどちらに設定すべきかを決定する。
The mode switching event occurs in response to, for example, a user operation on the system environment setting screen, a hot key operation by the user, or attachment / detachment of the
モード切替イベントによってパフォーマンスモードが要求されたならば、BIOSは、本コンピュータの動作モードとしてパフォーマンスモードを選択し、そしてパワーマネージメント制御情報“00”を各デバイスのリンク制御レジスタに書き込むことにより、ASPM機能の実行を禁止する(ステップS12)。一方、モード切替イベントによって省電力モードが要求されたならば、BIOSは、本コンピュータの動作モードとして省電力モードを選択し、そしてパワーマネージメント制御情報“01”または“11”などを各デバイスのリンク制御レジスタに書き込むことにより、ASPM機能の実行を許可する(ステップS13)。 If the performance mode is requested by the mode switching event, the BIOS selects the performance mode as the operation mode of the computer, and writes the power management control information “00” to the link control register of each device, thereby the ASPM function. Is prohibited (step S12). On the other hand, if the power saving mode is requested by the mode switching event, the BIOS selects the power saving mode as the operation mode of the computer, and the power management control information “01” or “11” is linked to each device. By writing to the control register, the execution of the ASPM function is permitted (step S13).
図6には、システム環境設定画面(SET-UP画面)の例が示されている。このシステム環境設定画面は、ASPM機能に関する設定をユーザに選択させるための画面である。ユーザは、システム環境設定画面上で、“Auto”、“Enable”、“Disable”のいずれかを指定することができる。 FIG. 6 shows an example of a system environment setting screen (SET-UP screen). This system environment setting screen is a screen for allowing the user to select settings related to the ASPM function. The user can specify “Auto”, “Enable”, or “Disable” on the system environment setting screen.
“Auto”がユーザによって選択された時、BIOSは、外部電源の接続の有無に応じてパフォーマンスモードと省電力モードとを自動的に切り替える。この“Auto”が選択された時、システム環境設定画面上には、リンクのスタンバイステートとしてL0s, L1 のどちらを使用すべきかをユーザに選択させるための設定項目も表示される。ユーザは、L0s, L1の一方を選択することができる。 When “Auto” is selected by the user, the BIOS automatically switches between the performance mode and the power saving mode depending on whether or not an external power source is connected. When “Auto” is selected, a setting item for allowing the user to select which of L0s and L1 should be used as the link standby state is also displayed on the system environment setting screen. The user can select one of L0s and L1.
“Enable”および“Disable”は、省電力モード(ASPM機能=有効)およびパフォーマンスモード(ASPM機能=無効)をユーザに選択させるための設定項目である。“Enable”が選択された時、システム環境設定画面上には、リンクのスタンバイステートとしてL0s, L1 のどちらを使用すべきかをユーザに選択させるための設定項目も表示される。ユーザは、L0s, L1の一方を選択することができる。 “Enable” and “Disable” are setting items for allowing the user to select a power saving mode (ASPM function = valid) and a performance mode (ASPM function = invalid). When “Enable” is selected, a setting item for allowing the user to select which of L0s and L1 should be used as the link standby state is also displayed on the system environment setting screen. The user can select one of L0s and L1.
“Enable”がユーザによって選択された時、BIOSは、本コンピュータの動作モードを省電力モードに切り替え、ASPM機能の実行を許可するための処理を実行する。一方、“Disable”がユーザによって選択された時、BIOSは、本コンピュータの動作モードをパフォーマンスモードに切り替え、ASPM機能の実行を禁止するための処理を実行する。 When “Enable” is selected by the user, the BIOS switches the operation mode of the computer to the power saving mode and executes processing for permitting execution of the ASPM function. On the other hand, when “Disable” is selected by the user, the BIOS switches the operation mode of the computer to the performance mode and executes a process for prohibiting the execution of the ASPM function.
システム環境設定画面上で設定された設定項目の値は、不揮発性メモリから構成されているBIOS−ROM21内に環境設定情報として格納される。
The values of the setting items set on the system environment setting screen are stored as environment setting information in the BIOS-
次に、図7のフローチャートを参照して、“Auto”モード時におけるASPM制御処理の手順について説明する。 Next, the ASPM control processing procedure in the “Auto” mode will be described with reference to the flowchart of FIG.
本コンピュータの動作中に、本コンピュータにACアダプタ28が接続された場合、または本コンピュータからACアダプタ28が取り外された場合には、EC/KBC22は、電力管理イベントの発生をBIOSに通知するために、割り込み信号(INTR)を発生する。この割り込み信号(INTR)の発生に応答して、サウスブリッジ16は、CPU11に割り込み信号(SMI)を発生する。CPU11は、SMIに応答して、BIOSのSMIルーチンを実行する。
When the
BIOSのSMIルーチンは、サウスブリッジ16内の割り込みコントローラのステータスレジスタ等をリードアクセスして、SMIの発生要因を判別する(ステップS101)。SMIの発生要因が電力管理イベントの発生であるならば、BIOSのSMIルーチンは、EC/KBC22内のステータスレジスタ等をリードアクセスして、現在、本コンピュータに外部電源が接続されているかどうか、つまりACアダプタ28の接続に起因する電力管理イベントであるかどうかを判別する(ステップS102)。
The BIOS SMI routine performs read access to the status register of the interrupt controller in the
本コンピュータに外部電源が接続されているならば、つまり電力管理イベントがACアダプタ28の接続に起因するものであるならば(ステップS102のYES)、BIOSのSMIルーチンは、本コンピュータの動作モードとしてパフォーマンスモードを選択し、そしてパワーマネージメント制御情報“00”を各デバイスのリンク制御レジスタに書き込むことにより、ASPM機能の実行を禁止する(ステップS104)。 If an external power source is connected to the computer, that is, if the power management event is caused by the connection of the AC adapter 28 (YES in step S102), the BIOS SMI routine is set as the operation mode of the computer. The performance mode is selected, and the execution of the ASPM function is prohibited by writing the power management control information “00” to the link control register of each device (step S104).
一方、本コンピュータに外部電源が接続されていないならば、つまり電力管理イベントがACアダプタ28の取り外しに起因するものであるならば(ステップS102のNO)、BIOSのSMIルーチンは、本コンピュータの動作モードとして省電力モードを選択し、そしてBIOS−ROM21内に格納されている環境設定情報で指定されるスタンバイステート(L0s, またはL1)への遷移を許可するパワーマネージメント制御情報を各デバイスのリンク制御レジスタに書き込むことにより、ASPM機能の実行を許可する(ステップS103)。
On the other hand, if the external power source is not connected to the computer, that is, if the power management event is caused by the removal of the AC adapter 28 (NO in step S102), the BIOS SMI routine is executed by the computer. The power management mode is selected as the mode, and the power management control information for permitting the transition to the standby state (L0s or L1) designated by the environment setting information stored in the BIOS-
なお、本コンピュータがパワーオンされた時には、BIOSは、POST(Power on self test)処理の中で、図7のステップS102以降の処理を実行する。 When the computer is powered on, the BIOS executes the processing after step S102 in FIG. 7 in the POST (Power on self test) processing.
このように、“Auto”モードにおいては、AC駆動時には、パフォーマンスを重視するためにL0s, L1への移行を禁止し、バッテリ駆動時には、バッテリ駆動時間を長くするためにL0s, L1への移行を許可するという制御が実行される。これにより、本コンピュータの使用環境の変化に応じて、自動的にASPM機能を有効または無効にすることができるので、省電力とパフォーマンスの両立を図ることができる。 In this way, in the “Auto” mode, the transition to L0s and L1 is prohibited during AC drive in order to emphasize performance, and the transition to L0s and L1 is performed during battery drive to increase the battery drive time. Control to permit is executed. As a result, the ASPM function can be automatically enabled or disabled according to changes in the usage environment of the computer, so that both power saving and performance can be achieved.
また、“Enable”がユーザによって選択された時には、BIOSは、AC駆動/バッテリ駆動に関係なく、本コンピュータの動作モードとして省電力モードを選択し、上述のステップS103の処理を実行する。また“Disable”がユーザによって選択された時には、BIOSは、AC駆動/バッテリ駆動に関係なく、本コンピュータの動作モードとしてパフォーマンスモードを選択し、上述のステップS104の処理を実行する。 When “Enable” is selected by the user, the BIOS selects the power saving mode as the operation mode of the computer regardless of the AC driving / battery driving, and executes the process of step S103 described above. When “Disable” is selected by the user, the BIOS selects the performance mode as the operation mode of the computer regardless of the AC drive / battery drive, and executes the process of step S104 described above.
以上のように、本実施形態においては、本コンピュータの動作モードの切り替えに応じてASPM機能の実行が動的に許可または禁止されるので、省電力とパフォーマンスの両立を図ることが可能となる。 As described above, in the present embodiment, the execution of the ASPM function is dynamically permitted or prohibited according to the switching of the operation mode of the computer, so that both power saving and performance can be achieved.
なお、本発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。更に、異なる実施形態に亘る構成要素を適宜組み合せてもよい。 Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. Further, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, you may combine suitably the component covering different embodiment.
11…CPU、14…グラフィクスコントローラ、16…サウスブリッジ、18,19…PCI EXPRESSデバイス、22…EC/KBC、201,202…ポート、102,103…ASPMサポートレジスタ、103…リンク制御レジスタ。
DESCRIPTION OF
Claims (4)
シリアルバスを介してポイントツーポイント形式で相互接続された第1および第2のデバイスであって、前記第1および第2のデバイスが動作状態において、前記シリアルバスがアイドル状態であるか否かに応じて前記シリアルバスの状態を動作ステートと当該動作ステートよりも低消費電力のスタンバイステートとの間で遷移させるASPM(Active State Power Management)機能を各々が有する第1および第2のデバイスと、
前記ASPM機能の設定に関する第1、第2および第3のモードそれぞれに対応する3つの設定項目を含み、前記第1、前記第2および前記第3のモードの内の一つをユーザに選択させるための設定画面を表示する手段と、
前記第1のモードが選択された場合、前記情報処理装置がバッテリによって駆動される場合に前記ASPM機能の実行を許可し、前記第2のモードが選択された場合、前記情報処理装置がバッテリまたは外部電源のいずれによって駆動されるかに関係なく前記ASPM機能の実行を許可し、前記第3のモードが選択された場合、前記情報処理装置がバッテリまたは外部電源のいずれによって駆動されるかに関係なく前記ASPM機能の実行を禁止する制御手段とを具備する情報処理装置。 In an information processing device,
First and second devices interconnected in a point-to-point fashion via a serial bus, wherein the first and second devices are in an operating state and the serial bus is in an idle state In response, first and second devices each having an ASPM (Active State Power Management) function for transitioning the state of the serial bus between an operation state and a standby state with lower power consumption than the operation state;
Three setting items corresponding to the first, second, and third modes relating to the setting of the ASPM function are included, and the user is allowed to select one of the first, second, and third modes . Means for displaying a setting screen for
When the first mode is selected, the ASPM function is allowed to be executed when the information processing device is driven by a battery, and when the second mode is selected, the information processing device is a battery or Regardless of whether the ASPM function is executed regardless of whether it is driven by an external power source, and when the third mode is selected, whether the information processing device is driven by a battery or an external power source And an information processing apparatus comprising control means for prohibiting execution of the ASPM function.
前記ASPM機能の設定に関する第1、第2および第3のモードそれぞれに対応する3つの設定項目を含み、前記第1、前記第2および前記第3のモードの内の一つをユーザに選択させるための設定画面を表示するステップと、
前記第1のモードが選択された場合、前記情報処理装置がバッテリによって駆動される場合に前記ASPM機能の実行を許可し、前記第2のモードが選択された場合、前記情報処理装置がバッテリまたは外部電源のいずれによって駆動されるかに関係なく前記ASPM機能の実行を許可し、前記第3のモードが選択された場合、前記情報処理装置がバッテリまたは外部電源のいずれによって駆動されるかに関係なく前記ASPM機能の実行を禁止するステップとを具備する制御方法。 First and second devices interconnected in a point-to-point fashion via a serial bus, wherein the first and second devices are in an operating state and the serial bus is in an idle state Accordingly, there are provided first and second devices each having an ASPM (Active State Power Management) function for transitioning the state of the serial bus between an operation state and a standby state with lower power consumption than the operation state. A control method for controlling the operation of an information processing apparatus,
Three setting items corresponding to the first, second, and third modes relating to the setting of the ASPM function are included, and the user is allowed to select one of the first, second, and third modes . A step for displaying a setting screen for
When the first mode is selected, the ASPM function is allowed to be executed when the information processing device is driven by a battery, and when the second mode is selected, the information processing device is a battery or Regardless of whether the ASPM function is executed regardless of whether it is driven by an external power source, and when the third mode is selected, whether the information processing device is driven by a battery or an external power source And a step of prohibiting execution of the ASPM function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010123503A JP5075942B2 (en) | 2010-05-28 | 2010-05-28 | Information processing apparatus and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010123503A JP5075942B2 (en) | 2010-05-28 | 2010-05-28 | Information processing apparatus and control method thereof |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005034725A Division JP4594761B2 (en) | 2005-02-10 | 2005-02-10 | Information processing apparatus and control method thereof |
Related Child Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010240152A Division JP5085714B2 (en) | 2010-10-26 | 2010-10-26 | Information processing apparatus and control method thereof |
JP2010240153A Division JP5112495B2 (en) | 2010-10-26 | 2010-10-26 | Information processing apparatus and control method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010257471A JP2010257471A (en) | 2010-11-11 |
JP5075942B2 true JP5075942B2 (en) | 2012-11-21 |
Family
ID=43318239
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010123503A Expired - Fee Related JP5075942B2 (en) | 2010-05-28 | 2010-05-28 | Information processing apparatus and control method thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5075942B2 (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06231533A (en) * | 1993-02-02 | 1994-08-19 | Matsushita Electric Ind Co Ltd | Cd player |
JP2002007316A (en) * | 2000-06-19 | 2002-01-11 | Niigata Fuji Xerox Manufacturing Co Ltd | Low power consumption computer system |
-
2010
- 2010-05-28 JP JP2010123503A patent/JP5075942B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2010257471A (en) | 2010-11-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4594761B2 (en) | Information processing apparatus and control method thereof | |
US9086966B2 (en) | Systems, apparatuses, and methods for handling timeouts | |
JP5165652B2 (en) | Power-saving electronic device for computer motherboard in standby state | |
CN102778943B (en) | Condition control method, device and portable terminal device | |
TWI578154B (en) | System, method and apparatus for power management | |
KR20090040410A (en) | Devices, software, and methods with multiple graphics subsystems and power saving modes | |
JP2007249660A (en) | Information processor and method of controlling system state | |
EP2857929B1 (en) | Information processing apparatus, information processing system, and power control method | |
KR20040034314A (en) | The power management method of portable computer | |
JP5773288B2 (en) | Wake-up method, hot-swap method, and device based on high-speed interchip HSIC interface | |
US8281171B2 (en) | Adjustment of power-saving strategy depending on working state of CPU | |
US20090300396A1 (en) | Information processing apparatus | |
EP3161587A1 (en) | System standby emulation with fast resume | |
JP4764144B2 (en) | Information processing apparatus and processor control method | |
JP2006338380A (en) | Information processor and its control method | |
TWI463322B (en) | Computer system with dual host | |
JP5112495B2 (en) | Information processing apparatus and control method thereof | |
JP5085714B2 (en) | Information processing apparatus and control method thereof | |
JP5075942B2 (en) | Information processing apparatus and control method thereof | |
JP2001154752A (en) | Portable information processor and state transiting method of the same | |
JP2002082743A (en) | Electronic equipment and storage medium stored with electronic equipment control program | |
JP2012116138A (en) | Control device, control program, and image forming device | |
CN103473194A (en) | Electronic device and control method thereof | |
JP2001005547A (en) | Equipment and method for controlling state transition of information processor | |
TW546560B (en) | Method of achieving computer power saving through memory throttling |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120426 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120508 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120704 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120731 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120827 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5075942 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150831 Year of fee payment: 3 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313121 Free format text: JAPANESE INTERMEDIATE CODE: R313117 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |