JP2536304B2 - Job end time prediction system - Google Patents

Job end time prediction system

Info

Publication number
JP2536304B2
JP2536304B2 JP2410256A JP41025690A JP2536304B2 JP 2536304 B2 JP2536304 B2 JP 2536304B2 JP 2410256 A JP2410256 A JP 2410256A JP 41025690 A JP41025690 A JP 41025690A JP 2536304 B2 JP2536304 B2 JP 2536304B2
Authority
JP
Japan
Prior art keywords
time
job
processing
unit
cpu load
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
Application number
JP2410256A
Other languages
Japanese (ja)
Other versions
JPH04215135A (en
Inventor
隆元 中太
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP2410256A priority Critical patent/JP2536304B2/en
Publication of JPH04215135A publication Critical patent/JPH04215135A/en
Application granted granted Critical
Publication of JP2536304B2 publication Critical patent/JP2536304B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【技術分野】本発明はジョブ終了時間予測システムに関
し、特にジョブ単位で処理を行う処理手段を有するデー
タ処理装置におけるジョブの終了時間を予測する予測方
式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a job end time prediction system, and more particularly to a predicting method for predicting a job end time in a data processing apparatus having a processing unit for performing processing on a job basis.

【0002】[0002]

【従来技術】従来、データ処理装置においては、ジョブ
の終了時間の予測がジョブの処理時間やCPU(中央処
理装置)の使用時間などの情報を得ることによって利用
者の経験的な予測で行われるか、あるいは利用者がジョ
ブの処理時間やCPUの使用時間などの情報を集計する
ことによって統計的な予測で行われていた。
2. Description of the Related Art Conventionally, in a data processing apparatus, a job end time is predicted by a user's empirical prediction by obtaining information such as job processing time and CPU (central processing unit) usage time. Alternatively, the user makes a statistical prediction by collecting information such as job processing time and CPU usage time.

【0003】このような従来のデータ処理装置では、ジ
ョブの終了時間の予測が利用者の経験的な予測で行われ
る場合、予測結果が信頼性に欠けるという欠点がある。
In such a conventional data processing apparatus, when the job end time is predicted by the user's empirical prediction, there is a drawback that the prediction result is unreliable.

【0004】また、ジョブの終了時間の予測が統計的な
予測で行われる場合、ジョブの処理時間やCPUの使用
時間などの情報を集計する作業を予め行っておかなけれ
ばならないので、その集計作業のわずらわしさや、ジョ
ブの処理要素からジョブの終了時間を予測する作業のわ
ずらわしさがあるという欠点がある。
When the job end time is predicted statistically, information such as job processing time and CPU usage time must be added up in advance. There is a drawback in that it is troublesome and the work of predicting the end time of the job from the processing element of the job is troublesome.

【0005】[0005]

【発明の目的】本発明は上記のような従来のものの欠点
を除去すべくなされたもので、ジョブの終了時間の予測
の信頼性を向上させ、ジョブの終了時間の予測を容易に
行うことができるジョブ終了時間予測システムの提供を
目的とする。
SUMMARY OF THE INVENTION The present invention has been made to eliminate the above-mentioned drawbacks of the prior art, and improves the reliability of job end time prediction and facilitates job end time prediction. The purpose is to provide a predictable job end time system.

【0006】[0006]

【発明の構成】本発明によるジョブ終了時間予測システ
ムは、マルチジョブ方式の処理手段を有するデータ処理
装置のジョブ終了時間予測システムであって、前記処理
手段の使用率とジョブの処理時間との関係を測定して収
集する処理時間測定手段と、予め設定された所定期間内
の前記処理手段の使用率を一定の時間間隔で測定して収
集する使用率測定手段と、前記使用率測定手段の測定結
果から時間帯毎の前記処理手段の使用率を算出する算出
手段と、前記処理時間測定手段の測定結果と前記算出手
段の算出結果とによって前記ジョブが開始されたときの
前記処理手段の使用率から該ジョブの終了時間を予測す
る予測手段とを設けたことを特徴とする。
A job end time predicting system according to the present invention is a job end time predicting system for a data processing apparatus having a multi-job type processing means, and the relationship between the usage rate of the processing means and the job processing time. A processing time measuring means for measuring and collecting the usage rate, a usage rate measuring means for measuring and collecting the usage rate of the processing means within a preset predetermined period at fixed time intervals, and a measurement of the usage rate measuring means A calculation unit that calculates the usage rate of the processing unit for each time period from the result, and a usage rate of the processing unit when the job is started by the measurement result of the processing time measurement unit and the calculation result of the calculation unit And a prediction unit for predicting the end time of the job.

【0007】[0007]

【実施例】次に、本発明の一実施例について図面を参照
して説明する。
Next, an embodiment of the present invention will be described with reference to the drawings.

【0008】図1は本発明の一実施例の構成を示すブロ
ック図である。図において、入力部1からジョブの投入
が行われると、処理時間測定部2はデータ処理装置7に
おけるジョブの処理要素毎のCPU負荷(使用率)およ
び処理時間を計測し、ジョブの処理要素毎のCPU負荷
と処理時間との関係の統計をとって記憶する。
FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention. In the figure, when a job is input from the input unit 1, the processing time measuring unit 2 measures the CPU load (usage rate) and the processing time of each processing element of the job in the data processing device 7, and the processing element of each job is measured. And stores the statistics of the relationship between the CPU load and the processing time.

【0009】CPU負荷測定部3はデータ処理装置7に
おけるCPU負荷を予め設定された一定時間間隔で常時
測定し、その測定結果とその取得時間とをCPU負荷状
況算出部4に送出する。
The CPU load measuring unit 3 constantly measures the CPU load of the data processing device 7 at preset preset time intervals, and sends the measurement result and the acquisition time thereof to the CPU load condition calculating unit 4.

【0010】CPU負荷状況算出部4はCPU負荷測定
部3によって得られた測定結果から、一定期間単位(た
とえば日単位、週単位、月単位、年単位など)毎のCP
U負荷状況の統計をとって記憶する。
The CPU load condition calculation unit 4 uses the measurement results obtained by the CPU load measurement unit 3 to determine the CP for each fixed period (for example, daily, weekly, monthly, or yearly).
U statistics of the load situation are taken and stored.

【0011】予測部5は入力部1からジョブの投入が行
われる前までに処理時間測定部2に保存されている統計
データと、CPU負荷状況算出部4に保存されている統
計データと、データ処理装置7におけるジョブ投入時点
のCPU負荷状態と、入力部1からのジョブ投入時間と
に基づいてジョブの終了時間の予測を行い、その予測結
果をCRTディスプレイ6上に表示する。
The predicting unit 5 stores the statistical data stored in the processing time measuring unit 2 before the job is submitted from the input unit 1 and the statistical data stored in the CPU load status calculating unit 4 and data. The job end time is predicted based on the CPU load state at the time of job input in the processing device 7 and the job input time from the input unit 1, and the prediction result is displayed on the CRT display 6.

【0012】図2は図1の処理時間測定部2の処理動作
を示すフローチャートであり、図3は図1のCPU負荷
測定部3の処理動作を示すフローチャートであり、図4
は図1のCPU負荷状況算出部4の処理動作を示すフロ
ーチャートであり、図5は図1の予測部5の処理動作を
示すフローチャートである。これら図1〜図5を用いて
本発明の一実施例の動作について説明する。
FIG. 2 is a flow chart showing the processing operation of the processing time measuring unit 2 of FIG. 1, and FIG. 3 is a flow chart showing the processing operation of the CPU load measuring unit 3 of FIG.
Is a flowchart showing the processing operation of the CPU load condition calculation unit 4 in FIG. 1, and FIG. 5 is a flowchart showing the processing operation in the prediction unit 5 in FIG. The operation of the embodiment of the present invention will be described with reference to FIGS.

【0013】データ処理装置7が動作している間、CP
U負荷測定部3は常時動作し、データ処理装置7におけ
るCPU負荷を一定時間間隔で測定し(図3ステップ3
1)、その測定結果と取得時点の時刻とを記憶する(図
3ステップ32)。
While the data processing device 7 is operating, the CP
The U load measuring unit 3 always operates and measures the CPU load of the data processing device 7 at regular time intervals (step 3 in FIG. 3).
1) The measurement result and the time at the time of acquisition are stored (step 32 in FIG. 3).

【0014】CPU負荷状況算出部4はCPU負荷測定
部3によって収集された情報、つまりCPU負荷測定部
3で測定されたCPU負荷とその取得時点の時刻とを一
定期間単位で入力し(図4ステップ41)、その情報か
ら一定期間単位毎のCPU負荷状況の統計を取り(図4
ステップ42)、その統計の集計結果を図示せぬファイ
ル(以下統計ファイルとする)などに保存する(図4ス
テップ43)。
The CPU load condition calculation unit 4 inputs the information collected by the CPU load measurement unit 3, that is, the CPU load measured by the CPU load measurement unit 3 and the time at which the CPU load is acquired in a fixed period unit (see FIG. 4). Step 41), the CPU load status statistics for each fixed period are taken from the information (FIG. 4).
In step 42), the totalization result of the statistics is stored in a file (not shown) (hereinafter referred to as a statistical file) or the like (step 43 in FIG. 4).

【0015】すなわち、CPU負荷状況算出部4はその
統計処理を行う以前までに算出して統計ファイルに格納
してある一定時間をN分割した時間に対するCPU負荷
の平均値に、CPU負荷測定部3で測定されたCPU負
荷とその取得時点の時刻とから求めたN分割した時間単
位のCPU負荷の平均を加え、新たにN分割した時間毎
のCPU負荷の平均値を求め、そのCPU負荷の平均値
を統計ファイルに書込んで統計ファイルを更新する。
尚、Nの値は一定時間の単位によって異なる。
That is, the CPU load measuring unit 4 calculates the average value of the CPU load with respect to the time obtained by dividing the fixed time stored in the statistical file before performing the statistical processing into N and dividing the fixed time into the CPU load measuring unit 3 The average of the CPU loads for each N-divided time units is calculated by adding the average of the CPU loads for each N-divided time units obtained from the CPU load measured in Step 1 and the time at the time of acquisition, and the average of the CPU loads Write the values to the statistics file and update the statistics file.
The value of N varies depending on the unit of fixed time.

【0016】すなわち、一定時間が日単位であれば、一
日のうちのどの時間帯でどの位のCPU負荷があるかを
毎日収集し、その統計を統計ファイルに格納する。
That is, if the fixed time is on a daily basis, how much CPU load is in what time zone of the day is collected every day, and the statistics are stored in the statistics file.

【0017】また、一定時間が週単位であれば曜日毎の
CPU負荷の統計をとり、一定時間が月単位であれば日
毎のCPU負荷の統計をとり、一定時間が年単位であれ
ば月毎のCPU負荷の統計をとって夫々別々に作成され
た統計ファイルに格納する。
If the fixed time is weekly, the CPU load statistics for each day of the week are taken, if the fixed time is monthly, the CPU load statistics are taken for each day, and if the fixed time is yearly, monthly. The CPU load statistics are taken and stored in the separately created statistical files.

【0018】上記の処理によってCPU負荷状況算出部
4の統計ファイルに夫々集計結果が格納されている状態
において、入力部1からジョブの投入が行われると、処
理時間測定部2はジョブの処理要素の情報を入力し(図
2ステップ21)、その情報からジョブの処理要素毎の
CPU負荷および処理時間の計測を行う(図2ステップ
22)。
When a job is input from the input unit 1 in the state where the totalized results are stored in the statistical files of the CPU load condition calculation unit 4 by the above processing, the processing time measurement unit 2 causes the processing element of the job to process. 2 is input (step 21 in FIG. 2), and the CPU load and the processing time for each processing element of the job are measured from the information (step 22 in FIG. 2).

【0019】さらに、処理時間測定部2は計測結果から
ジョブの処理要素毎のCPU負荷と処理時間との関係の
統計をとり、この統計の集計結果を記憶する(図2ステ
ップ23)。
Further, the processing time measuring unit 2 obtains statistics of the relationship between the CPU load and the processing time for each processing element of the job from the measurement results, and stores the statistics aggregation result (step 23 in FIG. 2).

【0020】これと同時に、予測部5は入力部1からジ
ョブの投入が行われる前までに処理時間測定部2に記憶
されているジョブの処理要素毎のCPU負荷と処理時間
との関係の統計の集計結果と、CPU負荷状況算出部4
の統計ファイル各々に格納されている一定期間毎のCP
U負荷の平均値の集計結果とを予測情報として入力する
とともに(図5ステップ51)、データ処理装置7から
入力部1によるジョブ投入時点のCPU負荷状態を入力
する(図5ステップ52)。
At the same time, the predicting unit 5 statistics the relationship between the CPU load and the processing time of each processing element of the job stored in the processing time measuring unit 2 before the job is input from the input unit 1. And the CPU load status calculation unit 4
CP stored in each statistical file
The total result of the average value of the U load is input as the prediction information (step 51 in FIG. 5), and the CPU load state at the time of job input by the input unit 1 is input from the data processing device 7 (step 52 in FIG. 5).

【0021】その後に、予測部5は処理時間測定部2の
集計結果と、CPU負荷状況算出部4の統計ファイル各
々の集計結果と、データ処理装置7からのジョブ投入時
点のCPU負荷状態と、ジョブの投入時間とによってジ
ョブの終了時間の予測を行う(図5ステップ53)。
After that, the predicting unit 5 collects the results of the processing time measuring unit 2, the totaling results of the statistical files of the CPU load status calculating unit 4, and the CPU load state at the time of job input from the data processor 7. The job end time is predicted based on the job input time (step 53 in FIG. 5).

【0022】すなわち、CPU負荷状況算出部4の統計
ファイル各々の集計結果からジョブ開始時間に相当する
データを検索して統計的にCPU負荷を求め、そのCP
U負荷に対応する処理時間を処理時間測定部2からの集
計結果から検索して求め、求めた処理時間とジョブの投
入時間とによってジョブの終了時間を決定する。
That is, the CPU load is calculated statistically by searching the data corresponding to the job start time from the totalized result of each statistical file of the CPU load status calculation unit 4, and the CP
The processing time corresponding to the U load is searched for from the totalized result from the processing time measuring unit 2, and the job end time is determined by the calculated processing time and the job input time.

【0023】上述した処理によって、予測部5で予測さ
れたジョブの終了時間はCRTディスプレイ6に通知さ
れ(図5ステップ54)、CRTディスプレイ6上に表
示される。
By the above-described processing, the end time of the job predicted by the predicting unit 5 is notified to the CRT display 6 (step 54 in FIG. 5) and displayed on the CRT display 6.

【0024】このように、入力部1からジョブの投入が
行われる前までに処理時間測定部2に記憶されているジ
ョブの処理要素毎のCPU負荷と処理時間との関係の統
計結果と、CPU負荷状況算出部4の統計ファイル各々
に格納されている一定期間毎のCPU負荷の平均値の集
計結果と、ジョブ投入時点のCPU負荷状態と、ジョブ
の投入時間とによってジョブの終了時間を予測するよう
にすることによって、ジョブの終了時間の予測が利用者
の経験的な予測で行われる場合の予測結果に対する信頼
性の欠如や、ジョブの終了時間の予測が統計的な予測で
行われる場合の集計作業のわずらわしさおよびジョブの
終了時間の予測作業のわずらわしさをなくすことができ
るので、ジョブの終了時間の予測の信頼性を向上させる
ことができ、ジョブの終了時間の予測を容易に行うこと
ができる。
As described above, the statistical result of the relationship between the CPU load and the processing time of each processing element of the job stored in the processing time measuring section 2 before the job is input from the input section 1 and the CPU The end time of the job is predicted based on the result of totaling the average value of the CPU load for each fixed period stored in each statistical file of the load status calculation unit 4, the CPU load state at the time of job submission, and the job submission time. By doing so, when the job end time is predicted by the user's empirical prediction, the prediction result is not reliable, and when the job end time is predicted by statistical prediction. Eliminating the trouble of aggregation work and predicting the job end time Since the trouble of the work can be eliminated, the reliability of the job end time prediction can be improved, and It is possible to perform the end time predicted easily.

【0025】[0025]

【発明の効果】以上説明したように本発明によれば、C
PU使用率とジョブの処理時間との関係の測定結果と、
時間帯毎のCPU使用率と、ジョブが開始されたときの
CPU使用率とから該ジョブの終了時間を予測するよう
にすることによって、ジョブの終了時間の予測の信頼性
を向上させ、ジョブの終了時間の予測を容易に行うこと
ができるという効果がある。
As described above, according to the present invention, C
The measurement result of the relationship between the PU usage rate and the job processing time,
By predicting the end time of the job from the CPU usage rate for each time zone and the CPU usage rate when the job is started, the reliability of the prediction of the job end time is improved, and the job end time is improved. There is an effect that the end time can be easily predicted.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】図1の処理時間測定部の処理動作を示すフロー
チャートである。
FIG. 2 is a flowchart showing a processing operation of a processing time measuring unit in FIG.

【図3】図1のCPU負荷測定部の処理動作を示すフロ
ーチャートである。
FIG. 3 is a flowchart showing a processing operation of a CPU load measuring unit in FIG.

【図4】図1のCPU負荷状況算出部の処理動作を示す
フローチャートである。
FIG. 4 is a flowchart showing a processing operation of a CPU load condition calculation unit in FIG.

【図5】図1の予測部の処理動作を示すフローチャート
である。
5 is a flowchart showing a processing operation of a prediction unit in FIG.

【符号の説明】[Explanation of symbols]

2 処理時間測定部 3 CPU負荷測定部 4 CPU負荷状況算出部 5 予測部 7 データ処理装置 2 Processing time measurement unit 3 CPU load measurement unit 4 CPU load status calculation unit 5 Prediction unit 7 Data processing device

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 マルチジョブ方式の処理手段を有するデ
ータ処理装置のジョブ終了時間予測システムであって、
前記処理手段の使用率とジョブの処理時間との関係を測
定して収集する処理時間測定手段と、予め設定された所
定期間内の前記処理手段の使用率を一定の時間間隔で測
定して収集する使用率測定手段と、前記使用率測定手段
の測定結果から時間帯毎の前記処理手段の使用率を算出
する算出手段と、前記処理時間測定手段の測定結果と前
記算出手段の算出結果とによって前記ジョブが開始され
たときの前記処理手段の使用率から該ジョブの終了時間
を予測する予測手段とを設けたことを特徴とするジョブ
終了時間予測システム。
1. A job end time prediction system for a data processing apparatus having multi-job processing means, comprising:
A processing time measuring means for measuring and collecting the relationship between the usage rate of the processing means and the processing time of the job, and measuring and collecting the usage rate of the processing means within a predetermined period set in advance at a constant time interval. Utilization rate measuring means, calculating means for calculating the utilization rate of the processing means for each time zone from the measurement result of the utilization rate measuring means, the measurement result of the processing time measuring means and the calculation result of the calculating means A job end time prediction system, comprising: a prediction means for predicting an end time of the job from a usage rate of the processing means when the job is started.
JP2410256A 1990-12-12 1990-12-12 Job end time prediction system Expired - Fee Related JP2536304B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2410256A JP2536304B2 (en) 1990-12-12 1990-12-12 Job end time prediction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2410256A JP2536304B2 (en) 1990-12-12 1990-12-12 Job end time prediction system

Publications (2)

Publication Number Publication Date
JPH04215135A JPH04215135A (en) 1992-08-05
JP2536304B2 true JP2536304B2 (en) 1996-09-18

Family

ID=18519444

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2410256A Expired - Fee Related JP2536304B2 (en) 1990-12-12 1990-12-12 Job end time prediction system

Country Status (1)

Country Link
JP (1) JP2536304B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09231144A (en) * 1996-02-28 1997-09-05 Mitsubishi Electric Corp Method and device for managing data file
US20070271560A1 (en) * 2006-05-18 2007-11-22 Microsoft Corporation Deploying virtual machine to host based on workload characterizations

Also Published As

Publication number Publication date
JPH04215135A (en) 1992-08-05

Similar Documents

Publication Publication Date Title
US7568028B2 (en) Bottleneck detection system, measurement object server, bottleneck detection method and program
US6405327B1 (en) Apparatus for and method of automatic monitoring of computer performance
US20070214261A1 (en) Analysis method and apparatus
US6321341B1 (en) Method and apparatus for measuring the power consumption of a computer
JP2004206495A (en) Management system, management computer, management method, and program
JP2008546061A (en) Usage measurement system
JP2004362140A (en) Method for supervising operation, execution system, and process program
US20050107997A1 (en) System and method for resource usage estimation
US20200026435A1 (en) Data management device, data management program, and data management method
JP3290321B2 (en) Buffer monitoring method and device therefor
JP2536304B2 (en) Job end time prediction system
JP3353745B2 (en) Processing capacity measuring device and processing capacity measuring method
JP2000200230A (en) Method for measuring performance of client-server system, and client-server system
CN112667149B (en) Data heat sensing method, device, equipment and medium
JPH1011330A (en) Log recording method and device therefor
JP7119484B2 (en) Information aggregation device, information aggregation method, and program
JP2715904B2 (en) Computer system performance evaluation device
JP2002259166A (en) Operation repot preparation system, operation report preparation method and program for preparing operation report
JPH09305556A (en) Method and device for predicting processing time for program execution
JP2665380B2 (en) System error detection processing method
JP2002318698A (en) Process controller and control method
JPH11265306A (en) Throughput estimation device, its method and recording medium
JPH04344544A (en) Computer abnormal load detection system
JPH03288242A (en) Load controlling method for computer system
JP2008310470A (en) Method for monitoring computer system abnormality

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees