JP2016071841A - Job management device, job management system, job management method, and program - Google Patents
Job management device, job management system, job management method, and program Download PDFInfo
- Publication number
- JP2016071841A JP2016071841A JP2015036078A JP2015036078A JP2016071841A JP 2016071841 A JP2016071841 A JP 2016071841A JP 2015036078 A JP2015036078 A JP 2015036078A JP 2015036078 A JP2015036078 A JP 2015036078A JP 2016071841 A JP2016071841 A JP 2016071841A
- Authority
- JP
- Japan
- Prior art keywords
- job
- power consumption
- total power
- job management
- time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Power Sources (AREA)
Abstract
Description
本発明は、ジョブ管理装置、ジョブ管理システム、ジョブ管理方法、及びプログラムに関する。 The present invention relates to a job management apparatus, a job management system, a job management method, and a program.
計算機システムでは、計算機システム全体の単位時間当たりの消費電力は膨大なものとなっている。消費電力の大きなジョブを並列して実行した場合、一時的にシステムの許容消費電力を超過してしまう場合がある。そこで、消費電力を考慮したジョブのスケジュールを作成する方法が求められている。 In a computer system, power consumption per unit time of the entire computer system is enormous. When jobs with large power consumption are executed in parallel, the allowable power consumption of the system may be temporarily exceeded. Therefore, a method for creating a job schedule in consideration of power consumption is required.
特許文献1には、複数のジョブを並行して実行する場合において、ジョブの実行開始から実行終了までに必要な装置を全て動作させた場合の消費電力を算出し、合計消費電力が上限値を超えないようにスケジュールを作成する方法が開示されている。
In
しかしながら、上述した特許文献1に記載の方法では、ジョブの実行開始から実行終了までに必要な装置を全て動作させた場合の消費電力を算出しているため、実際に使用する消費電力より多く消費電力を見積もってしまう。そのため、並列して実行可能なジョブを実行できないと見積もってしまう場合があり、計算資源の利用効率の面で問題があった。
However, in the method described in
そこで本発明は、上記問題に鑑みてなされたもので、利用効率を向上させるジョブ管理装置、ジョブ管理システム、ジョブ管理方法、及びプログラムを提供することを目的とする。 SUMMARY An advantage of some aspects of the invention is that it provides a job management apparatus, a job management system, a job management method, and a program that improve usage efficiency.
本発明のジョブ管理装置は、複数のジョブのスケジュールを作成するジョブ管理装置であり、ジョブの実行時間より短い時間における総消費電力量を計算するジョブ消費電力計算手段と、総消費電力量に基づき、ジョブのスケジュールを作成するジョブ管理手段と、を備えることを特徴とする。 The job management apparatus according to the present invention is a job management apparatus that creates a schedule for a plurality of jobs, and based on the total power consumption, job power consumption calculation means for calculating the total power consumption in a time shorter than the job execution time. And job management means for creating a job schedule.
本発明のジョブ管理システムは、複数のジョブのスケジュールを作成するジョブ管理システムであり、ジョブ管理装置と、ジョブを実行するノードと、を備える。ジョブ管理装置は、ジョブの実行時間より短い時間における総消費電力量を計算するジョブ消費電力計算手段と、前記総消費電力量に基づき、ジョブのスケジュールを作成するジョブ管理手段を含み、ノードはスケジュールに基づきジョブを実行する。 The job management system of the present invention is a job management system that creates a schedule for a plurality of jobs, and includes a job management device and a node that executes the job. The job management apparatus includes job power consumption calculation means for calculating the total power consumption in a time shorter than the job execution time, and job management means for creating a job schedule based on the total power consumption. Execute the job based on.
本発明のジョブ管理方法は、複数のジョブのスケジュールを作成するジョブ管理方法であり、ジョブの実行時間より短い時間における総消費電力量を計算するステップと、総消費電力量に基づき、ジョブのスケジュールを作成するステップと、を備える。 The job management method according to the present invention is a job management method for creating a schedule for a plurality of jobs. The step of calculating the total power consumption in a time shorter than the job execution time, and the job schedule based on the total power consumption Creating.
本発明のプログラムは、複数のジョブのスケジュールを作成するジョブ管理プログラムであり、ジョブの実行時間より短い時間における総消費電力量を計算するステップと、総消費電力量に基づき、ジョブのスケジュールを作成するステップと、をコンピュータに実行させる。 The program of the present invention is a job management program for creating a schedule for a plurality of jobs, and calculates a total power consumption in a time shorter than the job execution time, and creates a job schedule based on the total power consumption And causing the computer to execute.
本発明の効果は、システムの利用効率を向上させることができることにある。 The effect of the present invention is that the utilization efficiency of the system can be improved.
(第1の実施の形態)
第1の実施の形態について図面と共に説明する。
(First embodiment)
A first embodiment will be described with reference to the drawings.
まず、第1の実施の形態の構成について図1、図3のブロック図を用いて説明する。図1は本発明の第1の実施の形態の構成を示すブロック図である。図3は本発明の第1の実施の形態のジョブの消費電力量を格納する動作を示したブロック図である。 First, the configuration of the first embodiment will be described with reference to the block diagrams of FIGS. FIG. 1 is a block diagram showing the configuration of the first embodiment of the present invention. FIG. 3 is a block diagram illustrating an operation of storing the power consumption amount of the job according to the first embodiment of this invention.
図1に示すように、第1の実施の形態はジョブのスケジュールを作成するジョブ管理装置1と、一つ以上のノード2と、ジョブ情報データベース3とを備える。
As shown in FIG. 1, the first embodiment includes a
ジョブ管理装置1と、ノード2と、ジョブ情報データベース3は、それぞれ、図示しない演算処理を行うCPU(Central Processing Unit)と、データやプログラムを格納するメモリと、プログラムやデータを格納するストレージ装置とを備える情報処理装置である。また、ネットワークとの間でデータの送受信を行うネットワークアダプタとを備えている。
The
CPUは、メモリ又はストレージ装置に格納されたプログラムに基づいて所定の処理を実行して、ジョブ管理装置1の動作を制御する。なお、第1の実施の形態では、CPUは、メモリ又はストレージ内に格納されたプログラムを読み出して実行するものとして説明したが、当該制御プログラムをCDROM(Compact Disc Read Only Memory)等の記憶媒体に格納してCPUに提供することも可能である。
The CPU executes predetermined processing based on a program stored in the memory or the storage device, and controls the operation of the
ジョブ管理装置1は、ノード2とジョブ情報データベース3と接続されており、ジョブ管理部11と、ジョブ消費電力計算部12と、同一ジョブ判定部13と、ジョブ情報収集部14と、消費電力情報収集部15と、電力超過ジョブ停止部16とを備える。
The
ジョブ管理部11は、ジョブの実行要求を受け付けて、ノード2に割り当てるジョブのスケジュールを作成する。
The
また、ジョブ管理部11は、総消費電力量に基づき、ジョブのスケジュールを作成する。ジョブ管理部11は、総消費電力量が閾値を超えた場合、ジョブの開始時刻を移動させる。総消費電力量とはジョブの実行時間より短い時間においてスケジュールされたジョブの消費電力量を合算したものである。 ジョブ管理部11は、ジョブの実行に必要な計算機資源とノード2で使用可能な計算機資源の情報に基づいたスケジュール作成を行う第1のジョブスケジューリング部111と、ジョブの実行に必要な計算機資源とノード2で使用可能な計算機資源の情報とジョブ情報データベース3に基づいたスケジュール作成を行う第2のジョブスケジューリング部112と、ジョブを制御するジョブ制御部113と、を備える。
Further, the
ジョブの実行に必要な計算機資源とは、例えば、ジョブで必要とされるノード数、ジョブの最大実行時間(この時間を超えてホスト計算機を専有しないことを示す最大時間)、実行時間、CPUの動作周波数、計算機のメモリの容量、ジョブで必要とされる入出力装置の数、ジョブで必要とされる追加演算装置の数等を含む情報である。ジョブの実行に必要な計算機資源は上記に限られず、ジョブを実行するために必要な情報であれば何でもよい。 The computer resources necessary for job execution include, for example, the number of nodes required for the job, the maximum job execution time (maximum time indicating that the host computer is not occupied beyond this time), execution time, CPU This information includes the operating frequency, the memory capacity of the computer, the number of input / output devices required for the job, the number of additional arithmetic devices required for the job, and the like. The computer resources necessary for job execution are not limited to the above, and any information may be used as long as it is information necessary for job execution.
第1のジョブスケジューリング部111は、ジョブの実行に必要な計算機資源とノード2で使用可能な計算機資源の情報に基づいた一般的なスケジュール作成方法を実行する。一般的なスケジュール作成方法とは、ジョブの実行要求に基づき、優先順位の判定等を行い、複数のジョブの実行順序を設定し、スケジュール作成を行うものである。
The first
ノード2へのジョブの割り当てについては、NQS(Network Queuing System)等の手法を用いればよいので、以下では詳述しない。
The job assignment to the
第2のジョブスケジューリング部112は、ジョブの実行に必要な計算機資源とノード2で使用可能な計算機資源の情報とジョブ情報データベース3に基づき、消費電力量を考慮したスケジュール作成を行うものである。詳細な動作は図4で説明する。
The second
また、第1の実施の形態では、第1のジョブスケジューリング部111と第2のスケジューリング部112は分けて記載されているか、1つのスケジューリング部で構成されていてもよい。
In the first embodiment, the first
ジョブ制御部113は、第1のジョブスケジューリング部111、または、第2のジョブスケジューリング部112によってスケジュールされたジョブを実行するようにノード2に通知する、又は、電力超過ジョブ停止部16の通知に基づき、ジョブを停止するようにノード2に通知する。第1の実施の形態では、ジョブ制御部113は、ジョブ管理部11の内部に設けられているが、外部に設けられていてもよい。
The
ジョブ消費電力計算部12は、ジョブ情報データベース3からジョブの一定時間の消費電力量を取得し、時間ごとにスケジュールされたジョブの総消費電力量を計算する。すなわち、ジョブ消費電力計算部12は、ジョブの実行時間より短い時間における総消費電力量を計算する。
The job power
同一ジョブ判定部13は、新たに追加するジョブがジョブ情報データベース3に記録されているジョブと同一のジョブがあるか、ジョブ情報データベース3に基づき判断する。
The same
ジョブ情報収集部14は、ノード2のジョブ情報出力部22からノードのジョブ情報221(図3で詳説)を収集する。
The job
消費電力情報収集部15は、ノード2の消費電力情報取得部23からジョブの一定時間ごとのノードの消費電力量231(図3で詳説)を収集する。また、ジョブ実行中の実測の総消費電力を実測総消費電力量として一時的に格納する。
The power consumption
電力超過ジョブ停止部16は、ジョブ実行中に消費電力量が閾値を超過した場合、ジョブ管理部11に実行中のジョブを停止させるように通知を行う。
If the power consumption exceeds the threshold during job execution, the power excess job stop
ジョブ管理装置1は、ノード2からノードのジョブ情報221と一定時間ごとのノードの消費電力量231を取得し、ジョブ情報データベース3に格納するとともに、第1のジョブスケジューリング部111、または、第2のジョブスケジューリング部112によってジョブのスケジュールを作成する。
The
ノード2は、1〜NのN個で構成されるジョブを実行する計算機であり、演算処理を行うCPUと、データやプログラムを格納するメモリとを備える。又、ノード2は、CPUやメモリ等のハードウェアリソースに電力を供給する電源と、電源を制御する電源制御部と(図示せず)を備えてそれぞれノード201からノード20Nを構成している。
The
また、ノード2は、ジョブ実行部21と、ジョブ情報出力部22と、消費電力取得部23を備える。
The
ジョブ実行部21は、ジョブ管理部11によってスケジュールされたジョブを実行する。
The
ジョブ情報出力部22は、実行したジョブのノードのジョブ情報221をジョブ情報収集部14に出力する。
The job information output unit 22
消費電力情報取得部23は、実行したジョブの所定時間ごとのノードの消費電力量231を取得する。ノード上の消費電力情報取得部23はIPMI(Intelligent Platform Management Interface)やスマートメータなどの方法を使用する。
The power consumption
ノード2はジョブを実行するとともに、ノードのジョブ情報221と所定時間ごとノードの消費電力量231をジョブ管理装置1に送信する。
The
ジョブ情報データベース3は、ジョブのノードのジョブ情報221とノードの消費電力量231をジョブごとにまとめてジョブに関する情報を格納するデータベースである。
The
次に、図2と図3を用いて、ジョブ情報データベース3の構成について詳細に説明する。
Next, the configuration of the
図2は、本発明の第1の実施の形態のジョブ情報の一例を示すテーブルである。ジョブ情報31は、ノードのジョブ情報221とノードの消費電力量231が紐付けられ、ジョブごとにジョブ情報データベース3に格納されたものである。
FIG. 2 is a table showing an example of job information according to the first embodiment of this invention. The
ノードのジョブ情報221とノードの消費電力量231はノードごとの情報であり、ジョブ情報31とは異なる情報である。
The
また、ノードのジョブ情報221は、ジョブの実行を指示したユーザ名、そのジョブのグループ名、ジョブを実行するために必要なCPU量、メモリ量、必要な実行時間の情報などのジョブを特定可能な情報を含む情報である。
Further, the
ノードの消費電力量231はノード2でジョブが実行される間のノード2の一定時間ごとの消費電力量である。
The
また、一定時間とはジョブの実行時間より短い時間である。第1の実施の形態では、一定時間と記しているが、ジョブの実行時間よりも短い時間であればよく、一定でなくてもよい。 ジョブ情報31のノードのジョブ情報221、ノードの消費電力量231は、ジョブごとに予めテーブル等で保存しておいてもよいし、実行されたものを追加していくものでもよい。また、ジョブを予め複数の種類に分類し収集、保存してもよい。
The certain time is a time shorter than the job execution time. In the first embodiment, the fixed time is described, but it may be shorter than the job execution time, and may not be fixed. The
また、ノードのジョブ情報221とノードの消費電力量231はジョブ情報31として一つに格納されている例を示したが、分けて格納してもよい。
Further, although the example in which the
次に動作について詳細に説明する。 Next, the operation will be described in detail.
図3は本発明の第1の実施の形態のジョブの消費電力量を格納する動作を示したブロック図である。図3は、ジョブの中にノード201からノード20Nを記載しているが、ノード201からノード20Nにジョブが割り当てられていること概念的に示したものである。
FIG. 3 is a block diagram illustrating an operation of storing the power consumption amount of the job according to the first embodiment of this invention. FIG. 3 conceptually shows that a job is assigned from the
ノード201からノード20Nでジョブが実行される間、ジョブ管理装置1の消費電力情報収集部15は、一定時間ごとのノードの消費電力量231を収集する。一定時間はジョブの実行時間より短く、例えば、ジョブの実行時間のM分の1(Mは2以上の整数)である。
While the job is executed from the
また、ジョブ管理装置1のジョブ情報収集部14はノード2のジョブ情報出力部22からノードのジョブ情報221を収集する。ノードのジョブ情報221はジョブごとにまとめられ、ノードの消費電力量231とともにジョブ情報データベース3に格納される。
Further, the job
そして、消費電力収集部15とジョブ情報収集部14が収集した消費電力量とジョブ情報は紐付けられ、ジョブ情報データベース3に格納する。ジョブ情報データベース3に格納される一定時間ごとのノードの消費電力量231、ノードのジョブ情報221は予めテーブル等で保存しておいてもよいし、実行されたものを追加していくものでもよい。また、ジョブを予め複数の種類に分類し収集、保存してもよい。
The power consumption amount collected by the power
図4は本発明の第1の実施の形態のジョブのスケジュールを作成する動作を示すフローチャートである。 FIG. 4 is a flowchart showing an operation for creating a job schedule according to the first embodiment of this invention.
まず、ジョブ管理部11が、スケジュールに新たに追加するジョブがスケジュール可能かどうか判定する(ステップS001)。ジョブがスケジュール可能かどうかは、新たに追加するジョブを実行するために必要なCPU、メモリ量、必要時間等の計算機資源が空いている場合、スケジュール可能と判定する。
First, the
新たに追加するジョブがスケジュール可能ではないと判定された場合、ジョブを並列して追加せず、一般的な方法を用いたスケジュール作成を行う(ステップS012)。 If it is determined that the newly added job cannot be scheduled, the job is not added in parallel, and a schedule is created using a general method (step S012).
新たに追加するジョブがステップS001においてスケジュール可能と判定された場合、同一ジョブ判定部13が新たに追加するジョブと同一又は類似のジョブがジョブ情報データベース3に格納されているか判定する(ステップS002)。同一又は類似のジョブかどうかは、ユーザ名、グループ名、CPU、メモリ量、実行時間等、ジョブ情報31に格納されている情報で判定する。
If it is determined in step S001 that a newly added job can be scheduled, it is determined whether a job that is the same as or similar to the job newly added by the same
同一又は類似のジョブが格納されていない場合、ジョブ管理部11は、一般的な方法を用いたスケジュール作成を行う(ステップS012)。
If the same or similar job is not stored, the
同一又は類似のジョブが格納されていた場合、ジョブ管理部11は、ジョブ情報データベース3のジョブ情報31からステップS002で新たに追加するジョブと同一又は類似と判定されたジョブの最大消費電力量を取得し、閾値を超えていないか判定する(ステップS003)。
If the same or similar job is stored, the
新たに追加するジョブの最大消費電力が閾値を超えている場合、一般的な方法でスケジュールを作成する(ステップS012)。 If the maximum power consumption of the newly added job exceeds the threshold value, a schedule is created by a general method (step S012).
新たに追加するジョブの最大消費電力が閾値を超えていないと判定された場合、ジョブ管理部11は新たに追加するジョブの開始時刻を最初の時間に設定する(ステップS004)。
When it is determined that the maximum power consumption of the newly added job does not exceed the threshold, the
最初の時間とは、新たに追加するジョブを実行するために必要なCPU、メモリ量、必要時間等の計算機資源が空いている最初の時間である。しかし、これに限られず、ジョブが実行可能な時間であれば任意に設定できる。 The first time is the first time when computer resources such as CPU, memory amount, and necessary time necessary for executing a newly added job are available. However, the present invention is not limited to this, and can be arbitrarily set as long as the job can be executed.
次に、ジョブ消費電力計算部12はステップS002によって同一又は類似ジョブと判定されたジョブの最初の一定時間の消費電力量をジョブ情報データベース3のジョブ情報31から取得する(ステップS005)。 そして、ジョブ消費電力計算部12は、最初の一定時間においてスケジュールされた全てのジョブの消費電力量を合わせ、総消費電力量を計算する(ステップS006)。
Next, the job power
すなわち、同一ジョブ判定部が同一又は類似のジョブが格納されていると判定した場合、ジョブ情報データベース3に基づき、ジョブ消費電力計算部12が総消費電力量を計算する。
That is, when the same job determination unit determines that the same or similar job is stored, the job power
次に、ステップS006で計算された総消費電力量が閾値以下かどうか判定する(ステップS007)。 Next, it is determined whether or not the total power consumption calculated in step S006 is equal to or less than a threshold value (step S007).
閾値を超えていた場合、ジョブ管理部11は、新たに追加するジョブの開始時刻を移動させ、スケジュールを再度作成する。第1の実施の形態では、ジョブの開始時刻をジョブの実行時間より短い時間後ろに移動させた新たなスケジュールを作成する(ステップS008)。そして、ステップS006に戻り、最初の時間の総消費電力量を再度計算する。
If the threshold is exceeded, the
第1の実施の形態では、後ろの時刻に設定する例を示したが、設定させる時間はこれに限られず、前に設定してもよいし、時間を長く空けて設定してもよい。 In the first embodiment, an example is shown in which the time is set at a later time. However, the time to be set is not limited to this, and may be set before or may be set longer.
閾値以下であった場合、ジョブ消費電力計算部12はジョブ情報データベース3の同一又は類似のジョブに、一定時間経過後の時間に消費電力量があるか確認する(ステップS009)。
If it is equal to or less than the threshold value, the job power
一定時間経過後に消費電力量があった場合、ジョブ消費電力計算部12は一定時間経過後の消費電力量を取得する(ステップS010)。そしてステップS006に戻り、ジョブ消費電力計算部12は、次の一定時間において、スケジュールされたジョブの総消費電力量を計算する(ステップS006)。
If there is power consumption after a lapse of a certain time, the job
すなわち、ジョブ消費電力計算部12は、スケジュールにおいて予定されたジョブをジョブの実行時間より短い時間ごとに再度計算する。
That is, the job power
一定時間経過後に消費電力量がなかった場合、ジョブ管理部11は、ジョブの開始時刻を確定させる(ステップS011)。
If there is no power consumption after a lapse of a certain time, the
すなわち、ジョブ終了時まで総消費電力量が閾値を超えていない場合、ジョブの開始時刻を確定する。 That is, if the total power consumption does not exceed the threshold until the end of the job, the job start time is determined.
第1の実施の形態では、新たに追加するジョブを移動させる例を示したが、新たに追加するジョブではなく、すでにスケジュールされたジョブを移動させてもよい。 In the first embodiment, an example in which a newly added job is moved has been described. However, instead of a newly added job, an already scheduled job may be moved.
図5は本発明の第1の実施の形態のジョブのスケジュールを作成する動作を示す図である。 FIG. 5 is a diagram illustrating an operation of creating a job schedule according to the first embodiment of this invention.
「I」から「III」のグラフの左側の縦軸はノード数、右側の縦軸は消費電力であり、横軸は時間である。また、右側の縦軸には消費電力の閾値が設けられている。 In the graphs “I” to “III”, the left vertical axis represents the number of nodes, the right vertical axis represents power consumption, and the horizontal axis represents time. In addition, a power consumption threshold value is provided on the right vertical axis.
「I」のグラフは、ジョブAに5つのノード、ジョブBに3つのノードが割り当てていることを示している。「I」のグラフは、ジョブAの実行が完了した後、ジョブCに4つのノードを割り当てることを示しており、ジョブBとCが並列して実行されることになる。ジョブB及びジョブCの内部にある折れ線グラフはそれぞれのジョブの消費電力を示している。また、ジョブBとジョブCの総消費電力を示すグラフをジョブB+Cとして示している。さらに「I」「II」「III」のグラフは、ジョブCの実行時間よりも短い一定時間で5つに分割した例を示している。 The graph “I” indicates that five nodes are assigned to job A and three nodes are assigned to job B. The graph “I” indicates that after execution of job A is completed, four nodes are assigned to job C, and jobs B and C are executed in parallel. Line graphs inside job B and job C indicate the power consumption of each job. A graph indicating the total power consumption of job B and job C is shown as job B + C. Furthermore, the graphs “I”, “II”, and “III” show an example in which the graph is divided into five at a fixed time shorter than the execution time of job C.
「I」のグラフにおいて、4つめの一定時間帯がジョブBとCの総消費電力が閾値をこえている(図4のステップS007NOに相当)。 In the graph of “I”, the total power consumption of jobs B and C exceeds the threshold during the fourth fixed time period (corresponding to NO in step S007 in FIG. 4).
そのため、ジョブ管理装置1は、ジョブCの開始時刻を一定時間後ろの時間に設定する(図5「II」のグラフ、図4ステップS008)。しかしながら、3つめの一定時間帯において、ジョブBとCの総消費電力が閾値を超えている(図4のステップS007NOに相当)。そのため、ジョブ管理装置1は、ジョブCの開始時刻を一定時間後ろの時間に設定する(図5「III」のグラフ、図4ステップS008)。
Therefore, the
「III」のグラフにおいて、2つめの一定時間帯においてジョブBとCの総消費電力が閾値以下となっている。この後、ジョブ管理装置1は、3つめの一定時間帯において、同様の処理を実行する(図4のステップS009、S010、S006に相当)。ジョブ管理装置1は、この処理を全ての一定時間ごとにおいて実行し、ジョブBとCの総消費電力が閾値以下となった場合、ジョブCの開始時刻を「III」に示された時刻に確定する。ジョブ管理装置1は、ジョブBの実行がすべて完了してからジョブCを実行する場合と比較して、ジョブCを早く実行開始するスケジュールを作成することができる。
In the graph of “III”, the total power consumption of jobs B and C is equal to or less than the threshold value in the second fixed time period. Thereafter, the
次に、ジョブのスケジュール作成後の動作について説明する。 Next, an operation after creating a job schedule will be described.
図6は第1の実施の形態のジョブ実行中の消費電力量を監視する動作を示すフローチャートである。 FIG. 6 is a flowchart illustrating an operation of monitoring the power consumption during job execution according to the first embodiment.
ノード2において、ジョブが実行されると(ステップS101)、消費電力情報収集部15は、ジョブの実行時間より短い時間のノードの消費電力量231を消費電力情報取得部23から取得する(ステップS102)。 そして、ステップS102で取得したジョブの実行時間より短い時間ごとのノードの消費電力量231を用いて、実際に使用されている総消費電力量を計算する(ステップS103)。
When the job is executed in the node 2 (step S101), the power consumption
そして消費電力情報収集部15は総消費電力量をジョブの実行時間より短い時間ごとの実測総消費電力量として消費電力情報収集部15に格納する(ステップS104)。
Then, the power consumption
次に、電力超過ジョブ停止部16は実測総消費電力量が閾値を超えているか判定する(ステップS105)。
Next, the power excess job stop
実測総消費電力量が閾値を超えていない場合、ステップS102に戻り、次の一定時間のノードの消費電力量231を取得し、総消費電力量を計算する(ステップS103)。
If the measured total power consumption does not exceed the threshold value, the process returns to step S102 to acquire the
実測総消費電力量が閾値を超えている場合、電力超過ジョブ停止部16はジョブを停止させることを通知する(ステップ。S106)
以上のように、ジョブ実行中の消費電力量を監視することで、システム全体の許容電力超過を抑制できる。また、実行中のジョブの消費電力を一定時間ごとに採取することにより、実行中のジョブが予測した電力より多く電力を消費した場合、即座に該当ジョブの停止、または中断等の処理が可能となる。
(第二の実施形態)
次に、本発明の第2の実施の形態について図面と共に説明する。図7は、本発明の第2の実施の形態のジョブの超過電力量を課金データに格納する動作を示す図である。
If the measured total power consumption exceeds the threshold, the power excess job stop
As described above, by monitoring the power consumption during job execution, it is possible to suppress an excess of allowable power of the entire system. In addition, by collecting the power consumption of a running job at regular intervals, if the running job consumes more power than expected, it is possible to immediately stop or interrupt the job. Become.
(Second embodiment)
Next, a second embodiment of the present invention will be described with reference to the drawings. FIG. 7 is a diagram illustrating an operation of storing the excess power amount of the job in the billing data according to the second embodiment of this invention.
図7に示したジョブ管理システム1000は図1と比較して、電力超過ジョブ停止部16の代わりに、電力超過ジョブ課金部161を備え、ジョブ課金情報データベース32を新たに備える。 電力超過ジョブ課金部161は、図6のステップS104、ステップS105において、実測総消費電力量が閾値を超えている場合、ジョブを停止させる通知を行わない。電力超過ジョブ課金部161は、ジョブを停止させず、閾値を超過した超過分の消費電力量を取得し、ジョブ課金情報データベース32に超過分の消費電力量を格納し、課金対象とする。
Compared to FIG. 1, the job management system 1000 shown in FIG. 7 includes an excessive power
すなわち、閾値を超えたジョブの実行時間より短い一定時間の実測総消費電力量を課金データとして格納する格納する。 That is, the measured total power consumption for a fixed time shorter than the execution time of the job exceeding the threshold is stored as charging data.
次に、本発明の特徴的な構成を説明する。図8は、本発明の特徴的な構成を示すブロック図である。 Next, a characteristic configuration of the present invention will be described. FIG. 8 is a block diagram showing a characteristic configuration of the present invention.
図8を参照すると、ジョブ管理装置1は、ジョブ管理部11と、ジョブ消費電力計算部12と、を備える。
Referring to FIG. 8, the
ジョブ管理部11は、ジョブの実行時間より短い時間ごとにスケジュールを作成する。ジョブ消費電力計算部は、ジョブの総消費電力量を計算する。
The
本発明によれば、ジョブ管理システム1000は資源を有効活用することができる。その理由は、以下の通りである。ジョブ管理装置1は、ジョブの消費電力量をジョブの実行時間より短い時間ごとに管理している。ノード2は、ジョブの実行時間単位では複数のジョブを並列して実行できない場合でも、1つのジョブの実行開始をジョブの実行時間より短い時間後ろに遅らせた場合、並列して実行できる場合がある。ジョブ管理装置1はこれを実現できるためである。例えば、最大消費電力量は大きいが、総消費電力量は小さいジョブが空資源を見つけることができ、資源を有効活用できる。
According to the present invention, the job management system 1000 can effectively use resources. The reason is as follows. The
また、短い時間ごとに開始時刻を移動させることができるため、負荷の重なりを軽減し、消費電力の突出がないスケジュール作成が可能になる。 In addition, since the start time can be moved every short time, it is possible to reduce the overlap of loads and create a schedule without any power consumption.
第1及び第2の実施の形態では複数のノードを備える場合について説明したが、ジョブが並行して実行可能な状態であればよいため、一つのノードに複数のCPUがある場合などは、ノードは一つあれば本発明は有効である。又、必ずしもジョブ管理装置1とノード2が別々の構成である必要はなく、1つの情報処理装置であってもよい。
In the first and second embodiments, the case where a plurality of nodes are provided has been described. However, it is only necessary that a job can be executed in parallel. The present invention is effective if there is only one. Further, the
1 ジョブ管理装置
2 ノード
3 ジョブ情報データベース
11 ジョブ管理部
12 ジョブ消費電力計算部
13 同一ジョブ判定部
14 ジョブ情報収集部
15 消費電力情報収集部
16 電力超過ジョブ停止部
21 ジョブ実行部
22 ジョブ情報出力部
23 消費電力情報取得部
31 ジョブ情報
32 ジョブ課金情報データベース
111 第1のジョブスケジューリング部
112 第2のジョブスケジューリング部
113 ジョブ制御部
161 電力超過ジョブ課金部
221 ノードのジョブ情報
231 ノードの消費電力量
1000 ジョブ管理システム
DESCRIPTION OF
Claims (10)
前記ジョブの実行時間より短い時間における総消費電力量を計算するジョブ消費電力計算手段と、
前記総消費電力量に基づき、ジョブのスケジュールを作成するジョブ管理手段と、
を備えることを特徴とするジョブ管理装置。 In a job management device that creates multiple job schedules,
Job power consumption calculating means for calculating the total power consumption in a time shorter than the execution time of the job;
Job management means for creating a job schedule based on the total power consumption;
A job management apparatus comprising:
を特徴とする請求項1に記載のジョブ管理装置。 The job management apparatus according to claim 1, wherein the job management unit moves a job start time when the total power consumption exceeds a threshold.
前記開始時刻を前記ジョブの実行時間より短い時間後ろに移動させた新たなスケジュールを作成し、
前記ジョブ消費電力計算手段は、当該スケジュールにおいて予定されたジョブを前記ジョブの実行時間より短い時間ごとに総消費電力量を再度計算すること
を特徴とする請求項2に記載のジョブ管理装置。 The job management means includes:
Create a new schedule in which the start time is moved to a time shorter than the execution time of the job,
The job management apparatus according to claim 2, wherein the job power consumption calculation unit recalculates the total power consumption for each job scheduled in the schedule every time shorter than the execution time of the job.
を特徴とする請求項1乃至3に記載のジョブ管理装置。 The job management apparatus according to claim 1, wherein the job management unit determines a job start time when the total power consumption does not exceed a threshold.
前記ジョブに関する情報が格納されているデータベースを参照し、
スケジュールに新たに追加するジョブと同一又は類似のジョブが、前記データベースに格納されているか判定する同一ジョブ判定手段を含み、
前記同一ジョブ判定手段が同一又は類似のジョブが格納されていると判定した場合、前記データベースに格納された前記ジョブの情報に基づき前記ジョブ消費電力計算手段が総消費電力量を計算すること
を特徴とする請求項1乃至3に記載のジョブ管理装置。 The job management means includes:
Refer to a database in which information about the job is stored;
Including the same job determination means for determining whether a job that is the same as or similar to the job newly added to the schedule is stored in the database,
When the same job determination unit determines that the same or similar job is stored, the job power consumption calculation unit calculates the total power consumption based on the job information stored in the database. The job management apparatus according to claim 1.
前記実測総消費電力量が閾値を超えている場合、前記ジョブを停止させることを通知する電力超過ジョブ停止手段と、
を備えることを特徴とする請求項1乃至4のいずれか1項に記載のジョブ管理装置。 Power consumption information collection means for storing the measured total power consumption for each time shorter than the execution time of the job;
When the measured total power consumption exceeds a threshold value, a power excess job stop means for notifying that the job is to be stopped;
The job management apparatus according to claim 1, further comprising:
閾値を超えた前記ジョブの実行時間より短い時間の実測総消費電力量を課金データとして格納する格納手段と
を備えることを特徴とする請求項1乃至4のいずれか1項に記載のジョブ管理装置。 If the measured total power consumption exceeds a threshold,
5. The job management apparatus according to claim 1, further comprising: a storage unit that stores, as billing data, an actual measured total power consumption that is shorter than an execution time of the job that exceeds a threshold value. .
ジョブ管理装置と、
ジョブを実行するノードと、
を備え、
前記ジョブ管理装置は、
前記ジョブの実行時間より短い時間における総消費電力量を計算するジョブ消費電力計算手段と、
前記総消費電力量に基づき、前記ジョブのスケジュールを作成するジョブ管理手段と、
を含み、
前記ノードは前記スケジュールに基づきジョブを実行する
ことを特徴とするジョブ管理システム In a job management system that creates multiple job schedules,
A job management device;
A node that executes the job,
With
The job management device includes:
Job power consumption calculating means for calculating the total power consumption in a time shorter than the execution time of the job;
Job management means for creating a schedule for the job based on the total power consumption;
Including
The node executes a job based on the schedule, and a job management system characterized in that
前記ジョブの実行時間より短い時間における総消費電力量を計算するステップと、
前記総消費電力量に基づき、ジョブのスケジュールを作成するステップと、
を備えることを特徴とするジョブ管理方法。 In the job management method for creating multiple job schedules,
Calculating the total power consumption in a time shorter than the execution time of the job;
Creating a job schedule based on the total power consumption;
A job management method comprising:
前記ジョブの実行時間より短い時間における総消費電力量を計算するステップと、
前記総消費電力量に基づき、ジョブのスケジュールを作成するステップと、
をコンピュータに実行させるプログラム。 In a job management program that creates multiple job schedules,
Calculating the total power consumption in a time shorter than the execution time of the job;
Creating a job schedule based on the total power consumption;
A program that causes a computer to execute.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014201614 | 2014-09-30 | ||
JP2014201614 | 2014-09-30 |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2016071841A true JP2016071841A (en) | 2016-05-09 |
Family
ID=55867078
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015036078A Pending JP2016071841A (en) | 2014-09-30 | 2015-02-26 | Job management device, job management system, job management method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2016071841A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019148901A (en) * | 2018-02-26 | 2019-09-05 | 富士通株式会社 | Information processing apparatus, power management method and power management program |
US10705592B2 (en) | 2017-06-12 | 2020-07-07 | Fujitsu Limited | Efficient reduction in electric power consumption for a parallel processing system |
KR102261736B1 (en) * | 2021-02-02 | 2021-06-04 | 아주대학교산학협력단 | Apparatus and method for real-time scheduling for suppressing battery aging in satellite system |
US11048448B2 (en) | 2019-02-25 | 2021-06-29 | Fujitsu Limited | Information processing apparatus and power estimation method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08286958A (en) * | 1995-04-13 | 1996-11-01 | Hitachi Ltd | Method for analizing job scheduling |
JPH10322905A (en) * | 1997-05-22 | 1998-12-04 | Mitsubishi Electric Corp | Contract power excess prevention device for railway substation |
JP2006523875A (en) * | 2003-04-03 | 2006-10-19 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Apparatus, method and program for providing computer resource measurement capacity |
JP2012079038A (en) * | 2010-09-30 | 2012-04-19 | Hitachi Solutions Ltd | Job execution management system |
JP2012222976A (en) * | 2011-04-11 | 2012-11-12 | Panasonic Corp | Power management device and power management method |
JP2013101576A (en) * | 2011-11-10 | 2013-05-23 | Nec Corp | Power control system and power control method |
JP2014059755A (en) * | 2012-09-18 | 2014-04-03 | Nec Fielding Ltd | Electric power control device, electric power control system, electric power control method and program |
-
2015
- 2015-02-26 JP JP2015036078A patent/JP2016071841A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08286958A (en) * | 1995-04-13 | 1996-11-01 | Hitachi Ltd | Method for analizing job scheduling |
US5881283A (en) * | 1995-04-13 | 1999-03-09 | Hitachi, Ltd. | Job scheduling analysis method and system using historical job execution data |
JPH10322905A (en) * | 1997-05-22 | 1998-12-04 | Mitsubishi Electric Corp | Contract power excess prevention device for railway substation |
JP2006523875A (en) * | 2003-04-03 | 2006-10-19 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Apparatus, method and program for providing computer resource measurement capacity |
JP2012079038A (en) * | 2010-09-30 | 2012-04-19 | Hitachi Solutions Ltd | Job execution management system |
JP2012222976A (en) * | 2011-04-11 | 2012-11-12 | Panasonic Corp | Power management device and power management method |
JP2013101576A (en) * | 2011-11-10 | 2013-05-23 | Nec Corp | Power control system and power control method |
JP2014059755A (en) * | 2012-09-18 | 2014-04-03 | Nec Fielding Ltd | Electric power control device, electric power control system, electric power control method and program |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10705592B2 (en) | 2017-06-12 | 2020-07-07 | Fujitsu Limited | Efficient reduction in electric power consumption for a parallel processing system |
JP2019148901A (en) * | 2018-02-26 | 2019-09-05 | 富士通株式会社 | Information processing apparatus, power management method and power management program |
US11048448B2 (en) | 2019-02-25 | 2021-06-29 | Fujitsu Limited | Information processing apparatus and power estimation method |
KR102261736B1 (en) * | 2021-02-02 | 2021-06-04 | 아주대학교산학협력단 | Apparatus and method for real-time scheduling for suppressing battery aging in satellite system |
US11480617B2 (en) | 2021-02-02 | 2022-10-25 | Ajou University Industry—Academic Cooperation Foundation | Apparatus and method for real-time scheduling for suppressing battery aging in satellite system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111176419B (en) | Method and apparatus for estimating power performance of jobs running on multiple nodes of a distributed computer system | |
CN110888714B (en) | Scheduling method, scheduling device and computer readable storage medium for containers | |
US20150295970A1 (en) | Method and device for augmenting and releasing capacity of computing resources in real-time stream computing system | |
Townend et al. | Improving data center efficiency through holistic scheduling in kubernetes | |
CN107003887A (en) | Overloaded cpu setting and cloud computing workload schedules mechanism | |
KR101155202B1 (en) | Method for managing power for multi-core processor, recorded medium for performing method for managing power for multi-core processor and multi-core processor system for performing the same | |
AU2017237704B2 (en) | Control device for estimation of power consumption and energy efficiency of application containers | |
JP2014531081A (en) | Method, apparatus and system for scheduling processor cores in a multiprocessor core system | |
JP6201530B2 (en) | Information processing system, job management apparatus, control program for job management apparatus, and control method for information processing system | |
JP2016071841A (en) | Job management device, job management system, job management method, and program | |
CN102508717B (en) | Memory scheduling method and memory scheduling device for multi-core processor | |
US20180101404A1 (en) | Resource and latency estimation-based scheduling | |
Kulshrestha et al. | An efficient host overload detection algorithm for cloud data center based on exponential weighted moving average | |
Teng et al. | A novel real-time scheduling algorithm and performance analysis of a MapReduce-based cloud | |
JP6176390B2 (en) | Information processing apparatus, analysis method, and program recording medium | |
CN111124644B (en) | Method, device and system for determining task scheduling resources | |
Yazdanov et al. | EHadoop: Network I/O aware scheduler for elastic MapReduce cluster | |
Hirashima et al. | Proactive-reactive auto-scaling mechanism for unpredictable load change | |
Sun et al. | Cloud platform scheduling strategy based on virtual machine resource behaviour analysis | |
US10503548B2 (en) | Resource and latency estimation-based scheduling in a distributed computing environment | |
US20190250919A1 (en) | Method for managing computation tasks on a functionally asymmetric multi-core processor | |
Iturriaga et al. | An empirical study of the robustness of energy-aware schedulers for high performance computing systems under uncertainty | |
JP6031051B2 (en) | Job execution planning device | |
Li et al. | Negotiation-based resource provisioning and task scheduling algorithm for cloud systems | |
Zabolotnyi et al. | Profiling-based task scheduling for factory-worker applications in infrastructure-as-a-service clouds |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180115 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20180723 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180807 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20190219 |