JP2012208579A - Power consumption control system, power consumption control method, and program - Google Patents
Power consumption control system, power consumption control method, and program Download PDFInfo
- Publication number
- JP2012208579A JP2012208579A JP2011072002A JP2011072002A JP2012208579A JP 2012208579 A JP2012208579 A JP 2012208579A JP 2011072002 A JP2011072002 A JP 2011072002A JP 2011072002 A JP2011072002 A JP 2011072002A JP 2012208579 A JP2012208579 A JP 2012208579A
- Authority
- JP
- Japan
- Prior art keywords
- power consumption
- cpu
- cpus
- consumption control
- active
- 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.)
- Withdrawn
Links
Images
Landscapes
- Power Sources (AREA)
Abstract
Description
本発明は、消費電力制御システム、消費電力制御方法、およびプログラムに関する。 The present invention relates to a power consumption control system, a power consumption control method, and a program.
計算機の消費電力制御方法として、特許文献1に記載の方法などがある。
As a computer power consumption control method, there is a method described in
たとえば、ACPI(Advanced Configuration and Power Interface)で定義されるところのCPU(Central Processing Unit)のPステートを、OS(オペレーティングシステム)がCPUの負荷状況に合わせて、消費電力の低いステートへ変更することによって省電力化を図ることがあった。 For example, the P state of the CPU (Central Processing Unit) defined by ACPI (Advanced Configuration and Power Interface) is changed by the OS (operating system) to a state with low power consumption according to the load status of the CPU. As a result, there was a case where power saving was achieved.
また、コンピュータシステムがアイドル状態(無負荷状態)にあるとき、OSはACPIで定義されるところのCステートにCPUを遷移させることで、コンピュータシステムの消費電力抑制を図ることがあった。 Further, when the computer system is in an idle state (no-load state), the OS may reduce power consumption of the computer system by causing the CPU to transition to the C state defined by ACPI.
しかしながら、CPUが備えるPステートの数はCPUのクロック種別によって一様とは限らないため、CPUのPステート操作による消費電力制御では、全てのCPUで一様な省電力効果を期待することが困難であった。また、Cステート制御は、コンピュータシステムがアイドル状態にある際の消費電力制御に用いられていた。 However, since the number of P states included in the CPU is not necessarily uniform depending on the CPU clock type, it is difficult to expect a uniform power saving effect in all the CPUs in the power consumption control by the P state operation of the CPU. Met. In addition, the C state control is used for power consumption control when the computer system is in an idle state.
本発明は、上記事情に鑑みなされたものであって、CPUのPステート操作に依存しない、消費電力制御システム、消費電力制御方法、およびプログラムを提供することを目的とする。 The present invention has been made in view of the above circumstances, and an object thereof is to provide a power consumption control system, a power consumption control method, and a program that do not depend on a P-state operation of a CPU.
上記目的を達成するため、本発明の第1の観点に係る消費電力制御システムは、
複数のCPUを有するCPU群を備え、
算出されたアクティブCPUの個数に基づいて、前記CPU群の中から少なくとも1つのCPUをアクティブCPUとして選択する第1消費電力制御手段と、
前記CPU群に含まれるCPUの内、前記第1消費電力制御手段によって前記アクティブCPUとして選択されなかったCPUのステートを遷移させる第2消費電力制御手段と、
を有することを特徴とする。
In order to achieve the above object, a power consumption control system according to a first aspect of the present invention includes:
A CPU group having a plurality of CPUs;
First power consumption control means for selecting at least one CPU as an active CPU from the CPU group based on the calculated number of active CPUs;
Second power consumption control means for transitioning a state of a CPU that has not been selected as the active CPU by the first power consumption control means among the CPUs included in the CPU group;
It is characterized by having.
上記目的を達成するため、本発明の第2の観点に係る上記消費電力制御システムを用いた消費電力制御方法は、
前記第1消費電力制御手段が、算出された前記アクティブCPUの個数に基づいて、前記CPU群の中からアクティブCPUを選択する第1ステップと、
前記第2消費電力制御手段が、前記CPU群に含まれるCPUの内、前記アクティブCPUとして選択されなかったCPUのステートを変更する第2ステップと、
を含むことを特徴とする。
In order to achieve the above object, a power consumption control method using the power consumption control system according to the second aspect of the present invention includes:
A first step in which the first power consumption control means selects an active CPU from the CPU group based on the calculated number of active CPUs;
A second step in which the second power consumption control means changes a state of a CPU not selected as the active CPU among the CPUs included in the CPU group;
It is characterized by including.
上記目的を達成するため、本発明の第3の観点に係るプログラムは、
コンピュータに、
算出されたアクティブCPUの個数に基づいて、CPU群の中からアクティブCPUを選択する手順と、
前記CPU群に含まれるCPUの内、前記アクティブCPUとして選択されなかったCPUのステートを変更する手順と、
を実行させる。
In order to achieve the above object, a program according to the third aspect of the present invention provides:
On the computer,
A procedure for selecting an active CPU from a group of CPUs based on the calculated number of active CPUs;
A procedure for changing a state of a CPU not selected as the active CPU among the CPUs included in the CPU group;
Is executed.
本発明によれば、CPUのPステート操作に依存しない、消費電力制御システム、消費電力制御方法、およびプログラムを提供することができる。 According to the present invention, it is possible to provide a power consumption control system, a power consumption control method, and a program that do not depend on the P-state operation of the CPU.
以下、本発明の実施形態に係るコンピュータの消費電力制御システム、消費電力制御方法、およびプログラムについて、図面を参照して詳細に説明する。 DESCRIPTION OF EMBODIMENTS Hereinafter, a computer power consumption control system, a power consumption control method, and a program according to embodiments of the present invention will be described in detail with reference to the drawings.
本明細書において、「CPU」は、CPU単体だけでなく、複数のCPUコアからなるCPUの各コア自体をも示すものとする。 In this specification, “CPU” indicates not only a single CPU but also each core of a CPU including a plurality of CPU cores.
図1を参照すると、本実施形態に係るコンピュータの消費電力制御システム100は、コンピュータ101と、n個(nは2以上の整数)のCPUを有するCPU群102と、コンピュータ101上で動作するOS(オペレーティングシステム)104と、主記憶装置108と、補助記憶装置110と、を有する。
Referring to FIG. 1, a computer power
CPU群102は複数のCPUを有する。CPUは、コンピュータ101の動作を制御するプロセッサであり、補助記憶装置110から主記憶装置108にロードされる、OS(オペレーティングシステム)104、OS104の下で動作する(ユーティリティを含む)各種制御手段、消費電力算出手段106、および消費電力算出手段106の下で動作する消費電力検出手段114等を実行する。CPU群102に含まれるCPUはACPIで定義されるPステート操作が行われるCPUである。
The
OS104は、その内部に、消費電力算出手段106からの要求を受け取るAPI(Application Programming Interface)112(インターフェイス)と、第1消費電力制御手段116と、第2消費電力制御手段118と、を有する。
The OS 104 includes an API (Application Programming Interface) 112 (interface) that receives a request from the power
主記憶装置108は、CPUがOS104や消費電力算出手段106等を実行する際の作業領域としての機能を有する。主記憶装置108としては、たとえば、メモリ、レジスタ、キャッシュ等を例示することができる。
The main storage device 108 has a function as a work area when the CPU executes the
補助記憶装置110は、OS104、消費電力算出手段106などを格納する機能を有する。すなわち、補助記憶装置110は、本実施形態で説明する消費電力制御を実行するプログラムを格納する。補助記憶装置110としては、たとえば、HDD(ハードディスクドライブ)やCD−ROM等を例示することができる。
The
消費電力算出手段106はアクティブCPUの個数を指定する機能を有する。消費電力算出手段106は補助記憶装置110に格納されており、CPU群102に含まれる少なくとも1つのCPUによって読み出され、主記憶装置108を作業領域として実行される。消費電力算出手段106は消費電力検出手段114を内部に有する。消費電力検出手段114は、CPU群102に含まれる各CPUで消費されている消費電力を検出する機能を有する。
The power
API112は、CPUによって主記憶装置108を作業領域として実行された消費電力算出手段106から、演算処理の実行が許可されるCPU(アクティブCPU)の個数に関する情報を受け取るインターフェイスとしての機能を有する。
The API 112 has a function as an interface that receives information on the number of CPUs (active CPUs) permitted to execute arithmetic processing from the power
CPU群102に含まれる少なくとも1つのCPUが、補助記憶装置110にあらかじめ格納された消費電力算出手段106およびその内部にある消費電力検出手段114を読み出して、主記憶装置108に書き込む。少なくとも1つのCPUが主記憶装置108を作業領域として消費電力検出手段114を実行し、CPU群102に含まれる各CPUで消費されている消費電力を検出し、消費電力算出手段106が消費電力検出手段114によって検出された消費電力の数値を利用する。演算処理の実行が許可されるCPU(図2に示すアクティブCPU122)の個数は、消費電力検出手段114によって検出された消費電力の数値に基づいて、CPU群102に含まれる少なくとも1つのCPUが、消費電力算出手段106を実行して算出する。
At least one CPU included in the
OS104内の第1消費電力制御手段116は、API112によって受け取られる、消費電力算出手段106によって指定されたアクティブCPUの個数に関する情報に基づいて、CPU群102に含まれるCPUの中からアクティブCPU122を選択する機能を有する。また、第1消費電力制御手段116は、第1消費電力制御手段116によってアクティブCPU122として選択されなかったCPU(図2に示すアイドルCPU124)の負荷をゼロとする機能を有する。すなわち、図2に示すように、CPU群102の中に、アクティブCPU122と、アイドルCPU124と、が含まれる。本実施形態に係る図2において、アクティブCPU122の個数は(n−3)個であり、アイドルCPU124の個数は3個である。
The first power
OS104内の第2消費電力制御手段118は、全てのアイドルCPU124のステートを、ACPI(Advanced Configuration and Power Interface)で定義されるCステートから、電力消費がより抑制されるディープスリープ状態(C6ステート)へと遷移させる機能を有する。
The second power consumption control means 118 in the
以下、本実施形態に係るコンピュータの消費電力制御システム100を用いる消費電力制御方法200の処理手順を、図3のフローチャートを参照して説明する。
The processing procedure of the power consumption control method 200 using the computer power
CPU群102に含まれる少なくとも1つのCPUが、補助記憶装置110にあらかじめ格納された消費電力算出手段106およびその内部にある消費電力検出手段114を読み出して、主記憶装置108に書き込む。CPU群102に含まれる少なくとも1つのCPUが主記憶装置108を作業領域として消費電力算出手段106を実行し、消費電力算出手段106内の消費電力検出手段114がCPU群102に含まれる各CPUで消費されている消費電力を検出する(ステップS201)。
At least one CPU included in the
CPU群102に含まれる少なくとも1つのCPUが主記憶装置108を作業領域として消費電力算出手段106を実行し、消費電力検出手段114によって検出された消費電力に基づいて、CPU群102において削減したい電力量と、コンピュータ101を稼働させるために十分なCPUの個数との間のバランスを取りながら、演算処理の実行が許可されるCPU(アクティブCPU122)の個数を算出する(ステップS202)。
At least one CPU included in the
CPU群102に含まれる少なくとも1つのCPUが、ステップ202において算出されたアクティブCPU122の個数に関する情報をOS104内のAPI112に送信し、API112がその情報を受け取る(ステップS203)。
At least one CPU included in the
OS104内の第1消費電力制御手段116は、API112によって受け取られたアクティブCPUの個数に関する情報に基づいて、CPU群102の中からアクティブCPU122を選択する。第1消費電力制御手段116は、第1消費電力制御手段116によってアクティブCPU122として選択されなかったCPU(アイドルCPU124)の負荷をゼロとする(ステップS204)。
The first power
OS104内の第2消費電力制御手段118は、アイドルCPU124に含まれる全てのCPUのステートを、ACPI(Advanced Configuration and Power Interface)で定義されるCステートから、電力消費がより抑制されるディープスリープ状態(C6ステート)へと遷移させる(ステップS205)。
The second power consumption control means 118 in the
以上に示すように、コンピュータ101の消費電力制御システム100を用いたコンピュータ101の消費電力制御方法200によって、CPUのステートをC6ステートへと遷移させ、コンピュータの消費電力を制御することができる。
As described above, the power consumption control method 200 of the
各コンピュータに内蔵されるCPUのうち、演算処理の実行が許可されるCPU(アクティブCPU)の個数を制限することで、負荷がゼロの状態のCPU(アイドルCPU)を生じさせる。その結果、OS104の備える省電力機能(C6ステートへの遷移)がアイドルCPUに対して動作し、コンピュータの消費電力を低減させることができる。そのため、CPUの種別やCPUのPステート操作に依存することなく、コンピュータシステムの消費電力を制御し、消費電力を抑制することができる。
By limiting the number of CPUs (active CPUs) that are allowed to execute arithmetic processing among the CPUs built in each computer, CPUs with no load (idle CPUs) are generated. As a result, the power saving function (transition to the C6 state) provided in the
また、本実施形態に係る消費電力制御システム100および消費電力制御方法200においては、第1消費電力制御手段116と第2消費電力制御手段118との2つの消費電力制御手段を用いて、多段階で消費電力が制御されている。すなわち、コンピュータ101の全システムがアイドル状態になるのではなく、第1消費電力制御手段116によって一部のCPUがアイドル状態となり(アイドルCPU)、アイドルCPUについてのみ第2消費電力制御手段118がCPUのステートをディープスリープ状態に遷移させている。そのため、コンピュータ101の全システムが非アイドル状態においても、CPUの種別やCPUのPステート操作に依存することなく、消費電力を抑制することができる。
Further, in the power
以上、本発明の実施形態について説明したが、本発明の広義の精神と範囲を逸脱することなく、様々な実施形態及び変形が可能とされるものである。上述した実施形態は、本発明を説明するためのものであり、本発明の範囲を限定するものではない。 Although the embodiments of the present invention have been described above, various embodiments and modifications can be made without departing from the broad spirit and scope of the present invention. The above-described embodiments are for explaining the present invention, and do not limit the scope of the present invention.
たとえば、本実施形態においては、消費電力算出手段106が補助記憶装置110にあらかじめ格納されていた形態について説明したが、消費電力算出手段を格納した外部媒体(CD等)を補助記憶装置に格納してもよいし、消費電力算出手段がOSに含まれていてもよい。また、コンピュータ101に上述の処理を実行させるためのコンピュータプログラムを任意の記録媒体に格納するようにしてもよい。上記コンピュータプログラムは、コンピュータ101に、消費電力算出手段106を補助記憶装置110から読み出し、主記憶装置108において消費電力算出手段106を実行し、消費電力算出手段106によって算出された消費電力に基づいてアクティブCPUの個数を算出する手順と、算出されたアクティブCPUの個数に基づいて、CPU群102の中からアクティブCPUを選択する手順と、CPU群102に含まれるCPUの内、アクティブCPUとして選択されなかったCPUのステートを変更する手順と、を実行させる。
For example, in the present embodiment, the configuration in which the power
また、本実施形態においては、消費電力制御システム100が、複数のCPUを有するCPU群102と、主記憶装置108と、補助記憶装置110と、を備えるコンピュータ101と、OS(オペレーティングシステム)104と、を備え、消費電力算出手段106と、第1消費電力制御手段116と、第2消費電力制御手段118と、を有する形態について説明したが、図4に示すように、消費電力制御システム500が複数のCPUを有するCPU群102を備え、第1消費電力制御手段116と、第2消費電力制御手段118とを有していればよい。この形態においては、コンピュータに処理を実行させるプログラムは、コンピュータに、算出されたアクティブCPUの個数に基づいて、CPU群102の中からアクティブCPUを選択する手順と、CPU群102に含まれるCPUの内、アクティブCPUとして選択されなかったCPUのステートを変更する手順と、を実行させる。この形態においても、第1消費電力制御手段116と第2消費電力制御手段118とを用いることによって、消費電力制御システム500はCPU群102で消費される電力を抑制することができる。
In the present embodiment, the power
また、本実施形態においては、消費電力算出手段106が実行され、消費電力算出手段106内の消費電力検出手段114がCPU群102に含まれる各CPUで消費されている消費電力を検出し、消費電力検出手段114によって検出された消費電力に基づいて、演算処理の実行が許可されるアクティブCPU122の個数が算出される形態について説明したが、たとえば、CPU群102に含まれる各CPUで消費されている消費電力を検出する機能を有する電力計などの消費電力検出手段を消費電力算出手段外部に設置してもよい。この場合、以下の方法には限定されないが、たとえば、ユーザが電力計の数値を適宜確認し、ユーザが随時消費電力削減の効果を確認しながら、ユーザがアクティブCPUの個数をコンソールから入力することによって消費電力算出手段106に送信する。次に、CPU群102に含まれる少なくとも1つのCPUが、ステップS202において算出されたアクティブCPU122の個数に関する情報をOS104内のAPI112に送信する。API112がその情報を受け取ることによって、OS104内の第1消費電力制御手段116がアクティブCPUの個数に関する情報に基づいてCPU群102の中からアクティブCPU122を選択する。
Further, in the present embodiment, the power
また、本実施形態においては、インターフェイスであるAPI112がアクティブCPUの個数に関する情報を受け取る機能を有する形態について説明したが、たとえば、第1消費電力制御手段116などの他のモジュールがアクティブCPUの個数に関する情報を受け取る機能をさらに有していて、API112がOS104内に含まれていなくてもよい。
In this embodiment, the
また、本実施形態においては、第2消費電力制御手段118が、ACPIで定義されるPステート操作が行われるCPUについて、ACPIで定義されるCステートからC6ステートへとCPUのステートを遷移させることによって消費電力を抑制する形態について説明したが、第2消費電力制御手段118がACPI以外の規格で定義されたCPUのステートを遷移させることによって消費電力を抑制してもよいし、Pステート操作が行われないCPUのステートを遷移させることによって消費電力を抑制してもよい。
In the present embodiment, the second power
以下、実施例を用いて本発明を具体的に説明するが、本発明は本実施例に限定されるものではなく、様々な変形が可能とされるものである。 EXAMPLES Hereinafter, although this invention is demonstrated concretely using an Example, this invention is not limited to a present Example, Various deformation | transformation is enabled.
はじめに、図5を参照して、本実施例に係るコンピュータの消費電力制御システム300の構成を説明する。消費電力制御システム300は、コンピュータ301と、4個のCPUを有するCPU群302(CPU302A、CPU302B、CPU302C、CPU302D)と、4個のCPUを有するCPU群303(CPU303A、CPU303B、CPU303C、CPU303D)と、コンピュータ301上で動作するOS(オペレーティングシステム)304と、メモリ308と、消費電力算出手段306を格納するHDD310と、を有する。
First, the configuration of a computer power
以下、図6のフローチャートを参照して、本実施例に係るコンピュータの消費電力制御システム300を用いた消費電力制御方法400の処理手順を具体的に説明する。
Hereinafter, the processing procedure of the power consumption control method 400 using the computer power
CPU302Aが、HDD310にあらかじめ格納された消費電力算出手段306およびその内部にある消費電力検出手段314を読み出して、メモリ308に書き込む。CPU302Aがメモリ308を作業領域として消費電力算出手段306を実行し、消費電力算出手段306内の消費電力検出手段314がCPU群302およびCPU群303に含まれる8個のCPUで消費されている消費電力を検出する(ステップS401)。
The CPU 302A reads the power
CPU302Aがメモリ308を作業領域として消費電力算出手段306を実行し、消費電力検出手段314によって検出されたCPUの消費電力に基づいて、CPU群302およびCPU群303において削減したい電力量と、コンピュータ301を稼働させるために十分なCPUの個数との間のバランスを取りながら、演算処理の実行が許可されるCPU(アクティブCPU)の個数を5個と算出する(ステップS402)。
The CPU 302A executes the power
CPU302Aが、ステップ402において算出されたアクティブCPUの個数(5個)に関する情報をOS304内のAPI312に送信し、API312がその情報を受け取る(ステップS403)。
The CPU 302A transmits information regarding the number of active CPUs (five) calculated in step 402 to the
OS304内の第1消費電力制御手段316は、API312によって受け取られたアクティブCPUの個数(5個)に関する情報に基づいて、CPU302A、CPU302B、CPU302C、CPU302D、CPU303Aの5個をアクティブCPUとして選択する。第1消費電力制御手段316は、第1消費電力制御手段316によってアクティブCPUとして選択されなかったCPU303B、CPU303C、CPU303Dの3個をアイドルCPUとして、CPU303B、CPU303C、およびCPU303Dの負荷をゼロとする(ステップS404)。
The first power
OS304に含まれる第2消費電力制御手段318は、アイドルCPUとなったCPU303B、CPU303C、CPU303Dのステートを、ACPI(Advanced Configuration and Power Interface)で定義されるCステートから、電力消費がより抑制されるディープスリープ状態(C6ステート)へと遷移させる(ステップS405)。
The second power
上記の実施形態および実施例の一部および全部は、以下の付記のようにも記載されうるが、以下には限られない。 Although part and all of said embodiment and an Example can be described also as the following additional remarks, it is not restricted to the following.
(付記1)
複数のCPUを有するCPU群を備え、
算出されたアクティブCPUの個数に基づいて、前記CPU群の中から少なくとも1つのCPUをアクティブCPUとして選択する第1消費電力制御手段と、
前記CPU群に含まれるCPUの内、前記第1消費電力制御手段によって前記アクティブCPUとして選択されなかったCPUのステートを遷移させる第2消費電力制御手段と、
を有することを特徴とする消費電力制御システム。
(Appendix 1)
A CPU group having a plurality of CPUs;
First power consumption control means for selecting at least one CPU as an active CPU from the CPU group based on the calculated number of active CPUs;
Second power consumption control means for transitioning a state of a CPU that has not been selected as the active CPU by the first power consumption control means among the CPUs included in the CPU group;
A power consumption control system comprising:
(付記2)
前記CPU群に含まれるCPUはACPIで定義されるPステート操作が行われるCPUであり、
前記第2消費電力制御手段が、前記CPU群に含まれるCPUの内、前記第1消費電力制御手段によって前記アクティブCPUとして選択されなかったCPUのステートを、ACPIで定義されるCステートからACPIで定義されるC6ステートへと遷移させることを特徴とする付記1に記載の消費電力制御システム。
(Appendix 2)
CPUs included in the CPU group are CPUs that perform a P-state operation defined by ACPI.
The second power consumption control means changes the state of the CPU not selected as the active CPU by the first power consumption control means from the C states defined by ACPI to ACPI among the CPUs included in the CPU group. The power consumption control system according to
(付記3)
前記CPU群において消費される消費電力を検出し、検出された前記消費電力に基づいてアクティブCPUの個数を算出する消費電力算出手段をさらに備え、
前記第1消費電力制御手段は、前記消費電力算出手段によって算出された前記アクティブCPUの個数に基づいて前記CPU群の中から少なくとも1つのCPUをアクティブCPUとして選択する、
ことを特徴とする付記1または2に記載の消費電力制御システム。
(Appendix 3)
Power consumption calculating means for detecting power consumption consumed in the CPU group and calculating the number of active CPUs based on the detected power consumption;
The first power consumption control means selects at least one CPU as the active CPU from the CPU group based on the number of the active CPUs calculated by the power consumption calculation means.
The power consumption control system according to
(付記4)
前記消費電力算出手段によって算出された前記アクティブCPUの個数に関する情報を受け取るインターフェイスを前記オペレーティングシステム内にさらに有する、
ことを特徴とする付記3に記載の消費電力制御システム。
(Appendix 4)
The operating system further includes an interface for receiving information on the number of active CPUs calculated by the power consumption calculating unit.
The power consumption control system according to
(付記5)
前記第1消費電力制御手段が、算出された前記アクティブCPUの個数に基づいて、前記CPU群の中からアクティブCPUを選択する第1ステップと、
前記第2消費電力制御手段が、前記CPU群に含まれるCPUの内、前記アクティブCPUとして選択されなかったCPUのステートを変更する第2ステップと、
を含むことを特徴とする、付記1乃至4のいずれか1つに記載の消費電力制御システムを用いた消費電力制御方法。
(Appendix 5)
A first step in which the first power consumption control means selects an active CPU from the CPU group based on the calculated number of active CPUs;
A second step in which the second power consumption control means changes a state of a CPU not selected as the active CPU among the CPUs included in the CPU group;
A power consumption control method using the power consumption control system according to any one of
(付記6)
前記第1ステップの前に、
前記CPU群に含まれる少なくとも1つのCPUが、前記消費電力算出手段を補助記憶装置から読み出し、主記憶装置において前記消費電力算出手段を実行し、前記消費電力に基づいてアクティブCPUの個数を算出するステップを含む、
ことを特徴とする付記5に記載の消費電力制御方法。
(Appendix 6)
Before the first step,
At least one CPU included in the CPU group reads the power consumption calculation unit from the auxiliary storage device, executes the power consumption calculation unit in the main storage device, and calculates the number of active CPUs based on the power consumption. Including steps,
The power consumption control method according to appendix 5, characterized in that:
(付記7)
コンピュータに、
算出されたアクティブCPUの個数に基づいて、CPU群の中からアクティブCPUを選択する手順と、
前記CPU群に含まれるCPUの内、前記アクティブCPUとして選択されなかったCPUのステートを変更する手順と、
を実行させるプログラム。
(Appendix 7)
On the computer,
A procedure for selecting an active CPU from a group of CPUs based on the calculated number of active CPUs;
A procedure for changing a state of a CPU not selected as the active CPU among the CPUs included in the CPU group;
A program that executes
100 消費電力制御システム
101 コンピュータ
102 CPU群
104 OS
106 消費電力算出手段
108 主記憶装置
110 補助記憶装置
112 API
114 消費電力検出手段
116 第1消費電力制御手段
118 第2消費電力制御手段
122 アクティブCPU
124 アイドルCPU
200 消費電力制御方法
300 消費電力制御システム
301 コンピュータ
302 CPU群
302A CPU
302B CPU
302C CPU
302D CPU
303 CPU群
303A CPU
303B CPU
303C CPU
303D CPU
304 OS
306 消費電力算出手段
308 メモリ
310 HDD
312 API
314 消費電力検出手段
316 第1消費電力制御手段
318 第2消費電力制御手段
400 消費電力制御方法
500 消費電力制御システム
100 power
106 Power consumption calculation means 108
114 Power consumption detection means 116 First power consumption control means 118 Second power consumption control means 122 Active CPU
124 Idle CPU
200 Power
302B CPU
302C CPU
302D CPU
303 CPU group 303A CPU
303B CPU
303C CPU
303D CPU
304 OS
306 Power consumption calculation means 308
312 API
314 Power consumption detection means 316 First power consumption control means 318 Second power consumption control means 400 Power
Claims (7)
算出されたアクティブCPUの個数に基づいて、前記CPU群の中から少なくとも1つのCPUをアクティブCPUとして選択する第1消費電力制御手段と、
前記CPU群に含まれるCPUの内、前記第1消費電力制御手段によって前記アクティブCPUとして選択されなかったCPUのステートを遷移させる第2消費電力制御手段と、
を有することを特徴とする消費電力制御システム。 A CPU group having a plurality of CPUs;
First power consumption control means for selecting at least one CPU as an active CPU from the CPU group based on the calculated number of active CPUs;
Second power consumption control means for transitioning a state of a CPU that has not been selected as the active CPU by the first power consumption control means among the CPUs included in the CPU group;
A power consumption control system comprising:
前記第2消費電力制御手段が、前記CPU群に含まれるCPUの内、前記第1消費電力制御手段によって前記アクティブCPUとして選択されなかったCPUのステートを、ACPIで定義されるCステートからACPIで定義されるC6ステートへと遷移させることを特徴とする請求項1に記載の消費電力制御システム。 CPUs included in the CPU group are CPUs that perform a P-state operation defined by ACPI.
The second power consumption control means changes the state of the CPU not selected as the active CPU by the first power consumption control means from the C states defined by ACPI to ACPI among the CPUs included in the CPU group. The power consumption control system according to claim 1, wherein transition is made to a defined C6 state.
前記第1消費電力制御手段は、前記消費電力算出手段によって算出された前記アクティブCPUの個数に基づいて前記CPU群の中から少なくとも1つのCPUをアクティブCPUとして選択する、
ことを特徴とする請求項1または2に記載の消費電力制御システム。 Power consumption calculating means for detecting power consumption consumed in the CPU group and calculating the number of active CPUs based on the detected power consumption;
The first power consumption control means selects at least one CPU as the active CPU from the CPU group based on the number of the active CPUs calculated by the power consumption calculation means.
The power consumption control system according to claim 1 or 2.
ことを特徴とする請求項3に記載の消費電力制御システム。 The operating system further includes an interface for receiving information on the number of active CPUs calculated by the power consumption calculating unit.
The power consumption control system according to claim 3.
前記第2消費電力制御手段が、前記CPU群に含まれるCPUの内、前記アクティブCPUとして選択されなかったCPUのステートを変更する第2ステップと、
を含むことを特徴とする、請求項1乃至4のいずれか1項に記載の消費電力制御システムを用いた消費電力制御方法。 A first step in which the first power consumption control means selects an active CPU from the CPU group based on the calculated number of active CPUs;
A second step in which the second power consumption control means changes a state of a CPU not selected as the active CPU among the CPUs included in the CPU group;
The power consumption control method using the power consumption control system of any one of Claims 1 thru | or 4 characterized by the above-mentioned.
前記CPU群に含まれる少なくとも1つのCPUが、前記消費電力算出手段を補助記憶装置から読み出し、主記憶装置において前記消費電力算出手段を実行し、前記消費電力に基づいてアクティブCPUの個数を算出するステップを含む、
ことを特徴とする請求項5に記載の消費電力制御方法。 Before the first step,
At least one CPU included in the CPU group reads the power consumption calculation unit from the auxiliary storage device, executes the power consumption calculation unit in the main storage device, and calculates the number of active CPUs based on the power consumption. Including steps,
The power consumption control method according to claim 5.
算出されたアクティブCPUの個数に基づいて、CPU群の中からアクティブCPUを選択する手順と、
前記CPU群に含まれるCPUの内、前記アクティブCPUとして選択されなかったCPUのステートを変更する手順と、
を実行させるプログラム。 On the computer,
A procedure for selecting an active CPU from a group of CPUs based on the calculated number of active CPUs;
A procedure for changing a state of a CPU not selected as the active CPU among the CPUs included in the CPU group;
A program that executes
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011072002A JP2012208579A (en) | 2011-03-29 | 2011-03-29 | Power consumption control system, power consumption control method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011072002A JP2012208579A (en) | 2011-03-29 | 2011-03-29 | Power consumption control system, power consumption control method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2012208579A true JP2012208579A (en) | 2012-10-25 |
Family
ID=47188287
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011072002A Withdrawn JP2012208579A (en) | 2011-03-29 | 2011-03-29 | Power consumption control system, power consumption control method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2012208579A (en) |
-
2011
- 2011-03-29 JP JP2011072002A patent/JP2012208579A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11513585B1 (en) | Power management for a graphics processing unit or other circuit | |
US10664039B2 (en) | Power efficient processor architecture | |
US8656196B2 (en) | Hardware automatic performance state transitions in system on processor sleep and wake events | |
TWI477945B (en) | Method for controlling a turbo mode frequency of a processor, and processor capable of controlling a turbo mode frequency thereof | |
US8954977B2 (en) | Software-based thread remapping for power savings | |
US8966305B2 (en) | Managing processor-state transitions | |
US9335813B2 (en) | Method and system for run-time reallocation of leakage current and dynamic power supply current | |
KR101930183B1 (en) | Processor including multiple dissimilar processor cores that implement different portions of instruction set architecture | |
TW201218072A (en) | Providing per core voltage and frequency control | |
JPWO2008129786A1 (en) | Multiprocessor control device, control method thereof, and integrated circuit | |
TW201346770A (en) | Multi-level CPU high current protection | |
TWI553549B (en) | Processor including multiple dissimilar processor cores | |
KR101467072B1 (en) | Low power execution of a multithreaded program | |
US9507641B1 (en) | System and method for dynamic granularity control of parallelized work in a portable computing device (PCD) | |
JPWO2011155047A1 (en) | Multi-core processor system, power control method, and power control program | |
JP2010039802A (en) | Multiprocessor system, scheduling method and program therefor | |
US9760145B2 (en) | Saving the architectural state of a computing device using sectors | |
JP2012208579A (en) | Power consumption control system, power consumption control method, and program | |
JP5505195B2 (en) | Memory control device and control method | |
JP5862727B2 (en) | Multi-core processor system, multi-core processor system control method, and multi-core processor system control program | |
JP2008293060A (en) | Semiconductor device, and method for controlling voltage thereof | |
GB2536825A (en) | Power efficient processor architecture |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20140603 |