JPH02162436A - Collection system for system performance data - Google Patents

Collection system for system performance data

Info

Publication number
JPH02162436A
JPH02162436A JP63317385A JP31738588A JPH02162436A JP H02162436 A JPH02162436 A JP H02162436A JP 63317385 A JP63317385 A JP 63317385A JP 31738588 A JP31738588 A JP 31738588A JP H02162436 A JPH02162436 A JP H02162436A
Authority
JP
Japan
Prior art keywords
waiting time
resources
resource
control program
workload
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
JP63317385A
Other languages
Japanese (ja)
Inventor
Kenji Imamine
今峰 健司
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
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP63317385A priority Critical patent/JPH02162436A/en
Publication of JPH02162436A publication Critical patent/JPH02162436A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate the evaluation of the system performance by producing actually a resource using request to a control program which controls the resources necessary for execution of programs based on the resources and their using conditions and measuring the waiting time for use of the resources to output it after editing. CONSTITUTION:A work load setting means 3 inputs the resources necessary for execution of plural programs 1 using the resources and the using conditions of the resources via a directive 2 and sets them into a work load information table 4. A waiting time measurement means 5 measures the waiting time for use of the resources based on the information of the table 4 and by producing actually a resource using request and stores this measured waiting time into a measurement result store table 7. An editing output means 8 edits the stored waiting time and inputs this as a report 9. Thus it is possible to measure the waiting time for resources according to the necessary conditions without applying any load to the control program of an operating system. Then the waiting time can be analytically and simply obtained for the resources.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は電子計算機システムにおけるシステム性能デー
タ収集方式に関し、特にプログラムが資源を使用する場
合に要求を出してから使用可能となるまでの待ち時間を
測定する方式に関するものである。
[Detailed Description of the Invention] (Industrial Application Field) The present invention relates to a system performance data collection method in a computer system, and in particular, when a program uses a resource, the waiting time from when a program issues a request until the resource becomes available. This relates to a method for measuring .

[従来の技術〕 電子計算機システムを利用する上でその性能の評価は不
可欠であり、理論的な側面からだけでなく、システムの
性能を示す種々のデータ(システム性能データ)を実際
に測定あるいは収集し、評価の材料として用いている。
[Prior art] Evaluation of the performance of a computer system is essential when using it, and it is important not only to evaluate it from a theoretical perspective, but also to actually measure or collect various data that indicate the performance of the system (system performance data). and is used as evaluation material.

従来の電子計算機システムにおいては、オペレーティン
グシステムの制御プログラムが蓄積した制御テーブル、
管理テーブル上のデータを収集プログラム(ソフトウェ
アモニタ)により参照して収集し、それを編集して出力
するようにしていた。
In conventional computer systems, control tables accumulated by the control program of the operating system,
The data on the management table was referenced and collected by a collection program (software monitor), and the data was edited and output.

なお、得られるシステム性能データとしては、資源使用
時間、資源使用量、待ち行列エントリ数等であり、シス
テム全体における各′¥i源の使用状況のtI!![や
ボトルネンクの検出に有効であった。
The system performance data obtained includes resource usage time, resource usage, number of queue entries, etc., and the tI! of the usage status of each '\i source in the entire system. ! It was effective in detecting bottlenecks.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところで、マルチプログラミング環境を備え、システム
内に各種の待ちが発生し得る電子計算機システムにおい
ては、個々のプログラム毎に資源使用要求を出してから
使用可能となるまでの待ち時間を知る必要性が高いが、
上述した従来のシステム性能データ収集方式では個々の
プログラムの待ち時間は測定対象外となっており、シス
テム性能データとして収集することは不可能であった。
By the way, in a computer system equipped with a multiprogramming environment and in which various types of waiting may occur within the system, it is highly necessary to know the waiting time from when a resource usage request is issued to when the resource becomes available for each individual program. but,
In the conventional system performance data collection method described above, the waiting time of individual programs is not measured, and it is impossible to collect it as system performance data.

すなわち、オペレーティングシステムの制御nプログラ
ムにより個々のプログラム毎とこ詳細な待ち情報を得る
には、制御nプログラム内で常にこれらを意識した処理
を行わなければならず、オペレーティングシステムのオ
ーバーヘッドの増加や収集データ量の増加により大幅な
性能低下をきたすからである。
In other words, in order to obtain detailed wait information for each individual program using the operating system's control program, the control program must always be aware of this information, which increases the overhead of the operating system and reduces the amount of collected data. This is because an increase in the amount causes a significant drop in performance.

一方、理論的な解析から待ち時間を求めることも考えら
れ、単純なシステムにおける資源の待ち時間は待ち行列
モデルを用いることによりある程度は求めることが可能
であるが、大規模なトランザクション処理、TSS処理
、バッチ処理等の複数の処理形態を同時にサポートする
大型電子計算機システムでは、オペレーティングシステ
ム内での待ち行列のサービス順序に種々の方式が用いら
れているため、資源の待ち時間は解析的に簡単に求める
ことができないものであった。
On the other hand, it is also possible to determine the waiting time from theoretical analysis, and the waiting time of resources in a simple system can be determined to some extent by using a queuing model, but it is not possible to obtain the waiting time for a resource in a simple system to some extent by using a queuing model. In large-scale computer systems that simultaneously support multiple types of processing, such as batch processing, various methods are used for servicing queues within the operating system, so resource waiting times can be easily calculated analytically. It was something I couldn't ask for.

本発明は上記の点に鑑み提案されたものであり、その目
的とするところは、オペレーティングシステムの制御プ
ログラムに負担をかけることなく、必要な条件に従って
資源の待ち時間を測定し、そのデータを収集することの
できるシステム性能データ収集方式を提供することにあ
る。
The present invention has been proposed in view of the above points, and its purpose is to measure resource waiting times according to necessary conditions and collect the data without placing a burden on the control program of the operating system. The purpose of the present invention is to provide a method for collecting system performance data that can perform the following tasks.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は上記の目的を達成するため、マルチプログラミ
ング環境を備え、システム内に各種の待ちが発生し得る
電子計算機システムにおけるシステムの性能を示すデー
タを収集する方式において、プログラムの実行で必要と
なる資源およびその資源の使用条件をワークロード情報
テーブルに設定するワークロード設定手段と、 前記ワークロード情報テーブルに設定された情報に基づ
き、その資源を管理する制御プログラムに実際に資源使
用要求を発行することにより資源を使用する場合の待ち
時間を測定し、測定された待ち時間を測定結果格納テー
ブルへ格納する待ち時間測定手段と、 前記測定結果格納テーブルに格納された待ち時間を編集
して出力する編集出力手段とを備えるようにしている。
In order to achieve the above object, the present invention provides a method for collecting data indicating system performance in a computer system equipped with a multiprogramming environment and in which various types of waiting may occur within the system. a workload setting means for setting resources and usage conditions of the resources in a workload information table; and based on the information set in the workload information table, actually issuing a resource usage request to a control program that manages the resources. a waiting time measuring means for measuring a waiting time when using a resource and storing the measured waiting time in a measurement result storage table; and editing and outputting the waiting time stored in the measurement result storage table. The computer is also equipped with an editing output means.

〔作用〕[Effect]

本発明のシステム性能データ収集方式にあっては、プロ
グラムの実行で必要となる資源およびその資源の使用条
件をワークロード設定手段がワークロード情報テーブル
に設定し、待ち時間測定手段が前記ワークロード情報テ
ーブルに設定された情報に基づき、その資源を管理する
制御プログラムに実際に資源使用要求を発行することに
より資源を使用する場合の待ち時間を測定すると共に、
測定された待ち時間を測定結果格納テーブルへ格納し、
&I集比出力手段前記測定結果格納テーブルに格納され
た待ち時間を編集して出力する。
In the system performance data collection method of the present invention, the workload setting means sets the resources required for program execution and the usage conditions of the resources in the workload information table, and the waiting time measuring means sets the resources necessary for program execution and the usage conditions of the resources. Based on the information set in the table, the waiting time when using the resource is measured by actually issuing a resource use request to the control program that manages the resource, and
Store the measured waiting time in the measurement result storage table,
&I aggregation output means edits and outputs the waiting time stored in the measurement result storage table.

〔実施例] 以下、本発明の実施例につき図面を参照して説明する。〔Example] Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明のシステム性能データ収集方式の一実施
例を示す構成図である。第1図において、lは資源(図
示せず)を使用する複数のプログラムであり、6はそれ
を管理するオペレーティングシステムの制御プログラム
である。本発明における機能部分は、ワークロード設定
手段3.待ち時間測定手段51編集出力手段8であり、
ワークロード情報テーブル4.測定結果格納テーブル7
は処理に必要な情報を格納するテーブルである。また、
デイレクティブ2は入力情報、レポート9は出力情報で
ある。なお、各手段の機能は次の通りである。
FIG. 1 is a block diagram showing an embodiment of the system performance data collection method of the present invention. In FIG. 1, 1 is a plurality of programs that use resources (not shown), and 6 is an operating system control program that manages them. The functional parts in the present invention are workload setting means 3. A waiting time measuring means 51 and an editing output means 8,
Workload information table 4. Measurement result storage table 7
is a table that stores information necessary for processing. Also,
Directive 2 is input information, and report 9 is output information. The functions of each means are as follows.

ワークロード設定手段3;プログラム1の実行で必要と
なる資源およびその資源の使用条件をディレクティブ2
から入力し、ワークロード情報テーブル4に設定する機
能 待ち時間測定手段5;ワークロード情報テーブル4に設
定された情報に基づき、制御プログラム6に実際に資源
使用要求を発行することにより資源を使用する場合の待
ち時間を測定し、測定された待ち時間を測定結果格納テ
ーブル7へ格納する機能 編集出力手段8;測定結果格納テーブル7に格納された
待ち時間を編集し、レポート9として出力する機能 以下、他の図面を参照して上記の実施例の動作を説明す
る。
Workload setting means 3; Directive 2 specifies the resources required for the execution of program 1 and the conditions for using those resources.
A function waiting time measurement means 5 inputs the information from and sets it in the workload information table 4; uses the resource by actually issuing a resource usage request to the control program 6 based on the information set in the workload information table 4; Function editing/output means 8 for measuring the waiting time and storing the measured waiting time in the measurement result storage table 7; Function for editing the waiting time stored in the measurement result storage table 7 and outputting it as a report 9. , the operation of the above embodiment will be explained with reference to other drawings.

第2図はワークロード設定手段3の処理を示した図であ
る。第2図において、ワークロード設定手段3は、デイ
レクティブ入力ステップ31でデイレクティブ2を入力
し、入力したデイレクティブ2をデイレクティブ解析ス
テップ32により解析し、ワークロード情報テーブル4
を作成する。
FIG. 2 is a diagram showing the processing of the workload setting means 3. In FIG. 2, the workload setting means 3 inputs a directive 2 in a directive input step 31, analyzes the input directive 2 in a directive analysis step 32, and creates a workload information table 3.
Create.

ワークロード情報テーブル4には資源3プライオリテイ
 サンプリング回数等の情報が含まれている。第3図は
ワークロード設定情報となるデイレクティブ2の例を示
したものであり、プライオリティ(PRIORITY)
の項目に測定したい順にプライオリティの数値が記述さ
れ、続いて使用する資[(RESOURCE)が順に記
述されている。
The workload information table 4 includes information such as the resource 3 priority sampling frequency. Figure 3 shows an example of Directive 2, which is workload setting information.
Priority values are described in the order of measurement desired, followed by resources to be used (RESOURCE).

第4図は待ち時間測定手段5の処理を示したものである
。第4図において、待ち時間測定手段5は、プライオリ
ティ設定ステップ51により、ワークロード情報テーブ
ル4内に設定されている次に測定すべきプライオリティ
を入手し、自プログラムのプライオリティとして設定す
る。
FIG. 4 shows the processing of the waiting time measuring means 5. In FIG. 4, the waiting time measuring means 5 obtains the next priority to be measured set in the workload information table 4 in a priority setting step 51, and sets it as the priority of its own program.

次いで、資源選択ステップ52により、ワークロード情
報テーブル4内に設定されている次に使用要求を出すべ
き資源の情報を入手する。
Next, in a resource selection step 52, information about the next resource set in the workload information table 4 to which a usage request should be issued is obtained.

次いで、制御プログラム呼び出しステップ53により、
その資源を管理する制御プログラム6を通常のスーパバ
イザコール命令あるいは直接呼び出し命令により呼び出
し、資源の使用要求を発行する。このとき、制御プログ
ラム6の制御方式の相違により、要求が待ち行列に登録
されて直ちに制御が返ってくるタイプと、制御プログラ
ム6内で待ち合わせが行われ要求が満足されて初めて制
御が返ってくるタイプとがあり、前者の場合は要求の完
了の待ち合わせを制御プログラム呼び出しステップ53
内で行う。
Then, in a control program calling step 53,
The control program 6 that manages the resource is called by a normal supervisor call command or a direct call command, and a request to use the resource is issued. At this time, due to the difference in the control method of the control program 6, there is a type in which the request is registered in a queue and control is returned immediately, and a type in which a wait is made within the control program 6 and control is returned only after the request is satisfied. In the former case, a control program call step 53 waits for the completion of the request.
Do it inside.

次いで、呼び出し結果格納ステップ54により、制御プ
ログラム呼び出しステップ53で制illプログラム6
に対し資源使用要求を発行してから実際に資源を使用可
能になるまでの時間すなわち待ち時間を得て、資源名、
プライオリティとともに測定結果格納テーブル7に格納
する。
Next, in the call result storage step 54, the control program 6 is stored in the control program call step 53.
Obtain the time from when a resource usage request is issued to when the resource becomes actually usable, that is, the waiting time, and calculate the resource name,
It is stored in the measurement result storage table 7 along with the priority.

次いで、全資源処理済判定ステップ55では、ワークロ
ード情報テーブル4に格納された全資源の待ち時間の測
定処理を完了したか否かをチエツクする。未処理の資源
が存在する場合、資源選択ステップ52へ戻る。また、
全ての資源を処理済の場合、処理済資源のポインタ(図
示せず)を初期化した後、次のステップ(56)へ進む
Next, in step 55 for determining whether all resources have been processed, it is checked whether the waiting time measurement process for all resources stored in the workload information table 4 has been completed. If there are unprocessed resources, the process returns to the resource selection step 52. Also,
If all resources have been processed, the process proceeds to the next step (56) after initializing the processed resource pointer (not shown).

次いで、全プライオリティ処理済判定ステップ56では
、ワークロード情報テーブル4に格納された全プライオ
リティの待ち時間の測定処理を完了したか否かをチエツ
クする。未処理のプライオリティが存在する場合、プラ
イオリティ設定ステップ51へ戻る。また、全てのプラ
イオリティを処理済の場合、処理済プライオリティのポ
インタ(図示せず)を初期化した後、次のステップ(5
7)へ進む。
Next, in an all-priority processing completed determination step 56, it is checked whether the waiting time measurement processing for all the priorities stored in the workload information table 4 has been completed. If there is an unprocessed priority, the process returns to the priority setting step 51. In addition, if all the priorities have been processed, after initializing the processed priority pointer (not shown), the next step (5
Proceed to 7).

次いで、サンプリング回数判定ステップ57では、ワー
クロード情報テーブル4に格納されたサンプリング回数
分の測定を完了したか否かをチエツクする。未完了の場
合、プライオリティ設定ステップ51へ戻る。また、完
了と判定された場合、待ち時間測定手段5の処理を終了
する。
Next, in the sampling number determination step 57, it is checked whether or not measurements for the number of samplings stored in the workload information table 4 have been completed. If not completed, the process returns to the priority setting step 51. Further, if it is determined that the processing is completed, the processing of the waiting time measuring means 5 is terminated.

以上の処理の後、編集出力手段8は、待ち時間測定手段
5により測定されて測定結果格納テーブル7に格納され
た測定結果を参照し、第5図(a)の如き同一資源につ
いてのプライオリティ別待ち時間−覧のレポート9、お
よび/もしくは、第5図(b)に示す如き同一ブライオ
リティについての資源(a、b、c、d)別待ち時間−
覧のレポート9を編集して出力する。
After the above processing, the editing output means 8 refers to the measurement results measured by the waiting time measurement means 5 and stored in the measurement result storage table 7, and sorts the same resource by priority as shown in FIG. 5(a). Waiting time - report 9 and/or waiting time for different resources (a, b, c, d) for the same priority as shown in FIG. 5(b)
Edit and output the current report 9.

〔発明の効果] 以上説明したように本発明のシステム性能データ収集方
式にあっては、プログラムの実行で必要となる資源およ
びその資源の使用条件に基づき、その資源を管理する制
御プログラムに実際に資源使用要求を発行することによ
り資源を使用する場合の待ち時間を測定し、[fiして
出力するようにしたので、従来のソフトウェアモニタで
は得られなかったシステム内の各種待ち時間を実環境で
短時間に求めることができ、システム性能の評価が容易
になる効果がある。特に、大規模なトランザクション処
理、TSS処理、ハツチ処理等の複数の処理形態を同時
にサポートするため、オペレーティングシステム内での
待ち行列のサービス順序に種々の方式が使用されている
大型電子計算機システムにおいて有効である。
[Effects of the Invention] As explained above, in the system performance data collection method of the present invention, based on the resources required for program execution and the usage conditions of the resources, the control program that manages the resources is actually By issuing a resource usage request, we measure the waiting time when using a resource and output it as [fi. It can be obtained in a short time and has the effect of making it easier to evaluate system performance. It is particularly effective in large-scale computer systems where various methods are used for queue service order within the operating system in order to simultaneously support multiple types of processing such as large-scale transaction processing, TSS processing, and hatch processing. It is.

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

第1図は本発明のシステム性能データ収集方式の一実施
例を示す構成図、 第2図は第1図におけるワークロード設定手段の処理の
説明図、 第3図は第1図および第2図におけるデイレクティブの
例を示す図、 第4図は第1図における待ち時間測定手段の処理の説明
図および、 第5図は第1図におけるレポートの例を示す図である。 図において、 ■・・・・・・プログラム 2・・・・・・デイレクティブ 3・・・・・・ワークロード設定手段 4・・・・・・ワークロード情報テーブル5・・・・・
・待ち時間測定手段 6・・・・・・制御プログラム 7・・・・・・測定結果格納テーブル 8・・・・・・編集出力手段 9・・・・・・レポート
FIG. 1 is a block diagram showing an embodiment of the system performance data collection method of the present invention, FIG. 2 is an explanatory diagram of the processing of the workload setting means in FIG. 1, and FIG. 3 is a diagram showing the steps shown in FIGS. FIG. 4 is an explanatory diagram of the processing of the waiting time measuring means in FIG. 1, and FIG. 5 is a diagram showing an example of the report in FIG. 1. In the figure, ■...Program 2...Directive 3...Workload setting means 4...Workload information table 5...
・Waiting time measuring means 6... Control program 7... Measurement result storage table 8... Editing output means 9... Report

Claims (1)

【特許請求の範囲】 マルチプログラミング環境を備え、システム内に各種の
待ちが発生し得る電子計算機システムにおけるシステム
の性能を示すデータを収集する方式において、 プログラムの実行で必要となる資源およびその資源の使
用条件をワークロード情報テーブルに設定するワークロ
ード設定手段と、 前記ワークロード情報テーブルに設定された情報に基づ
き、その資源を管理する制御プログラムに実際に資源使
用要求を発行することにより資源を使用する場合の待ち
時間を測定し、測定された待ち時間を測定結果格納テー
ブルへ格納する待ち時間測定手段と、 前記測定結果格納テーブルに格納された待ち時間を編集
して出力する編集出力手段とを備えたことを特徴とする
システム性能データ収集方式。
[Claims] A method for collecting data indicating system performance in a computer system equipped with a multiprogramming environment and in which various types of waits may occur within the system. a workload setting unit that sets usage conditions in a workload information table; and a resource usage request that actually issues a resource usage request to a control program that manages the resource based on the information set in the workload information table. a waiting time measuring means for measuring the waiting time when the measured waiting time is to be used and storing the measured waiting time in a measurement result storage table; and an editing output means for editing and outputting the waiting time stored in the measurement result storage table. A system performance data collection method characterized by:
JP63317385A 1988-12-15 1988-12-15 Collection system for system performance data Pending JPH02162436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63317385A JPH02162436A (en) 1988-12-15 1988-12-15 Collection system for system performance data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63317385A JPH02162436A (en) 1988-12-15 1988-12-15 Collection system for system performance data

Publications (1)

Publication Number Publication Date
JPH02162436A true JPH02162436A (en) 1990-06-22

Family

ID=18087660

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63317385A Pending JPH02162436A (en) 1988-12-15 1988-12-15 Collection system for system performance data

Country Status (1)

Country Link
JP (1) JPH02162436A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7222269B2 (en) 2001-12-06 2007-05-22 Ns Solutions Corporation Performance evaluation device, performance evaluation information managing device, performance evaluation method, performance evaluation information managing method, performance evaluation system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7222269B2 (en) 2001-12-06 2007-05-22 Ns Solutions Corporation Performance evaluation device, performance evaluation information managing device, performance evaluation method, performance evaluation information managing method, performance evaluation system

Similar Documents

Publication Publication Date Title
CN102722434B (en) Performance test method and tool aiming at Linux process scheduling
US8972795B2 (en) Processor system optimization
EP0864980A3 (en) Method for analyzing computer performance data
Buzen Fundamental laws of computer system performance
EP0762286B1 (en) Measuring workload usage of a central processing unit.
Vogt et al. Realistic modeling of clinical laboratory operation by computer simulation
JPH02162436A (en) Collection system for system performance data
JP3803936B2 (en) Analysis system scheduling method
Kimbleton The role of computer system models in performance evaluation
JPH0695931A (en) Device for supporting evaluation of system execution performance
CN108897776A (en) A kind of arithmetic processing method of data information, device and computer storage medium
Zülch et al. Simulating alternative organizational structures of production systems
JP2715904B2 (en) Computer system performance evaluation device
CN109100440A (en) On-line chromatograph control analysis system and its application method based on network server
JP3374480B2 (en) Data processing device
MacNair An introduction to the research queueing package
Wong et al. Use of a software monitor in the validation of an analytic computer system model
Klar Hardware measurements and their application on performance evaluation in a processor-array
Cabrera A Performance Evaluation Study of UNIX¹
Moser The ELAN performance analysis environment
JPS60238948A (en) Device for measuring processing time of computer system
Furht et al. Performance Measurements of Real-Time Computer Systems
JPS62184543A (en) Job scheduling system
Fischer Computer system simulation of an on-line interactive command and control system
Rajaraman Performance measures for a local network