JPH01116845A - Processing time calculating device for batch job - Google Patents

Processing time calculating device for batch job

Info

Publication number
JPH01116845A
JPH01116845A JP62276306A JP27630687A JPH01116845A JP H01116845 A JPH01116845 A JP H01116845A JP 62276306 A JP62276306 A JP 62276306A JP 27630687 A JP27630687 A JP 27630687A JP H01116845 A JPH01116845 A JP H01116845A
Authority
JP
Japan
Prior art keywords
processing
processing time
batch job
time
instructions
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
Application number
JP62276306A
Other languages
Japanese (ja)
Inventor
Susumu Koike
進 小池
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62276306A priority Critical patent/JPH01116845A/en
Publication of JPH01116845A publication Critical patent/JPH01116845A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To accurately and quickly estimate the processing time of a batch job by classifying and counting use instructions of the batch job and referring to a performance table based on inputted operation environment conditions to count the processing time of the batch job. CONSTITUTION:A program which executes the batch job is analyzed, and used instructions are classified to instruction groups processed by respective processing parts such as an instruction group processed by a computer and an instruction group processed by an input/output device and the number of instructions in each group is totalized. The processing time of an instruction unit in each processing part and the performance of a processing unit are registered in a performance table 8 for each device type, and a calculating part 5 refers to the performance table 8 based on the device type name of each designated processing part and calculates the execution time of the program based on the processing data volume and the number of used instructions. Operation environment conditions such as the performance of each part (device type) of the computer system and the data volume are inputted to quickly and easily estimate the processing time.

Description

【発明の詳細な説明】 〔概 要〕 本発明はバッチジョブの処理時間計算装置に関し、 使用される計算機および入出力装置に対応して処理時間
を計算することを目的とし、 バッチジョブを遂行するプログラムを構成するすべての
命令を解析し該命令をそれぞれ実行する処理部別に分類
し集計する解析部と、処理部における処理単位の実行時
間を機種別に登録した性能テーブルと、処理部の機種と
処理データ量との動作環境条件を入力する入力部と、前
記動作環境条件入力で指示された各処理部の機種および
処理データ量と前記解析結果とに基づき対応する性能テ
ーブルを参照して該バッチジョブの処理時間を計算する
計算部と、該計算結果を出力する出力部とを備え、バッ
チジョブの使用命令数を分類計数し、入力された動作環
境条件に基づき該性能テーブルを参照して該バ・7チジ
ヨブの処理時間を計算するように構成する。
[Detailed Description of the Invention] [Summary] The present invention relates to a batch job processing time calculation device, and an object of the present invention is to calculate processing time in accordance with the computer and input/output device used, and to perform a batch job. An analysis section that analyzes all the instructions that make up a program, classifies them into processing sections that execute each instruction, and summarizes them, a performance table that registers the execution time of each processing unit in the processing section by model, and a model and processing of the processing section. An input section for inputting the amount of data and operating environment conditions, and a corresponding performance table based on the model and amount of processing data of each processing section specified by the input of the operating environment conditions and the analysis results to perform the batch job. It is equipped with a calculation unit that calculates the processing time of the batch job, and an output unit that outputs the calculation result, and classifies and counts the number of instructions used in the batch job, and refers to the performance table based on the input operating environment conditions to output the batch job.・Configure to calculate the processing time of 7 jobs.

〔産業上の利用分野〕[Industrial application field]

本発明はバッチジョブの処理時間計算装置に関する。 The present invention relates to a batch job processing time calculation device.

例えば金融計算機システム等では業務時間終了後に各支
店より集計されたその日の取引データに基づき預金マス
ク作成、預金累積マスク作成等−連のバッチ処理が行わ
れるが、計算機システムの評価、業務管理上の理由から
システムの稼働前にパッチジョブの処理時間の見積りが
要望されている。
For example, in financial computer systems, etc., batch processing such as creating deposit masks and deposit accumulation masks is performed based on the day's transaction data aggregated from each branch after business hours. For this reason, an estimate of the processing time for patch jobs is required before the system goes live.

このため従来ではジョブを遂行するソースプログラムを
みながら手計算により見積りが行われていたが、そのジ
ョブを実行する計算機システムの性能、処理データ量等
を考慮しなければならず非常に多くの労力を必要として
いた。
For this reason, estimates have traditionally been made by hand while looking at the source program that executes the job, but this requires consideration of the performance of the computer system that executes the job, the amount of data to be processed, etc., which requires a large amount of labor. was needed.

このため、簡易にパッチジョブの処理時間を計算する処
理時間計算装置が求められている。
Therefore, there is a need for a processing time calculation device that easily calculates the processing time of a patch job.

〔従来の技術および発明が解決しようとする問題点〕[Problems to be solved by conventional technology and invention]

従来におけるパッチジョブの処理時間見積りは実走行時
間により求めるか、または処理データ量等あるモデルを
設定して手計算により計算する方法で行われている。
Conventionally, the processing time of a patch job has been estimated by calculating the actual running time or manually by setting a certain model such as the amount of data to be processed.

しかし、そのジョブを実行する計算機システムにはそれ
ぞれ種々の性能を有する中央処理装置cpU、入出力装
置等の組合せが存在するため実走行は望めず、従って見
積り対象の計算機システムに合わせてその都度手計算で
見積りすることが多い。
However, since each computer system that executes the job has a combination of central processing units CPU, input/output devices, etc. with various performances, actual running cannot be expected. Estimates are often calculated.

この手計算による見積りは、例えば実行命令数。This hand-calculated estimate is, for example, the number of executed instructions.

処理データ1.cpu能力、入出力装置の転送時間等に
基づき行われるもので、金融システムのごとく大量のプ
ログラムを抱えるシステムでは非常に多くの見積り工数
を必要としている。
Processed data 1. This is done based on the CPU capacity, transfer time of input/output devices, etc., and a system with a large number of programs such as a financial system requires an extremely large amount of estimated man-hours.

本発明は上記問題点に鑑み、パッチジョブの処理時間見
積りに使用する簡易なパッチジョブの処理時間計算装置
を提供することを目的とする。
SUMMARY OF THE INVENTION In view of the above problems, it is an object of the present invention to provide a simple patch job processing time calculation device used for estimating patch job processing time.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的のため、本発明のパッチジョブの処理時間計算
装置は、第1図本発明の原理図に示すように、 パッチジョブを遂行するプログラム(2)を構成するす
べての命令を解析し、該命令をそれぞれ実行する処理部
側に分類し集計する解析部(3)と、 該処理部における処理単位の実行時間を機種別に登録し
た性能テーブル(8)と、 該処理部の機種と処理データ量との動作環境条件を入力
する入力部(6)と、 前記動作環境条件入力で指示された各処理部の機種およ
び処理データ量と前記解析結果とに基づき前記性能テー
ブル(8)を参照して該パンチジョブの処理時間を計算
する計算部(5)と、前記計算結果を出力する出力部(
7)とを備える。
For the above purpose, the patch job processing time calculation device of the present invention analyzes all the instructions constituting the program (2) that executes the patch job, and calculates the An analysis unit (3) that classifies and totals the instructions into the processing units that execute them, a performance table (8) that registers the execution time of each processing unit in the processing unit by model, and the model and amount of data processed by the processing unit. an input section (6) for inputting the operating environment conditions of the computer; and an input section (6) for inputting the operating environment conditions of the processing section; A calculation unit (5) that calculates the processing time of the punch job, and an output unit (5) that outputs the calculation result.
7).

〔作 用〕[For production]

パッチジョブを遂行するプログラムを解析し、使用され
ている命令のうち、計算機が処理する命令、入出力装置
が処理する命令等各処理部ごとに命令を分類し集計する
The program that executes the patch job is analyzed, and among the instructions used, the instructions are classified and totaled for each processing unit, such as instructions processed by the computer and instructions processed by the input/output device.

性能テーブル8には各処理部の命令単位の処理時間、処
理単位の性能が機種別に登録されており、計算部5は指
定された各処理部の機種名に基づき性能テーブル8を参
照し、処理データ量と使用命令数とに基づき該プログラ
ムの実行時間を計算する。
In the performance table 8, the processing time per instruction and the performance per processing unit of each processing unit are registered for each model, and the calculation unit 5 refers to the performance table 8 based on the model name of each specified processing unit and determines the processing The execution time of the program is calculated based on the amount of data and the number of instructions used.

以上のごとく、プログラムを構成している命令を実行す
る処理部(計算機、入出力装置)ごとに分類集計すると
ともに、それらの命令を実行する各処理部における処理
時間を集計してパッチジョブの処理時間を計算するため
、計算機システムの各部性能(機種)、データ量等動作
環境条件゛を入力することにより迅速且つ簡易に処理時
間を見積もることができる。
As described above, in addition to classifying and aggregating each processing unit (computer, input/output device) that executes the instructions that make up the program, we also aggregate the processing time in each processing unit that executes those instructions to process patch jobs. In order to calculate the time, the processing time can be estimated quickly and easily by inputting the operating environment conditions such as the performance (model) of each part of the computer system and the amount of data.

〔実施例〕〔Example〕

本発明の実施例を図を用いて詳細に説明する。 Embodiments of the present invention will be described in detail with reference to the drawings.

第2図は実施例の処理時間計算装置ブロック図、第3図
は動作フローチャート図である。
FIG. 2 is a block diagram of the processing time calculation device of the embodiment, and FIG. 3 is an operation flowchart.

本実施例は入出力装置として磁気ディスク装置を使用し
た一連のバッチジョブ(A−X)の処理時間を計算する
例を示したものである。
This embodiment shows an example of calculating the processing time of a series of batch jobs (A-X) using a magnetic disk device as an input/output device.

第2図において、 2A〜2xはバッチジョブのソースプログラムで、外部
記憶装置10に格納されるもの、 3は解析部で、バッチジョブ八〜Xのソースプログラム
2A〜2Xを順次読取り、命令を実行する処理部別(こ
こでは中央処理装置cpuと磁気ディスク装置)にすべ
ての命令を分類、集計するもの、4は集計結果を格納す
る集計テーブル、5は計算部で、動作環境条件および集
計テーブル4に基づきcpu性能テーブル8aと入出力
装置性能テーブル8bとを参照しつつCPU時間および
入出力時間および総処理時間とを計算する計算部、6は
cpu機種名、入出力装置機種名、データ量等動作環境
条件を入力する人力部、 7は計算結果をリストとして出力する出力部、9は入出
力制御部、 8aはCPU性能テーブルで、CPUの機種ごとに1命
令当たりの平均処理時間9例えばC0BOL MIX等
を登録したもの、 8bは入出力装置性能テーブルであって、磁気ディスク
装置の場合、転送速度、平均ポジショニング時間、平均
回転待ち時間等を機種ごとに登録したもので、CPU性
能テーブル8aとともに第1図の性能テーブル8に対応
するもの、 lはプロセッサ、 である。
In FIG. 2, 2A to 2x are source programs for batch jobs stored in the external storage device 10, and 3 is an analysis unit that sequentially reads source programs 2A to 2X for batch jobs 8 to X and executes instructions. 4 is an aggregation table that stores the aggregation results, and 5 is a calculation unit that classifies and aggregates all instructions by processing unit (in this case, central processing unit CPU and magnetic disk device). 6 is a calculation unit that calculates the CPU time, input/output time, and total processing time while referring to the CPU performance table 8a and the input/output device performance table 8b based on the CPU performance table 8a and the input/output device performance table 8b; 6 is a CPU model name, input/output device model name, data amount, etc. 7 is an output section that outputs the calculation results as a list; 9 is an input/output control section; 8a is a CPU performance table that shows the average processing time per instruction for each CPU model; 9 For example, C0BOL. 8b is an input/output device performance table in which MIX, etc. are registered, and in the case of magnetic disk drives, transfer speed, average positioning time, average rotational waiting time, etc. are registered for each model, along with CPU performance table 8a. Corresponding to performance table 8 in FIG. 1, l is the processor.

なお、cpuの性能として平均命令実行時間(INST
RUCTION MIX )を使用し、例えばソースプ
ログラムがC0BOLで記述されている場合は機種ごと
に求められているC0BOL MIXを使用する。
Note that the average instruction execution time (INST) is the performance of the CPU.
For example, if the source program is written in COBOL, use the COBOL MIX required for each model.

以下計算動作を第3図を参照しつつ説明する。The calculation operation will be explained below with reference to FIG.

(11バッチジョブA−Xのソースプログラム2A〜2
xを外部記憶装置10にロードし、CPUの機種名。
(11 Batch job A-X source program 2A-2
Load x into the external storage device 10 and enter the CPU model name.

入出力装置の機種名、処理データ量(転送単位のブロッ
ク数)を入力する。
Enter the model name of the input/output device and the amount of data to be processed (number of blocks in transfer unit).

(2)解析部嘘はソースプログラム2A〜2xを順次読
取り、命令を認識、解析して、例えばREAD命令。
(2) The analysis section sequentially reads the source programs 2A to 2x, recognizes and analyzes instructions, and reads, for example, the READ instruction.

WRITE命令(以上入出力命令) 、 CALL命令
、その他の命令等に分類し、それぞれ集計テーブル4に
集計する。
The commands are classified into WRITE commands (input/output commands), CALL commands, other commands, etc., and are totaled in a total table 4, respectively.

このときサブルーチンを呼出すCALL命令があればそ
のサブルーチンに付いても集計する。
At this time, if there is a CALL instruction that calls a subroutine, that subroutine is also counted.

なお、ソースプログラム2A〜2Xの解析はコンパイラ
等における常用の手法が用いられる。
Incidentally, the analysis of the source programs 2A to 2X uses a method commonly used in compilers and the like.

(3)  上記解析、集計処理が終了すると、計算部5
は入力部6より入力された動作条件に基づき、cpU性
能テーブル8aと入出力装置性能テーブル8bとを参照
し、以下の計算式に基づき処理時間を計算する。
(3) When the above analysis and aggregation processing is completed, the calculation unit 5
Based on the operating conditions input from the input unit 6, refers to the CPU performance table 8a and the input/output device performance table 8b, and calculates the processing time based on the following calculation formula.

cpu時間=総命令数X (COBOL MIX ’)
入出力時間= (READ−賀R1τE命令数)X  
(Tsl+Ts2+Ts3+BXTS4)但し、Tsl
 ;シーク時間 TS2;サーチ時間(回転待ち時間) Ts3 ; DASDの1回転時間 Ts4;1バイト当たりの転送時間 B ;1ブロツクのバイト数 n はディスク装置数 処理時間= cpu時間時間出入出力 時間)パッチジョブA−Xに付いてそれぞれ上記計算を
行い、全cpu時間、全処理時間を総計する。
CPU time = total number of instructions x (COBOL MIX')
Input/output time = (READ - number of R1τE instructions)
(Tsl+Ts2+Ts3+BXTS4) However, Tsl
; Seek time TS2; Search time (rotation waiting time) Ts3; One rotation time of DASD Ts4; Transfer time per byte B; Number of bytes in one block n is the number of disk devices. Processing time = CPU time, input/output time) Patch The above calculation is performed for each job A to X, and the total CPU time and total processing time are totaled.

(5)上記計算結果を編集し出力部7に柘出力する。(5) Edit the above calculation result and output it to the output section 7.

上記の実施例ではバッチ処理結果の出力処理時間は次の
バ・7チジヨブと多重処理されるものとして省略してい
る。
In the above embodiment, the output processing time of the batch processing result is omitted because it is assumed that the output processing time is multi-processed with the next batch job.

また、オペレーティングシステムO8の処理時間を考慮
することも可能で、例えばバッチジョブカ複数のロード
モジュールで構成されているような場合、CALL命令
によりロード時間を加算する等詳細に処理時間を計算せ
しめることもできる。
It is also possible to take into account the processing time of the operating system O8. For example, if a batch job file is composed of multiple load modules, the processing time can be calculated in detail by adding the load time using the CALL instruction. .

以上のごとく、本処理時間計算装置を使用すれば処理部
機種名、処理データ量等動作環境条件を入力するのみで
、プログラムの使用命令が処理部別に分類集計されて処
理時間が自動的に計算される。
As mentioned above, by using this processing time calculation device, you only need to input the operating environment conditions such as the processing unit model name and processing data amount, and the program usage instructions will be classified and aggregated by processing unit and the processing time will be automatically calculated. be done.

〔発明の効果〕〔Effect of the invention〕

本発明は、パッチジョブプログラムを構成する命令を対
応する処理部別に集計し、入力された各処理部の種別、
データ量に基づきバッチジョブの処理時間を計算する処
理時間計算装置を提供するもので、パッチジョブの処理
時間の見積もりが正確且つ迅速に行えるため、計算機シ
ステムの評価。
The present invention aggregates instructions constituting a patch job program by corresponding processing unit, and determines the type of each input processing unit.
It provides a processing time calculation device that calculates the processing time of a batch job based on the amount of data, and is suitable for evaluating computer systems because it can accurately and quickly estimate the processing time of a patch job.

業務評価上における効果は多大である。The effects on business evaluation are significant.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の原理説明図、 第2図は実施例の処理時間計算装置ブロック図、第3図
は動作フローチャート図、 である。図中、 2はバッチジョブのプログラム、ソースプログラム、 3は解析部、   4は集計テーブル、5は計算部、 
  6は人力部、 7は出力部、 8は性能テーブル、 8aはcpu性能テーブル、 8bは入出力装置性能テーブル、 である。 第1図 実JfQllの処理時間計算装置フ゛ロック図第2図 釧乍フローチャート図 第3図
FIG. 1 is a diagram illustrating the principle of the present invention, FIG. 2 is a block diagram of a processing time calculation device according to an embodiment, and FIG. 3 is an operation flowchart. In the figure, 2 is the batch job program, source program, 3 is the analysis section, 4 is the summary table, 5 is the calculation section,
6 is a human power section, 7 is an output section, 8 is a performance table, 8a is a CPU performance table, and 8b is an input/output device performance table. Figure 1. Actual JfQll processing time calculation device block diagram Figure 2. Senkou flow chart Figure 3.

Claims (1)

【特許請求の範囲】 バッチジョブの処理時間計算装置であって、該バッチジ
ョブを遂行するプログラム(2)を構成するすべての命
令を解析し、該命令をそれぞれ実行する処理部別に分類
し集計する解析部(3)と、 該処理部における処理単位の実行時間を機種別に登録し
た性能テーブル(8)と、 該処理部の機種と処理データ量との動作環境条件を入力
する入力部(6)と、 前記動作環境条件入力で指示された各処理部の機種およ
び処理データ量と前記解析結果とに基づき対応する前記
性能テーブル(8)を参照して該バッチジョブの処理時
間を計算する計算部(5)と、 前記計算結果を出力する出力部(7)と を備えることを特徴とするバッチジョブの処理時間計算
装置。
[Claims] A processing time calculation device for a batch job, which analyzes all instructions constituting a program (2) that executes the batch job, classifies and totals the instructions according to the processing unit that executes each instruction. An analysis section (3), a performance table (8) in which the execution time of each processing unit in the processing section is registered for each model, and an input section (6) for inputting the operating environment conditions of the processing section's model and processing data amount. and a calculation unit that calculates the processing time of the batch job by referring to the corresponding performance table (8) based on the model and processing data amount of each processing unit specified by the input of the operating environment conditions and the analysis result. A batch job processing time calculation device comprising: (5) and an output unit (7) that outputs the calculation result.
JP62276306A 1987-10-30 1987-10-30 Processing time calculating device for batch job Pending JPH01116845A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62276306A JPH01116845A (en) 1987-10-30 1987-10-30 Processing time calculating device for batch job

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62276306A JPH01116845A (en) 1987-10-30 1987-10-30 Processing time calculating device for batch job

Publications (1)

Publication Number Publication Date
JPH01116845A true JPH01116845A (en) 1989-05-09

Family

ID=17567616

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62276306A Pending JPH01116845A (en) 1987-10-30 1987-10-30 Processing time calculating device for batch job

Country Status (1)

Country Link
JP (1) JPH01116845A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06250890A (en) * 1993-02-26 1994-09-09 Nec Corp Simulation system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06250890A (en) * 1993-02-26 1994-09-09 Nec Corp Simulation system

Similar Documents

Publication Publication Date Title
JP7269980B2 (en) User grouping method, apparatus, computer device, medium and computer program
US9032375B2 (en) Performance bottleneck identification tool
US8612805B2 (en) Processor system optimization supporting apparatus and supporting method
JP2003523010A5 (en)
EP0864980A3 (en) Method for analyzing computer performance data
JP2013536531A (en) Evaluation of data flow graph characteristics
JP2001527235A (en) How to analyze the function of a parallel processing system
CN107515663A (en) The method and apparatus for adjusting central processor core running frequency
Noe et al. Validation of a trace-driven CDC 6400 simulation
JPH01116845A (en) Processing time calculating device for batch job
CN107220166A (en) The statistical method and device of a kind of CPU usage
Winder A data base for computer performance evaluation
JPH05158740A (en) Computer performance evaluating device
Hu et al. Improved lower bounds for the scheduling optimization problem
Kusumoto et al. Function point measurement for object-oriented requirements specification
LIU A model of quantitative analysis for performance evaluation of static data flow computers
JPS63196955A (en) Load quantity managing device
Lozier et al. Some performance comparisons for a fluid dynamics code
CN109542616A (en) The dispatching method and electronic equipment that data calculate between a kind of multinode of educational system
JPS595370A (en) Processing time controlling system
CN116431306A (en) Method and device for acquiring blood margin information in Spark task
Hughes A functional instruction mix and some related topics
JPS62189539A (en) System for evaluating performance of related data base managing system
Gabrielian Representation and modeling of distributed computer systems
JPS608942A (en) Vector processing system of conditional sentence