JP2885907B2 - Online processing time analysis method - Google Patents

Online processing time analysis method

Info

Publication number
JP2885907B2
JP2885907B2 JP2225962A JP22596290A JP2885907B2 JP 2885907 B2 JP2885907 B2 JP 2885907B2 JP 2225962 A JP2225962 A JP 2225962A JP 22596290 A JP22596290 A JP 22596290A JP 2885907 B2 JP2885907 B2 JP 2885907B2
Authority
JP
Japan
Prior art keywords
svc
task
processing
program
information collection
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
JP2225962A
Other languages
Japanese (ja)
Other versions
JPH04107646A (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.)
ENU TEI TEI SOFUTOEA KK
Nippon Telegraph and Telephone Corp
Original Assignee
ENU TEI TEI SOFUTOEA KK
Nippon Telegraph and Telephone 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 ENU TEI TEI SOFUTOEA KK, Nippon Telegraph and Telephone Corp filed Critical ENU TEI TEI SOFUTOEA KK
Priority to JP2225962A priority Critical patent/JP2885907B2/en
Publication of JPH04107646A publication Critical patent/JPH04107646A/en
Application granted granted Critical
Publication of JP2885907B2 publication Critical patent/JP2885907B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、オンライン中のタスク処理時間分析方式に
係り、主にオンラインシステムで発生するレスポンス/
ターンアラウンド低下等の異常原因を解明するために、
オンラインサービスを続行した環境で、CPU処理時間の
増大を招いたタスク名、プログラム名など必要なデータ
の実測・分析を可能とするオンライン中のタスク処理時
間分析方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to an online task processing time analysis method, and mainly relates to a response / time generated in an online system.
In order to elucidate the cause of abnormalities such as reduced turnaround,
The present invention relates to an online task processing time analysis method that enables actual measurement and analysis of necessary data such as task names and program names that have caused an increase in CPU processing time in an environment where online service has been continued.

〔従来の技術〕[Conventional technology]

従来、オンラインサービスを続行した環境で所望デー
タを実測・分析する方式としては、オンラインプログラ
ム修正方式が知られている。これは、各オンラインプロ
グラムの中に、一時的にプログラムの開始/終了時刻な
どの情報を収集するトラップルーチンを埋め込み、情報
の収集分析を行い、オンラインプログラムでの分析が終
れば、オンラインプログラムを元に戻す方式である。
Conventionally, as a method of actually measuring and analyzing desired data in an environment in which an online service is continued, an online program correction method is known. This involves embedding a trap routine in each online program that temporarily collects information such as the start / end time of the program, and collecting and analyzing the information. When the analysis by the online program is completed, the online program is restored. It is a method to return to.

[発明が解決しようとする課題] このオンラインプログラム修正方式では、オンライン
プログラムへの情報収集ルーチンの埋め込みや除去のた
め、プログラムの差し替え/差し戻しが伴い、その都
度、当該オンライン・サービスの中断が必要である。ま
た、情報収集ルーチンの埋め込みは、オンラインプログ
ラムのすべての箇所を対象とすることはできないため、
経験により問題となりそうな部分に、幾度もねらい打ち
する必要があり、原因究明迄の所要時間・稼動が大であ
り、また、多数の情報収集ルーチンの埋め込みや除去に
伴い、プログラムバグの混入によるオンライン品質の低
下を招き易いという問題もある。さらに、トラップルー
チンを差し戻さずに放置すると、オンライン動作中、常
に情報収集オーバーヘッドが生じ、オンラインシステム
の性能低下要因となる。
[Problem to be Solved by the Invention] In this online program correction method, replacement or return of the program is required for embedding or removing the information collection routine in the online program, and the online service must be interrupted each time. is there. Also, since embedding of information collection routines cannot be targeted at every part of the online program,
It is necessary to aim at the parts that are likely to be a problem due to experience many times, the time required to find the cause and operation are large, and with the embedding and removal of many information collection routines, online bugs due to the inclusion of program bugs There is also a problem that the quality tends to deteriorate. Furthermore, if the trap routine is left unreturned, information collection overhead will always occur during online operation, which will cause a decrease in the performance of the online system.

本発明は、以上述べた従来方式の問題点を解決するこ
とを目的としており、オンラインプログラムの修正を不
要とすることでオンラインサービスの運転を継続可能と
し、かつ、オンライン実環境で走行するプログラム毎の
実走行時間などの具体的な情報を、オンライン性能の劣
化を最小化しつつシステムが自動収集することにより、
性能ボトルネックへの早期対処を図るものである。
An object of the present invention is to solve the above-described problems of the conventional method, and it is possible to continue the operation of an online service by eliminating the need to modify an online program, and to provide a program for each program that runs in an online real environment. The system automatically collects specific information such as the actual running time of the car while minimizing the deterioration of online performance,
It is intended to deal with performance bottlenecks early.

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

上記目的を達成するために、本発明は、プログラム間
の制御移行をSVC(Supervisor call)の発行/リターン
やRUN/STOPマクロの発行により行うオンライン処理計算
機システムにおいて、オンライン処理性能測定中か否か
を示す状態フラグと、測定対象のタスクIDリストを保持
しているタスクIDリストテーブルと、SVC毎にSVC処理ル
ーチンアドレスに加えて情報収集ルーチンアドレスも保
持するSVCテーブルを設けて、オンラインタスクからSVC
が発行された場合、前記状態フラグが性能測定中を示
し、かつ、前記タスクIDリストテーブルに当該タスクID
が存在すると、前記SVCテーブルを参照し、情報収集ル
ーチンアドレスにもとづいて情報収集処理プログラムを
起動し、情報収集処理終了後に、SVC処理ルーチンアド
レスにもとづいて当該SVCの処理プログラムを起動する
ことを前提とする。そして、前記情報収集処理プログラ
ムとして少なくとも、RUN/STOPマクロのSVCに対応し
て、プログラム名、タスクID、及び、RUNの場合は開始
イベントと開始時刻、STOPの場合は終了イベントと終了
時刻を収集項目とする情報収集処理プログラム、SRTNマ
クロのSVCに対応して、タスクID、終了イベントと終了
時刻を収集項目とする情報収集処理プログラム、及び、
その他のSVCに対しては、SVC名、タスクID、開始イベン
トと開始時刻を収集項目とする情報収集処理プログラム
を備え、前記情報収集プログラム群による収集情報か
ら、RUN起動プログラムの正味処理時間と、SVCルーチン
の正味処理時間をそれぞれ求めることを特徴とする。
In order to achieve the above object, the present invention provides an online processing computer system in which control transfer between programs is performed by issuing / returning an SVC (Supervisor call) or issuing a RUN / STOP macro. And a task ID list table holding a task ID list to be measured and an SVC table holding an information collection routine address in addition to the SVC processing routine address for each SVC.
Is issued, the status flag indicates that performance is being measured, and the task ID list table indicates the task ID.
Exists, it is assumed that the SVC table is referred to, an information collection processing program is started based on the information collection routine address, and after the information collection processing, the SVC processing program is started based on the SVC processing routine address. And Then, as the information collection processing program, at least a program name, a task ID, a start event and a start time in the case of RUN, and an end event and an end time in the case of STOP corresponding to the SVC of the RUN / STOP macro are collected. An information collection processing program that is an item, an information collection processing program that has a task ID, an end event, and an end time as collection items corresponding to the SVC of the SRTN macro; and
For other SVCs, an SVC name, a task ID, a start event and an information collection processing program having a start time as a collection item are provided.From the information collected by the information collection program group, a net processing time of a RUN start program, It is characterized in that the net processing time of the SVC routine is obtained.

〔作 用〕(Operation)

本発明では、オンラインタスクからSVCが発行された
場合、計算機がオンライン処理性能測定中で、かつ、測
定対象タスクIDが登録されていれば、自動的に本来の当
該SVC処理に先立って性能評価のための情報収集処理を
実行し、その後、本来の当該SVC処理に移行し、それ以
外では、直接本来の当該SVC処理を行う。
According to the present invention, when an SVC is issued from an online task, if the computer is measuring the online processing performance and the task ID to be measured is registered, the performance evaluation is automatically performed prior to the original SVC processing. Then, the process proceeds to the original SVC process, and otherwise performs the original SVC process directly.

情報収集処理では、最低限、RUN/STOPマクロのSVCに
ついては、プログラム名、タスクID、RUN/STOPの開始/
終了イベント、開始/終了時刻を収集し、SRTNマクロの
SVCについては、タスクID、終了イベント、終了時刻
を、その他のSVCについては、SVC名、タスクID、開始イ
ベント、開始時刻を各々収集する。この収集情報レコー
ドをタスク別に分類し、さらに、RUNプログラムまたはS
VCルーチンの正味処理時間が算定可能とするデータに補
正して、これらの正味処理時間を求める。
In the information collection process, at least for the SVC of the RUN / STOP macro, the program name, task ID, RUN / STOP start /
Collect end event, start / end time, and
For the SVC, the task ID, the end event, and the end time are collected, and for the other SVCs, the SVC name, the task ID, the start event, and the start time are collected. This collected information record is categorized by task, and the RUN program or S
The net processing time of the VC routine is corrected to data that can be calculated, and these net processing times are obtained.

これにより、具体的オンライン処理の生データ(CPU
処理増大の招いたプログラム名、CPU実行時間等)がオ
ンラインプログラムの修正なしで得られ、、また、オン
ライン性能への影響は最小限にとどめることが可能にな
る。
This enables the raw data (CPU
The program name, CPU execution time, etc. that caused the increase in processing can be obtained without modifying the online program, and the influence on online performance can be minimized.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面により説明す
る。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明方式の一実施例の全体的機能ブロック
図である。10はオンラインタスクであり、各タスクには
一意のタスクIDが設定される。11はSVC解析処理部、12
は情報収集ルーチン起動監視部、13はSVCルーチン起動
部、14はタスク別レコード分類用の編集前処理部
(1)、15は正味処理時間計算用の編集前処理部
(2)、16は編集処理部である。これらの処理部は、ハ
ードウェア的にはCPUの処理機能の一部を構成している
ものである。
FIG. 1 is an overall functional block diagram of an embodiment of the system of the present invention. Reference numeral 10 denotes an online task, and a unique task ID is set for each task. 11 is the SVC analysis processing unit, 12
Is an information collection routine activation monitoring unit, 13 is an SVC routine activation unit, 14 is a pre-editing processing unit (1) for classifying records by task, 15 is a pre-editing processing unit (2) for net processing time calculation, and 16 is an editing unit It is a processing unit. These processing units constitute part of the processing functions of the CPU in terms of hardware.

17は情報収集処理プログラム、18はSVC処理プログラ
ムである。情報収集処理プログラム17は各SVC毎に用意
されるが、この詳細は後述する。SVC処理プログラム18
はシステムに多数存在し、そのあるものは主記憶装置上
に常駐されるが、他は外部主記憶装置上に置かれ(非常
駐)、必要の都度、主記憶装置にロードされる。
17 is an information collection processing program, and 18 is an SVC processing program. The information collection processing program 17 is prepared for each SVC, the details of which will be described later. SVC processing program 18
There are many in the system, some of which are resident on main storage, others are placed on external main storage (non-resident) and loaded into main storage as needed.

21はオンライン処理性能測定中か否かを示す状態フラ
グ、22は測定対象のタスクIDのリストを保持するタスク
IDリストテーブル、23はSVC毎に常駐/非常駐やSVC処理
ルーチンアドレスなどを管理しているSVCテーブルであ
る。これらはCPUのレジスタ群、あるいは主記憶装置の
いずれを用いてもよい。31はオンライン中収集情報を一
時記憶するバッファメモリ、32は該収集情報をファイル
する情報収集ファイルである。33はタスク別分類結果を
ファイルする編集ファイル(1)、34は正味処理時間補
正済み結果をファイルする編集ファイル(2)、35は編
集処理結果出力である。
21 is a status flag indicating whether or not online processing performance is being measured, and 22 is a task holding a list of task IDs to be measured.
The ID list table 23 is an SVC table for managing resident / non-resident, SVC processing routine address, and the like for each SVC. These may use either a register group of the CPU or a main storage device. Reference numeral 31 denotes a buffer memory for temporarily storing collected information during online processing, and 32 denotes an information collection file for filing the collected information. Reference numeral 33 denotes an edit file (1) for storing task-specific classification results, reference numeral 34 denotes an edit file (2) for storing net processing time corrected results, and reference numeral 35 denotes an edit processing result output.

第1図において、一点鎖線から上がオンライン実環境
での情報収集にかかわる部分、下が収集情報の編集・分
析にかかわる部分である。以下、各処理について説明す
る。
In FIG. 1, the part related to information collection in the online real environment is above the dashed-dotted line, and the part related to editing and analysis of the collected information is below. Hereinafter, each process will be described.

情報収集処理 第2図は状態フラグ21、タスクIDリストテーブル22、
SVCテーブル23の詳細図である。(a)は状態フラグ21
であり、オペレータや自動運転プログラム等の指示に基
づき、オンライン中の性能実測開始時刻/開始時刻にそ
れぞれON/OFFに切り替えられる。即ち、「ON」は性能測
定中(性能実測許容)、「OFF」は性能非測定中(性能
実測抑止)を示す。(b)は測定対象タスクIDリストテ
ーブル22であり、オペレータや自動運転プログラム等が
指定する測定対象タスクのID(AやRなど)が記憶され
る。未登録のところは「NULL」である。(c)はSVCテ
ーブル23であり、SVCの種類をSVC番号で表わし、各SVC
番号ごとに、常駐/非常駐ビット、該当SVC処理プログ
ラムのポインタを示すSVCルーチンアドレス、該当情報
収集処理プログラムのポインタを示す情報収集ルーチン
アドレスが登録される。
FIG. 2 shows a status flag 21, a task ID list table 22,
FIG. 4 is a detailed diagram of an SVC table 23. (A) is the status flag 21
In accordance with an instruction from an operator or an automatic operation program or the like, ON / OFF can be switched to the online performance measurement start time / start time, respectively. That is, "ON" indicates that performance is being measured (performance measurement is permitted), and "OFF" indicates that performance is not being measured (performance measurement is inhibited). (B) is a measurement target task ID list table 22, in which IDs (A, R, and the like) of the measurement target tasks specified by the operator, the automatic operation program, and the like are stored. Unregistered places are "NULL". (C) is an SVC table 23, in which the type of SVC is represented by an SVC number, and
A resident / non-resident bit, an SVC routine address indicating a pointer of the corresponding SVC processing program, and an information collection routine address indicating a pointer of the corresponding information collection processing program are registered for each number.

オンラインタスク10からあるSVCが発行されると、SVC
解析処理部11は該SVCを解析し、当該タスクに設定され
ているタスクID、該SVCの種類(SVC番号)を情報収集ル
ーチン起動監視部12に渡す。情報収集ルーチン起動監視
部12では、状態フラグ21、タスクIDリストテーブル22を
参照し、状態フラグ21がNO(性能実測許容)で、かつ、
タスクIDリストテーブル22に当該タスクIDが記憶されて
いる場合、SVC番号をキーにSVCテーブル23から情報収集
ルーチンアドレスを検索し、当該情報収集処理プログラ
ム17を起動する。そして、情報収集処理プログラム17に
よる情報収集処理後、SVCルーチン起動部13に制御を渡
す。一方、状態フラグ21がOFF(性能実測抑止)の場
合、あるいは状態フラグ21がONでもタスクIDリストテー
ブル22に当該タスクIDが記憶されていない場合には、情
報収集ルーチン起動監視部12は情報収集処理プログラム
17を起動することなく、直ちにSVCルーチン起動部13に
制御を渡す。SVCルーチン起動部13では、SVC番号をキー
にSVCテーブル23からSVCルーチンアドレスを検索し、当
該SVC処理プログラム18を起動する。SVC処理プログラム
18は当該SVC処理を実行し(非常駐SVCならSVCロード後
に実行する)、SVC発行元へ復帰する。
When an SVC is issued from online task 10, the SVC
The analysis processing unit 11 analyzes the SVC, and passes the task ID set for the task and the type (SVC number) of the SVC to the information collection routine activation monitoring unit 12. The information collection routine activation monitoring unit 12 refers to the status flag 21 and the task ID list table 22, determines that the status flag 21 is NO (performance measurement allowed), and
If the task ID is stored in the task ID list table 22, the information collection routine address is searched from the SVC table 23 using the SVC number as a key, and the information collection processing program 17 is started. Then, after the information collection processing by the information collection processing program 17, the control is passed to the SVC routine activation unit 13. On the other hand, when the status flag 21 is OFF (performance measurement suppression is disabled), or when the task ID is not stored in the task ID list table 22 even if the status flag 21 is ON, the information collection routine activation monitoring unit 12 collects information. Processing program
The control is immediately passed to the SVC routine activating unit 13 without activating the 17. The SVC routine starting unit 13 searches the SVC table 23 for an SVC routine address using the SVC number as a key, and starts the SVC processing program 18. SVC processing program
18 executes the SVC process (if the SVC is nonresident, execute it after loading the SVC), and returns to the SVC issuing source.

次に、第3図および第4図により具体例について説明
する。
Next, a specific example will be described with reference to FIGS.

第3図はオンライン通常運転の場合であり、状態フラ
グ21はOFFとなっている。この場合は、オンラインタス
ク(タスクID=Aとする)からSVC(SVCαとする)が発
行されると()、SVCテーブル23からのSVCルーチンア
ドレスを求めて(本例では1000)、当該SVCαの処理プ
ログラムを起動し()、該SVCαの本来の処理を実行
し()、それが終了すると、該SVCαの発行元へリタ
ーンする()。
FIG. 3 shows the case of online normal operation, and the state flag 21 is OFF. In this case, when an SVC (SVCα) is issued from the online task (task ID = A) (), an SVC routine address from the SVC table 23 is obtained (1000 in this example), and The processing program is started (), the original processing of the SVCα is executed (), and when the processing ends, the process returns to the source of the SVCα ().

第4図はオンライン性能実測中の場合であり、状態フ
ラグ21はONである。ここで、タスクIDリストテーブル22
には、測定対象のタスクIDとしてID=Aが記憶されてい
るとする。タスクID=AのオンラインタスクからSVCα
が発行されると()、本来のSVCα処理の前に、ま
ず、SVCテーブル23から情報収集ルーチンアドレスを求
めて(本例では5000)、当該SVCαの情報収集処理プロ
グラム17を起動し()、該SVCαの性能評価に必要な
情報の収集を行う()。収集した情報は次々にバッフ
ァメモリ31に記憶され、その後、情報収集ファイル32に
読み出される。情報収集が終了すると()、SVCテー
ブル23からSVCルーチンアドレスを求めて(本例では100
0)、当該SVCαの処理プログラムを起動し()、SVC
αの本来の処理を実行して()、該SVCα発行先へリ
ターンする()。なお、タスクID=Bなどのように、
タスクIDリストテーブル22に記憶されていないオンライ
ンタスクからSVCが発行された場合は、状態フラグ21がO
Nであっても、当該SVC本来の処理が直接実行される。
FIG. 4 shows a case where the online performance is being measured, and the status flag 21 is ON. Here, the task ID list table 22
, ID = A is stored as the task ID to be measured. From task ID = A online task to SVCα
Is issued (), before the original SVCα processing, first, an information collection routine address is obtained from the SVC table 23 (5000 in this example), and the information collection processing program 17 of the SVCα is started (), The information necessary for the performance evaluation of the SVCα is collected (). The collected information is stored in the buffer memory 31 one after another, and then read out to the information collection file 32. When the information collection is completed (), the SVC routine address is obtained from the SVC table 23 (100 in this example).
0), starts the processing program of the SVCα (),
The original process of α is executed (), and the process returns to the SVCα issue destination (). In addition, like task ID = B,
When an SVC is issued from an online task that is not stored in the task ID list table 22, the status flag 21 is set to O.
Even if N, the original processing of the SVC is directly executed.

次に、収集情報について詳述する。本発明では、情報
収集処理プログラム17として、 (1) 自身以外のSVC処理完了時に後処理を行うSVC
(SRTN−SVC) (2) RUNプログラムを起動するSVC(RUN−SVC) (3) RUNプログラムを終了させるSVC(STOP−SVC) (4) 上記以外の一般SVC(SVCα,SVCβ等) の4種類のSVC毎に用意し、これらSVCが各々1回走行す
る毎に最低限、表1に示す情報を収集するものとする。
Next, the collected information will be described in detail. In the present invention, the information collection processing program 17 includes:
(SRTN-SVC) (2) SVC that starts a RUN program (RUN-SVC) (3) SVC that ends a RUN program (STOP-SVC) (4) Four types of general SVCs other than the above (SVCα, SVCβ, etc.) Are prepared for each of the SVCs, and at least the information shown in Table 1 is collected each time these SVCs run once.

即ち、RUN/STOPマクロのSVCに対応する各々の情報収
集処理プログラム(ルーチンNo.2,3)では、プログラム
名、タスクID、及び、RUNの場合は開始イベントと開始
時刻、STOPの場合は終了イベントと終了時刻を最低収集
項目とする。また、STRNマクロのSVCに対応する情報収
集処理プログラム(ルーチンNo.1)では、タスクID、終
了イベントと終了時刻を最低収集項目とする。さらに、
その他のSVCに対しては(ルーチンNo.4)、SVC名、タス
クID、開始イベントと開始時刻を最低収集項目とする。
That is, in each information collection processing program (routine No.2, 3) corresponding to SVC of RUN / STOP macro, program name, task ID, start event and start time for RUN, and end for STOP The event and end time are the minimum collection items. In the information collection processing program (routine No. 1) corresponding to the SVC of the STRN macro, the task ID, the end event, and the end time are the minimum collection items. further,
For other SVCs (routine No. 4), the SVC name, task ID, start event, and start time are the minimum collection items.

収集情報編集処理 以上のようにして、各情報収集処理プログラム17で収
集された情報はバッファメモリ31を介して、情報収集フ
ァイル32にレコードとして蓄積される。編集前処理部
(1)14は、情報収集ファイル32の収集レコードを各タ
スクID毎のファイル(レコード群)に分類し、編集ファ
イル(1)33に蓄積する。この場合、各タスクIDのファ
イル内では、収集レコードは単に時系列に並べられる。
Collected Information Editing Process As described above, the information collected by each information collection processing program 17 is stored as a record in the information collection file 32 via the buffer memory 31. The pre-editing processing unit (1) 14 classifies the collected records of the information collection file 32 into files (record groups) for each task ID, and accumulates them in the edited file (1) 33. In this case, in the file of each task ID, the collected records are simply arranged in chronological order.

編集前処理部(2)15では、編集処理部16において正
味処理時間の算定を可能にするため、編集ファイル
(1)33内の各タスクIDのファイルに関して、そのレコ
ードを次のように補正する。そして、補正後の各タスク
ID毎のファイル(レコード群)を編集ファイル(2)34
に蓄積する。
The pre-editing processing unit (2) 15 corrects the record of the file of each task ID in the editing file (1) 33 as follows so that the editing processing unit 16 can calculate the net processing time. . And each task after correction
Edit file (record group) for each ID file (2) 34
To accumulate.

(1) RUNと対を成すSRTNのSVCルーチン終了情報レコ
ードをRUNプログラム開始情報に直し、RUNプログラム開
始情報レコードを消去する(第5図(a)参照)。
(1) The SVC routine end information record of SRTN forming a pair with RUN is changed to RUN program start information, and the RUN program start information record is deleted (see FIG. 5 (a)).

(2) STOPと対を成すSRTNのSVCルーチン終了情報レ
コードを消去する(第5図(b)参照)。
(2) Delete the SVC routine end information record of the SRTN paired with STOP (see FIG. 5 (b)).

(3) 残ったSVCルーチン終了情報レコードには、対
応するSVC名を求め、それを追記する(第5図(c)参
照)。
(3) In the remaining SVC routine end information record, a corresponding SVC name is obtained and added thereto (see FIG. 5 (c)).

この編集前処理部(2)15における処理手順を以下に
示す。
The processing procedure in the pre-editing processing unit (2) 15 will be described below.

あるタスクIDのファイルの先頭に読み取り位置を設
定する。
Set the read position at the beginning of the file with a certain task ID.

順方向にSVCルーチン終了情報レコードを探してゆ
き、SVCルーチン終了情報レコードがあると、その位置
を記録し、逆方向にレコードを読む。読むべきレコード
が無くなった場合には、処理を打ち切る。
The SVC routine end information record is searched for in the forward direction, and if there is an SVC routine end information record, its position is recorded and the record is read in the reverse direction. If there are no more records to read, the process is terminated.

RUNプログラム開始情報レコードを読んだ場合、そ
こからプログラム名とイベント情報を記憶した後で、当
該レコードを削除し、さらに、のSVCルーチン終了情
報レコードの位置に戻り、当該レコードにこの記憶情報
を上書きし、の手順から処理を続行する。
When the RUN program start information record is read, after storing the program name and event information from it, delete the record, return to the position of the SVC routine end information record, and overwrite this record with this storage information Then, the processing is continued from the procedure of the above.

RUNプログラム終了情報レコードを読んだ場合、
のSVCルーチン終了情報レコードの位置に戻り、当該レ
コードを削除し、の手順から処理を続行する。
When reading the RUN program end information record,
Return to the position of the SVC routine end information record, delete the record, and continue the processing from the procedure.

SVCルーチン開始情報レコードで、かつ表1の
“*”(SRTNとの対応付け完了表示)「済」のないレコ
ードを読んだ場合、そのレコードに「済」を記録し、そ
のレコードからSVC名を読む。さらに、のSVCルーチン
終了情報レコード位置に戻り、当該レコードにそのSVC
名を挿入した上で、の手順から処理を続行する。
When reading a record that is an SVC routine start information record and does not have “*” (indicating the completion of association with SRTN) “Done” in Table 1, “Done” is recorded in that record, and the SVC name is recorded from that record. Read. Further, the process returns to the SVC routine end information record position, and the SVC routine
After inserting the first name, the process is continued from the step.

その他の場合、そのレコードは読みとばし、逆方向
に次のレコードを読んだ上、の手順から処理を続行す
る。
In other cases, the record is skipped, the next record is read in the reverse direction, and the process is continued from the above procedure.

編集処理部16では、編集ファイル(2)34の各ファイ
ル(タスク別の補正済みレコード群)をもとに、RUN起
動プログラム(RUN PM)の正味処理時間やSVCルーチン
の正味処理時間などを求め、編集結果出力35を得る。RU
N起動プログラムの処理時間は、同一プログラム名のRUN
プログラムの開始情報レコードの時刻とそのレコードに
続く直近の同終了情報レコードの時刻との差として求ま
る。同様に、SVCルーチンの処理情報は、同一SVC名のSV
Cルーチン開始情報レコードの時刻とそのレコードに続
く直近の同終了情報レコードの時刻との差として求ま
る。
The edit processing unit 16 calculates the net processing time of the RUN startup program (RUN PM) and the net processing time of the SVC routine based on each file (corrected record group for each task) of the edited file (2) 34. , And an edit result output 35 is obtained. RU
N The processing time of the startup program is
It is obtained as the difference between the time of the start information record of the program and the time of the latest end information record following the record. Similarly, the processing information of the SVC routine is the SV of the same SVC name.
It is obtained as the difference between the time of the C routine start information record and the time of the immediately following end information record following the record.

第6図に処理の具体例を示す。図中、はプログラム
PM−Aが走行する測定対象タスク、はこのタスクが発
行したSVCαの実行ルーチン、はSVCα実行ルーチ
ンがさらに発行したSVCαの実行ルーチン、はSVCの
発行契機で起動された情報収集処理プログラム群、は
これら情報収集処理プログラム群が収集した情報レコー
ドの記録内容、,は各々、収集情報レコード群をタ
スク別に分類する編集前処理1とその処理結果(タスク
分類結果ファイル群)、,は、処理結果をさらに
RUNプログラムまたはSVCルーチンの正味処理時間が算定
可能とする形に補正する編集前処理2とその処理結果
(正味時間補正済みファイル群)、は編集結果出力と
しての編集・分析レポート例である。
FIG. 6 shows a specific example of the processing. In the figure, is the program
PM-A measured task runs, the execution routine of SVCarufa 1 this task issued, the SVCarufa 1 execution routine is further issued by SVCarufa 2 execution routine, the information collection processing program started by a trigger to issue the SVC The group is the recorded contents of the information records collected by the information collection processing program group, respectively, is the pre-editing process 1 for classifying the collected information record group by task and the processing result (task classification result file group). Further processing results
The pre-editing process 2 that corrects the net processing time of the RUN program or SVC routine to a form that can be calculated, and the processing result (net time corrected file group) are an example of an editing / analysis report as an editing result output.

第6図は、情報収集処理プログラム群に於いて、
の収集情報レコードとして、タスクID=Aに関し、PM−
AのRUN起動のSVCから同PMのSTOP−SVCの終結までのレ
コードが収集されている。この中には、他のタスクのレ
コードを混在しているので、の編集前処理1にてタス
ク別にレコードを分類し、のようにファイル化する。
さらに、の編集処理前処理2にてRUNプログラムまた
はSVCルーチンの正味処理時間が算定可能とする形に補
正し、結果としてのファイル群を得る。これをもとに
各種編集処理を行うことで、に示すように、プログラ
ム・ネスト時間の分析情報や長時間を要したPM/SVC一覧
情報が得られる。
FIG. 6 shows the information collection processing program group.
As the collected information record of task ID = A, PM-
Records from the RUN start SVC of A to the end of the STOP-SVC of the same PM are collected. In this, since records of other tasks are mixed, the records are classified according to the tasks in the pre-editing process 1 and are filed as shown in FIG.
Further, in the pre-editing processing 2, the file is corrected so that the net processing time of the RUN program or the SVC routine can be calculated, and the resulting file group is obtained. By performing various editing processes based on this, as shown in (1), analysis information of the program nest time and PM / SVC list information requiring a long time can be obtained.

なお、第6図の例で、各情報収集処理ルーチンは、OS
と同等の権限を持たせたプログラムで構成し、必要機能
を加えることで、この例以外の情報収集も可能である。
In the example of FIG. 6, each information collection processing routine is executed by the OS.
It is also possible to collect information other than this example by configuring a program with the same authority as above and adding necessary functions.

〔発明の効果〕〔The invention's effect〕

以上述べたように、本発明では、オンライン性能ネッ
クの直接的原因を解明できる具体的オンラインの生デー
タ(CPU処理増大を招いたプログラム名、CPU実行時間
等)を、オンラインプログラムの修正なしで得られるこ
とから、タスク処理時間に関係する性能ボトルネックの
原因究明に係わる所要稼動を大幅に削減するとともに、
その早期解消が図られる。
As described above, according to the present invention, specific online raw data (a program name causing an increase in CPU processing, CPU execution time, etc.) capable of elucidating a direct cause of an online performance bottleneck can be obtained without modifying the online program. As a result, the required operation for investigating the cause of the performance bottleneck related to the task processing time is greatly reduced,
The early solution is achieved.

また、性能分析情報の収集は、指定タスクに限定し、
指定された期間だけ行うことにより、オンライン性能へ
の影響を最小限度とすることができる。オンライン性能
への影響は、さらに情報収集後の編集・分析をオフライ
ンシステムのみで行うことにより、一層縮小できる。
In addition, collection of performance analysis information is limited to specified tasks,
By performing the process only for the designated period, the influence on the online performance can be minimized. The effect on online performance can be further reduced by performing editing and analysis after information collection using only an offline system.

今後、オンラインシステムの業務の高度化に伴い、ハ
ード/ソフトが増々大規模・複雑化する傾向にあり、こ
のような状況でシステム性能問題の早期かつ容易な究明
手段の提供の重要性は高まる一方である。本発明はこれ
に応える新方式と位置づけられる。
In the future, with the advancement of online system operations, hardware and software tend to become larger and more complex, and in such a situation, it is becoming increasingly important to provide a means for quickly and easily investigating system performance problems. It is. The present invention is positioned as a new method corresponding to this.

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

第1図は本発明方式の一実施例の全体的機能ブロック
図、第2図は状態フラグ、タスクIDリストテーブルおよ
びSVCテーブルの詳細図、第3図はオンライン通常運転
の場合の処理を説明する図、第4図はオンライン性能評
価情報収集の場合の処理を説明する図、第5図はタスク
別分類結果の補正処理を説明する図、第6図は具体的処
理例を示す図である。 11……SVC解析処理部、 12……情報収集ルーチン起動監視部、 13……SVCルーチン起動部、 14,15……編集前処理部、 16……編集処理部、 17……情報収集処理プログラム、 18……SVC処理プログラム、 21……状態フラグ、 22……タスクIDリストテーブル、 23……SVCテーブル、 32……情報収集ファイル、 33,34……編集ファイル。
FIG. 1 is an overall functional block diagram of an embodiment of the system of the present invention, FIG. 2 is a detailed diagram of a status flag, a task ID list table and an SVC table, and FIG. FIG. 4 is a diagram for explaining processing in the case of online performance evaluation information collection, FIG. 5 is a diagram for explaining correction processing of the classification result for each task, and FIG. 6 is a diagram showing a specific processing example. 11: SVC analysis processing unit, 12: Information collection routine activation monitoring unit, 13: SVC routine activation unit, 14, 15: Pre-editing processing unit, 16: Editing processing unit, 17: Information collection processing program , 18: SVC processing program, 21: Status flag, 22: Task ID list table, 23: SVC table, 32: Information collection file, 33, 34: Edit file.

フロントページの続き (56)参考文献 特開 昭61−58055(JP,A) 特開 平1−48133(JP,A) 特開 平4−76640(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06F 11/28 - 11/34 Continuation of front page (56) References JP-A-61-58055 (JP, A) JP-A-1-48133 (JP, A) JP-A-4-76640 (JP, A) (58) Fields investigated (Int) .Cl. 6 , DB name) G06F 11/28-11/34

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】プログラム間の制御移行をSVC(Super−vi
sor call)の発行/リターンやRUN/STOPマクロの発行に
より行うオンライン処理計算機システムであって、オン
ライン処理性能測定中か否かを示す状態フラグと、測定
対象のタスクIDリストを保持しているタスクIDリストテ
ーブルと、SVC毎にSVC処理ルーチンアドレスに加えて情
報収集ルーチンアドレスも保持するSVCテーブルを有
し、オンラインタスクからSVCが発行された場合、前記
状態フラグが性能測定中を示し、かつ、前記タスクIDリ
ストテーブルに当該タスクIDが存在すると、前記SVCテ
ーブルを参照し、情報収集ルーチンアドレスにもとづい
て情報収集処理プログラムを起動し、情報収集処理終了
後に、SVC処理ルーチンアドレスにもとづいて当該SVCの
処理プログラムを起動する計算機システムにおいて、 前記情報収集処理プログラムとして少なくとも、RUN/ST
OPマクロのSVCに対応して、プログラム名、タスクID、
及び、RUNの場合は開始イベントと開始時刻、STOPの場
合は終了イベントと終了時刻を収集項目とする情報収集
処理プログラム、SRTNマクロのSVCに対応して、タスクI
D、終了イベントと終了時刻を収集項目とする情報収集
処理プログラム、及び、その他のSVCに対しては、SVC
名、タスクID、開始イベントと開始時刻を収集項目とす
る情報収集処理プログラムを備え、 前記情報収集処理プログラム群による収集情報から、RU
N起動プログラムの正味処理時間と、SVCルーチンの正味
処理時間をそれぞれ求めることを特徴とするオンライン
タスク中処理時間分析方式。
A control transfer between programs is performed by SVC (Super-vi
An online processing computer system that issues / returns a sor call) or issues a RUN / STOP macro. A task that holds a status flag indicating whether online processing performance is being measured and a task ID list to be measured It has an ID list table, an SVC table that holds an information collection routine address in addition to the SVC processing routine address for each SVC, and when an SVC is issued from an online task, the status flag indicates that performance is being measured, and If the task ID is present in the task ID list table, the SVC table is referred to, an information collection processing program is started based on the information collection routine address, and after the information collection processing is completed, the SVC processing is performed based on the SVC processing routine address. In the computer system that starts up the processing program of And RUN / ST
The program name, task ID,
In addition, the task I corresponds to the information collection processing program that collects the start event and start time in the case of RUN, the end event and the end time in the case of STOP, and the SVC of the SRTN macro.
D, Information collection processing program that uses end event and end time as collection items, and SVC for other SVC
An information collection processing program that has a name, a task ID, a start event, and a start time as collection items.
An online task processing time analysis method, wherein a net processing time of an N startup program and a net processing time of an SVC routine are obtained.
JP2225962A 1990-08-28 1990-08-28 Online processing time analysis method Expired - Fee Related JP2885907B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2225962A JP2885907B2 (en) 1990-08-28 1990-08-28 Online processing time analysis method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2225962A JP2885907B2 (en) 1990-08-28 1990-08-28 Online processing time analysis method

Publications (2)

Publication Number Publication Date
JPH04107646A JPH04107646A (en) 1992-04-09
JP2885907B2 true JP2885907B2 (en) 1999-04-26

Family

ID=16837614

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2225962A Expired - Fee Related JP2885907B2 (en) 1990-08-28 1990-08-28 Online processing time analysis method

Country Status (1)

Country Link
JP (1) JP2885907B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004075060A1 (en) * 2003-02-21 2004-09-02 Tabei, Hikaru Computer virus detection device
JP5642725B2 (en) * 2012-02-22 2014-12-17 日本電信電話株式会社 Performance analysis apparatus, performance analysis method, and performance analysis program

Also Published As

Publication number Publication date
JPH04107646A (en) 1992-04-09

Similar Documents

Publication Publication Date Title
US5634120A (en) Computer system supporting utilization of utility functions applicable to concurrently executing jobs by monitoring job excution characteristics and determining eligible job combinations for utility function
JP2885907B2 (en) Online processing time analysis method
US20040223176A1 (en) Job control device, job control file, job control method, and job control program
JP3318121B2 (en) Virtual computer system
JPH0594353A (en) Database management system
JP2795676B2 (en) Program trace device
JP3491379B2 (en) Information processing apparatus and trace information storage method
JP3180336B2 (en) Data access method using multilayer buffer
JP2526728B2 (en) Disk cache automatic usage method
JP2882859B2 (en) Online event processing time analysis method
JP3295930B2 (en) Executing program management method and apparatus, and recording medium
JP2843748B2 (en) Exclusive control method
JP3097750B2 (en) Information collection method online
JP3170795B2 (en) File group processing device
JP3255081B2 (en) File-access device and machine-readable recording medium recording program
JP3179353B2 (en) Program test automation system
JP2937636B2 (en) Logic simulator method
JP3189804B2 (en) Data backup method and device
JPS63189949A (en) System for collecting information on cause analysis at end of abnormal program
JPH05257761A (en) Damp output control system
JP2683274B2 (en) Function trace output method
JPH03246643A (en) Processing for editing dump summary
JP3079825B2 (en) Electronic computer equipment
JPH06187217A (en) System for synchronization between data base and normal file
JPS60252959A (en) On-line trace controlling system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090212

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090212

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100212

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees