JP2018181115A - Electronic equipment and management program - Google Patents

Electronic equipment and management program Download PDF

Info

Publication number
JP2018181115A
JP2018181115A JP2017082300A JP2017082300A JP2018181115A JP 2018181115 A JP2018181115 A JP 2018181115A JP 2017082300 A JP2017082300 A JP 2017082300A JP 2017082300 A JP2017082300 A JP 2017082300A JP 2018181115 A JP2018181115 A JP 2018181115A
Authority
JP
Japan
Prior art keywords
power
graphic card
amount
electronic device
cpu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017082300A
Other languages
Japanese (ja)
Other versions
JP6712060B2 (en
Inventor
健一 吉川
Kenichi Yoshikawa
健一 吉川
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2017082300A priority Critical patent/JP6712060B2/en
Publication of JP2018181115A publication Critical patent/JP2018181115A/en
Application granted granted Critical
Publication of JP6712060B2 publication Critical patent/JP6712060B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Power Sources (AREA)

Abstract

PROBLEM TO BE SOLVED: To suppress that supply power to extension equipment becomes excessive.SOLUTION: Electronic equipment of an embodiment has: a power monitoring part; and a transmission part. The power monitoring part monitors electric energy to be supplied to extension equipment which is connected via a bus. The transmission part transmits a signal showing a state of the extension equipment in which the extension equipment is to reduce power consumption to the extension equipment when the electric energy exceeds a predetermined value.SELECTED DRAWING: Figure 2

Description

本発明の実施形態は、電子機器および管理プログラムに関する。   Embodiments of the present invention relate to an electronic device and a management program.

従来、PC(パーソナルコンピュータ)等の電子機器においては、グラフィックカードなどの拡張機器をバスを介して接続するものがある。電子機器に接続された拡張機器は、電子機器から供給された電力により画像処理などの各種機能を電子機器に提供する。   2. Description of the Related Art Conventionally, some electronic devices such as PCs (personal computers) connect expansion devices such as graphic cards via a bus. The extension device connected to the electronic device provides the electronic device with various functions such as image processing by the power supplied from the electronic device.

このように拡張機器を接続する電子機器の装置保護においては、機能ボードを実装した装置架内の任意の箇所の温度の異常を検出し、温度異常が高温状態のときはボード内のクロック周波数を逓減する技術が知られている。   As described above, in the device protection of the electronic device to which the extension device is connected, the temperature abnormality at any place in the device rack mounted with the function board is detected, and when the temperature abnormality is high temperature, the clock frequency in the board is A technology that diminishes is known.

特開平7−319574号公報JP 7-319574 A

しかしながら、上記の従来技術では、電子機器から拡張機器に供給する電力が過大な状態が継続し、電力供給を行う電子機器に過度な負荷が生じる場合があるという問題がある。   However, in the above-described conventional technology, there is a problem that the power supplied from the electronic device to the extension device continues to be excessive and an excessive load may be generated in the electronic device that supplies power.

例えば、多くの処理を行うために拡張機器がクロック周波数を逓増することで消費電力量が多くなる場合がある。このような場合には、高温状態を検出して拡張機器がクロック周波数を逓減するまでは供給電力が過大な状態が継続することとなる。また、拡張機器がクロック周波数を逓増しているときに電子機器側が拡張機器への供給電力を一方的に制限すると、拡張機器の動作が不安定となることがある。   For example, the amount of power consumption may be increased by the expansion device stepping up the clock frequency to perform a lot of processing. In such a case, the supply power continues to be excessive until the high temperature is detected and the expansion device decreases the clock frequency. In addition, if the electronic device side unilaterally limits the power supplied to the extension device while the extension device is increasing the clock frequency, the operation of the extension device may become unstable.

1つの側面では、拡張機器を変更することなく、拡張機器への供給電力が過大となることを抑止できる電子機器および管理プログラムを提供することを目的とする。   In one aspect, it is an object of the present invention to provide an electronic device and a management program that can prevent excessive supply of power to the extension device without changing the extension device.

第1の案では、電子機器は、電力監視部と、送信部とを有する。電力監視部は、バスを介して接続する拡張機器に供給する電力量を監視する。送信部は、電力量が所定値を超える場合に、拡張機器が消費電力量を低減させることとなる拡張機器の状態を示す信号を拡張機器に送信する。   In a first proposal, the electronic device includes a power monitoring unit and a transmission unit. The power monitoring unit monitors the amount of power supplied to the expansion device connected via the bus. The transmitting unit transmits a signal indicating the state of the extension device, which causes the extension device to reduce power consumption, to the extension device when the amount of power exceeds a predetermined value.

本発明の1実施態様によれば、拡張機器を変更することなく、拡張機器への供給電力が過大となることを抑止できる。   According to one embodiment of the present invention, it is possible to prevent excessive supply of power to the extension device without changing the extension device.

図1は、実施形態にかかる電子機器のハードウエア構成例を示すブロック図である。FIG. 1 is a block diagram showing an example of the hardware configuration of the electronic device according to the embodiment. 図2は、実施形態にかかる電子機器の機能構成を説明する説明図である。FIG. 2 is an explanatory view for explaining a functional configuration of the electronic device according to the embodiment. 図3は、実施形態にかかる電子機器の動作例を示すフローチャートである。FIG. 3 is a flowchart showing an operation example of the electronic device according to the embodiment. 図4−1は、API初期化のサンプルコードの一例を示す説明図である。FIGS. 4-1 is explanatory drawing which shows an example of the sample code of API initialization. 図4−2は、温度情報構造体の一例を示す説明図である。4-2 is explanatory drawing which shows an example of a temperature information structure. 図4−3は、温度情報のダウンロード/アップロードを行うファンクションの一例を示す説明図である。FIG. 4-3 is an explanatory diagram of an example of a function for downloading / uploading temperature information. 図4−4は、温度情報を取得するサンプルコードの一例を示す説明図である。FIG. 4-4 is an explanatory diagram of an example of sample code for acquiring temperature information. 図4−5は、温度情報を更新するサンプルコードの一例を示す説明図である。FIGS. 4-5 is explanatory drawing which shows an example of the sample code which updates temperature information.

以下、図面を参照して、実施形態にかかる電子機器および管理プログラムを説明する。実施形態において同一の機能を有する構成には同一の符号を付し、重複する説明は省略する。なお、以下の実施形態で説明する電子機器および管理プログラムは、一例を示すに過ぎず、実施形態を限定するものではない。また、以下の各実施形態は、矛盾しない範囲内で適宜組みあわせてもよい。   Hereinafter, the electronic device and the management program according to the embodiment will be described with reference to the drawings. The components having the same functions in the embodiments are denoted by the same reference numerals, and the redundant description will be omitted. Note that the electronic device and the management program described in the following embodiments are merely an example, and the embodiments are not limited. In addition, each of the following embodiments may be appropriately combined within the scope of no contradiction.

図1は、実施形態にかかる電子機器のハードウエア構成例を示すブロック図である。図1に示すように、電子機器1は、本体側のマザーボード10にグラフィックカード20a、ストレージ装置20bなどの拡張機器20を接続する、例えばタワー型のPC(パーソナルコンピュータ)などのコンピュータである。なお、拡張機器20におけるグラフィックカード20a、ストレージ装置20bは、一例であり、例えば演算ボードなどの機能ボードであってもよい。   FIG. 1 is a block diagram showing an example of the hardware configuration of the electronic device according to the embodiment. As shown in FIG. 1, the electronic device 1 is a computer, such as a tower PC (personal computer), for connecting an expansion device 20 such as a graphic card 20a and a storage device 20b to a motherboard 10 on the main body side. The graphic card 20a and the storage device 20b in the expansion device 20 are an example, and may be, for example, a function board such as an operation board.

マザーボード10は、CPU11(CPU:Central Processing Unit)、メモリ12、PCH13(PCH:Platform Controller Hub)、バス14、コネクタ15、電源部16および電力モニタ部17を有する。   The motherboard 10 includes a CPU 11 (CPU: Central Processing Unit), a memory 12, a PCH 13 (PCH: Platform Controller Hub), a bus 14, a connector 15, a power supply unit 16, and a power monitoring unit 17.

CPU11は、中央処理装置であり、電子機器1におけるシステム制御の中心的な役割を果たす。CPU11にはメモリコントローラが含まれており、メモリ12と接続されている。CPU11は、メモリ12に格納されたプログラム12aを順次実行することで、電子機器1の動作を中央制御する。   The CPU 11 is a central processing unit and plays a central role in system control in the electronic device 1. The CPU 11 includes a memory controller and is connected to the memory 12. The CPU 11 centrally controls the operation of the electronic device 1 by sequentially executing the programs 12 a stored in the memory 12.

メモリ12は、電子機器1の記憶装置であり、例えば、ROM(Read Only Memory)、RAM(Random Access Memory)、HDD(Hard Disk Drive)などである。メモリ12は、プログラム12aを格納する。プログラム12aには、OS(Operating System)などの基本プログラムの他、拡張機器20の管理にかかる管理プログラムなどが含まれる。   The memory 12 is a storage device of the electronic device 1 and is, for example, a read only memory (ROM), a random access memory (RAM), a hard disk drive (HDD) or the like. The memory 12 stores the program 12a. The program 12 a includes, in addition to a basic program such as an operating system (OS), a management program related to management of the expansion device 20.

PCH13は、ノースブリッジとサウスブリッジの機能を統合したチップである。PCH13は、拡張機器20とCPU11とのインタフェースを取り持つ。具体的には、PCH13は、バス14およびコネクタ15を介して拡張機器20と接続する。   The PCH13 is a chip that integrates the functions of Northbridge and Southbridge. The PCH 13 has an interface between the expansion device 20 and the CPU 11. Specifically, the PCH 13 is connected to the expansion device 20 via the bus 14 and the connector 15.

例えば、PCH13は、PCIeバス14aを介してPCIeスロット15aに取り付けられたグラフィックカード20aと接続する。PCIeは、PCI Express(ピーシーアイエクスプレス(登録商標))の略記であり、PCI−SIGによって策定されたシリアルインタフェースである。また、PCH13は、USBバス14b(USB:Universal Serial Bus)を介してUSBコネクタ15bに取り付けられたストレージ装置20bと接続する。   For example, the PCH 13 is connected to the graphic card 20a attached to the PCIe slot 15a via the PCIe bus 14a. PCIe is an abbreviation of PCI Express (PC Eye Express (registered trademark)), and is a serial interface developed by PCI-SIG. The PCH 13 is also connected to the storage device 20b attached to the USB connector 15b via the USB bus 14b (USB: Universal Serial Bus).

なお、マザーボード10と拡張機器20との接続については、PCIeやUSBに限定しない。例えば、Thunderbolt(サンダーボルト)などのシリアルインタフェースであってもよい。   The connection between the motherboard 10 and the expansion device 20 is not limited to PCIe or USB. For example, it may be a serial interface such as Thunderbolt (Thunderbolt).

電源部16は、商用電源などの電源から供給される電力を拡張機器20を含む電子機器1の各部に供給する。例えば、電源部16は、バス14を介して電力供給を行う、いわゆるバスパワーで拡張機器20に電力を供給する。なお、電源部16から拡張機器20への電力供給は、バスパワーに限定するものではなく、電源プラグ(図示しない)を経由して電力供給してもよいし、バスパワーおよび電源プラグを共に用いて電力供給してもよい。   The power supply unit 16 supplies power supplied from a power supply such as a commercial power supply to each part of the electronic device 1 including the extension device 20. For example, the power supply unit 16 supplies power to the expansion device 20 with so-called bus power that supplies power via the bus 14. Power supply from the power supply unit 16 to the expansion device 20 is not limited to bus power, and power may be supplied via a power plug (not shown), and both bus power and power plug are used. Power may be supplied.

電力モニタ部17は、電力量を計測する回路であり、電源部16が各部に供給する電力量を監視する。電力モニタ部17は、CPU11からのアクセスに応じて監視中の電力量を示す電力情報を通知する。   The power monitoring unit 17 is a circuit that measures the amount of power, and monitors the amount of power that the power supply unit 16 supplies to each unit. The power monitor unit 17 notifies power information indicating the amount of power being monitored in response to an access from the CPU 11.

図2は、実施形態にかかる電子機器1の機能構成を説明する説明図である。なお、図2ではマザーボード10とグラフィックカード20aとの接続を例示して説明しているが、グラフィックカード20a以外の拡張機器20の場合(例えばストレージ装置20b)も同様であることは言うまでもないことである。また、図2における太字の矢印は、電力の流れを示している。また、白抜きの矢印は制御を示しており、太字または白抜き以外の矢印は信号やデータなどの情報の流れを示している。   FIG. 2 is an explanatory diagram for explaining a functional configuration of the electronic device 1 according to the embodiment. Although FIG. 2 illustrates the connection between the mother board 10 and the graphic card 20a by way of example, it goes without saying that the case of the expansion device 20 other than the graphic card 20a (for example, the storage device 20b) is the same. is there. Also, bold arrows in FIG. 2 indicate the flow of power. Also, white arrows indicate control, and arrows other than bold or white indicate flows of information such as signals and data.

図2に示すように、電子機器1において、グラフィックカード20aおよびグラフィックカード20a以外の他デバイス18には、電源部16より電力が供給される。電力モニタ部17は、電源部16よりPCIeバス14aを介して供給されるグラフィックカード20aへの電力量を監視している。すなわち、電力モニタ部17は、電力監視部の一例である。   As shown in FIG. 2, in the electronic device 1, power is supplied from the power supply unit 16 to the graphic card 20 a and the other devices 18 other than the graphic card 20 a. The power monitoring unit 17 monitors the amount of power to the graphic card 20 a supplied from the power supply unit 16 via the PCIe bus 14 a. That is, the power monitoring unit 17 is an example of the power monitoring unit.

CPU11は、グラフィックカード20aなどの拡張機器20の管理にかかる管理プログラムを実行することで、S1〜S3の処理を実行する。具体的には、CPU11は、電力モニタ部17にアクセスしてグラフィックカード20aに供給している電力量を示す電力情報を取得する(S1)。   The CPU 11 executes the processing of S1 to S3 by executing a management program related to management of the expansion device 20 such as the graphic card 20a. Specifically, the CPU 11 accesses the power monitoring unit 17 and acquires power information indicating the amount of power supplied to the graphic card 20a (S1).

次いで、CPU11は、取得した電力情報をもとに、グラフィックカード20aに供給している電力量が予め設定された閾値以上であるか否かを判定する(S2)。この閾値は、一例として、グラフィックカード20aに供給している電力量が過大となる目安の値が設定されている。   Next, based on the acquired power information, the CPU 11 determines whether the amount of power supplied to the graphic card 20a is equal to or greater than a preset threshold (S2). The threshold value is set, for example, as a standard value that the amount of power supplied to the graphic card 20a becomes excessive.

CPU11は、電力量が閾値以上である場合(S2:YES)、グラフィックカード20aが消費電力量を低減させることとなるグラフィックカード20aの状態を示す信号をグラフィックカード20aに送信する。すなわち、CPU11は、送信部の一例である。   When the amount of power is equal to or greater than the threshold (S2: YES), the CPU 11 transmits a signal indicating the state of the graphic card 20a for reducing the amount of power consumption of the graphic card 20a to the graphic card 20a. That is, the CPU 11 is an example of a transmission unit.

具体的は、CPU11は、温度センサー23により検知した温度が所定値以上の高温状態である場合に消費電力量を低減させる動作モードとするグラフィックカード20aのコントローラー22に対し、グラフィックカード20aが高温状態であることを示す温度情報を送信する(S3)。   Specifically, the CPU 11 sets the graphic card 20a in the high temperature state with respect to the controller 22 of the graphic card 20a in which the power consumption is reduced when the temperature detected by the temperature sensor 23 is the high temperature state equal to or higher than the predetermined value. Temperature information indicating that it is (S3).

このCPU11からコントローラー22への信号(例えば温度情報)の送信には、ソフト的な手法と、ハード的な手法のいずれを用いてもよい。例えば、ソフト的な手法には、ソフトウエア・インタフェースを利用するものとして、拡張機器20へのアクセスにかかるAPI(アプリケーション・プログラミング・インタフェース)のコールがある。   Either a software method or a hardware method may be used to transmit a signal (for example, temperature information) from the CPU 11 to the controller 22. For example, as a software method, an application programming interface (API) for accessing the expansion device 20 is a call that utilizes a software interface.

グラフィックカード20aなどの拡張機器20のベンダーは、拡張機器20へのアクセスにかかるAPIを提供(公開)している場合がある。したがって、グラフィックカード20aにかかるAPIをコールすることで、CPU11は、グラフィックカード20aの状態などへのアクセスが可能となり、例えばグラフィックカード20aの温度状態の取得やその書き換えを行うことができる。   The vendor of the expansion device 20 such as the graphic card 20 a may provide (publish) an API for accessing the expansion device 20. Therefore, by calling the API related to the graphic card 20a, the CPU 11 can access the state of the graphic card 20a and the like, and can acquire the temperature state of the graphic card 20a and rewrite it, for example.

また、ハード的な手法としては、CPU11からコントローラー22への信号線を温度センサー23からコントローラー22への伝送経路にAND接続するものがある。例えば、CPU11からは、IC(アイ・スクエアド・シー)などを介してグラフィックカード20aへ信号を送信する。グラフィックカード20aでは、CPU11からの信号と、温度センサー23からの信号とをAND回路で受けてコントローラー22に出力する。 Further, as a hardware method, there is a method in which a signal line from the CPU 11 to the controller 22 is AND-connected to a transmission path from the temperature sensor 23 to the controller 22. For example, the CPU 11 transmits a signal to the graphic card 20 a via I 2 C (eye squared sea) or the like. The graphic card 20 a receives the signal from the CPU 11 and the signal from the temperature sensor 23 by an AND circuit and outputs the signal to the controller 22.

グラフィックカード20aのコントローラー22は、温度センサー23が検出した温度情報およびCPU11から送信された温度情報を受け付ける(S4)。次いで、コントローラー22は、温度センサー23およびCPU11から受け付けた温度をもとに、グラフィックカード20aの温度が所定値以上の高温状態であるか否かを判定する(S5)。   The controller 22 of the graphic card 20a receives the temperature information detected by the temperature sensor 23 and the temperature information transmitted from the CPU 11 (S4). Next, based on the temperatures received from the temperature sensor 23 and the CPU 11, the controller 22 determines whether the temperature of the graphic card 20a is a high temperature state equal to or higher than a predetermined value (S5).

例えば、所定値以上の高温状態であることを示す温度情報がCPU11から送信されている場合、コントローラー22は、グラフィックカード20aが高温状態であると判定する。   For example, when temperature information indicating that the temperature is higher than a predetermined value is transmitted from the CPU 11, the controller 22 determines that the graphic card 20a is in the high temperature state.

高温状態である場合(S5:YES)、コントローラー22は、温度上昇を抑止するため、GPU21(GPU:Graphics Processing Unit)の動作モードを、消費電力量が少なくなる動作モードに切り替える。具体的には、コントローラー22は、GPU21について、Low Clkによる周波数の逓減またはスロットリングを行う(S6)。これにより、グラフィックカード20aにおける消費電力量が低減される。したがって、電子機器1では、グラフィックカード20aへの供給電力が過大となることを抑止できる。   When the temperature is high (S5: YES), the controller 22 switches the operation mode of the GPU 21 (GPU: Graphics Processing Unit) to an operation mode in which the amount of power consumption is reduced, in order to suppress the temperature rise. Specifically, the controller 22 performs frequency reduction or throttling with Low Clk on the GPU 21 (S6). As a result, the amount of power consumption of the graphic card 20a is reduced. Therefore, in the electronic device 1, it is possible to prevent the power supplied to the graphic card 20a from becoming excessive.

なお、グラフィックカード20aが消費電力量を低減させることとなるグラフィックカード20aの状態については、グラフィックカード20aの温度状態に限定しない。例えば、グラフィックカード20aの冷却ファンの回転状態やグラフィックカード20aの電力状態など、温度状態以外であってもよい。   The state of the graphic card 20a for reducing the power consumption of the graphic card 20a is not limited to the temperature state of the graphic card 20a. For example, the temperature state may be other than the temperature state such as the rotation state of the cooling fan of the graphic card 20a and the power state of the graphic card 20a.

一例として、グラフィックカード20aは、冷却ファンの回転状態(例えば回転停止)により、冷却ファンによる冷却能力が低減しているものとして、消費電力量が少なくなる動作モードに切り替える場合がある。このようなグラフィックカード20aに対し、CPU11は、電力量が閾値以上である場合(S2:YES)、例えば冷却ファンの回転が停止していることを示す信号をグラフィックカード20aに送信する。これにより、高温状態の場合と同様、GPU21の動作モードが消費電力量が少なくなる動作モードに切り替えられ、グラフィックカード20aにおける消費電力量が低減される。したがって、電子機器1では、グラフィックカード20aへの供給電力が過大となることを抑止できる。   As an example, the graphic card 20a may switch to an operation mode in which the amount of power consumption is reduced, assuming that the cooling capacity by the cooling fan is reduced due to the rotation state (for example, rotation stop) of the cooling fan. For such graphic card 20a, when the amount of power is equal to or greater than the threshold (S2: YES), for example, the CPU 11 transmits a signal indicating that the rotation of the cooling fan is stopped to the graphic card 20a. As a result, as in the case of the high temperature state, the operation mode of the GPU 21 is switched to the operation mode in which the power consumption is reduced, and the power consumption in the graphic card 20a is reduced. Therefore, in the electronic device 1, it is possible to prevent the power supplied to the graphic card 20a from becoming excessive.

図3は、実施形態にかかる電子機器1の動作例を示すフローチャートである。より具体的には、図3では、APIを用いる場合の動作例を示している。   FIG. 3 is a flowchart showing an operation example of the electronic device 1 according to the embodiment. More specifically, FIG. 3 shows an operation example in the case of using an API.

図3に示すように、処理が開始されると、CPU11は、グラフィックカード20aにかかるAPIを初期化する(S11)。図4−1は、API初期化のサンプルコードの一例を示す説明図である。   As shown in FIG. 3, when the process is started, the CPU 11 initializes an API applied to the graphic card 20a (S11). FIGS. 4-1 is explanatory drawing which shows an example of the sample code of API initialization.

図4−1に示すように、APIの初期化では、例えばベンダー(NVIDIA(登録商標)、AMD(登録商標)等)のAPIを順次初期化して成功したものを採用する。本実施形態では、グラフィックカード20aのベンダーはNVIDIAであり、NVIDAIが提供するAPI(NVAPI)を採用しているものとする。   As shown in FIG. 4A, for the initialization of the API, for example, one that is successfully initialized by sequentially initializing the API of a vendor (NVIDIA (registered trademark), AMD (registered trademark), etc.) is adopted. In the present embodiment, it is assumed that the vendor of the graphic card 20a is NVIDIA, and employs an API (NVAPI) provided by NVIDAI.

次いで、CPU11は、電力モニタ部17より取得した電力情報をもとに、グラフィックカード20aに供給している電力量が予め設定された閾値以上であるか否かを判定する(S12)。閾値以上でない場合(S12:NO)、CPU11は、処理を待機する。   Next, based on the power information acquired from the power monitoring unit 17, the CPU 11 determines whether the amount of power supplied to the graphic card 20a is equal to or greater than a preset threshold (S12). If not (S12: NO), the CPU 11 waits for processing.

閾値以上である場合(S12:YES)、CPU11は、APIの機能(ファンクション)をコールして、グラフィックカード20aより温度情報22aをダウンロードする(S13)。   If the threshold value is exceeded (S12: YES), the CPU 11 calls the function of the API and downloads the temperature information 22a from the graphic card 20a (S13).

図4−2は、温度情報構造体の一例を示す説明図である。温度情報22aは、図4−2に示すような構造体としてグラフィックカード20aにおいて管理されている。例えば、グラフィックカード20aにおける現在の温度値(currentTemp)が管理されている。   4-2 is explanatory drawing which shows an example of a temperature information structure. The temperature information 22a is managed in the graphic card 20a as a structure as shown in FIG. For example, the current temperature value (currentTemp) in the graphic card 20a is managed.

図4−3は、温度情報22aのダウンロード/アップロードを行うファンクションの一例を示す説明図である。図4−3に示すように、温度情報22aのダウンロードを行う場合は、「NvAPI_GPU_GetThermalSettings」などのファンクションをコールする。また、温度情報22aのアップロードを行う場合は、「NvAPI_GPU_SetThermalSettings」などのファンクションをコールする。   FIG. 4-3 is an explanatory diagram of an example of a function for downloading / uploading the temperature information 22a. As shown in FIG. 4-3, when downloading the temperature information 22a, a function such as "NvAPI_GPU_GetThermalSettings" is called. When uploading the temperature information 22a, a function such as "NvAPI_GPU_SetThermalSettings" is called.

図4−4は、温度情報22aを取得するサンプルコードの一例を示す説明図である。図4−4に示すようなサンプルコードを実行することで、CPU11は、グラフィックカード20aより温度情報22aを取得することができる。   FIG. 4-4 is an explanatory diagram of an example of sample code for acquiring the temperature information 22a. By executing the sample code as shown in FIG. 4-4, the CPU 11 can acquire the temperature information 22a from the graphic card 20a.

次いで、CPU11は、温度情報22aにおける温度値(currentTemp)を、所定値以上の高温状態とする温度値に書き換える(S14)。次いで、CPU11は、APIの機能(ファンクション)をコールして(図4−3参照)、温度値の書き換え後の温度情報22aをグラフィックカード20aにアップロードする(S15)。   Next, the CPU 11 rewrites the temperature value (currentTemp) in the temperature information 22a into a temperature value that causes a high temperature state equal to or higher than a predetermined value (S14). Next, the CPU 11 calls the function of the API (see FIG. 4-3), and uploads the temperature information 22a after rewriting the temperature value to the graphic card 20a (S15).

グラフィックカード20aは、複数の温度に応じて消費電力量を少なくする複数の動作モード(例えば温度が高くなるのに応じて消費電力量を少なくする段階的な動作モード)を有している。S14では、複数の動作モードに対応する温度のうち、ダウンロードした温度情報22aよりも高い中で、より温度情報22aに近い温度値に書き換える。これにより、電力量が閾値以下となる範囲で、且つ、グラフィックカード20aの能力を落とし過ぎることなく、グラフィックカード20aにおける消費電力量を低減することができる。   The graphic card 20a has a plurality of operation modes for reducing the power consumption according to the plurality of temperatures (for example, a stepwise operation mode for reducing the power consumption according to the temperature increase). In S14, among the temperatures corresponding to the plurality of operation modes, the temperature value is rewritten to a temperature value closer to the temperature information 22a while being higher than the downloaded temperature information 22a. As a result, the amount of power consumption of the graphic card 20a can be reduced within the range where the amount of power is equal to or less than the threshold and without excessively reducing the capability of the graphic card 20a.

図4−5は、温度情報22aを更新するサンプルコードの一例を示す説明図である。図4−5に示すようなサンプルコードを実行することで、CPU11は、ダウンロードした温度情報22aにおける温度値を書き換える。次いで、CPU11は、書き換え後の温度情報22aにアップロードし、温度情報22aを更新する。   FIGS. 4-5 are explanatory diagrams showing an example of sample code for updating the temperature information 22a. By executing the sample code as shown in FIG. 4-5, the CPU 11 rewrites the temperature value in the downloaded temperature information 22a. Next, the CPU 11 uploads the rewritten temperature information 22a, and updates the temperature information 22a.

アップロードされた温度情報22aにより、グラフィックカード20aのコントローラー22は、グラフィックカード20aが高温状態であると判定し、消費電力量が少なくなる動作モードにGPU21を切り替える。よって、グラフィックカード20aにおける消費電力量が低減されることから、電子機器1では、グラフィックカード20aへの供給電力が過大となることを抑止できる。   The controller 22 of the graphic card 20a determines that the graphic card 20a is in the high temperature state based on the uploaded temperature information 22a, and switches the GPU 21 to an operation mode in which the power consumption is reduced. Therefore, since the amount of power consumption in the graphic card 20a is reduced, the electronic device 1 can prevent the power supplied to the graphic card 20a from becoming excessive.

以上のように、電子機器1は、バス14を介して接続する拡張機器20に供給する電力量を監視する電力モニタ部17を有する。また、電子機器1は、CPU11の処理により、拡張機器20に供給する電力量が所定値を超える場合に、拡張機器20が消費電力量を低減させることとなる拡張機器20の状態を示す信号を拡張機器20に送信する。   As described above, the electronic device 1 includes the power monitoring unit 17 that monitors the amount of power supplied to the extension device 20 connected via the bus 14. Further, the electronic device 1 generates a signal indicating the state of the extended device 20 which causes the extended device 20 to reduce the amount of power consumption when the amount of power supplied to the extended device 20 exceeds the predetermined value by the processing of the CPU 11. Transmit to the extension device 20.

これにより、拡張機器20が消費電力量を低減させるので、電子機器1では、拡張機器20を変更することなく、拡張機器20への供給電力が過大となることを抑止できる。また、拡張機器20自身が消費電力量を低減させることから、拡張機器20の動作が不安定となること防止しつつ、拡張機器20への供給電力が過大となることを抑止することができる。   As a result, since the extension device 20 reduces the amount of power consumption, the electronic device 1 can prevent the power supplied to the extension device 20 from being excessive without changing the extension device 20. Further, since the extension device 20 itself reduces the amount of power consumption, it is possible to prevent the operation of the extension device 20 from becoming unstable and to suppress the power supplied to the extension device 20 from being excessive.

また、電子機器1では、拡張機器20に供給する電力量が所定値を超える場合に送信する信号を拡張機器20の温度にかかる温度情報とすることで、自身の温度状態によって消費電力量を低減させる拡張機器20に対応できる。   Moreover, in the electronic device 1, the power consumption is reduced by the temperature state of itself by using the signal to be transmitted when the amount of power supplied to the extension device 20 exceeds the predetermined value as temperature information applied to the temperature of the extension device 20. It can respond to the extension device 20 to be

また、PCIeでは、最大供給電力の上限について規定(例えば75W)がある一方で、電力供給の制御方法が定義されていない。このため、PCIeのバスを介して接続する拡張機器20では供給電力が規定よりも過大となる場合がある。しかしながら、本実施形態では、拡張機器20への供給電力が過大となることを抑止することができる。   Moreover, in PCIe, while there is a prescription (for example, 75 W) for the upper limit of the maximum supply power, the control method of the power supply is not defined. For this reason, in the expansion device 20 connected via the PCIe bus, the supplied power may be larger than specified. However, in the present embodiment, excessive power supply to the extension device 20 can be suppressed.

図示した各部の各構成要素は、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各部の分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況等に応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。   Each component of each unit illustrated does not have to be physically configured as illustrated. That is, the specific form of the dispersion and integration of each part is not limited to the illustrated one, and all or a part thereof is functionally or physically dispersed or integrated in any unit according to various loads, usage conditions, etc. Can be configured.

さらに、各装置で行われる各種処理機能は、CPU(またはMPU、MCU(Micro Controller Unit)等のマイクロ・コンピュータ)上で、その全部または任意の一部を実行するようにしてもよい。また、各種処理機能は、CPU(またはMPU、MCU等のマイクロ・コンピュータ)で解析実行されるプログラム上またはワイヤードロジックによるハードウエア上で、その全部または任意の一部を実行するようにしてもよいことは言うまでもない。例えば、本実施形態では、CPU11が管理プログラムを実行する構成を例示したが、PCH13におけるMCUなどのチップが管理プログラムを実行してもよい。   Furthermore, all or any part of various processing functions performed by each device may be executed on a CPU (or a microcomputer such as an MPU or an MCU (Micro Controller Unit)). In addition, various processing functions may execute all or any part of them on a program analyzed or executed by a CPU (or a microcomputer such as an MPU or an MCU) or on hardware by wired logic. Needless to say. For example, although the configuration in which the CPU 11 executes the management program is illustrated in the present embodiment, a chip such as an MCU in the PCH 13 may execute the management program.

また、プログラム12aは、必ずしもメモリ12に記憶されている必要はない。例えば、電子機器1が読み取り可能な記憶媒体に記憶されたプログラム12aを、電子機器1が読み出して実行するようにしてもよい。電子機器1が読み取り可能な記憶媒体は、例えば、CD−ROMやDVDディスク、USB(Universal Serial Bus)メモリ等の可搬型記録媒体、フラッシュメモリ等の半導体メモリ、ハードディスクドライブ等が対応する。また、公衆回線、インターネット、LAN等に接続された装置にこのプログラム12aを記憶させておき、電子機器1がこれらからプログラム12aを読み出して実行するようにしてもよい。   Also, the program 12 a does not necessarily have to be stored in the memory 12. For example, the electronic device 1 may read out and execute the program 12 a stored in a storage medium readable by the electronic device 1. The storage medium readable by the electronic device 1 corresponds to, for example, a CD-ROM, a DVD disk, a portable recording medium such as a USB (Universal Serial Bus) memory, a semiconductor memory such as a flash memory, a hard disk drive or the like. Alternatively, the program 12a may be stored in a device connected to a public line, the Internet, a LAN, or the like, and the electronic device 1 may read and execute the program 12a from them.

以上の実施形態に関し、さらに以下の付記を開示する。   Further, the following appendices will be disclosed regarding the above embodiment.

(付記1)バスを介して接続する拡張機器に供給する電力量を監視する電力監視部と、
前記電力量が所定値を超える場合に、前記拡張機器が消費電力量を低減させることとなる当該拡張機器の状態を示す信号を前記拡張機器に送信する送信部と、
を有することを特徴とする電子機器。
(Supplementary Note 1) A power monitoring unit that monitors the amount of power supplied to expansion devices connected via a bus;
A transmitter configured to transmit a signal indicating a state of the expansion device that causes the expansion device to reduce power consumption when the amount of power exceeds a predetermined value;
Electronic equipment characterized by having.

(付記2)前記信号は、前記拡張機器が消費電力量を低減させることとなる当該拡張機器の温度にかかる温度情報である、
ことを特徴とする付記1に記載の電子機器。
(Supplementary Note 2) The signal is temperature information on the temperature of the extension device, which causes the extension device to reduce power consumption.
The electronic device according to Additional Note 1, characterized in that

(付記3)前記バスは、PCI Expressである、
ことを特徴とする付記1または2に記載の電子機器。
(Supplementary Note 3) The bus is PCI Express.
The electronic device according to any one of supplementary notes 1 and 2, characterized in that

(付記4)バスを介して接続する拡張機器に供給する電力量を取得し、
前記電力量が所定値を超える場合に、前記拡張機器が消費電力量を低減させることとなる当該拡張機器の状態を示す信号を前記拡張機器に送信する、
処理をコンピュータに実行させることを特徴とする管理プログラム。
(Supplementary Note 4) Obtain the amount of power supplied to the expansion device connected via the bus,
When the amount of power exceeds a predetermined value, the extension device transmits, to the extension device, a signal indicating a state of the extension device that reduces power consumption.
A management program that causes a computer to execute a process.

(付記5)前記信号は、前記拡張機器が消費電力量を低減させることとなる当該拡張機器の温度にかかる温度情報である、
ことを特徴とする付記4に記載の管理プログラム。
(Supplementary Note 5) The signal is temperature information on the temperature of the extension device, which causes the extension device to reduce power consumption.
The management program according to appendix 4, characterized in that

(付記6)前記バスは、PCI Expressである、
ことを特徴とする付記4または5に記載の管理プログラム。
(Supplementary Note 6) The bus is PCI Express.
The management program according to appendix 4 or 5, characterized in that

1…電子機器
10…マザーボード
11…CPU
12…メモリ
12a…プログラム
13…PCH
14…バス
14a…PCIeバス
14b…USBバス
15…コネクタ
15a…PCIeスロット
15b…USBコネクタ
16…電源部
17…電力モニタ部
18…他デバイス
20…拡張機器
20a…グラフィックカード
20b…ストレージ装置
21…GPU
22…コントローラー
22a…温度情報
23…温度センサー
1 ... electronic device 10 ... motherboard 11 ... CPU
12: Memory 12a: Program 13: PCH
14 bus 14a PCIe bus 14b USB bus 15 connector 15a PCIe slot 15b USB connector 16 power supply unit 17 power monitor unit 18 other device 20 expansion device 20a graphic card 20b storage device 21 GPU
22 ... controller 22a ... temperature information 23 ... temperature sensor

Claims (4)

バスを介して接続する拡張機器に供給する電力量を監視する電力監視部と、
前記電力量が所定値を超える場合に、前記拡張機器が消費電力量を低減させることとなる当該拡張機器の状態を示す信号を前記拡張機器に送信する送信部と、
を有することを特徴とする電子機器。
A power monitoring unit that monitors the amount of power supplied to the expansion device connected via the bus;
A transmitter configured to transmit a signal indicating a state of the expansion device that causes the expansion device to reduce power consumption when the amount of power exceeds a predetermined value;
Electronic equipment characterized by having.
前記信号は、前記拡張機器が消費電力量を低減させることとなる当該拡張機器の温度にかかる温度情報である、
ことを特徴とする請求項1に記載の電子機器。
The signal is temperature information related to the temperature of the extension device that causes the extension device to reduce power consumption.
The electronic device according to claim 1,
前記バスは、PCI Expressである、
ことを特徴とする請求項1または2に記載の電子機器。
The bus is PCI Express,
The electronic device according to claim 1 or 2, characterized in that:
バスを介して接続する拡張機器に供給する電力量を取得し、
前記電力量が所定値を超える場合に、前記拡張機器が消費電力量を低減させることとなる当該拡張機器の状態を示す信号を前記拡張機器に送信する、
処理をコンピュータに実行させることを特徴とする管理プログラム。
Obtain the amount of power supplied to the expansion device connected via the bus,
When the amount of power exceeds a predetermined value, the extension device transmits, to the extension device, a signal indicating a state of the extension device that reduces power consumption.
A management program that causes a computer to execute a process.
JP2017082300A 2017-04-18 2017-04-18 Electronics and management programs Expired - Fee Related JP6712060B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017082300A JP6712060B2 (en) 2017-04-18 2017-04-18 Electronics and management programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017082300A JP6712060B2 (en) 2017-04-18 2017-04-18 Electronics and management programs

Publications (2)

Publication Number Publication Date
JP2018181115A true JP2018181115A (en) 2018-11-15
JP6712060B2 JP6712060B2 (en) 2020-06-17

Family

ID=64275752

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017082300A Expired - Fee Related JP6712060B2 (en) 2017-04-18 2017-04-18 Electronics and management programs

Country Status (1)

Country Link
JP (1) JP6712060B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050102539A1 (en) * 2003-11-06 2005-05-12 International Business Machines Corporation Computer-component power-consumption monitoring and control
JP2008225590A (en) * 2007-03-09 2008-09-25 Sony Corp Electronic device, supply power control method and program
JP2012216058A (en) * 2011-03-31 2012-11-08 Fujitsu Ltd Assignment method, assignment device, and assignment program
JP2013047974A (en) * 2012-10-22 2013-03-07 Toshiba Corp Information processor and operation control method
US20160048181A1 (en) * 2014-08-15 2016-02-18 Intel Corporation Balanced control of processor temperature

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050102539A1 (en) * 2003-11-06 2005-05-12 International Business Machines Corporation Computer-component power-consumption monitoring and control
JP2008225590A (en) * 2007-03-09 2008-09-25 Sony Corp Electronic device, supply power control method and program
JP2012216058A (en) * 2011-03-31 2012-11-08 Fujitsu Ltd Assignment method, assignment device, and assignment program
JP2013047974A (en) * 2012-10-22 2013-03-07 Toshiba Corp Information processor and operation control method
US20160048181A1 (en) * 2014-08-15 2016-02-18 Intel Corporation Balanced control of processor temperature

Also Published As

Publication number Publication date
JP6712060B2 (en) 2020-06-17

Similar Documents

Publication Publication Date Title
EP3242218B1 (en) Dynamic pcie switch reconfiguration mechanism
US10459733B2 (en) Power budgeting in an information handling system
US8230237B2 (en) Pre-boot environment power management
US10990680B2 (en) Method and apparatus for securing add-in cards from firmware and configuration changes
JP6678929B2 (en) Smart power management for high standby power system
US10373283B2 (en) System and method for normalization of GPU workloads based on real-time GPU data
US11093174B1 (en) Information handling system having improved host memory buffer for input/output requests
US20180210783A1 (en) Information processing apparatus, control method of the same, and storage medium
US11194377B2 (en) System and method for optimizing hardware resources for optimal workload performance
US11256314B2 (en) System and method for power management of field-programmable gate arrays and load balancing of personality bitstreams from a baseboard management controller
US11442885B2 (en) System and method to change field-programmable gate array personality from a baseboard management controller
JP2013138041A (en) Electronic apparatus and fan control method of the same
US20210048863A1 (en) System and Method for Controlling a Power-On Sequence and Power Throttling using Power Brake
US11086371B2 (en) Heat suppression in an information processing device in an initial setting mode
US11822927B2 (en) Boot times in an information processing device with externally connected devices
JP6712060B2 (en) Electronics and management programs
US11500436B2 (en) System and method for predictive fan speed control and management
US20210096624A1 (en) Electronic apparatus and operation information output method
CN114911332A (en) Server fan regulation and control method, system, electronic equipment and storage medium
US11847009B1 (en) Power control for improving foreground application performance in an information handling system
US20230333527A1 (en) Enhanced capacity management of power supplies in response to environmental conditions
JP6669980B1 (en) Information processing system, information processing apparatus and program
US11513575B1 (en) Dynamic USB-C mode configuration
JP6802511B1 (en) Information processing equipment and programs
US11170111B1 (en) System and method for publishing and configuring a management service interface

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20180912

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190327

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191115

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191126

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200117

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200428

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200511

R150 Certificate of patent or registration of utility model

Ref document number: 6712060

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees