JP2006133895A - Information processor, control method, and program - Google Patents
Information processor, control method, and program Download PDFInfo
- Publication number
- JP2006133895A JP2006133895A JP2004319639A JP2004319639A JP2006133895A JP 2006133895 A JP2006133895 A JP 2006133895A JP 2004319639 A JP2004319639 A JP 2004319639A JP 2004319639 A JP2004319639 A JP 2004319639A JP 2006133895 A JP2006133895 A JP 2006133895A
- Authority
- JP
- Japan
- Prior art keywords
- information processing
- processing apparatus
- data transfer
- signal lines
- operation mode
- 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.)
- Pending
Links
Images
Landscapes
- Power Sources (AREA)
Abstract
Description
本発明は、情報処理装置、制御方法、及びプログラムに関する。特に、本発明は、消費電力を制御する情報処理装置、制御方法、及びプログラムに関する。 The present invention relates to an information processing apparatus, a control method, and a program. In particular, the present invention relates to an information processing apparatus, a control method, and a program for controlling power consumption.
近年、パーソナルコンピュータやサーバー・システムの新しいバス・アーキテクチャとしてPCI Expressの導入が予定されており、モバイルPCにおいても近日にPCI Express搭載製品の発表が予定されている。PCI Expressの導入によりI/Oバスのバンド幅は飛躍的に向上し、システムのパフォーマンスの向上が期待される。例えば、従来のPCIバスのバンド幅は133MB/secであり、AGPバスのバンド幅は1GB/secであるのに対し、PCI Express x16のバンド幅は4GB/secにも達する。 In recent years, PCI Express is planned to be introduced as a new bus architecture for personal computers and server systems, and PCI Express-equipped products will be announced in mobile PCs soon. With the introduction of PCI Express, the bandwidth of the I / O bus is dramatically improved, and system performance is expected to improve. For example, the bandwidth of a conventional PCI bus is 133 MB / sec and the bandwidth of an AGP bus is 1 GB / sec, whereas the bandwidth of PCI Express x16 reaches 4 GB / sec.
しかしながら、バンド幅の向上に伴い、PCI Expressを実現する各デバイスの消費電力も増加している。このため、従来より効率的な消費電力制御が必要となる。これまでの消費電力制御の一例として、パラレルバスのバス幅を制御する技術を示す(特許文献1参照。)。この文献は、マイクロコンピュータバス上のデータトラフィック量に応じて、その幅を変更する技術を開示している。 However, with the improvement of the bandwidth, the power consumption of each device that implements PCI Express is also increasing. For this reason, more efficient power consumption control than before is required. As an example of conventional power consumption control, a technique for controlling the bus width of a parallel bus is shown (see Patent Document 1). This document discloses a technique for changing the width according to the amount of data traffic on the microcomputer bus.
しかしながら、この技術において、データトラフィック量の予測は困難であり、その困難性を解決する手段については充分に開示されていない。また、バスに接続した各デバイスは、例えば32ビット等の最大バス幅を前提として設計されている。このため、各デバイスを、バス幅を減少させる技術に適用するためには相当な改造が必要となる。このように、既存技術との親和性の低さが問題となる。 However, in this technique, it is difficult to predict the amount of data traffic, and means for solving the difficulty is not fully disclosed. Each device connected to the bus is designed on the assumption of a maximum bus width of 32 bits, for example. For this reason, considerable modification is required to apply each device to a technique for reducing the bus width. Thus, the low affinity with the existing technology becomes a problem.
また、パラレスバスのバス幅を減少させてしまうと、データ転送に要する時間は著しく低下してしまう。即ちパラレルバスにおいて、送信すべきデータは通常最大ビット幅である32ビットずつに分割されている。従って、32ビットのバス幅を8ビットに減少させた場合には、そのデータを更に4分割して送信するので、4倍の転送時間(特に、レイテンシ)が必要になる。 Further, if the bus width of the parallel bus is reduced, the time required for data transfer is significantly reduced. That is, in the parallel bus, data to be transmitted is usually divided into 32 bits each having the maximum bit width. Therefore, when the 32-bit bus width is reduced to 8 bits, the data is further divided into four parts and transmitted, so four times the transfer time (particularly latency) is required.
これに対して、PCI Express等のシリアルバスは、各々が独立してデータをシリアル転送する複数のシリアル信号線により構成される。より詳しくは、各々のシリアル信号線は、送信すべきデータを予め分割した複数のデータパケットを1つずつ転送する。このため、シリアル信号線の数を変更しても、1つのデータパケットの転送に要する時間は同一である。また、転送すべきデータ量が少ない場合には、シリアル信号線の数を減少させた場合であっても、転送時間が増加しない。 On the other hand, a serial bus such as PCI Express includes a plurality of serial signal lines that serially transfer data independently of each other. More specifically, each serial signal line transfers a plurality of data packets obtained by dividing data to be transmitted in advance one by one. For this reason, even if the number of serial signal lines is changed, the time required to transfer one data packet is the same. When the amount of data to be transferred is small, the transfer time does not increase even when the number of serial signal lines is reduced.
本発明は、シリアルバスのバス幅を、PCの電源状態に基づいて動的に制御する。これにより、データの転送時間の増加量をこれまでより小さく抑えつつ、発熱量を低減し、かつモバイルPC等のバッテリライフを向上させることを目的とする。 The present invention dynamically controls the bus width of the serial bus based on the power state of the PC. Accordingly, it is an object to reduce the amount of heat generation and improve the battery life of a mobile PC or the like while suppressing an increase in data transfer time to a smaller amount than before.
そこで本発明は、上記の課題を解決することのできる情報処理装置、制御方法、及びプログラムを提供することを目的とする。この目的は特許請求の範囲における独立項に記載の特徴の組み合わせにより達成される。また従属項は本発明の更なる有利な具体例を規定する。 Accordingly, an object of the present invention is to provide an information processing apparatus, a control method, and a program that can solve the above-described problems. This object is achieved by a combination of features described in the independent claims. The dependent claims define further advantageous specific examples of the present invention.
上記課題を解決するために、本発明の第1の形態においては、デバイス間のデータ転送を制御する情報処理装置であって、当該情報処理装置の電源の状態に基づいて、当該情報処理装置を通常モード及び省電力モードの何れにより動作させるかを判断する動作モード判断部と、当該情報処理装置を省電力モードで動作させると判断した場合に、当該情報処理装置を通常モードで動作させると判断した場合と比較して、データ転送に用いる信号線の数をより少ない数に設定するデータ転送設定部とを備える情報処理装置を提供する。 In order to solve the above-described problem, in a first embodiment of the present invention, an information processing apparatus that controls data transfer between devices, the information processing apparatus is controlled based on a power state of the information processing apparatus An operation mode determination unit that determines whether to operate in the normal mode or the power saving mode, and when it is determined that the information processing apparatus is to be operated in the power saving mode, the information processing apparatus is determined to be operated in the normal mode. An information processing apparatus is provided that includes a data transfer setting unit that sets the number of signal lines used for data transfer to a smaller number as compared with the case of the above.
また、各々のデバイスが他のデバイスとの間で行うデータ転送を中継するデータ転送制御部を更に備え、各々のデバイスは、各々がデータをシリアル転送する複数のシリアル信号線により、データ転送制御部と接続し、データ転送設定部は、当該情報処理装置を省電力モードで動作させると判断した場合に、当該情報処理装置を通常モードで動作させると判断した場合と比較して、データ転送制御部が各々のデバイスとデータ転送するシリアル信号線の数をより少ない数に設定してもよい。 Each device further includes a data transfer control unit that relays data transfer performed between other devices, and each device includes a plurality of serial signal lines that serially transfer data to each other. And when the data transfer setting unit determines to operate the information processing device in the power saving mode, the data transfer control unit compares the data transfer control unit with the data transfer control unit. However, the number of serial signal lines for data transfer with each device may be set to a smaller number.
また、データ転送設定部は、データ転送制御部が各々のデバイスとデータ転送するシリアル信号線の数を変更する場合に、データ転送を一旦中断し、変更後のシリアル信号線の数を、データ転送制御部が各々のデバイスとデータ転送するシリアル信号線の上限数として設定し、データ転送制御部は、データ転送設定部により設定された上限数から順に、データ転送するシリアル信号線の数を順次減少させ、各々のデバイスとの間でデータ転送可能なシリアル信号線の最大数を定めるネゴシエーション処理を行ってもよい。
なお、上記の発明の概要は、本発明の必要な特徴の全てを列挙したものではなく、これらの特徴群のサブコンビネーションもまた、発明となりうる。
In addition, when the data transfer control unit changes the number of serial signal lines for data transfer with each device, the data transfer setting unit temporarily interrupts the data transfer and changes the number of serial signal lines after the change to the data transfer The control unit sets the upper limit number of serial signal lines for data transfer with each device, and the data transfer control unit sequentially decreases the number of serial signal lines for data transfer from the upper limit number set by the data transfer setting unit. The negotiation processing may be performed to determine the maximum number of serial signal lines that can transfer data to and from each device.
The above summary of the invention does not enumerate all the necessary features of the present invention, and sub-combinations of these feature groups can also be the invention.
本発明によれば、これまでよりも処理性能を低下させることなく、情報処理装置の消費電力を低減させることができる。 According to the present invention, it is possible to reduce the power consumption of the information processing apparatus without lowering the processing performance than before.
以下、発明の実施の形態を通じて本発明を説明するが、以下の実施形態は特許請求の範囲にかかる発明を限定するものではなく、また実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。 Hereinafter, the present invention will be described through embodiments of the invention. However, the following embodiments do not limit the invention according to the scope of claims, and all combinations of features described in the embodiments are included. It is not necessarily essential for the solution of the invention.
図1は、情報処理装置10の全体構成を示す。情報処理装置10は、ホストコントローラ1082により相互に接続される中央処理装置1000、RAM1020、及びグラフィックコントローラ1075を有するCPU周辺部を備える。また、情報処理装置10は、入出力コントローラ1084によりホストコントローラ1082に接続される通信インターフェイス1030、ハードディスクドライブ1040、及びCD−ROMドライブ1060を有する入出力部を備える。また、情報処理装置10は、入出力コントローラ1084に接続されるBIOS1010、フレキシブルディスクドライブ1050、及び入出力チップ1070を有するレガシー入出力部を備える。
FIG. 1 shows the overall configuration of the
ホストコントローラ1082は、RAM1020と、高い転送レートでRAM1020をアクセスする中央処理装置1000及びグラフィックコントローラ1075とを接続する。また、ホストコントローラ1082は、本発明に係るデータ転送制御部の一例であり、各々のデバイスが他のデバイスとの間で行うデータ転送を中継する。一例として、ホストコントローラ1082は、グラフィックコントローラ1075が中央処理装置1000との間で行うデータ転送を中継する。
The
より詳細には、ホストコントローラ1082は、各々がデータをシリアル転送する複数のシリアル信号線により、各々のデバイスと接続している。このシリアル信号線は、例えば、PCI Expressの規格に準拠している。そしてPCI Expressの規格において、ホストコントローラ1082は、1レーン、2レーン、4レーン、8レーン、16レーン、及び32レーンの何れかのレーン数のシリアル信号線を選択して、各デバイスとのデータ転送に用いることができる。また、本発明に係るデバイスとは、いわゆるI/Oデバイスのみならず、中央処理装置1000やRAM1020等のように、ホストコントローラ1082によりデータ転送を中継する対象となるコンポーネントを含む。
More specifically, the
中央処理装置1000は、BIOS1010及びRAM1020に格納されたプログラムに基づいて動作し、各部の制御を行う。RAM1020は、中央処理装置1000により読み出される各種のデータを格納している。グラフィックコントローラ1075は、中央処理装置1000等がRAM1020内に設けたフレームバッファ上に生成する画像データを取得し、表示装置1080上に表示させる。これに代えて、グラフィックコントローラ1075は、中央処理装置1000等が生成する画像データを格納するフレームバッファを、内部に含んでもよい。
The
入出力コントローラ1084は、ホストコントローラ1082と、比較的高速な入出力装置である通信インターフェイス1030、ハードディスクドライブ1040、CD−ROMドライブ1060、及びエンベッデドコントローラ1076とを接続する。通信インターフェイス1030は、ネットワークを介して外部の装置と通信する。ハードディスクドライブ1040は、情報処理装置10が使用するプログラム及びデータを格納する。CD−ROMドライブ1060は、CD−ROM1095からプログラム又はデータを読み取り、RAM1020を介して入出力チップ1070に提供する。
The input /
エンベッデドコントローラ1076には、AC電源及びバッテリ1078を選択的に使用させる電源制御部1072と、筐体内の温度を測定するサーマルセンサ1074とが接続される。また、エンベッデドコントローラ1076は、グラフィックコントローラ1075と接続し、グラフィックコントローラ1075の動作状態を取得する。そして、エンベッデドコントローラ1076は、AC電源等の電源状態、筐体内の温度、又は、グラフィックコントローラ1075の動作状態に基づいて、SMI(System Management Interrupt)リクエストを入出力コントローラ1084に対して出力する。これを受けて、入出力コントローラ1084は、SMI信号を中央処理装置1000に対して出力する。
The embedded
また、入出力コントローラ1084には、BIOS1010と、フレキシブルディスクドライブ1050や入出力チップ1070等の比較的低速な入出力装置とが接続される。BIOS1010は、情報処理装置10の起動時に中央処理装置1000が実行するブートプログラムや、情報処理装置10のハードウェアに依存するプログラム等を格納する。フレキシブルディスクドライブ1050は、フレキシブルディスク1090からプログラム又はデータを読み取り、RAM1020を介して入出力チップ1070に提供する。入出力チップ1070は、フレキシブルディスク1090や、例えばパラレルポート、シリアルポート、キーボードポート、マウスポート等を介して各種の入出力装置を接続する。
The input /
情報処理装置10に提供されるプログラムは、フレキシブルディスク1090、CD−ROM1095、又はICカード等の記録媒体に格納されて利用者によって提供される。プログラムは、入出力チップ1070及び/又は入出力コントローラ1084を介して、記録媒体から読み出され情報処理装置10にインストールされて実行される。プログラムが情報処理装置10等に働きかけて行わせる動作は、図2から図8において後述する。
A program provided to the
以上に示したプログラムは、外部の記憶媒体に格納されてもよい。記憶媒体としては、フレキシブルディスク1090、CD−ROM1095の他に、DVDやPD等の光学記録媒体、MD等の光磁気記録媒体、テープ媒体、ICカード等の半導体メモリ等を用いることができる。また、専用通信ネットワークやインターネットに接続されたサーバシステムに設けたハードディスク又はRAM等の記憶装置を記録媒体として使用し、ネットワークを介してプログラムを情報処理装置10に提供してもよい。
The program shown above may be stored in an external storage medium. As the storage medium, in addition to the
図2は、エンベッデドコントローラ1076の機能を機能ブロックに分類して示す。エンベッデドコントローラ1076は、動作モード判断部200と、3D処理実行状態判断部210として機能する。動作モード判断部200は、情報処理装置10の電源の状態に基づいて、情報処理装置10を通常モード及び省電力モードの何れにより動作させるかを判断する。例えば、動作モード判断部200は、情報処理装置10が外部のAC電源により駆動しているかバッテリ1078により駆動しているかを、電源制御部1072から入力する信号に基づいて判断してもよい。そしてこの場合、動作モード判断部200は、情報処理装置10がAC電源により駆動している場合に、情報処理装置10を通常モードで動作させると判断する。一方、動作モード判断部200は、情報処理装置10がバッテリ1078により駆動している場合に、情報処理装置10を省電力モードで動作させると判断する。
FIG. 2 shows the functions of the embedded
また、好ましくは、動作モード判断部200は、情報処理装置10がAC電源により駆動している場合において、情報処理装置10の消費電力が、そのAC電源が供給可能な電力の上限を定める基準電力を超えた場合には、情報処理装置10を省電力モードにより動作させると判断する。また、これに加えて、動作モード判断部200は、情報処理装置10の筐体温度が、筐体に対応して定められた異常な高温を示す基準温度を超えた場合に、情報処理装置10を省電力モードで動作させると判断してもよい。具体的には、動作モード判断部200は、サーマルセンサ1074から入力する信号に基づいて、情報処理装置10の筐体温度が基準温度を超えたか否かを判断してもよい。動作モード判断部200は、以上の判断結果をデータ転送設定部310及びデバイス動作モード変更部320に通知するべく、SMIリクエストを入出力コントローラ1084に対して出力する。
Preferably, the operation
3D処理実行状態判断部210は、グラフィックコントローラ1075において3Dグラフィックスの描画処理が行われている頻度を判断する。例えば、3D処理実行状態判断部210は、3Dグラフィックスの描画処理を行う毎に出力される信号を、グラフィックコントローラ1075から受信する。そして、3D処理実行状態判断部210は、過去の予め定められた期間(例えば数秒)の間に受信したその信号の受信頻度に基づいて、3Dグラフィックスの描画処理が行われている頻度を判断する。3D処理実行状態判断部210は、以上の判断結果をデータ転送設定部310に通知するべく、SMIリクエストを入出力コントローラ1084に対して出力する。
The 3D processing execution
図3は、中央処理装置1000の機能を機能ブロックに分類して示す。中央処理装置1000は、トランザクション頻度検出部300と、データ転送設定部310と、デバイス動作モード変更部320として機能する。トランザクション頻度検出部300は、何れかのデバイスが他のデバイスに対してデータを要求するトランザクションの頻度を検出する。例えば、トランザクション頻度検出部300は、グラフィックコントローラ1075が中央処理装置1000に対して、描画すべきデータを要求するトランザクションの頻度を検出する。
FIG. 3 shows the functions of the
データ転送設定部310は、BIOS1010におけるACPI(Advanced Configuration and Power Interface)を用いたプログラムにより実現され、入出力コントローラ1084からSMIを受けて起動する。そして、データ転送設定部310は、動作モード判断部200が情報処理装置10を省電力モード及び通常モードの何れで動作させると判断したかを検出する。データ転送設定部310は、動作モード判断部200が情報処理装置10を省電力モードで動作させると判断した場合に、動作モード判断部200が情報処理装置10を通常モードで動作させると判断した場合と比較して、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線のレーン数をより少ない数に設定する。
The data
また、データ転送設定部310は、トランザクション頻度検出部300が検出したトランザクションの頻度に更に基づいて、例えばグラフィックコントローラ1075及び中央処理装置1000が、そのトランザクションに対応するデータ転送に用いる信号線のレーン数を設定してもよい。更に、データ転送設定部310は、3D処理実行状態判断部210が判断した、3Dグラフィックスの描画処理の頻度に更に基づいて、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線のレーン数を設定してもよい。
Further, the data
なお、データ転送設定部310は、何れかのデバイスにおいて通常時よりデータ転送レートが高い処理を開始する旨の処理開始指示を、利用者から受けた場合には、情報処理装置10の電源状態に関わらず、データ転送に用いる信号線のレーン数を増加させる。これにより、例えば情報処理装置10がバッテリ1078により駆動している場合であっても、必要に応じてデータ転送レートを高めることができる。
Note that the data
デバイス動作モード変更部320は、BIOS1010におけるACPI(Advanced Configuration and Power Interface)を用いたプログラムにより実現され、入出力コントローラ1084からSMIを受けて起動する。そして、デバイス動作モード変更部320は、情報処理装置10の消費電力が上記の基準電力を超え、かつデータ転送設定部310がデータ転送に用いる信号線のレーン数を減少させた場合において、情報処理装置10の消費電力が基準電力以下に低下しない場合に、少なくとも一つのデバイスの動作モードを、消費電力がより低い動作モードに変更する。
The device operation
例えば、デバイス動作モード変更部320は、グラフィックコントローラ1075がデータ転送に用いる信号線のレーン数を減少させてから予め定められた期間が経過しても、情報処理装置10の消費電力が基準電力以下に低下しない場合には、グラフィックコントローラ1075の動作モードを消費電力がより低い動作モードに変更する。
For example, the device operation
このように、情報処理装置10の消費電力が基準より高い場合には、デバイスがデータ転送に用いる信号線のレーン数をまず減少し、それでもなお消費電力が低下しない場合にのみ、デバイスの動作モードを変更する。これにより、情報処理装置10の処理性能をできるだけ保持しつつ、AC電源の過負荷を防止できる。
As described above, when the power consumption of the
図4は、情報処理装置10がデバイス間のデータ転送を制御する処理の流れ図を示す。図5は、図4に続く処理の流れ図を示す。図6は、図5に続く処理の流れ図を示す。情報処理装置10は、以下の処理を例えば定期的に、又は、エンベッデドコントローラ1076が電源状態の変化を検出した時に行う。まず、データ転送設定部310は、シリアル信号線数の制御が有効に設定されているか否かを判断する(S400)。シリアル信号線数の制御が有効に設定されていない場合には(S400:NO)、データ転送設定部310は、処理を終了する。
FIG. 4 shows a flowchart of processing in which the
一方、シリアル信号線数の制御が有効に設定されている場合に(S400:YES)、データ転送設定部310は、データ転送に用いる信号線数を増加する旨を示す増加指示、例えば3Dグラフィックスの描画処理を開始する処理開始指示を、利用者から受けたか否かを判断する(S410)。例えば、データ転送設定部310は、利用者から指示を受け付けるユーティリティソフトウェアを予め起動し、指示を入力する入力画面を表示装置1080の画面上に表示しておく。そして、データ転送設定部310は、信号線数を増加する旨の増加指示を示すボタンに対して、利用者からクリック操作を受けた場合に、利用者から増加指示を受けたと判断してもよい。
On the other hand, when the control of the number of serial signal lines is set to be effective (S400: YES), the data
増加指示を受けた場合に(S410:YES)、データ転送設定部310は、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線を16レーンに設定する(S620)。一方、増加指示を受けていない場合に(S410:NO)、データ転送設定部310は、データ転送に用いる信号線数を減少させる旨を示す減少指示を利用者から受けたか否かを判断する(S420)。減少指示を受けた場合に(S420:YES)、データ転送設定部310は、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線を1レーンに設定する(S610)。
When the increase instruction is received (S410: YES), the data
なお、PCI Expressの規格によれば、シリアル信号線のレーン数は、1レーンから32レーンの範囲で設定可能であるが、本例においては、シリアル信号線のレーン数を1レーン及び16レーンの何れかに設定する場合を例に説明する。 According to the PCI Express standard, the number of lanes of the serial signal line can be set in the range of 1 lane to 32 lanes, but in this example, the number of lanes of the serial signal line is 1 lane and 16 lanes. A case of setting to either will be described as an example.
一方、減少指示を受けていない場合に(S420:NO)、動作モード判断部200は、以下の処理により、情報処理装置10の電源状態に基づく判断を行う。まず、動作モード判断部200は、情報処理装置10に対して新たに外部のAC電源が接続された場合に(S430:YES)、情報処理装置10を通常モードで動作させると判断し、S620に処理を移す。即ち、データ転送設定部310は、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線を16レーンに設定する(S620)。
On the other hand, when the decrease instruction has not been received (S420: NO), the operation
次に、動作モード判断部200は、情報処理装置10からAC電源が取り外されたか否かを判断する(S440)。情報処理装置10からAC電源が取り外された場合に(S440:YES)、動作モード判断部200は、情報処理装置10を省電力モードで動作させると判断し、S610に処理移す。即ち、データ転送設定部310は、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線を1レーンに設定する(S610)。
Next, the operation
次に、動作モード判断部200は、情報処理装置10の消費電力が、AC電源が供給可能な電力の上限を定める基準電力以下になったか否かを判断する(S500)。情報処理装置10の消費電力が基準電力以下に低下した場合に(S500:YES)、動作モード判断部200は、情報処理装置10を通常モードで動作させると判断し、S620に処理を移す。即ち、データ転送設定部310は、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線を16レーンに設定する(S620)。
Next, the operation
一方、情報処理装置10の消費電力が基準電力を超えて上昇した場合に(S510:YES)、動作モード判断部200は、情報処理装置10を省電力モードで動作させると判断し、S610に処理を移す。即ち、データ転送設定部310は、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線を1レーンに設定する(S610)。
On the other hand, when the power consumption of the
次に、動作モード判断部200は、情報処理装置10の筐体温度が、筐体に対応して定められた異常な高温を示す基準温度以下に低下したか否かを判断する(S520)。筐体温度が基準温度以下に低下して異常な高温の状態から復旧した場合に(S520:YES)、動作モード判断部200は、情報処理装置10を通常モードで動作させると判断し、S620に処理を移す。即ち、データ転送設定部310は、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線を16レーンに設定する(S620)。
Next, the operation
次に、動作モード判断部200は、情報処理装置10の筐体温度が、異常な高温を示す基準温度を超えて上昇したか否かを判断する(S530)。筐体温度が基準温度を超えて上昇した場合に(S530:YES)、動作モード判断部200は、情報処理装置10を省電力モードで動作させると判断し、S610に処理を移す。即ち、データ転送設定部310は、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線を1レーンに設定する(S610)。これにより、筐体が高温になって利用者に不快感を与えることを防止できる。
Next, the operation
なお、筐体温度は一例であり、上記処理に代えて、動作モード判断部200は、筐体内の予め定められた部分の温度の温度が基準温度を超えて上昇したか否かを判断してもよい。即ち例えば、動作モード判断部200は、中央処理装置1000の温度が、中央処理装置1000に対応して定められた基準温度を超えて上昇したか否かを判断してもよい。これにより、温度測定の対象となるデバイスの誤動作・破損を防止することができる。
Note that the housing temperature is an example, and instead of the above processing, the operation
次に、トランザクション頻度検出部300は、何れかのデバイスが他のデバイスに対してデータを要求するトランザクションの頻度を検出する(S540)。そして、トランザクション頻度検出部300は、検出したそのトランザクションの頻度が、予め定められた基準の頻度以上か否かを判断する。一例として、トランザクション頻度検出部300は、検出したそのトランザクションの頻度から予測されるそのトランザクションに対応するデータ転送スループットが、1レーンのシリアル信号線により転送可能なデータのスループットを超えるか否かを判断してもよい。
Next, the transaction
トランザクションの頻度が基準の頻度以上である場合に(S540:YES)、動作モード判断部200は、情報処理装置10を通常モードで動作させると判断し、S620に処理を移す。即ち、データ転送設定部310は、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線を16レーンに設定する(S620)。
When the transaction frequency is equal to or higher than the reference frequency (S540: YES), the operation
次に、動作モード判断部200は、バッテリ1078の残量が予め定められた基準量以下か否かを判断する(S550)。バッテリ1078の残量が基準量以下に低下した場合に(S550:YES)、動作モード判断部200は、情報処理装置10を省電力モードで動作させると判断し、S610に処理を移す。即ち、データ転送設定部310は、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線を1レーンに設定する(S610)。
Next, the operation
次に、データ転送設定部310は、3Dグラフィックスの描画処理の処理開始指示を受けた場合において、3Dグラフィックスの描画処理が行われないまま、予め定められた基準猶予期間が経過したか否かを判断する(S600)。基準猶予期間が経過した場合に(S600:YES)、データ転送設定部310は、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線を1レーンに設定する(S610)。
Next, when receiving a 3D graphics rendering process start instruction, the data
続いて、デバイス動作モード変更部320は、情報処理装置10の消費電力が、AC電源が供給可能な電力の上限を定める基準電力を超えた状態の期間が、所定の期間に達したか否かを判断する(S630)。所定の期間に達した場合に(S630:YES)、デバイス動作モード変更部320は、何れかのデバイスの動作モードを、消費電力がより低い動作モードに変更する(S640)。即ちこれにより、デバイス動作モード変更部320は、あるデバイスがデータ転送に用いる信号線のレーン数を減少させてから予め定められた期間が経過しても、情報処理装置10の消費電力が基準電力以下に低下しない場合には、そのデバイスの動作モードを消費電力がより低い動作モードに変更し、AC電源の過負荷を防止することができる。
Subsequently, the device operation
以上、図4から図6に示したように、情報処理装置10の消費電力を低下すべき場合においては、シリアル転送に用いるレーン数を減少させ、情報処理装置10の消費電力を増加させても良い場合には、シリアル転送に用いるレーン数を増加させる。これにより、できるだけ高い性能を維持しつつ、消費電力を低減することができる。
As described above, as illustrated in FIGS. 4 to 6, when the power consumption of the
例えばあるパーソナルコンピュータにおいて、シリアル転送を16レーンから1レーンに変更して実測した結果、消費電力が1.78W減少した。これにより、6セル・バッテリで6時間のバッテリライフを有するパーソナルコンピュータにおいては、約65分間バッテリライフを伸ばすことができた。また、あるベンチマークソフトウェアのスコアは、シリアル転送を16レーンから1レーンに変更しても、数%程度しか低下しないことが確かめられた。 For example, in a personal computer, the serial transfer was changed from 16 lanes to 1 lane, and as a result, the power consumption was reduced by 1.78 W. As a result, in a personal computer having a battery life of 6 hours with a 6-cell battery, the battery life could be extended for about 65 minutes. In addition, it was confirmed that the score of a certain benchmark software decreased only about several percent even when the serial transfer was changed from 16 lanes to 1 lane.
図7は、図6のS610及びS620の処理の詳細を示す。データ転送設定部310は、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線のレーン数を変更する場合に、以下の処理を行う。まず、データ転送設定部310は、ホストコントローラ1082及び各デバイス間のデータ転送を一旦中断する(S700)。この処理に伴い、データ転送設定部310は、データ転送に利用可能なシリアル信号線のレーン数をホストコントローラ1082が各デバイスに対して問い合わせるポーリング処理を更に中断させる。
FIG. 7 shows details of the processing of S610 and S620 of FIG. The data
次に、データ転送設定部310は、変更先のシリアル信号線のレーン数を、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線の上限数として設定する(S710)。即ちデータ転送設定部310は、S610においては、シリアル信号線の上限数を1に設定し、S620においては、シリアル信号線の上限数を16に設定する。処理の具体例として、データ転送設定部310は、シリアル信号線の上限数を定めるホストコントローラ1082内のレジスタに、変更先のシリアル信号線のレーン数を示すデータを書き込む。そして、データ転送設定部310は、ポーリング処理を再開させる(S720)。
Next, the data
これを受けて、ホストコントローラ1082は、データ転送設定部310により設定された上限数から順に、データ転送するシリアル信号線のレーン数を順次減少させ、各々のデバイスとの間でデータ転送可能なシリアル信号線の最大数を定めるリンク・トレーニング処理を行う。データ転送設定部310は、リンク・トレーニング処理が完了したか否かを示すレジスタを定期的に読み出す(S730)。リンク・トレーニング処理が終了した場合に(S740:YES)、データ転送設定部310は、確立されたデータ転送のリンクにおけるシリアル信号線数の確認処理を行う(S750)。
In response to this, the
図8は、S610及びS620の処理中におけるリンク状態の遷移図である。16レーンのシリアル信号線により通信していた状態から、1レーンのシリアル信号線により通信する状態に遷移する状態遷移を、点線で示す。この場合、リンク確立状態は、16レーンのシリアル信号線により通信していた状態(×16:L0)から、復旧状態を経由して、一旦通信無効状態に遷移する。 FIG. 8 is a transition diagram of the link state during the processing of S610 and S620. A state transition from a state where communication is performed using a 16-lane serial signal line to a state where communication is performed using a 1-lane serial signal line is indicated by a dotted line. In this case, the link establishment state temporarily changes from the state (x16: L0) in which communication is performed via the 16-lane serial signal line to the communication invalid state via the recovery state.
そして、リンクの検出を開始する状態、即ちコールドリセットを受けたのと同様の状態に遷移する。そして、ポーリング処理を行っている状態から、シリアル信号線数を設定する状態を経由して、リンクが確立され、1レーンのシリアル信号線により通信する状態(×1:L0)に遷移する。 Then, a transition is made to a state in which link detection is started, that is, a state similar to that in which a cold reset is received. Then, from the state where the polling process is performed, the state is changed through the state where the number of serial signal lines is set and the state where the link is established and the communication is performed using the serial signal line of one lane (× 1: L0).
一方、1レーンのシリアル信号線により通信していた状態から、16レーンのシリアル信号線により通信する状態に遷移する状態遷移を、太実線で示す。この場合、リンク確立状態は、1レーンのシリアル信号線により通信していた状態(×1:L0)から、復旧状態を経由して、一旦通信無効状態に遷移する。 On the other hand, a state transition from a state where communication is performed via a serial signal line of 1 lane to a state where communication is performed via a serial signal line of 16 lanes is indicated by a bold solid line. In this case, the link establishment state temporarily transits from the state (x1: L0) in which communication is performed through the serial signal line of one lane to the communication invalid state via the recovery state.
そして、リンクの検出を開始する状態、即ちコールドリセットを受けたのと同様の状態に遷移する。そして、ポーリング処理を行っている状態から、シリアル信号線数を設定する状態を経由して、リンクが確立され、16レーンのシリアル信号線により通信する状態(×16:L0)に遷移する。 Then, a transition is made to a state in which link detection is started, that is, a state similar to that in which a cold reset is received. Then, from the state in which the polling process is performed, the link is established through the state in which the number of serial signal lines is set, and the state transits to the state in which communication is performed via the serial signal lines of 16 lanes (× 16: L0).
以上、図7及び図8に示すように、データ転送設定部310は、リンク・トレーニング処理において、シリアル信号線の上限数を定めるレジスタに、変更先のシリアル信号線のレーン数を予め書き込む。そして、データ転送設定部310は、ホストコントローラ1082によるデータ転送を一旦中断させ、リンク・トレーニング処理を強制的に行わせる。これにより、データ転送設定部310は、電源状態等に応じて定められた任意のシリアル信号線数をホストコントローラ1082に対して設定することができる。
As described above, as shown in FIGS. 7 and 8, the data
以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更または改良を加えることが可能であることが当業者に明らかである。その様な変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。 As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. It will be apparent to those skilled in the art that various modifications or improvements can be added to the above-described embodiment. It is apparent from the scope of the claims that the embodiments added with such changes or improvements can be included in the technical scope of the present invention.
10 情報処理装置
200 動作モード判断部
210 3D処理実行状態判断部
300 トランザクション頻度検出部
310 データ転送設定部
320 デバイス動作モード変更部
1000 中央処理装置
1072 電源制御部
1074 サーマルセンサ
1075 グラフィックコントローラ
1076 エンベッデドコントローラ
1078 バッテリ
DESCRIPTION OF
Claims (13)
当該情報処理装置の電源の状態に基づいて、当該情報処理装置を通常モード及び省電力モードの何れにより動作させるかを判断する動作モード判断部と、
当該情報処理装置を前記省電力モードで動作させると判断した場合に、当該情報処理装置を前記通常モードで動作させると判断した場合と比較して、前記データ転送に用いる信号線の数をより少ない数に設定するデータ転送設定部と
を備える情報処理装置。 An information processing apparatus that controls data transfer between devices,
An operation mode determination unit that determines whether to operate the information processing apparatus in a normal mode or a power saving mode based on a power supply state of the information processing apparatus;
When it is determined that the information processing apparatus is operated in the power saving mode, the number of signal lines used for the data transfer is smaller than when it is determined that the information processing apparatus is operated in the normal mode. An information processing apparatus comprising a data transfer setting unit that sets the number.
各々の前記デバイスは、各々がデータをシリアル転送する複数のシリアル信号線により、前記データ転送制御部と接続し、
前記データ転送設定部は、当該情報処理装置を前記省電力モードで動作させると判断した場合に、当該情報処理装置を前記通常モードで動作させると判断した場合と比較して、前記データ転送制御部が各々の前記デバイスとデータ転送するシリアル信号線の数をより少ない数に設定する
請求項1記載の情報処理装置。 A data transfer control unit that relays data transfer between each of the devices and the other devices;
Each of the devices is connected to the data transfer control unit by a plurality of serial signal lines each serially transferring data,
When the data transfer setting unit determines to operate the information processing device in the power saving mode, the data transfer control unit compares the data transfer control unit to the case of determining to operate the information processing device in the normal mode. The information processing apparatus according to claim 1, wherein the number of serial signal lines for data transfer with each of the devices is set to a smaller number.
前記データ転送制御部は、前記データ転送設定部により設定された上限数から順に、データ転送するシリアル信号線の数を順次減少させ、各々の前記デバイスとの間でデータ転送可能なシリアル信号線の最大数を定めるネゴシエーション処理を行う
請求項2記載の情報処理装置。 The data transfer setting unit temporarily interrupts data transfer when the data transfer control unit changes the number of serial signal lines for data transfer with each of the devices, and determines the number of serial signal lines to be changed The data transfer control unit sets the upper limit number of serial signal lines for data transfer with each of the devices,
The data transfer control unit sequentially decreases the number of serial signal lines for data transfer in order from the upper limit number set by the data transfer setting unit, and the number of serial signal lines that can transfer data to and from each of the devices. The information processing apparatus according to claim 2, wherein negotiation processing for determining a maximum number is performed.
請求項1記載の情報処理装置。 The operation mode determination unit determines that the information processing device is to be operated in the normal mode when the remaining amount of the battery that drives the information processing device is greater than a predetermined reference amount, and the remaining amount of the battery The information processing apparatus according to claim 1, wherein the information processing apparatus determines to operate the information processing apparatus in the power saving mode when the value is equal to or less than the reference amount.
請求項1記載の情報処理装置。 The operation mode determination unit determines that the information processing apparatus is operated in the normal mode when the information processing apparatus is driven by an external AC power source, and the information processing apparatus is driven by a battery. The information processing apparatus according to claim 1, wherein the information processing apparatus is determined to operate in the power saving mode.
請求項5記載の情報処理装置。 When the information processing apparatus is driven by the AC power supply, the operation mode determination unit determines that the power consumption of the information processing apparatus exceeds a reference power that defines an upper limit of power that can be supplied by the AC power supply. 6. The information processing apparatus according to claim 5, wherein the information processing apparatus is determined to operate in the power saving mode.
請求項6記載の情報処理装置。 When the power consumption of the information processing apparatus exceeds the reference power and the number of signal lines used for data transfer by the data transfer setting unit is reduced, the power consumption of the information processing apparatus decreases below the reference power The information processing apparatus according to claim 6, further comprising: a device operation mode change unit that changes an operation mode of at least one of the devices to an operation mode with lower power consumption when not.
請求項5記載の情報処理装置。 The data transfer setting unit, when the information processing apparatus is driven by the battery, receives a processing start instruction to start processing with a data transfer rate higher than normal in any of the devices The information processing apparatus according to claim 5, wherein the number of signal lines used for the data transfer is increased.
請求項8記載の情報処理装置。 The data transfer setting unit is used for the data transfer when the process start instruction is received and the process indicated by the process start instruction is not performed until a predetermined reference grace period elapses. The information processing apparatus according to claim 8, wherein the number of signal lines is reduced.
請求項1記載の情報処理装置。 When the temperature of any part of the information processing apparatus exceeds a reference temperature indicating an abnormally high temperature determined corresponding to the part, the operation mode determination unit determines that the information processing apparatus The information processing apparatus according to claim 1, wherein the information processing apparatus is determined to operate in a mode, and the information processing apparatus is determined to operate in the normal mode when the temperature is equal to or lower than the reference temperature.
前記データ転送設定部は、前記トランザクション頻度検出部が検出したトランザクションの頻度に更に基づいて、当該デバイス及び当該他のデバイスが、当該トランザクションに対応するデータ転送に用いる信号線の数を設定する
請求項1記載の情報処理装置。 A transaction frequency detection unit for detecting a frequency of a transaction in which any of the devices requests data from the other device;
The data transfer setting unit sets the number of signal lines used by the device and the other device for data transfer corresponding to the transaction based on the transaction frequency detected by the transaction frequency detection unit. 1. An information processing apparatus according to 1.
当該情報処理装置の電源の状態に基づいて、当該情報処理装置を通常モード及び省電力モードの何れにより動作させるかを判断する動作モード判断段階と、
当該情報処理装置を前記省電力モードで動作させると判断した場合に、当該情報処理装置を前記通常モードで動作させると判断した場合と比較して、前記データ転送に用いる信号線の数をより少ない数に設定するデータ転送設定段階と
を備える制御方法。 A control method for controlling data transfer between devices provided in an information processing apparatus,
An operation mode determination step for determining whether to operate the information processing apparatus in a normal mode or a power saving mode based on a power supply state of the information processing apparatus;
When it is determined that the information processing apparatus is operated in the power saving mode, the number of signal lines used for the data transfer is smaller than when it is determined that the information processing apparatus is operated in the normal mode. And a data transfer setting step for setting the number.
前記情報処理装置を、
当該情報処理装置の電源の状態に基づいて、当該情報処理装置を通常モード及び省電力モードの何れにより動作させるかを判断する動作モード判断部と、
当該情報処理装置を前記省電力モードで動作させると判断した場合に、当該情報処理装置を前記通常モードで動作させると判断した場合と比較して、前記データ転送に用いる信号線の数をより少ない数に設定するデータ転送設定部と
して機能させるプログラム。 A program for controlling data transfer between devices provided in an information processing apparatus,
The information processing apparatus;
An operation mode determination unit that determines whether to operate the information processing apparatus in a normal mode or a power saving mode based on a power supply state of the information processing apparatus;
When it is determined that the information processing apparatus is operated in the power saving mode, the number of signal lines used for the data transfer is smaller than when it is determined that the information processing apparatus is operated in the normal mode. A program that functions as a data transfer setting unit for setting numbers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004319639A JP2006133895A (en) | 2004-11-02 | 2004-11-02 | Information processor, control method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004319639A JP2006133895A (en) | 2004-11-02 | 2004-11-02 | Information processor, control method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006133895A true JP2006133895A (en) | 2006-05-25 |
Family
ID=36727419
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004319639A Pending JP2006133895A (en) | 2004-11-02 | 2004-11-02 | Information processor, control method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006133895A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008065818A (en) * | 2006-09-07 | 2008-03-21 | Internatl Business Mach Corp <Ibm> | System and method for executing function of pci express function card away from data processing system |
JP2008547362A (en) * | 2005-06-29 | 2008-12-25 | インテル コーポレイション | Point-to-point link negotiation method and apparatus |
JP2011040895A (en) * | 2009-08-07 | 2011-02-24 | Canon Inc | Information processing apparatus, control method thereof and program |
JP2011181006A (en) * | 2010-03-03 | 2011-09-15 | Ricoh Co Ltd | Data communication device, information processing device, data communication method, data communication program and recording medium |
JP2011186894A (en) * | 2010-03-10 | 2011-09-22 | Ricoh Co Ltd | Data transfer device, image processing apparatus, data transfer method, data transfer program and recording medium |
JP2015536597A (en) * | 2012-10-22 | 2015-12-21 | エーティーアイ・テクノロジーズ・ユーエルシーAti Technologies Ulc | Method and apparatus for providing high-speed data transmission using video data |
-
2004
- 2004-11-02 JP JP2004319639A patent/JP2006133895A/en active Pending
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008547362A (en) * | 2005-06-29 | 2008-12-25 | インテル コーポレイション | Point-to-point link negotiation method and apparatus |
JP4768017B2 (en) * | 2005-06-29 | 2011-09-07 | インテル コーポレイション | Point-to-point link negotiation method and apparatus |
JP2008065818A (en) * | 2006-09-07 | 2008-03-21 | Internatl Business Mach Corp <Ibm> | System and method for executing function of pci express function card away from data processing system |
JP2011040895A (en) * | 2009-08-07 | 2011-02-24 | Canon Inc | Information processing apparatus, control method thereof and program |
US8576734B2 (en) | 2009-08-07 | 2013-11-05 | Canon Kabushiki Kaisha | Information processing apparatus, control method thereof and program |
JP2011181006A (en) * | 2010-03-03 | 2011-09-15 | Ricoh Co Ltd | Data communication device, information processing device, data communication method, data communication program and recording medium |
JP2011186894A (en) * | 2010-03-10 | 2011-09-22 | Ricoh Co Ltd | Data transfer device, image processing apparatus, data transfer method, data transfer program and recording medium |
US8638460B2 (en) | 2010-03-10 | 2014-01-28 | Ricoh Company, Ltd. | Data transfer device, image processing apparatus, and recording medium |
JP2015536597A (en) * | 2012-10-22 | 2015-12-21 | エーティーアイ・テクノロジーズ・ユーエルシーAti Technologies Ulc | Method and apparatus for providing high-speed data transmission using video data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
USRE47658E1 (en) | Heat dissipation system for computers | |
US7325151B2 (en) | Program, recording medium, method, and information processing apparatus for controlling an execution mode of a CPU | |
TWI603186B (en) | System and method for entering and exiting sleep mode in a graphics subsystem | |
EP1369767B1 (en) | Method and apparatus for adaptive power management of memory | |
US7467313B2 (en) | Method for transmitting a power-saving command between a computer system and peripheral system chips | |
KR20130049201A (en) | Storage drive management | |
JP3857661B2 (en) | Information processing apparatus, program, and recording medium | |
JP2011175555A (en) | Storage device and storage system | |
US8281171B2 (en) | Adjustment of power-saving strategy depending on working state of CPU | |
KR20040107376A (en) | Computer apparatus, system operating mode switching control method, power supply control method and program | |
TW201211756A (en) | System and method for power optimization | |
JP4177212B2 (en) | Program, recording medium, information processing apparatus, and selection method | |
JP4189882B2 (en) | Recording medium, information processing apparatus, control method, and program | |
WO2012050773A1 (en) | Hardware dynamic cache power management | |
US20060236139A1 (en) | Method for transmitting the system command of a computer system | |
CN101943941A (en) | Method for controlling power on a computer system having a network device and a wakeup function | |
US7469349B2 (en) | Computer system and method of signal transmission via a PCI-Express bus | |
US6782484B2 (en) | Method and apparatus for lossless resume capability with peripheral devices | |
JPH0997128A (en) | Information-processing system | |
JP2006133895A (en) | Information processor, control method, and program | |
JP3851289B2 (en) | Information processing apparatus, program, recording medium, and control method | |
JP4660140B2 (en) | Data transfer control system, electronic device and program | |
US20040268168A1 (en) | Method and apparatus to reduce power consumption by a display controller | |
US20060282601A1 (en) | Information processing apparatus and power-saving controlling method | |
JP2006221557A (en) | Information processor, and state control method of information processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080701 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080922 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090317 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20090811 |