JP5459579B2 - Job management system, method and program thereof - Google Patents
Job management system, method and program thereof Download PDFInfo
- Publication number
- JP5459579B2 JP5459579B2 JP2009040739A JP2009040739A JP5459579B2 JP 5459579 B2 JP5459579 B2 JP 5459579B2 JP 2009040739 A JP2009040739 A JP 2009040739A JP 2009040739 A JP2009040739 A JP 2009040739A JP 5459579 B2 JP5459579 B2 JP 5459579B2
- Authority
- JP
- Japan
- Prior art keywords
- job
- determined
- execution time
- degree
- execution
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Description
ジョブ管理サーバが管理しているジョブ実行サーバの高負荷状態の緩和、高負荷状態が原因の予想実行時間超過によるジョブのエラー等が発生するのを防止するジョブ管理システム、その方法及びそのプログラムに関する。 The present invention relates to a job management system, a method thereof, and a program therefor, which alleviate a high load state of a job execution server managed by the job management server and prevent occurrence of a job error due to excess of an estimated execution time caused by the high load state .
一般的なジョブ管理システムでは、サーバの負荷が一時的に増大するなどの現象が発生していてもジョブの実行に影響がないことが求められている。この技術的要件を満たすためには、サーバが高負荷状態になった場合に、高負荷状態をどのようにして緩和するか、高負荷状態によるジョブ実行遅延の影響をどのようにして抑止するかといった課題が存在する。 A general job management system is required to have no influence on job execution even if a phenomenon such as a temporary increase in server load occurs. To meet this technical requirement, how to mitigate the high load state when the server is in a high load state, and how to suppress the impact of job execution delay due to the high load state There is such a problem.
そこで、特許文献1には、CPU負荷量毎にジョブ実行を動的に変化させるジョブスケジュール方式が開示されている。 Therefore, Patent Document 1 discloses a job schedule method that dynamically changes job execution for each CPU load.
特許文献2には、業務内の各ジョブに、統計情報のCPU使用時間に応じて割り当てるCPU使用率を自動で算出するCPU使用率最適化方式が開示されている。 Patent Document 2 discloses a CPU usage rate optimization method that automatically calculates a CPU usage rate to be assigned to each job in a job according to the CPU usage time of statistical information.
特許文献3には、サーバのCPU使用率が閾値下限を越えている場合には、サーバが過負荷状態と判断するCPU余裕管理とトランザクション優先度による負荷分散方法が開示されている。 Patent Document 3 discloses a load distribution method based on CPU margin management and transaction priority, in which the server determines that the server is overloaded when the CPU usage rate of the server exceeds the threshold lower limit.
しかしながら、特許文献1乃至3に開示されている発明は、単にCPU使用率が高いだけでは、ハードウェア資源を有効に活用しているからCPU使用率が高いのか、過剰にジョブが投入された結果、CPU使用率が高いのかが判断できないという問題点がある。 However, the inventions disclosed in Patent Documents 1 to 3 use hardware resources effectively only by a high CPU usage rate, so that the CPU usage rate is high or the result of excessive jobs being submitted. There is a problem that it cannot be determined whether the CPU usage rate is high.
又、CPU使用率が低くても、ハードディスクへの読み込み又は書き込みが頻繁に発生する等の他の要素でジョブが遅延する可能性もあり、そのような場合には、CPU使用率だけではハードウェア資源の負荷の度合いが正確に把握できないという問題点もある。 Even if the CPU usage rate is low, the job may be delayed due to other factors such as frequent reading or writing to the hard disk. There is also a problem that the degree of resource load cannot be accurately grasped.
本発明は上記に鑑みてなされたもので、ハードウェア資源の有効活用が可能なジョブ管理システム、その方法及びそのプログラムを提供することを目的とする。 The present invention has been made in view of the above, and an object thereof is to provide a job management system capable of effectively utilizing hardware resources, a method thereof, and a program thereof.
上述の問題を解決するため、本発明に係るジョブ管理システムは、ジョブ実行サーバの高負荷状態の緩和、高負荷状態が原因の予想実行時間超過によるジョブのエラーの発生を防止するようにジョブ管理サーバが管理するジョブ管理システムにおいて、前記ジョブ管理サーバは、前記ジョブ実行サーバで実行されたジョブの実行時間の統計情報及び予想実行時間を保存し、前記ジョブ実行サーバの負荷の大きさを数値化した負荷度とジョブ多重度を補正するジョブ多重補正度と前記予想実行時間を補正する実行時間補正度とを対応させた第1の表及び前記予想実行時間と前記ジョブ実行サーバに投入されるジョブの優先度であるジョブ優先度を補正するジョブ優先度補正値とを対応させた第2の表を格納するジョブ管理パラメータ保存領域と、前記実行時間の統計情報と前記ジョブ実行サーバのCPU使用率とを基に前記負荷度を数値化し、該数値化した前記負荷度が予め決められた閾値を超えていた場合、前記ジョブ実行サーバが高負荷であると判断する負荷状態判定部と、前記負荷度をキーとして、前記第1の表を参照し、前記ジョブ多重補正度及び前記実行時間補正度を決定するパラメータ決定部と、高負荷であると判断された前記ジョブ実行サーバに投入されるジョブに対して、前記実行時間補正度を基に予想実行時間を変更し、かつ該予想実行時間をキーとして、前記第2の表を参照し、前記ジョブ優先度補正値を決定し、前記ジョブ優先度補正値に基づいて前記ジョブ優先度を変更するジョブパラメータ制御部と、前記パラメータ決定部で決定された前記ジョブ多重補正度を高負荷と判断された前記ジョブ実行サーバに送信するジョブ多重補正度送信手段と、を備え、前記ジョブ実行サーバは、前記ジョブ多重補正度を受信するジョブ多重補正度受信手段と、該受信した前記ジョブ多重補正度から新しいジョブ多重度を計算する新ジョブ多重度設定部と、該新しいジョブ多重度を保存するジョブ多重度保存領域と、を備えることを特徴とする。 In order to solve the above-described problems, the job management system according to the present invention reduces the high load state of the job execution server and prevents the occurrence of a job error due to the excess of the expected execution time due to the high load state. In the job management system managed by the server, the job management server stores statistical information and estimated execution time of the job executed by the job execution server, and quantifies the load of the job execution server. The first table in which the load degree and the job multiple correction degree for correcting the job multiplicity and the execution time correction degree for correcting the expected execution time are associated with each other, and the job to be submitted to the job execution server. A job management parameter storage area for storing a second table in which job priority correction values for correcting the job priority, which is a priority of the job, are associated The load degree is quantified based on the statistical information of the execution time and the CPU usage rate of the job execution server, and when the quantified load degree exceeds a predetermined threshold, the job execution server A load state determination unit that determines that the load is high, a parameter determination unit that determines the job multiple correction level and the execution time correction level with reference to the first table using the load level as a key, and a high load For the job submitted to the job execution server determined to be, the expected execution time is changed based on the execution time correction degree, and the second table is referenced using the estimated execution time as a key. Determining a job priority correction value, and changing the job priority based on the job priority correction value; and the job multiple correction determined by the parameter determination unit. A job multiple correction degree transmitting unit that transmits the job degree to the job execution server determined to have a high load, the job execution server receiving the job multiple correction degree, and the reception And a new job multiplicity setting unit for calculating a new job multiplicity from the job multiplicity correction degree, and a job multiplicity storage area for storing the new job multiplicity.
上述の問題を解決するため、本発明に係るジョブ管理の方法は、ジョブ実行サーバの高負荷状態の緩和、高負荷状態が原因の予想実行時間超過によるジョブのエラーの発生を防止するようにジョブ管理サーバが管理するジョブ管理の方法において、前記ジョブ管理サーバは、前記ジョブ実行サーバで実行されたジョブの実行時間の統計情報及び予想実行時間を保存し、前記ジョブ実行サーバの負荷の大きさを数値化した負荷度とジョブ多重度を補正するジョブ多重補正度と前記予想実行時間を補正する実行時間補正度とを対応させた第1の表及び前記予想実行時間と前記ジョブ実行サーバに投入されるジョブの優先度であるジョブ優先度を補正するジョブ優先度補正値とを対応させた第2の表を格納する手順と、前記実行時間の統計情報と前記ジョブ実行サーバのCPU使用率とを基に前記負荷度を数値化し、該数値化した前記負荷度が予め決められた閾値を超えていた場合、前記ジョブ実行サーバが高負荷であると判断する負荷状態判定手順と、前記負荷度をキーとして、前記第1の表を参照し、前記ジョブ多重補正度及び前記実行時間補正度を決定するパラメータ決定手順と、高負荷であると判断された前記ジョブ実行サーバに投入されるジョブに対して、前記実行時間補正度を基に予想実行時間を変更し、かつ該予想実行時間をキーとして、前記第2の表を参照し、前記ジョブ優先度補正値を決定し、前記ジョブ優先度補正値に基づいて前記ジョブ優先度を変更するジョブパラメータ制御手順と、前記パラメータ決定手順で決定された前記ジョブ多重補正度を高負荷と判断された前記ジョブ実行サーバに送信するジョブ多重補正度送信手順と、を備え、前記ジョブ実行サーバは、前記ジョブ多重補正度を受信するジョブ多重補正度受信手順と、該受信した前記ジョブ多重補正度から新しいジョブ多重度を計算する新ジョブ多重度設定手順と、該新しいジョブ多重度を保存するジョブ多重度保存手順と、を備えることを特徴とする。 In order to solve the above-described problem, the job management method according to the present invention reduces the high load state of the job execution server, and prevents the job error from occurring due to the excessive execution time due to the high load state. In the job management method managed by the management server, the job management server stores statistical information on the execution time of the job executed by the job execution server and the estimated execution time, and determines the load of the job execution server. The first table in which the numerical load degree and the job multiple correction degree for correcting the job multiplicity and the execution time correction degree for correcting the expected execution time are associated with each other, and the expected execution time and the job execution server are input. A procedure for storing a second table in which job priority correction values for correcting job priorities that are job priorities are associated with each other; The load degree is quantified based on the CPU usage rate of the job execution server, and when the quantified load degree exceeds a predetermined threshold, the load for determining that the job execution server is highly loaded A status determination procedure, a parameter determination procedure for determining the job multiple correction level and the execution time correction level with reference to the first table using the load level as a key, and the job determined to have a high load For the job submitted to the execution server, the expected execution time is changed based on the execution time correction degree, and the job priority correction value is referred to by referring to the second table using the estimated execution time as a key. A job parameter control procedure for changing the job priority based on the job priority correction value, and determining that the job multiple correction degree determined in the parameter determination procedure is a high load. A job multiple correction degree transmission procedure for transmitting to the job execution server, and the job execution server receives the job multiple correction degree reception procedure for receiving the job multiple correction degree and the received job multiple correction degree. A new job multiplicity setting procedure for calculating a new job multiplicity; and a job multiplicity storage procedure for storing the new job multiplicity.
上述の問題を解決するため、本発明に係るジョブ管理のプログラムは、ジョブ実行サーバの高負荷状態の緩和、高負荷状態が原因の予想実行時間超過によるジョブのエラーの発生を防止するジョブ管理サーバとしてコンピュータを機能させるためのジョブ管理プログラムにおいて、前記ジョブ実行サーバで実行されたジョブの実行時間の統計情報及び予想実行時間を保存し、前記ジョブ実行サーバの負荷の大きさを数値化した負荷度とジョブ多重度を補正するジョブ多重補正度と前記予想実行時間を補正する実行時間補正度とを対応させた第1の表及び前記予想実行時間と前記ジョブ実行サーバに投入されるジョブの優先度であるジョブ優先度を補正するジョブ優先度補正値とを対応させた第2の表を格納する手段と、前記実行時間の統計情報と前記ジョブ実行サーバのCPU使用率とを基に前記負荷度を数値化し、該数値化した前記負荷度が予め決められた閾値を超えていた場合、前記ジョブ実行サーバが高負荷であると判断する負荷状態判定手段と、前記負荷度をキーとして、前記第1の表を参照し、前記ジョブ多重補正度及び前記実行時間補正度を決定するパラメータ決定手段と、高負荷であると判断された前記ジョブ実行サーバに投入されるジョブに対して、前記実行時間補正度を基に予想実行時間を変更し、かつ該予想実行時間をキーとして、前記第2の表を参照し、前記ジョブ優先度補正値を決定し、前記ジョブ優先度補正値に基づいて前記ジョブ優先度を変更するジョブパラメータ制御手段と、前記パラメータ決定手段で決定された前記ジョブ多重補正度を高負荷と判断された前記ジョブ実行サーバに送信するジョブ多重補正度送信手段と、としてコンピュータを機能させることを特徴とする。
また、上述の問題を解決するため、本発明に係るジョブ管理のプログラムは、高負荷状態の緩和、高負荷状態が原因の予想実行時間超過によるジョブのエラーの発生が防止されるジョブ実行サーバとしてコンピュータを機能させるためのジョブ管理プログラムにおいて、ジョブ多重補正度を受信するジョブ多重補正度受信手段と、該受信した前記ジョブ多重補正度から新しいジョブ多重度を計算する新ジョブ多重度設定手段と、該新しいジョブ多重度を保存するジョブ多重度保存手段と、としてコンピュータを機能させることを特徴とする。
To solve the above problems, the job management program according to the present invention, relaxation of the high load state of the job execution server, distearate to prevent the occurrence of high-load state of the job by the expected execution time exceeded Cause Error ® in the job tube descriptor program for causing a computer to function as a blanking management server stores statistical information and expected execution time of the execution time of a job executed by the job execution server, the magnitude of the load of the job execution server The first table in which the numerical load degree and the job multiple correction degree for correcting the job multiplicity and the execution time correction degree for correcting the expected execution time are associated with each other, and the expected execution time and the job execution server are input. means for storing a second table that the job priority correction value for correcting the job priority is job priority is made to correspond that, statistics of the execution time The load degree is quantified based on the CPU usage rate of the job execution server, and when the quantified load degree exceeds a predetermined threshold, it is determined that the job execution server has a high load. A load state determination unit that performs determination, a parameter determination unit that determines the job multiple correction level and the execution time correction level, with reference to the first table using the load level as a key; For the job submitted to the job execution server, the expected execution time is changed based on the execution time correction degree, and the job priority is referred to by referring to the second table using the estimated execution time as a key. determine a correction value, the job parameter control means for changing the job priority based on the job priority correction value, the job multiplicity correction degree determined by the parameter determining means high load and A job multiplicity correction of transmission means for transmitting the disconnection has been the job execution server, and characterized by causing a computer to function as a.
In addition, in order to solve the above-described problem, the job management program according to the present invention is a job execution server for mitigating a high load state and preventing occurrence of a job error due to excess of the expected execution time due to the high load state. In a job management program for causing a computer to function, a job multiple correction degree receiving means for receiving a job multiple correction degree, a new job multiplicity setting means for calculating a new job multiplicity from the received job multiple correction degree, A computer is caused to function as job multiplicity storage means for storing the new job multiplicity.
以上説明したように、本発明によれば、ジョブ実行サーバの負荷の大きさを数値化した負荷度に基づいて制御することにより、ハードウェア資源の有効活用が可能なジョブ管理システム、その方法及びそのプログラムを提供することができる。 As described above, according to the present invention, a job management system capable of effectively using hardware resources by controlling the magnitude of the load of the job execution server on the basis of a numerical load level, a method thereof, and The program can be provided.
以下、図面を参照しながら、本発明の実施の形態について詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[第1の実施の形態]
図1は、本発明の第1の実施の形態に係るジョブ管理システムの構成図である。この図1を参照すると、本発明の第1の実施の形態に係るジョブ管理システムは、ジョブ管理サーバ110と、ジョブ実行サーバ120とから構成されている。
[First Embodiment]
FIG. 1 is a configuration diagram of a job management system according to the first embodiment of the present invention. Referring to FIG. 1, the job management system according to the first embodiment of the present invention includes a
ジョブ管理サーバ110は、各ジョブの実行時間の統計情報及び予想実行時間を保存し、ジョブ実行サーバ120の負荷の大きさを数値化した負荷度とジョブ多重度を補正するジョブ多重補正度と予想実行時間を補正する実行時間補正度とを対応させた第1の表及び予想実行時間とジョブ実行サーバ120に投入されるジョブの優先度であるジョブ優先度を補正するジョブ優先度補正値とを対応させた第2の表を格納する領域であるジョブ管理パラメータ保存領域111と、ジョブ管理サーバ110が管理している各ジョブ実行サーバ120がどれくらい高負荷であるかをジョブ管理パラメータ保存領域111に保存されている実行時間の統計情報と、各ジョブ実行サーバ120のCPU使用率とを基に投入されたジョブがどの程度遅延しているかを示す負荷度として数値化する負荷状態判定部112と、負荷状態判定部112で決定される負荷度をキーとして、ジョブ管理パラメータ保存領域111に保存されている第1の表を参照し、ジョブ多重度及び予想実行時間をそれぞれどの程度補正するかのパラメータ(ジョブ多重補正度、実行時間補正度)を決定するパラメータ決定部113と、縮退運用中に高負荷と判断されたジョブ実行サーバ120に投入されるジョブに対して、実行時間補正度を基に予想実行時間を変更し、この予想実行時間をキーとして第2の表を参照して予想実行時間に応じてどの程度優先度を変更するかのパラメータ(ジョブ優先度補正値)を決定し、このジョブ優先度補正値に基づいてジョブ優先度を変更するジョブパラメータ制御部114と、パラメータ決定部113で決定されたジョブ多重補正度を高負荷と判断されたサーバに送信するジョブ多重補正度送信手段115と、を備える。
The
ジョブ実行サーバ120は、ジョブ多重補正度送信手段115から送信されるジョブ多重補正度を受信するジョブ多重補正度受信手段121と、ジョブ多重補正度受信手段121で受信したジョブ多重補正度から新しいジョブ多重度を計算し、ジョブ多重度保存領域123に保存する新ジョブ多重度設定部122と、ジョブ実行サーバ120のジョブ多重度が保存されているジョブ多重度保存領域123で構成されている。
The
[第1の実施の形態の動作]
本発明の第1の実施の形態に係るジョブ管理システムの動作の流れを図面を用いて詳細に説明する。
[Operation of First Embodiment]
An operation flow of the job management system according to the first embodiment of the present invention will be described in detail with reference to the drawings.
最初に、図2を用いて負荷度の算出からジョブ実行サーバのジョブ多重度を設定する処理の説明を行う。図2は、本発明の第1の実施の形態に係るジョブ管理システムの負荷度の算出からジョブ実行サーバのジョブ多重度を設定する処理の流れを示すブロック図である。 First, a process for setting the job multiplicity of the job execution server from the calculation of the load degree will be described with reference to FIG. FIG. 2 is a block diagram showing a flow of processing for setting the job multiplicity of the job execution server from calculation of the load degree of the job management system according to the first embodiment of the present invention.
負荷状態判定部112が、ジョブ管理サーバ110が管理している各ジョブ実行サーバ120のCPU使用率と、各ジョブ実行サーバで実行されたジョブの実行時間の統計と最新の実行時間の差分から負荷情報を分析し、各ジョブ実行サーバの負荷度というパラメータを定期的に算出する処理を行う。ここで、負荷状態判定部112は、各ジョブ実行サーバの負荷度が予め決められた閾値を超えていた場合、当該サーバが高負荷状態であると判断する。
The load
なお、各ジョブ実行サーバ120のCPU使用率は、各ジョブ実行サーバ120にインストールされているOS(Operating System)が測定したものをジョブ管理サーバ110がネットワークを通じて取得するものとする。
The CPU usage rate of each
各ジョブ実行サーバ120は、このCPU使用率をジョブ管理サーバ110に送信する専用の手段を別途備え、又ジョブ管理サーバ110は、CPU使用率を受信する専用の手段を別途備えてもよいが、各ジョブ実行サーバ120とジョブ管理サーバ110とがサーバとして備えている既存の通信手段を援用してもよい。
Each
次に、パラメータ決定部113は、高負荷と判断されたジョブ実行サーバ120に関してジョブ管理パラメータ保存領域111に保存された負荷度とジョブ多重補正度と実行時間補正度との第1の表を参照して、高負荷なジョブ実行サーバのジョブ多重補正度、実行時間補正度のパラメータを決定する。
Next, the
負荷度とジョブ多重補正度と実行時間補正度とを対応させた第1の表はサイジング等によって予め決定し、ジョブ管理パラメータ保存領域111に登録する。その例を表1に示す。
The first table in which the load degree, the job multiple correction degree, and the execution time correction degree are associated with each other is determined in advance by sizing or the like and registered in the job management
ジョブ多重補正度受信手段121は、ジョブ多重補正度のパラメータを受信する。
The job multiple correction
新ジョブ多重度設定部122は、ジョブ実行サーバの現在のジョブ多重度とジョブ多重補正度の積を新しいジョブ実行サーバのジョブ多重度としてジョブ多重度保存領域123に保存する。
The new job
第二に、図3を用いて高負荷状態と判断されたジョブ実行サーバへのジョブ投入を行う際のパラメータの設定処理の説明を行う。図3は、本発明の第1の実施の形態に係るジョブ管理システムの高負荷状態と判断されたジョブ実行サーバ120へのジョブ投入を行う際のパラメータの設定処理の流れを示すブロック図である。
Second, a parameter setting process when a job is submitted to a job execution server determined to be in a high load state will be described with reference to FIG. FIG. 3 is a block diagram showing the flow of parameter setting processing when a job is submitted to the
ジョブパラメータ制御部114は、高負荷状態と判断されたジョブ実行サーバ120に投入されるジョブに関して、現在のジョブの予想実行時間と実行時間補正度の積を新しいジョブの予想実行時間として設定する。
The job
次に、予想実行時間とジョブの優先度をどの程度補正するかのパラメータ(ジョブ優先度補正値)との第2の表を参照し、新たに設定した予想実行時間に対応するジョブ優先度補正値を取得し、得られたジョブ優先度補正値と投入されるジョブの優先度の積を新しいジョブの優先度として設定する。この負荷度を基にした予想実行時間とジョブ優先度補正値とを対応させた第2の表は予め設定しておき、ジョブ管理パラメータ保存領域111に登録する。その例を表2に示す。
Next, referring to the second table of parameters (job priority correction values) of how much the estimated execution time and job priority are corrected, job priority correction corresponding to the newly set expected execution time A value is acquired, and the product of the obtained job priority correction value and the priority of the input job is set as the priority of the new job. The second table in which the estimated execution time based on the load level is associated with the job priority correction value is set in advance and registered in the job management
[第2の実施の形態]
本発明の第2の実施の形態として、図2において、負荷状態判定部112で負荷度を算出した際、高負荷状態と判断されたジョブ実行サーバ120の負荷度が前回計算した負荷度と比べて異なる場合と、負荷度が平常状態と判断される負荷度の閾値を下回っていた場合とで、それぞれどのような動作になるかを示す。
[Second Embodiment]
As a second embodiment of the present invention, when the load level is calculated by the load
高負荷状態と判断されたジョブ実行サーバの負荷度が前回計算した負荷度と異なる場合は、パラメータ決定部113は、再びジョブ管理パラメータ保存領域111に保存されている負荷度とジョブ多重補正度と実行時間補正度との第1の表を参照し、新たなジョブ多重補正度及び実行時間補正度を決定する。
If the load level of the job execution server determined to be in a high load state is different from the load level calculated previously, the
その後、ジョブ多重補正度送信手段115、ジョブ多重補正度受信手段121を通じてジョブ実行サーバに通知された新しいジョブ多重補正度と、高負荷状態と判断される前にもともと設定されていたジョブ多重度との積を新たなジョブ多重度としてジョブ多重度保存領域123に保存する。
Thereafter, the new job multiple correction degree notified to the job execution server through the job multiple correction
同様に、ジョブパラメータ制御部114でも、新しい実行時間補正度と、高負荷状態と判断される前にもともと設定されていたジョブの予想実行時間との積を新たな予想実行時間として設定する。又、ジョブの優先度についても、新たな負荷度ごとの予想実行時間とジョブ優先度補正値との第2の表を参照し、新たなジョブ優先度補正値を決定する。その後、新たなジョブ優先度補正値と高負荷状態と判断される前にもともと設定されていたジョブの優先度との積を新たなジョブの優先度として設定する。
Similarly, the job
高負荷状態と判断されたジョブ実行サーバ120の負荷度が、平常状態と判断される閾値を下回っていた場合は、高負荷状態と判断されていたジョブ実行サーバ120のジョブ多重度、当該サーバに投入されるジョブの予想実行時間及びジョブの優先度を高負荷状態と判断される前にもともと設定されていた値に変更する。平常状態と判断される閾値と、高負荷状態と判断される閾値は異なり、平常状態と判断される閾値の方を高負荷状態と判断される閾値より低く設定する。
If the load level of the
なお、本発明は、装置のみならず方法及びプログラムの発明としても実施できる。 The present invention can be implemented not only as an apparatus but also as a method and program invention.
本発明は、縮退運用方式でのジョブ管理に適しており、かかる方式でのハードウェア資源の有効活用が可能なジョブ管理システムに利用することができる。 The present invention is suitable for job management in the reduced operation method, and can be used for a job management system capable of effectively using hardware resources in such a method.
110 ジョブ管理サーバ
111 ジョブ管理パラメータ保存領域
112 負荷状態判定部
113 パラメータ判定部
114 ジョブパラメータ制御部
115 ジョブ多重補正度送信手段
120 ジョブ実行サーバ
121 ジョブ多重補正度受信手段
122 新ジョブ多重度設定部
123 ジョブ多重度保存領域
DESCRIPTION OF
Claims (17)
前記ジョブ管理サーバは、
前記ジョブ実行サーバで実行されたジョブの実行時間の統計情報及び予想実行時間を保存し、前記ジョブ実行サーバの負荷の大きさを数値化した負荷度とジョブ多重度を補正するジョブ多重補正度と前記予想実行時間を補正する実行時間補正度とを対応させた第1の表及び前記予想実行時間と前記ジョブ実行サーバに投入されるジョブの優先度であるジョブ優先度を補正するジョブ優先度補正値とを対応させた第2の表を格納するジョブ管理パラメータ保存領域と、
前記実行時間の統計情報と前記ジョブ実行サーバのCPU使用率とを基に前記負荷度を数値化し、該数値化した前記負荷度が予め決められた閾値を超えていた場合、前記ジョブ実行サーバが高負荷であると判断する負荷状態判定部と、
前記負荷度をキーとして、前記第1の表を参照し、前記ジョブ多重補正度及び前記実行時間補正度を決定するパラメータ決定部と、
高負荷であると判断された前記ジョブ実行サーバに投入されるジョブに対して、前記実行時間補正度を基に予想実行時間を変更し、かつ該予想実行時間をキーとして、前記第2の表を参照し、前記ジョブ優先度補正値を決定し、前記ジョブ優先度補正値に基づいて前記ジョブ優先度を変更するジョブパラメータ制御部と、
前記パラメータ決定部で決定された前記ジョブ多重補正度を高負荷と判断された前記ジョブ実行サーバに送信するジョブ多重補正度送信手段と、
を備え、
前記ジョブ実行サーバは、
前記ジョブ多重補正度を受信するジョブ多重補正度受信手段と、
該受信した前記ジョブ多重補正度から新しいジョブ多重度を計算する新ジョブ多重度設定部と、
該新しいジョブ多重度を保存するジョブ多重度保存領域と、
を備えることを特徴とするジョブ管理システム。 In the job management system managed by the job management server so as to alleviate the high load status of the job execution server and prevent the occurrence of job errors due to excess of the expected execution time due to the high load status,
The job management server
A statistical information of an execution time of a job executed by the job execution server and an estimated execution time, and a load degree obtained by quantifying the load size of the job execution server and a job multiple correction degree for correcting the job multiplicity; A first table in which an execution time correction degree for correcting the expected execution time is associated, and a job priority correction for correcting a job priority that is a priority of a job to be input to the job execution server. A job management parameter storage area for storing a second table corresponding to values;
The load degree is quantified based on the statistical information of the execution time and the CPU usage rate of the job execution server, and when the quantified load degree exceeds a predetermined threshold, the job execution server A load state determination unit that determines that the load is high;
A parameter determination unit that determines the job multiple correction degree and the execution time correction degree with reference to the first table using the load degree as a key;
For the job submitted to the job execution server determined to have a high load, the expected execution time is changed based on the execution time correction degree and the second table is used with the estimated execution time as a key. A job parameter control unit that determines the job priority correction value and changes the job priority based on the job priority correction value;
Job multiple correction degree transmission means for transmitting the job multiple correction degree determined by the parameter determination unit to the job execution server determined to be high load;
With
The job execution server
A job multiple correction degree receiving means for receiving the job multiple correction degree;
A new job multiplicity setting unit for calculating a new job multiplicity from the received job multiplicity correction degree;
A job multiplicity storage area for storing the new job multiplicity;
A job management system comprising:
前記ジョブパラメータ制御部は、該新しい実行時間補正度と、高負荷状態と判断される前にもともと設定されていたジョブの予想実行時間との積を新たな予想実行時間として設定し、前記第2の表を参照して新たなジョブ優先度補正値を決定し、該新たなジョブ優先度補正値と高負荷状態と判断される前にもともと設定されていたジョブの優先度との積を新たなジョブの優先度として設定し、
前記ジョブ実行サーバは、前記ジョブ多重補正度送信手段及びジョブ多重補正度受信手段を通じて通知された該新しいジョブ多重補正度と、高負荷状態と判断される前にもともと設定されていたジョブ多重度との積を新たなジョブ多重度として前記ジョブ多重度保存領域に保存することを特徴とする請求項1乃至4のいずれか1項に記載のジョブ管理システム。 If the load level of the job execution server determined to be in a high load state is different from the load level calculated last time, the parameter determination unit refers to the first table to determine a new job multiple correction level and execution Determine the degree of time correction,
The job parameter control unit sets the product of the new execution time correction degree and the estimated execution time of the job that was originally set before the high load state is determined as a new estimated execution time, and the second A new job priority correction value is determined with reference to the table, and the product of the new job priority correction value and the job priority that was originally set before the high load state is determined Set as job priority,
The job execution server includes the new job multiple correction degree notified through the job multiple correction degree transmitting means and the job multiple correction degree receiving means, and the job multiplicity originally set before the high load state is determined. 5. The job management system according to claim 1, wherein the product is stored in the job multiplicity storage area as a new job multiplicity.
前記ジョブ管理サーバは、
前記ジョブ実行サーバで実行されたジョブの実行時間の統計情報及び予想実行時間を保存し、前記ジョブ実行サーバの負荷の大きさを数値化した負荷度とジョブ多重度を補正するジョブ多重補正度と前記予想実行時間を補正する実行時間補正度とを対応させた第1の表及び前記予想実行時間と前記ジョブ実行サーバに投入されるジョブの優先度であるジョブ優先度を補正するジョブ優先度補正値とを対応させた第2の表を格納する手順と、
前記実行時間の統計情報と前記ジョブ実行サーバのCPU使用率とを基に前記負荷度を数値化し、該数値化した前記負荷度が予め決められた閾値を超えていた場合、前記ジョブ実行サーバが高負荷であると判断する負荷状態判定手順と、
前記負荷度をキーとして、前記第1の表を参照し、前記ジョブ多重補正度及び前記実行時間補正度を決定するパラメータ決定手順と、
高負荷であると判断された前記ジョブ実行サーバに投入されるジョブに対して、前記実行時間補正度を基に予想実行時間を変更し、かつ該予想実行時間をキーとして、前記第2の表を参照し、前記ジョブ優先度補正値を決定し、前記ジョブ優先度補正値に基づいて前記ジョブ優先度を変更するジョブパラメータ制御手順と、
前記パラメータ決定手順で決定された前記ジョブ多重補正度を高負荷と判断された前記ジョブ実行サーバに送信するジョブ多重補正度送信手順と、
を備え、
前記ジョブ実行サーバは、
前記ジョブ多重補正度を受信するジョブ多重補正度受信手順と、
該受信した前記ジョブ多重補正度から新しいジョブ多重度を計算する新ジョブ多重度設定手順と、
該新しいジョブ多重度を保存するジョブ多重度保存手順と、
を備えることを特徴とするジョブ管理の方法。 In the job management method managed by the job management server so as to alleviate the high load state of the job execution server and prevent the occurrence of job errors due to excess of the expected execution time due to the high load state,
The job management server
A statistical information of an execution time of a job executed by the job execution server and an estimated execution time, and a load degree obtained by quantifying the load size of the job execution server and a job multiple correction degree for correcting the job multiplicity; A first table in which an execution time correction degree for correcting the expected execution time is associated, and a job priority correction for correcting a job priority that is a priority of a job to be input to the job execution server. Storing a second table with corresponding values;
The load degree is quantified based on the statistical information of the execution time and the CPU usage rate of the job execution server, and when the quantified load degree exceeds a predetermined threshold, the job execution server A load state determination procedure for determining a high load;
A parameter determination procedure for determining the job multiple correction degree and the execution time correction degree with reference to the first table using the load degree as a key;
For the job submitted to the job execution server determined to have a high load, the expected execution time is changed based on the execution time correction degree and the second table is used with the estimated execution time as a key. A job parameter control procedure for determining the job priority correction value and changing the job priority based on the job priority correction value;
A job multiple correction degree transmission procedure for transmitting the job multiple correction degree determined in the parameter determination procedure to the job execution server determined to have a high load;
With
The job execution server
A job multiple correction degree receiving procedure for receiving the job multiple correction degree;
A new job multiplicity setting procedure for calculating a new job multiplicity from the received job multiplicity correction degree;
A job multiplicity storage procedure for storing the new job multiplicity;
A method of job management, comprising:
前記ジョブパラメータ制御手順は、該新しい実行時間補正度と、高負荷状態と判断される前にもともと設定されていたジョブの予想実行時間との積を新たな予想実行時間として設定し、前記第2の表を参照して新たなジョブ優先度補正値を決定し、該新たなジョブ優先度補正値と高負荷状態と判断される前にもともと設定されていたジョブの優先度との積を新たなジョブの優先度として設定し、
前記ジョブ実行サーバは、前記ジョブ多重補正度送信手順及びジョブ多重補正度受信手順を通じて通知された該新しいジョブ多重補正度と、高負荷状態と判断される前にもともと設定されていたジョブ多重度との積を新たなジョブ多重度として保存する手順を更に備えることを特徴とする請求項7乃至10のいずれか1項に記載のジョブ管理の方法。 If the load level of the job execution server determined to be in a high load state is different from the previously calculated load level, the parameter determination procedure refers to the first table to determine a new job multiple correction level and execution Determine the degree of time correction,
In the job parameter control procedure, a product of the new execution time correction degree and the expected execution time of the job that was originally set before the high load state is determined is set as a new expected execution time, and the second A new job priority correction value is determined with reference to the table, and the product of the new job priority correction value and the job priority that was originally set before the high load state is determined Set as job priority,
The job execution server includes the new job multiple correction degree notified through the job multiple correction degree transmission procedure and the job multiple correction degree reception procedure, and the job multiplicity originally set before the high load state is determined. The job management method according to claim 7, further comprising a step of storing the product of the two as a new job multiplicity.
前記ジョブ実行サーバで実行されたジョブの実行時間の統計情報及び予想実行時間を保存し、前記ジョブ実行サーバの負荷の大きさを数値化した負荷度とジョブ多重度を補正するジョブ多重補正度と前記予想実行時間を補正する実行時間補正度とを対応させた第1の表及び前記予想実行時間と前記ジョブ実行サーバに投入されるジョブの優先度であるジョブ優先度を補正するジョブ優先度補正値とを対応させた第2の表を格納する手段と、
前記実行時間の統計情報と前記ジョブ実行サーバのCPU使用率とを基に前記負荷度を数値化し、該数値化した前記負荷度が予め決められた閾値を超えていた場合、前記ジョブ実行サーバが高負荷であると判断する負荷状態判定手段と、
前記負荷度をキーとして、前記第1の表を参照し、前記ジョブ多重補正度及び前記実行時間補正度を決定するパラメータ決定手段と、
高負荷であると判断された前記ジョブ実行サーバに投入されるジョブに対して、前記実行時間補正度を基に予想実行時間を変更し、かつ該予想実行時間をキーとして、前記第2の表を参照し、前記ジョブ優先度補正値を決定し、前記ジョブ優先度補正値に基づいて前記ジョブ優先度を変更するジョブパラメータ制御手段と、
前記パラメータ決定手段で決定された前記ジョブ多重補正度を高負荷と判断された前記ジョブ実行サーバに送信するジョブ多重補正度送信手段と、
としてコンピュータを機能させることを特徴とするジョブ管理プログラム。 In the job management program to allow the computer to function as a job management server that mitigates the high load state of the job execution server and prevents the occurrence of job errors due to excess of the expected execution time due to the high load state,
A statistical information of an execution time of a job executed by the job execution server and an estimated execution time, and a load degree obtained by quantifying the load size of the job execution server and a job multiple correction degree for correcting the job multiplicity; A first table in which an execution time correction degree for correcting the expected execution time is associated, and a job priority correction for correcting a job priority that is a priority of a job to be input to the job execution server. Means for storing a second table corresponding to values;
The load degree is quantified based on the statistical information of the execution time and the CPU usage rate of the job execution server, and when the quantified load degree exceeds a predetermined threshold, the job execution server Load state determining means for determining that the load is high;
Parameter determination means for determining the job multiple correction degree and the execution time correction degree with reference to the first table using the load degree as a key;
For the job submitted to the job execution server determined to have a high load, the expected execution time is changed based on the execution time correction degree and the second table is used with the estimated execution time as a key. A job parameter control unit that determines the job priority correction value and changes the job priority based on the job priority correction value;
Job multiple correction degree transmission means for transmitting the job multiple correction degree determined by the parameter determination means to the job execution server determined to have a high load;
A job management program for causing a computer to function as
前記ジョブパラメータ制御手段は、該新しい実行時間補正度と、高負荷状態と判断される前にもともと設定されていたジョブの予想実行時間との積を新たな予想実行時間として設定し、前記第2の表を参照して新たなジョブ優先度補正値を決定し、該新たなジョブ優先度補正値と高負荷状態と判断される前にもともと設定されていたジョブの優先度との積を新たなジョブの優先度として設定することを特徴とする請求項13乃至15のいずれか1項に記載のジョブ管理プログラム。 If the load level of the job execution server determined to be in a high load state is different from the previously calculated load level, the parameter determination unit refers to the first table to determine a new job multiple correction level and execution Determine the degree of time correction,
The job parameter control means sets the product of the new execution time correction degree and the expected execution time of the job that was originally set before the high load state is determined as a new expected execution time, and the second A new job priority correction value is determined with reference to the table, and the product of the new job priority correction value and the job priority that was originally set before the high load state is determined 16. The job management program according to claim 13, wherein the job management program is set as a job priority.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009040739A JP5459579B2 (en) | 2009-02-24 | 2009-02-24 | Job management system, method and program thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009040739A JP5459579B2 (en) | 2009-02-24 | 2009-02-24 | Job management system, method and program thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010198184A JP2010198184A (en) | 2010-09-09 |
JP5459579B2 true JP5459579B2 (en) | 2014-04-02 |
Family
ID=42822869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009040739A Expired - Fee Related JP5459579B2 (en) | 2009-02-24 | 2009-02-24 | Job management system, method and program thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5459579B2 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013051154A1 (en) * | 2011-10-07 | 2013-04-11 | 富士通株式会社 | Memory allocation control method, program and information processing device |
JPWO2013051154A1 (en) * | 2011-10-07 | 2015-03-30 | 富士通株式会社 | Memory allocation control method, program, and information processing apparatus |
JP6241144B2 (en) | 2013-08-30 | 2017-12-06 | 富士通株式会社 | Control program, control method, and control apparatus |
KR102215418B1 (en) * | 2020-06-30 | 2021-02-16 | 주식회사 크라우드웍스 | Method for determing whether an inspector performs inspection using the estimated rework time in a crowdsourcing based projects for artificial intelligence training data generation |
KR102232903B1 (en) * | 2020-06-30 | 2021-03-29 | 주식회사 크라우드웍스 | Method for determining whether a worker performs work using the estimated inspection time in a crowdsourcing based projects for artificial intelligence training data generation |
KR102395117B1 (en) * | 2021-09-08 | 2022-05-09 | 쿠팡 주식회사 | Electronic apparatus for processing information for settlement of sold items and method thereof |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06202884A (en) * | 1993-01-07 | 1994-07-22 | Sharp Corp | Multiprogram execution managment method |
JP2001160040A (en) * | 1999-12-01 | 2001-06-12 | Nec Corp | Server multiplicity controller and server multiplicity control method, and recording medium recording server multiplicity control program |
JP2001160041A (en) * | 1999-12-03 | 2001-06-12 | Hitachi Ltd | System for reducing cpu load of on-line system |
JP2001249819A (en) * | 2000-03-07 | 2001-09-14 | Seiko Epson Corp | Program execution right managing device, its method and computer readable recording medium in which program to make computer execute the same method is recorded |
JP3614800B2 (en) * | 2001-07-30 | 2005-01-26 | エヌ・ティ・ティ・コムウェア株式会社 | Business system start determination device for information system in multiplexed environment and business processing time prediction method |
-
2009
- 2009-02-24 JP JP2009040739A patent/JP5459579B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2010198184A (en) | 2010-09-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5459579B2 (en) | Job management system, method and program thereof | |
JP4747307B2 (en) | Network processing control device, program, and method | |
CN111694633A (en) | Cluster node load balancing method and device and computer storage medium | |
EP2414932B1 (en) | Execution of a plugin according to plugin stability level | |
US20060212873A1 (en) | Method and system for managing load balancing in data processing system | |
US9201645B2 (en) | Program distribution device, program distribution method, program distribution system, and storage medium | |
US8201178B2 (en) | Preventing delay in execution time of instruction executed by exclusively using external resource | |
JP2010204876A (en) | Distributed system | |
CN109491788B (en) | Method and device for realizing load balance of virtualization platform | |
WO2014180295A1 (en) | Method, server and terminal for acquiring performance optimization strategy and terminal performance optimization | |
US8667186B2 (en) | IO control method and program and computer | |
US11438271B2 (en) | Method, electronic device and computer program product of load balancing | |
CN109039933B (en) | Cluster network optimization method, device, equipment and medium | |
US9135064B2 (en) | Fine grained adaptive throttling of background processes | |
CN112711479A (en) | Load balancing system, method and device of server cluster and storage medium | |
CN107678779A (en) | A kind of timed task performs method and electronic equipment | |
US8533533B2 (en) | Monitoring processes via autocorrelation | |
JP5825034B2 (en) | Printing system | |
CN110413206B (en) | Operation control method, apparatus and computer program product in storage system | |
WO2018228323A1 (en) | Service level control method and system for on-line service system, and readable storage medium | |
JP2006317991A (en) | Method for tuning process number | |
JP2008204243A (en) | Job execution control method and system | |
WO2016197621A1 (en) | Method and apparatus for adjusting frequency of server | |
US20150178140A1 (en) | Information processing system and monitoring method | |
CN109144666A (en) | A kind of method for processing resource and system across cloud platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20100715 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20100715 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120112 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130501 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130510 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130709 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130905 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20131029 |
|
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: 20131220 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140102 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |