JP2006133895A - Information processor, control method, and program - Google Patents

Information processor, control method, and program Download PDF

Info

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
Application number
JP2004319639A
Other languages
Japanese (ja)
Inventor
Shinji Matsushima
慎治 松島
Takeshi Sasaki
佐々木 健
Hiroyuki Uchida
宏幸 内田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by International Business Machines Corp filed Critical International Business Machines Corp
Priority to JP2004319639A priority Critical patent/JP2006133895A/en
Publication of JP2006133895A publication Critical patent/JP2006133895A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To reduce the power consumption of an information processor without making its processing performance lower than before. <P>SOLUTION: The information processor that controls data transfer between devices is provided having an operational mode determining part for determining whether the information processor is to be operated in a normal mode or a power-saving mode according to the state of the power of the information processor, and a data transfer setting part that, when the information processor is determined to be operated in the power-saving mode, compares the state of the information processor in the mode with the state of the processor in the normal mode and sets the number of signal lines used in the data transfer at a smaller value. <P>COPYRIGHT: (C)2006,JPO&NCIPI

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.

特開2002−259327号公報JP 2002-259327 A

しかしながら、この技術において、データトラフィック量の予測は困難であり、その困難性を解決する手段については充分に開示されていない。また、バスに接続した各デバイスは、例えば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 information processing apparatus 10. The information processing apparatus 10 includes a CPU peripheral unit having a central processing unit 1000, a RAM 1020, and a graphic controller 1075 that are connected to each other by a host controller 1082. Further, the information processing apparatus 10 includes an input / output unit including a communication interface 1030, a hard disk drive 1040, and a CD-ROM drive 1060 that are connected to the host controller 1082 by the input / output controller 1084. The information processing apparatus 10 includes a legacy input / output unit including a BIOS 1010, a flexible disk drive 1050, and an input / output chip 1070 connected to the input / output controller 1084.

ホストコントローラ1082は、RAM1020と、高い転送レートでRAM1020をアクセスする中央処理装置1000及びグラフィックコントローラ1075とを接続する。また、ホストコントローラ1082は、本発明に係るデータ転送制御部の一例であり、各々のデバイスが他のデバイスとの間で行うデータ転送を中継する。一例として、ホストコントローラ1082は、グラフィックコントローラ1075が中央処理装置1000との間で行うデータ転送を中継する。   The host controller 1082 connects the RAM 1020 to the central processing unit 1000 and the graphic controller 1075 that access the RAM 1020 at a high transfer rate. The host controller 1082 is an example of a data transfer control unit according to the present invention, and relays data transfer performed by each device with another device. As an example, the host controller 1082 relays data transfer performed by the graphic controller 1075 with the central processing unit 1000.

より詳細には、ホストコントローラ1082は、各々がデータをシリアル転送する複数のシリアル信号線により、各々のデバイスと接続している。このシリアル信号線は、例えば、PCI Expressの規格に準拠している。そしてPCI Expressの規格において、ホストコントローラ1082は、1レーン、2レーン、4レーン、8レーン、16レーン、及び32レーンの何れかのレーン数のシリアル信号線を選択して、各デバイスとのデータ転送に用いることができる。また、本発明に係るデバイスとは、いわゆるI/Oデバイスのみならず、中央処理装置1000やRAM1020等のように、ホストコントローラ1082によりデータ転送を中継する対象となるコンポーネントを含む。   More specifically, the host controller 1082 is connected to each device by a plurality of serial signal lines each serially transferring data. This serial signal line complies with, for example, the PCI Express standard. According to the PCI Express standard, the host controller 1082 selects a serial signal line having the number of lanes of 1 lane, 2 lanes, 4 lanes, 8 lanes, 16 lanes, and 32 lanes, and data with each device. Can be used for transfer. The device according to the present invention includes not only a so-called I / O device but also a component that is a target for relaying data transfer by the host controller 1082, such as the central processing unit 1000 and the RAM 1020.

中央処理装置1000は、BIOS1010及びRAM1020に格納されたプログラムに基づいて動作し、各部の制御を行う。RAM1020は、中央処理装置1000により読み出される各種のデータを格納している。グラフィックコントローラ1075は、中央処理装置1000等がRAM1020内に設けたフレームバッファ上に生成する画像データを取得し、表示装置1080上に表示させる。これに代えて、グラフィックコントローラ1075は、中央処理装置1000等が生成する画像データを格納するフレームバッファを、内部に含んでもよい。   The central processing unit 1000 operates based on programs stored in the BIOS 1010 and the RAM 1020 and controls each unit. The RAM 1020 stores various data read by the central processing unit 1000. The graphic controller 1075 acquires image data generated by the central processing unit 1000 or the like on a frame buffer provided in the RAM 1020 and displays it on the display device 1080. Instead, the graphic controller 1075 may include a frame buffer for storing image data generated by the central processing unit 1000 or the like.

入出力コントローラ1084は、ホストコントローラ1082と、比較的高速な入出力装置である通信インターフェイス1030、ハードディスクドライブ1040、CD−ROMドライブ1060、及びエンベッデドコントローラ1076とを接続する。通信インターフェイス1030は、ネットワークを介して外部の装置と通信する。ハードディスクドライブ1040は、情報処理装置10が使用するプログラム及びデータを格納する。CD−ROMドライブ1060は、CD−ROM1095からプログラム又はデータを読み取り、RAM1020を介して入出力チップ1070に提供する。   The input / output controller 1084 connects the host controller 1082 to the communication interface 1030, the hard disk drive 1040, the CD-ROM drive 1060, and the embedded controller 1076, which are relatively high-speed input / output devices. The communication interface 1030 communicates with an external device via a network. The hard disk drive 1040 stores programs and data used by the information processing apparatus 10. The CD-ROM drive 1060 reads a program or data from the CD-ROM 1095 and provides it to the input / output chip 1070 via the RAM 1020.

エンベッデドコントローラ1076には、AC電源及びバッテリ1078を選択的に使用させる電源制御部1072と、筐体内の温度を測定するサーマルセンサ1074とが接続される。また、エンベッデドコントローラ1076は、グラフィックコントローラ1075と接続し、グラフィックコントローラ1075の動作状態を取得する。そして、エンベッデドコントローラ1076は、AC電源等の電源状態、筐体内の温度、又は、グラフィックコントローラ1075の動作状態に基づいて、SMI(System Management Interrupt)リクエストを入出力コントローラ1084に対して出力する。これを受けて、入出力コントローラ1084は、SMI信号を中央処理装置1000に対して出力する。   The embedded controller 1076 is connected to a power supply control unit 1072 that selectively uses an AC power supply and a battery 1078 and a thermal sensor 1074 that measures the temperature in the housing. The embedded controller 1076 is connected to the graphic controller 1075 and acquires the operation state of the graphic controller 1075. Then, the embedded controller 1076 outputs an SMI (System Management Interrupt) request to the input / output controller 1084 based on the power supply state such as an AC power supply, the temperature in the housing, or the operation state of the graphic controller 1075. To do. In response to this, the input / output controller 1084 outputs an SMI signal to the central processing unit 1000.

また、入出力コントローラ1084には、BIOS1010と、フレキシブルディスクドライブ1050や入出力チップ1070等の比較的低速な入出力装置とが接続される。BIOS1010は、情報処理装置10の起動時に中央処理装置1000が実行するブートプログラムや、情報処理装置10のハードウェアに依存するプログラム等を格納する。フレキシブルディスクドライブ1050は、フレキシブルディスク1090からプログラム又はデータを読み取り、RAM1020を介して入出力チップ1070に提供する。入出力チップ1070は、フレキシブルディスク1090や、例えばパラレルポート、シリアルポート、キーボードポート、マウスポート等を介して各種の入出力装置を接続する。   The input / output controller 1084 is connected to the BIOS 1010 and relatively low-speed input / output devices such as the flexible disk drive 1050 and the input / output chip 1070. The BIOS 1010 stores a boot program executed by the central processing unit 1000 when the information processing apparatus 10 is started up, a program depending on the hardware of the information processing apparatus 10, and the like. The flexible disk drive 1050 reads a program or data from the flexible disk 1090 and provides it to the input / output chip 1070 via the RAM 1020. The input / output chip 1070 connects various input / output devices via a flexible disk 1090 and, for example, a parallel port, a serial port, a keyboard port, a mouse port, and the like.

情報処理装置10に提供されるプログラムは、フレキシブルディスク1090、CD−ROM1095、又はICカード等の記録媒体に格納されて利用者によって提供される。プログラムは、入出力チップ1070及び/又は入出力コントローラ1084を介して、記録媒体から読み出され情報処理装置10にインストールされて実行される。プログラムが情報処理装置10等に働きかけて行わせる動作は、図2から図8において後述する。   A program provided to the information processing apparatus 10 is stored in a recording medium such as the flexible disk 1090, the CD-ROM 1095, or an IC card and provided by a user. The program is read from the recording medium via the input / output chip 1070 and / or the input / output controller 1084, installed in the information processing apparatus 10, and executed. Operations that the program causes the information processing apparatus 10 and the like to perform will be described later with reference to FIGS.

以上に示したプログラムは、外部の記憶媒体に格納されてもよい。記憶媒体としては、フレキシブルディスク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 flexible disk 1090 and the CD-ROM 1095, an optical recording medium such as a DVD or PD, a magneto-optical recording medium such as an MD, a tape medium, a semiconductor memory such as an IC card, or the like can be used. Further, a storage device such as a hard disk or a RAM provided in a server system connected to a dedicated communication network or the Internet may be used as a recording medium, and the program may be provided to the information processing apparatus 10 via the network.

図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 controller 1076 classified into functional blocks. The embedded controller 1076 functions as an operation mode determination unit 200 and a 3D process execution state determination unit 210. The operation mode determination unit 200 determines whether to operate the information processing apparatus 10 in the normal mode or the power saving mode based on the power supply state of the information processing apparatus 10. For example, the operation mode determination unit 200 may determine whether the information processing apparatus 10 is driven by an external AC power supply or a battery 1078 based on a signal input from the power supply control unit 1072. In this case, the operation mode determination unit 200 determines that the information processing apparatus 10 is operated in the normal mode when the information processing apparatus 10 is driven by the AC power supply. On the other hand, when the information processing apparatus 10 is driven by the battery 1078, the operation mode determination unit 200 determines to operate the information processing apparatus 10 in the power saving mode.

また、好ましくは、動作モード判断部200は、情報処理装置10がAC電源により駆動している場合において、情報処理装置10の消費電力が、そのAC電源が供給可能な電力の上限を定める基準電力を超えた場合には、情報処理装置10を省電力モードにより動作させると判断する。また、これに加えて、動作モード判断部200は、情報処理装置10の筐体温度が、筐体に対応して定められた異常な高温を示す基準温度を超えた場合に、情報処理装置10を省電力モードで動作させると判断してもよい。具体的には、動作モード判断部200は、サーマルセンサ1074から入力する信号に基づいて、情報処理装置10の筐体温度が基準温度を超えたか否かを判断してもよい。動作モード判断部200は、以上の判断結果をデータ転送設定部310及びデバイス動作モード変更部320に通知するべく、SMIリクエストを入出力コントローラ1084に対して出力する。   Preferably, the operation mode determination unit 200 is configured such that, when the information processing apparatus 10 is driven by an AC power supply, the power consumption of the information processing apparatus 10 determines the upper limit of power that can be supplied by the AC power supply Is exceeded, it is determined that the information processing apparatus 10 is operated in the power saving mode. In addition to this, the operation mode determination unit 200, when the casing temperature of the information processing apparatus 10 exceeds a reference temperature indicating an abnormally high temperature determined corresponding to the casing, May be determined to operate in the power saving mode. Specifically, the operation mode determination unit 200 may determine whether or not the casing temperature of the information processing apparatus 10 exceeds the reference temperature based on a signal input from the thermal sensor 1074. The operation mode determination unit 200 outputs an SMI request to the input / output controller 1084 in order to notify the data transfer setting unit 310 and the device operation mode change unit 320 of the determination result.

3D処理実行状態判断部210は、グラフィックコントローラ1075において3Dグラフィックスの描画処理が行われている頻度を判断する。例えば、3D処理実行状態判断部210は、3Dグラフィックスの描画処理を行う毎に出力される信号を、グラフィックコントローラ1075から受信する。そして、3D処理実行状態判断部210は、過去の予め定められた期間(例えば数秒)の間に受信したその信号の受信頻度に基づいて、3Dグラフィックスの描画処理が行われている頻度を判断する。3D処理実行状態判断部210は、以上の判断結果をデータ転送設定部310に通知するべく、SMIリクエストを入出力コントローラ1084に対して出力する。   The 3D processing execution state determination unit 210 determines the frequency at which 3D graphics rendering processing is performed in the graphic controller 1075. For example, the 3D processing execution state determination unit 210 receives a signal output from the graphic controller 1075 every time 3D graphics rendering processing is performed. Then, the 3D processing execution state determination unit 210 determines the frequency at which 3D graphics rendering processing is performed based on the reception frequency of the signal received during a past predetermined period (for example, several seconds). To do. The 3D process execution state determination unit 210 outputs an SMI request to the input / output controller 1084 in order to notify the data transfer setting unit 310 of the above determination result.

図3は、中央処理装置1000の機能を機能ブロックに分類して示す。中央処理装置1000は、トランザクション頻度検出部300と、データ転送設定部310と、デバイス動作モード変更部320として機能する。トランザクション頻度検出部300は、何れかのデバイスが他のデバイスに対してデータを要求するトランザクションの頻度を検出する。例えば、トランザクション頻度検出部300は、グラフィックコントローラ1075が中央処理装置1000に対して、描画すべきデータを要求するトランザクションの頻度を検出する。   FIG. 3 shows the functions of the central processing unit 1000 classified into functional blocks. The central processing unit 1000 functions as a transaction frequency detection unit 300, a data transfer setting unit 310, and a device operation mode change unit 320. The transaction frequency detection unit 300 detects the frequency of a transaction in which any device requests data from another device. For example, the transaction frequency detection unit 300 detects the frequency of a transaction in which the graphic controller 1075 requests data to be drawn from the central processing unit 1000.

データ転送設定部310は、BIOS1010におけるACPI(Advanced Configuration and Power Interface)を用いたプログラムにより実現され、入出力コントローラ1084からSMIを受けて起動する。そして、データ転送設定部310は、動作モード判断部200が情報処理装置10を省電力モード及び通常モードの何れで動作させると判断したかを検出する。データ転送設定部310は、動作モード判断部200が情報処理装置10を省電力モードで動作させると判断した場合に、動作モード判断部200が情報処理装置10を通常モードで動作させると判断した場合と比較して、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線のレーン数をより少ない数に設定する。   The data transfer setting unit 310 is realized by a program using ACPI (Advanced Configuration and Power Interface) in the BIOS 1010, and is activated by receiving an SMI from the input / output controller 1084. Then, the data transfer setting unit 310 detects whether the operation mode determination unit 200 determines to operate the information processing apparatus 10 in the power saving mode or the normal mode. When the data transfer setting unit 310 determines that the operation mode determination unit 200 operates the information processing apparatus 10 in the normal mode when the operation mode determination unit 200 determines that the information processing apparatus 10 operates in the power saving mode Compared to the above, the host controller 1082 sets the number of lanes of the serial signal line for data transfer with each device to a smaller number.

また、データ転送設定部310は、トランザクション頻度検出部300が検出したトランザクションの頻度に更に基づいて、例えばグラフィックコントローラ1075及び中央処理装置1000が、そのトランザクションに対応するデータ転送に用いる信号線のレーン数を設定してもよい。更に、データ転送設定部310は、3D処理実行状態判断部210が判断した、3Dグラフィックスの描画処理の頻度に更に基づいて、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線のレーン数を設定してもよい。   Further, the data transfer setting unit 310 further determines, based on the transaction frequency detected by the transaction frequency detection unit 300, for example, the number of signal line lanes used by the graphic controller 1075 and the central processing unit 1000 for data transfer corresponding to the transaction. May be set. Further, the data transfer setting unit 310 further determines the number of lanes of serial signal lines to which the host controller 1082 performs data transfer with each device based on the 3D graphics rendering processing frequency determined by the 3D processing execution state determination unit 210. May be set.

なお、データ転送設定部310は、何れかのデバイスにおいて通常時よりデータ転送レートが高い処理を開始する旨の処理開始指示を、利用者から受けた場合には、情報処理装置10の電源状態に関わらず、データ転送に用いる信号線のレーン数を増加させる。これにより、例えば情報処理装置10がバッテリ1078により駆動している場合であっても、必要に応じてデータ転送レートを高めることができる。   Note that the data transfer setting unit 310 sets the information processing apparatus 10 to the power supply state when receiving a processing start instruction to start processing with a data transfer rate higher than normal in any device. Regardless, the number of signal line lanes used for data transfer is increased. Thereby, for example, even when the information processing apparatus 10 is driven by the battery 1078, the data transfer rate can be increased as necessary.

デバイス動作モード変更部320は、BIOS1010におけるACPI(Advanced Configuration and Power Interface)を用いたプログラムにより実現され、入出力コントローラ1084からSMIを受けて起動する。そして、デバイス動作モード変更部320は、情報処理装置10の消費電力が上記の基準電力を超え、かつデータ転送設定部310がデータ転送に用いる信号線のレーン数を減少させた場合において、情報処理装置10の消費電力が基準電力以下に低下しない場合に、少なくとも一つのデバイスの動作モードを、消費電力がより低い動作モードに変更する。   The device operation mode changing unit 320 is realized by a program using ACPI (Advanced Configuration and Power Interface) in the BIOS 1010, and is activated by receiving an SMI from the input / output controller 1084. Then, when the power consumption of the information processing apparatus 10 exceeds the reference power and the data transfer setting unit 310 reduces the number of signal line lanes used for data transfer, the device operation mode change unit 320 performs information processing. When the power consumption of the apparatus 10 does not decrease below the reference power, the operation mode of at least one device is changed to an operation mode with lower power consumption.

例えば、デバイス動作モード変更部320は、グラフィックコントローラ1075がデータ転送に用いる信号線のレーン数を減少させてから予め定められた期間が経過しても、情報処理装置10の消費電力が基準電力以下に低下しない場合には、グラフィックコントローラ1075の動作モードを消費電力がより低い動作モードに変更する。   For example, the device operation mode changing unit 320 causes the power consumption of the information processing apparatus 10 to be equal to or lower than the reference power even after a predetermined period has elapsed since the graphic controller 1075 decreased the number of signal line lanes used for data transfer. If not, the operation mode of the graphic controller 1075 is changed to an operation mode with lower power consumption.

このように、情報処理装置10の消費電力が基準より高い場合には、デバイスがデータ転送に用いる信号線のレーン数をまず減少し、それでもなお消費電力が低下しない場合にのみ、デバイスの動作モードを変更する。これにより、情報処理装置10の処理性能をできるだけ保持しつつ、AC電源の過負荷を防止できる。   As described above, when the power consumption of the information processing apparatus 10 is higher than the reference, the device operation mode is used only when the device first reduces the number of signal line lanes used for data transfer and the power consumption still does not decrease. To change. Thereby, it is possible to prevent overload of the AC power supply while maintaining the processing performance of the information processing apparatus 10 as much as possible.

図4は、情報処理装置10がデバイス間のデータ転送を制御する処理の流れ図を示す。図5は、図4に続く処理の流れ図を示す。図6は、図5に続く処理の流れ図を示す。情報処理装置10は、以下の処理を例えば定期的に、又は、エンベッデドコントローラ1076が電源状態の変化を検出した時に行う。まず、データ転送設定部310は、シリアル信号線数の制御が有効に設定されているか否かを判断する(S400)。シリアル信号線数の制御が有効に設定されていない場合には(S400:NO)、データ転送設定部310は、処理を終了する。   FIG. 4 shows a flowchart of processing in which the information processing apparatus 10 controls data transfer between devices. FIG. 5 shows a flowchart of the processing following FIG. FIG. 6 shows a flowchart of the processing following FIG. The information processing apparatus 10 performs the following processing, for example, periodically or when the embedded controller 1076 detects a change in the power state. First, the data transfer setting unit 310 determines whether the control of the number of serial signal lines is set to be valid (S400). If the control of the number of serial signal lines is not set to be valid (S400: NO), the data transfer setting unit 310 ends the process.

一方、シリアル信号線数の制御が有効に設定されている場合に(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 transfer setting unit 310 increases an instruction to increase the number of signal lines used for data transfer, for example, 3D graphics It is determined whether or not a process start instruction for starting the drawing process is received from the user (S410). For example, the data transfer setting unit 310 activates utility software that receives instructions from the user in advance, and displays an input screen for inputting the instructions on the screen of the display device 1080. Then, the data transfer setting unit 310 may determine that an increase instruction has been received from the user when a click operation is received from the user with respect to a button indicating an increase instruction to increase the number of signal lines. .

増加指示を受けた場合に(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 transfer setting unit 310 sets the serial signal lines for the host controller 1082 to transfer data with each device to 16 lanes (S620). On the other hand, if no increase instruction has been received (S410: NO), the data transfer setting unit 310 determines whether or not a decrease instruction indicating that the number of signal lines used for data transfer is to be decreased has been received from the user ( S420). When receiving the decrease instruction (S420: YES), the data transfer setting unit 310 sets the serial signal line for the host controller 1082 to transfer data with each device to one lane (S610).

なお、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 mode determination unit 200 performs determination based on the power supply state of the information processing apparatus 10 by the following processing. First, when an external AC power supply is newly connected to the information processing apparatus 10 (S430: YES), the operation mode determination unit 200 determines to operate the information processing apparatus 10 in the normal mode, and the process proceeds to S620. Move processing. In other words, the data transfer setting unit 310 sets the serial signal line for the host controller 1082 to transfer data with each device to 16 lanes (S620).

次に、動作モード判断部200は、情報処理装置10からAC電源が取り外されたか否かを判断する(S440)。情報処理装置10からAC電源が取り外された場合に(S440:YES)、動作モード判断部200は、情報処理装置10を省電力モードで動作させると判断し、S610に処理移す。即ち、データ転送設定部310は、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線を1レーンに設定する(S610)。   Next, the operation mode determination unit 200 determines whether or not AC power is removed from the information processing apparatus 10 (S440). When the AC power supply is removed from the information processing apparatus 10 (S440: YES), the operation mode determination unit 200 determines to operate the information processing apparatus 10 in the power saving mode, and the process proceeds to S610. In other words, the data transfer setting unit 310 sets the serial signal line that the host controller 1082 transfers data with each device to one lane (S610).

次に、動作モード判断部200は、情報処理装置10の消費電力が、AC電源が供給可能な電力の上限を定める基準電力以下になったか否かを判断する(S500)。情報処理装置10の消費電力が基準電力以下に低下した場合に(S500:YES)、動作モード判断部200は、情報処理装置10を通常モードで動作させると判断し、S620に処理を移す。即ち、データ転送設定部310は、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線を16レーンに設定する(S620)。   Next, the operation mode determination unit 200 determines whether or not the power consumption of the information processing apparatus 10 is equal to or lower than a reference power that defines an upper limit of power that can be supplied by the AC power supply (S500). When the power consumption of the information processing apparatus 10 has decreased below the reference power (S500: YES), the operation mode determination unit 200 determines to operate the information processing apparatus 10 in the normal mode, and the process proceeds to S620. In other words, the data transfer setting unit 310 sets the serial signal line for the host controller 1082 to transfer data with each device to 16 lanes (S620).

一方、情報処理装置10の消費電力が基準電力を超えて上昇した場合に(S510:YES)、動作モード判断部200は、情報処理装置10を省電力モードで動作させると判断し、S610に処理を移す。即ち、データ転送設定部310は、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線を1レーンに設定する(S610)。   On the other hand, when the power consumption of the information processing apparatus 10 increases beyond the reference power (S510: YES), the operation mode determination unit 200 determines to operate the information processing apparatus 10 in the power saving mode, and the process proceeds to S610. Move. In other words, the data transfer setting unit 310 sets the serial signal line that the host controller 1082 transfers data with each device to one lane (S610).

次に、動作モード判断部200は、情報処理装置10の筐体温度が、筐体に対応して定められた異常な高温を示す基準温度以下に低下したか否かを判断する(S520)。筐体温度が基準温度以下に低下して異常な高温の状態から復旧した場合に(S520:YES)、動作モード判断部200は、情報処理装置10を通常モードで動作させると判断し、S620に処理を移す。即ち、データ転送設定部310は、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線を16レーンに設定する(S620)。   Next, the operation mode determination unit 200 determines whether or not the casing temperature of the information processing apparatus 10 has fallen below a reference temperature indicating an abnormally high temperature determined for the casing (S520). When the housing temperature drops below the reference temperature and recovers from an abnormally high temperature state (S520: YES), the operation mode determination unit 200 determines to operate the information processing apparatus 10 in the normal mode, and the process proceeds to S620. Move processing. In other words, the data transfer setting unit 310 sets the serial signal line for the host controller 1082 to transfer data with each device to 16 lanes (S620).

次に、動作モード判断部200は、情報処理装置10の筐体温度が、異常な高温を示す基準温度を超えて上昇したか否かを判断する(S530)。筐体温度が基準温度を超えて上昇した場合に(S530:YES)、動作モード判断部200は、情報処理装置10を省電力モードで動作させると判断し、S610に処理を移す。即ち、データ転送設定部310は、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線を1レーンに設定する(S610)。これにより、筐体が高温になって利用者に不快感を与えることを防止できる。   Next, the operation mode determination unit 200 determines whether or not the casing temperature of the information processing apparatus 10 has increased beyond a reference temperature indicating an abnormally high temperature (S530). When the casing temperature rises above the reference temperature (S530: YES), the operation mode determination unit 200 determines to operate the information processing apparatus 10 in the power saving mode, and moves the process to S610. In other words, the data transfer setting unit 310 sets the serial signal line that the host controller 1082 transfers data with each device to one lane (S610). Thereby, it can prevent that a housing | casing becomes high temperature and gives a user discomfort.

なお、筐体温度は一例であり、上記処理に代えて、動作モード判断部200は、筐体内の予め定められた部分の温度の温度が基準温度を超えて上昇したか否かを判断してもよい。即ち例えば、動作モード判断部200は、中央処理装置1000の温度が、中央処理装置1000に対応して定められた基準温度を超えて上昇したか否かを判断してもよい。これにより、温度測定の対象となるデバイスの誤動作・破損を防止することができる。   Note that the housing temperature is an example, and instead of the above processing, the operation mode determination unit 200 determines whether the temperature of a predetermined portion in the housing has risen beyond the reference temperature. Also good. That is, for example, the operation mode determination unit 200 may determine whether or not the temperature of the central processing unit 1000 has increased beyond a reference temperature that is determined corresponding to the central processing unit 1000. As a result, it is possible to prevent malfunction and damage of the device that is the target of temperature measurement.

次に、トランザクション頻度検出部300は、何れかのデバイスが他のデバイスに対してデータを要求するトランザクションの頻度を検出する(S540)。そして、トランザクション頻度検出部300は、検出したそのトランザクションの頻度が、予め定められた基準の頻度以上か否かを判断する。一例として、トランザクション頻度検出部300は、検出したそのトランザクションの頻度から予測されるそのトランザクションに対応するデータ転送スループットが、1レーンのシリアル信号線により転送可能なデータのスループットを超えるか否かを判断してもよい。   Next, the transaction frequency detection unit 300 detects the frequency of a transaction in which any device requests data from another device (S540). Then, the transaction frequency detection unit 300 determines whether or not the detected frequency of the transaction is equal to or higher than a predetermined reference frequency. As an example, the transaction frequency detection unit 300 determines whether the data transfer throughput corresponding to the transaction predicted from the detected transaction frequency exceeds the throughput of data that can be transferred by the serial signal line of one lane. May be.

トランザクションの頻度が基準の頻度以上である場合に(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 mode determination unit 200 determines to operate the information processing apparatus 10 in the normal mode, and the process proceeds to S620. In other words, the data transfer setting unit 310 sets the serial signal line for the host controller 1082 to transfer data with each device to 16 lanes (S620).

次に、動作モード判断部200は、バッテリ1078の残量が予め定められた基準量以下か否かを判断する(S550)。バッテリ1078の残量が基準量以下に低下した場合に(S550:YES)、動作モード判断部200は、情報処理装置10を省電力モードで動作させると判断し、S610に処理を移す。即ち、データ転送設定部310は、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線を1レーンに設定する(S610)。   Next, the operation mode determination unit 200 determines whether or not the remaining amount of the battery 1078 is equal to or less than a predetermined reference amount (S550). When the remaining amount of the battery 1078 falls below the reference amount (S550: YES), the operation mode determination unit 200 determines to operate the information processing apparatus 10 in the power saving mode, and moves the process to S610. In other words, the data transfer setting unit 310 sets the serial signal line that the host controller 1082 transfers data with each device to one lane (S610).

次に、データ転送設定部310は、3Dグラフィックスの描画処理の処理開始指示を受けた場合において、3Dグラフィックスの描画処理が行われないまま、予め定められた基準猶予期間が経過したか否かを判断する(S600)。基準猶予期間が経過した場合に(S600:YES)、データ転送設定部310は、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線を1レーンに設定する(S610)。   Next, when receiving a 3D graphics rendering process start instruction, the data transfer setting unit 310 determines whether or not a predetermined reference grace period has elapsed without performing the 3D graphics rendering process. Is determined (S600). When the reference grace period elapses (S600: YES), the data transfer setting unit 310 sets the serial signal line for the host controller 1082 to transfer data with each device to one lane (S610).

続いて、デバイス動作モード変更部320は、情報処理装置10の消費電力が、AC電源が供給可能な電力の上限を定める基準電力を超えた状態の期間が、所定の期間に達したか否かを判断する(S630)。所定の期間に達した場合に(S630:YES)、デバイス動作モード変更部320は、何れかのデバイスの動作モードを、消費電力がより低い動作モードに変更する(S640)。即ちこれにより、デバイス動作モード変更部320は、あるデバイスがデータ転送に用いる信号線のレーン数を減少させてから予め定められた期間が経過しても、情報処理装置10の消費電力が基準電力以下に低下しない場合には、そのデバイスの動作モードを消費電力がより低い動作モードに変更し、AC電源の過負荷を防止することができる。   Subsequently, the device operation mode changing unit 320 determines whether or not the period in which the power consumption of the information processing apparatus 10 exceeds the reference power that defines the upper limit of power that can be supplied by the AC power source has reached a predetermined period. Is determined (S630). When the predetermined period is reached (S630: YES), the device operation mode change unit 320 changes the operation mode of any device to an operation mode with lower power consumption (S640). In other words, the device operation mode changing unit 320 allows the power consumption of the information processing apparatus 10 to be the reference power even after a predetermined period has elapsed since the number of lanes of a signal line used for data transfer by a certain device has decreased. If it does not drop below, the operation mode of the device can be changed to an operation mode with lower power consumption, and an overload of the AC power supply can be prevented.

以上、図4から図6に示したように、情報処理装置10の消費電力を低下すべき場合においては、シリアル転送に用いるレーン数を減少させ、情報処理装置10の消費電力を増加させても良い場合には、シリアル転送に用いるレーン数を増加させる。これにより、できるだけ高い性能を維持しつつ、消費電力を低減することができる。   As described above, as illustrated in FIGS. 4 to 6, when the power consumption of the information processing apparatus 10 should be reduced, the number of lanes used for serial transfer may be decreased and the power consumption of the information processing apparatus 10 may be increased. If it is good, increase the number of lanes used for serial transfer. Thereby, power consumption can be reduced while maintaining as high performance as possible.

例えばあるパーソナルコンピュータにおいて、シリアル転送を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 transfer setting unit 310 performs the following processing when the host controller 1082 changes the number of lanes of the serial signal line for data transfer with each device. First, the data transfer setting unit 310 temporarily interrupts data transfer between the host controller 1082 and each device (S700). Along with this processing, the data transfer setting unit 310 further interrupts the polling processing in which the host controller 1082 inquires each device of the number of lanes of the serial signal line that can be used for data transfer.

次に、データ転送設定部310は、変更先のシリアル信号線のレーン数を、ホストコントローラ1082が各々のデバイスとデータ転送するシリアル信号線の上限数として設定する(S710)。即ちデータ転送設定部310は、S610においては、シリアル信号線の上限数を1に設定し、S620においては、シリアル信号線の上限数を16に設定する。処理の具体例として、データ転送設定部310は、シリアル信号線の上限数を定めるホストコントローラ1082内のレジスタに、変更先のシリアル信号線のレーン数を示すデータを書き込む。そして、データ転送設定部310は、ポーリング処理を再開させる(S720)。   Next, the data transfer setting unit 310 sets the number of lanes of the serial signal line to be changed as the upper limit number of serial signal lines that the host controller 1082 transfers data with each device (S710). That is, the data transfer setting unit 310 sets the upper limit number of serial signal lines to 1 in S610, and sets the upper limit number of serial signal lines to 16 in S620. As a specific example of processing, the data transfer setting unit 310 writes data indicating the number of lanes of the serial signal line to be changed into a register in the host controller 1082 that determines the upper limit number of serial signal lines. Then, the data transfer setting unit 310 resumes the polling process (S720).

これを受けて、ホストコントローラ1082は、データ転送設定部310により設定された上限数から順に、データ転送するシリアル信号線のレーン数を順次減少させ、各々のデバイスとの間でデータ転送可能なシリアル信号線の最大数を定めるリンク・トレーニング処理を行う。データ転送設定部310は、リンク・トレーニング処理が完了したか否かを示すレジスタを定期的に読み出す(S730)。リンク・トレーニング処理が終了した場合に(S740:YES)、データ転送設定部310は、確立されたデータ転送のリンクにおけるシリアル信号線数の確認処理を行う(S750)。   In response to this, the host controller 1082 sequentially decreases the number of serial signal line lanes for data transfer in order from the upper limit number set by the data transfer setting unit 310, and enables serial transfer of data to and from each device. A link training process is performed to determine the maximum number of signal lines. The data transfer setting unit 310 periodically reads a register indicating whether or not the link training process is completed (S730). When the link training process is completed (S740: YES), the data transfer setting unit 310 performs a process of confirming the number of serial signal lines in the established data transfer link (S750).

図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 transfer setting unit 310 previously writes the number of lanes of the serial signal line to be changed into a register that determines the upper limit number of serial signal lines in the link training process. Then, the data transfer setting unit 310 temporarily interrupts the data transfer by the host controller 1082 and forcibly performs the link training process. As a result, the data transfer setting unit 310 can set an arbitrary number of serial signal lines determined according to the power supply state or the like to the host controller 1082.

以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更または改良を加えることが可能であることが当業者に明らかである。その様な変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。   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.

図1は、情報処理装置10の全体構成を示す。FIG. 1 shows the overall configuration of the information processing apparatus 10. 図2は、エンベッデドコントローラ1076の機能を機能ブロックに分類して示す。FIG. 2 shows the functions of the embedded controller 1076 classified into functional blocks. 図3は、中央処理装置1000の機能を機能ブロックに分類して示す。FIG. 3 shows the functions of the central processing unit 1000 classified into functional blocks. 図4は、情報処理装置10がデバイス間のデータ転送を制御する処理の流れ図を示す。FIG. 4 shows a flowchart of processing in which the information processing apparatus 10 controls data transfer between devices. 図5は、図4に続く処理の流れ図を示す。FIG. 5 shows a flowchart of the processing following FIG. 図6は、図5に続く処理の流れ図を示す。FIG. 6 shows a flowchart of the processing following FIG. 図7は、図6のS610及びS620の処理の詳細を示す。FIG. 7 shows details of the processing of S610 and S620 of FIG. 図8は、S610及びS620の処理中におけるリンク状態の遷移図である。FIG. 8 is a transition diagram of the link state during the processing of S610 and S620.

符号の説明Explanation of symbols

10 情報処理装置
200 動作モード判断部
210 3D処理実行状態判断部
300 トランザクション頻度検出部
310 データ転送設定部
320 デバイス動作モード変更部
1000 中央処理装置
1072 電源制御部
1074 サーマルセンサ
1075 グラフィックコントローラ
1076 エンベッデドコントローラ
1078 バッテリ
DESCRIPTION OF SYMBOLS 10 Information processing apparatus 200 Operation mode determination part 210 3D process execution state determination part 300 Transaction frequency detection part 310 Data transfer setting part 320 Device operation mode change part 1000 Central processing unit 1072 Power supply control part 1074 Thermal sensor 1075 Graphic controller 1076 Embedded Controller 1078 battery

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.
前記動作モード判断部は、前記情報処理装置が外部のAC電源により駆動している場合に、当該情報処理装置を前記通常モードにより動作させると判断し、前記情報処理装置がバッテリにより駆動している場合に、当該情報処理装置を前記省電力モードにより動作させると判断する
請求項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.
前記動作モード判断部は、当該情報処理装置が前記AC電源により駆動している場合において、当該情報処理装置の消費電力が、前記AC電源が供給可能な電力の上限を定める基準電力を超えた場合には、当該情報処理装置を前記省電力モードにより動作させると判断する
請求項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.
JP2004319639A 2004-11-02 2004-11-02 Information processor, control method, and program Pending JP2006133895A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (9)

* Cited by examiner, † Cited by third party
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