JPS62245344A - Analyzing system for content of response time - Google Patents

Analyzing system for content of response time

Info

Publication number
JPS62245344A
JPS62245344A JP61088946A JP8894686A JPS62245344A JP S62245344 A JPS62245344 A JP S62245344A JP 61088946 A JP61088946 A JP 61088946A JP 8894686 A JP8894686 A JP 8894686A JP S62245344 A JPS62245344 A JP S62245344A
Authority
JP
Japan
Prior art keywords
state
task
counter
content
space
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.)
Granted
Application number
JP61088946A
Other languages
Japanese (ja)
Other versions
JPH0447342B2 (en
Inventor
Minoru Masu
摩須 稔
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 JP61088946A priority Critical patent/JPS62245344A/en
Publication of JPS62245344A publication Critical patent/JPS62245344A/en
Publication of JPH0447342B2 publication Critical patent/JPH0447342B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To easily investigate the content of a response time, by performing the ranking of the states of a task, tracing the state transition of respective task, and setting the state where the task exists ranked at the highest position as the state of a space. CONSTITUTION:A state transition recognizing part 1 investigates a trace data within a storage area 5 obtained by an event tracer, and recognizes the state transition of the task, and updates the number of tasks of respective state. A task updating part 2 updates the content of a task number counter 7 classified by every state, when the state transition of the task is detected by the state transition recognizing part 1. A spatial state recognizing part 3 investigates whether a spatial state is changed or not when the content of the task number counter 7 is updated. When the state of the space is changed from a certain state S1 to another state S2, the part 3 counts the duration of the state S1, and investigates the time of respective state as the content of a response.

Description

【発明の詳細な説明】 〔概要〕 タスクについて状態と順位付けを行い、イベント・トレ
ーサのデータから各タスクの状B遷移を追跡し、タスク
の存在する最上位の状態を空間の状態とすることにより
、レスポンス・タイムの内訳を調べるものである。
[Detailed Description of the Invention] [Summary] To state and rank tasks, to trace state B transitions of each task from event tracer data, and to set the highest state in which a task exists as a spatial state. This is used to check the breakdown of response time.

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

本発明は、処理要求を送ってから処理結果が帰って来る
までのレスポンス・タイムの内訳を調べるレスポンス・
タイムの内訳分析方式に関スるものである。
The present invention provides a response method that examines the breakdown of the response time from sending a processing request to receiving the processing result.
This relates to the time breakdown analysis method.

〔従来の技術〕[Conventional technology]

計算機の状態遷移を調べるために、O3の各部にモニタ
・コール命令を埋め込んで置き、モニタ・コール命令に
よってイベント・トレーサを起動し、イベント・トレー
サによってモニタ・コール命令発行直後の計算機の状態
を磁気テープに書き込むことは行われている。TSSシ
ステム等においては、TSSレスポンス・タイムの悪化
時にセンタ管理者が磁気テープのトレーサ・データを調
べてレスポンス・タイムの内訳を調べている。レスポン
ス・タイムの内訳とは、コマンドを送ってから最終処理
結果が戻って来るまでの時間の内で例えばI10処理時
間やCPU処理時間、!10処理待ち時間、CPU処理
待ち時間等がどの位の割合を占めているかを調べること
を意味している。
In order to investigate the state transition of the computer, a monitor call instruction is embedded in each part of O3, an event tracer is activated by the monitor call instruction, and the state of the computer is magnetically recorded by the event tracer immediately after the monitor call instruction is issued. Writing to tape is being done. In a TSS system or the like, when the TSS response time deteriorates, the center manager examines the tracer data on the magnetic tape to find out the breakdown of the response time. The breakdown of response time is the time from sending a command until the final processing result is returned, such as I10 processing time, CPU processing time, etc. 10 means to check what percentage of processing waiting time, CPU processing waiting time, etc. account for.

〔解決しようとする問題点〕[Problem to be solved]

トコ口で、TSSシステムのホスト計算機がマルチ・タ
スク構造で且つマルチCPUの場合には、レスポンス・
タイムの内訳を調べることは非常に困難であった。
Tokoguchi: If the host computer of the TSS system has a multi-task structure and multiple CPUs, the response
It was very difficult to check the time breakdown.

本発明は、このような点に鑑みて創作されたものであっ
て、レスポンス・タイムの内訳調査を容易に行い得るよ
うになったレスポンス・タイムの内訳分析方式を提供す
ることを目的としている。
The present invention was created in view of the above points, and an object of the present invention is to provide a response time breakdown analysis method that makes it possible to easily conduct a response time breakdown investigation.

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

本発明の基本的な考え方について説明する。先ず、実行
の最小単位であるタスクについて、以下の状態と順位付
けを定義する。
The basic idea of the present invention will be explained. First, the following states and rankings are defined for a task, which is the minimum unit of execution.

■ I10処理中状態 ■ CPU処理中状態 ■ ベージング処理中状態 ■ I10処理待ち状態 ■ CPU処理待ち状態 ■ 各種事象待ち状態 ■ スワップ・アウト状態 ■ その他の状態 状態の順位は■、■、■、・・・■の順に低くなる。■ I10 processing status ■ CPU processing status ■ Baging process in progress ■ Waiting state for I10 processing ■ CPU processing waiting state ■ Waiting state for various events ■ Swap out status ■ Other conditions The ranking of the states decreases in the order of ■, ■, ■, ...■.

次ぎに、イベント・トレーサによって得られたトレース
・データから、タスク単位の状態遷移を認識し、各状態
のタスク数を更新する。最後に、コマンドの開始から終
了までの間の各点で、タスクの存在する最上位の状態を
空間の状態とすることにより、レスポンスの内訳として
の各状態の時間を調べる。なお、ユーザ端末に1対1に
対応してユーザ空間が割当てられ、1個のユーザ空間の
中には複数のタスクが存在する。
Next, state transitions for each task are recognized from the trace data obtained by the event tracer, and the number of tasks in each state is updated. Finally, at each point from the start to the end of the command, the time of each state as a breakdown of the response is examined by setting the topmost state where the task exists as the spatial state. Note that user spaces are allocated to user terminals in a one-to-one correspondence, and a plurality of tasks exist in one user space.

以下、本発明を図面を参照しつつ説明する。第1図は本
発明の1実施例の概要を示す図である。
Hereinafter, the present invention will be explained with reference to the drawings. FIG. 1 is a diagram showing an outline of one embodiment of the present invention.

第1図において、1は状態遷移認識部、2はタスク数更
新部、3は空間状態認識部、4は処理装置、5は記憶域
、6は磁気テープ装置、7は状態別タスク数カウンタ、
8はプリンタをそれぞれ示している。磁気テープ装置6
の磁気テープの中には、トレース・データが格納されて
いる。記憶域5は主記憶上に存在するものであり、この
中に磁気テープに格納されているトレース・データがロ
ーディングされる。状態別タスク数カウンタ7は、上記
の■、■、・・・、■に対応する8個のカウンタの集合
である。レスポンス・タイムの内訳は、プリンタ8によ
って印刷出力される。処理装置4の中のブロック1,2
.3は処理装置4の機能を示すものである。これらの機
能はプログラムによって実現可能である。状態遷移認識
部1は、記憶域5内のトレース・データを調べ、タスク
の状B遷移を認識する。タスク数更新部2は、状態遷移
認識部1によってタスクの状態遷移が検出された時、状
態別タスク数カウンタ7の内容を更新する。空間状態認
識部3は、タスク数カウンタ7の内容が更新された時に
、空間状態が変更されたか否かを調べ、空間の状態が或
る状態S1から他の状態S2に変更されたとき、状態S
1の継続時間を計数するものである。
In FIG. 1, 1 is a state transition recognition unit, 2 is a task number update unit, 3 is a spatial state recognition unit, 4 is a processing unit, 5 is a storage area, 6 is a magnetic tape device, 7 is a state-based task number counter,
8 each indicate a printer. Magnetic tape device 6
Trace data is stored on the magnetic tape. A storage area 5 exists on the main memory, and trace data stored on a magnetic tape is loaded into this area. The state-specific task number counter 7 is a set of eight counters corresponding to the above-mentioned ■, ■, . . . , ■. The details of the response time are printed out by the printer 8. Blocks 1 and 2 in processing device 4
.. 3 indicates the functions of the processing device 4. These functions can be realized by programs. The state transition recognition unit 1 examines the trace data in the storage area 5 and recognizes the state B transition of the task. The task number update unit 2 updates the contents of the state-specific task number counter 7 when the state transition recognition unit 1 detects a state transition of a task. The spatial state recognition unit 3 checks whether the spatial state has been changed when the contents of the task number counter 7 are updated, and when the spatial state has changed from a certain state S1 to another state S2, S
This is to count the duration of 1.

第2図は状態別タスク数カウンタの構成を示すものであ
る。状態別タスク数カウンタ7は1個のユーザ空間に対
して1個存在する。上述したように、状態別タスク数カ
ウンタ7は8個のカウンタの集合であり、第1番目のカ
ウンタは一ヒ述の■の状態に対応し、第2番目のカウン
タは■の状態に対応し、第8番目のカウンタは■の状態
に対応する。第1番目のカウンタはそのユーザ空間の中
で■の状B(即ちI10処理中状態)のタスクが何個存
在するかを示しており、第2番目のカウンタはそのユー
ザ空間の中で■の状態(即ちCPU処理中状B)のタス
クが何個存在するかを示しており、第8番目のカウンタ
はそのユーザ空間の中で■の状B(即ちその他の状B)
のタスクが何個存在するかを示している。
FIG. 2 shows the configuration of the state-specific task number counter. One status-specific task number counter 7 exists for one user space. As mentioned above, the state-specific task number counter 7 is a set of eight counters, the first counter corresponds to the state (■) mentioned above, and the second counter corresponds to the state (■). , the eighth counter corresponds to the state (■). The first counter indicates how many tasks with status B (i.e., I10 processing status) exist in the user space, and the second counter indicates how many tasks with status B (i.e., I10 processing status) exist in the user space. It shows how many tasks exist in the state (i.e., CPU processing status B), and the eighth counter indicates the number of tasks in the status B (i.e., other status B) in the user space.
It shows how many tasks there are.

第3図は状態別タスク数カンウタの内容の遷移の1例を
示す図である。最初は■の状態のタスクが1個存在する
。この時、空間の状態はI10処理中状態とされる。そ
のタスクがI10処理を終了し、CPU待ち状態になる
と、第1番目のカウンタの内容は0になり、第5番目の
カウンタの内容はIになる。この結果、空間の状態はC
PU待ち状態になる。CPU待ち状態のタスクがCPU
処理状態になり、新たにCPU待ちのタスクが現れると
、空間の状態はCPU処理中状態となる。
FIG. 3 is a diagram showing an example of the transition of the contents of the state-by-state task count counter. Initially, there is one task in state ■. At this time, the state of the space is set to the I10 processing state. When the task finishes the I10 process and enters the CPU wait state, the content of the first counter becomes 0 and the content of the fifth counter becomes I. As a result, the state of space is C
It enters the PU wait state. A task that is waiting for the CPU
When the space enters the processing state and a new task waiting for the CPU appears, the space becomes the CPU processing state.

CPU処理中状態のタスクが2個になっても、空間の状
態は変化しない。CPU処理中状態のタスクが1個にな
り、CPU待ちのタスクが1個となっても、空間の状態
は変化しない。
Even if the number of tasks in the CPU processing state becomes two, the state of the space does not change. Even if the number of tasks in the CPU processing state becomes one and the number of tasks waiting for the CPU becomes one, the state of the space does not change.

第4図はレスポンス・タイムの内訳分析処理の流れを説
明する図である。なお、■の処理は状態遷移認識部1に
よって行われ、■及び■の処理はタスク数更新部2によ
って行われ、■ないし■及び■と■の処理は空間状態認
識部3によって行われる。
FIG. 4 is a diagram illustrating the flow of response time breakdown analysis processing. Note that the processing of ■ is performed by the state transition recognition section 1, the processing of ■ and ■ is performed by the task number updating section 2, and the processing of ■ through ■ and between ■ and ■ is performed by the spatial state recognition section 3.

■ タスクの状態が変化するような事象が発生した。即
ち、或るタスクの状態がS、からSkに変化した。
■ An event occurs that changes the state of the task. That is, the state of a certain task changes from S to Sk.

■ 状9s、に対応するカウンタC8,の内容を−1す
る。
(2) The contents of the counter C8 corresponding to state 9s are decremented by 1.

■ カウンタC3iの内容がOか否かを調べ、YeSの
ときは■の処理を行い、Noのときは■の処理を行う。
(2) Check whether the content of the counter C3i is O or not. If Yes, perform the process (2), and if No, perform the process (2).

■ S!が最大順位の状態であったか否かを調べる。Y
esのときは■の処理を行い、Noのときは■の処理を
行う。
■S! Check whether or not is in the maximum ranking state. Y
If es, process ``■'' is performed, and if No, process ``■'' is performed.

■ S、の空間状態が終了したので、終了処理を行い、
空間状態時間の集計を行う。
■ Since the spatial state of S has ended, perform the end processing,
Calculates spatial state time.

■ C5、〉0 (j≠i)の中で最大順位を持つ状態
を探し、これを次の空間の状態とし、次の空間状態開始
処理を行う。
(2) Search for the state with the highest rank among C5,>0 (j≠i), make this the state of the next space, and perform the next space state start process.

■ 状態Svに対応するカウンタcst+の内容を+1
する。
■ Add 1 to the contents of counter cst+ corresponding to state Sv.
do.

■ カウンタC3kの内容が1であるか否かを調べる。■ Check whether the content of the counter C3k is 1 or not.

Yesのときは■の処理を行う。When the answer is Yes, process (■) is performed.

■ 状LQ s wがCs*>Oの中で最大順位のもの
か否かを調べる。Yesであれば、これを空間の状態と
する。
■ Check whether state LQ s w has the highest rank among Cs*>O. If Yes, this is the state of the space.

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

以上の説明から明らかなように、本発明によれば、レス
ポンス・タイムの内訳分析を容易に行うことが出来る。
As is clear from the above description, according to the present invention, breakdown analysis of response time can be easily performed.

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

第1図は本発明の1実施例の概要を示す図、第2図は状
態別タスク数カウンタの構成例を示す図、第3図は状態
別タスク数カンウタの内容の遷移の1例を示す図、第4
図は本発明のレスポンス・タイムの内訳分析処理の流れ
を示す図である。 1・・・状態遷移認識部、2・・・タスク数更新部、3
・・・空間状態認識部、4・・・処理装置、5・・・記
憶域、6・・・磁気テープ装置、7・・・状態別タスク
数カウンタ、8・・・プリンタ。 特許出願人   富士通株式会社 代理人弁理士  京 谷 四 部 本鉋哨の1笑虎例の概乎 第1図 Bqちりタスク数カウンタ 粥 2図 第 3図
FIG. 1 is a diagram showing an outline of an embodiment of the present invention, FIG. 2 is a diagram showing an example of the configuration of a state-specific task number counter, and FIG. 3 is a diagram showing an example of the transition of the contents of the state-specific task number counter. Figure, 4th
The figure is a diagram showing the flow of response time breakdown analysis processing according to the present invention. 1... State transition recognition unit, 2... Task number update unit, 3
. . . Space state recognition unit, 4. Processing device, 5. Storage area, 6. Magnetic tape device, 7. Task number counter by state, 8. Printer. Patent Applicant: Fujitsu Limited Representative Patent Attorney Kyotani 4 Outline of 1 Sho Tora Example of Honkisho Figure 1 Bq Dust Task Counter Porridge Figure 2 Figure 3

Claims (1)

【特許請求の範囲】 トレース・データが格納された記憶部(6)と、状態遷
移認識部(1)と、 タスク数更新部(2)と、 空間状態認識部(3)と 状態別タスク数カウンタ(7)と、 を具備するレスポンス・タイムの内訳分析方式であって
、 状態別タスク数カウンタ(7)は、それぞれがタスクの
取り得る複数の状態のそれぞれに1対1に対応する複数
のカウンタから構成され、 状態遷移認識部(1)は、記憶部(6)のトレース・デ
ータを調べてタスクの状態遷移を検出するように構成さ
れ、 タスク数更新部(2)は、状態遷移認識部(1)によっ
てタスクの状態遷移が検出された時、状態別タスク数カ
ウンタ(7)の該当するカウンタの内容を更新するよう
に構成され、 空間状態認識部(3)は、状態別タスク数カウンタ(7
)の内容を参照し、空間の状態が変化したか否かを調べ
、空間の状態が或る状態から他の状態に変化したことが
検出されたときには、直前の空間の状態の継続時間を計
数するように構成され、ていることを特徴とするレスポ
ンス・タイムの内訳分析方式。
[Claims] A storage unit (6) in which trace data is stored, a state transition recognition unit (1), a task number update unit (2), a spatial state recognition unit (3), and a number of tasks by state. A response time breakdown analysis method comprising: a counter (7); The state transition recognition unit (1) is configured to check the trace data in the storage unit (6) to detect the state transition of a task, and the task number update unit (2) is configured to recognize the state transition. When the state transition of a task is detected by the unit (1), the content of the corresponding counter of the state-specific task number counter (7) is updated, and the spatial state recognition unit (3) is configured to update the contents of the corresponding counter of the state-specific task number counter (7). Counter (7)
) to check whether the state of the space has changed, and when it is detected that the state of the space has changed from one state to another, count the duration of the previous state of the space. A response time breakdown analysis method configured to:
JP61088946A 1986-04-17 1986-04-17 Analyzing system for content of response time Granted JPS62245344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61088946A JPS62245344A (en) 1986-04-17 1986-04-17 Analyzing system for content of response time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61088946A JPS62245344A (en) 1986-04-17 1986-04-17 Analyzing system for content of response time

Publications (2)

Publication Number Publication Date
JPS62245344A true JPS62245344A (en) 1987-10-26
JPH0447342B2 JPH0447342B2 (en) 1992-08-03

Family

ID=13957038

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61088946A Granted JPS62245344A (en) 1986-04-17 1986-04-17 Analyzing system for content of response time

Country Status (1)

Country Link
JP (1) JPS62245344A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS564852A (en) * 1979-06-26 1981-01-19 Toshiba Corp Load measuring unit for operational control unit
JPS5971555A (en) * 1982-10-18 1984-04-23 Hitachi Ltd Performance monitoring system
JPS59208661A (en) * 1983-05-12 1984-11-27 Hitachi Ltd Method for measuring load of computer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS564852A (en) * 1979-06-26 1981-01-19 Toshiba Corp Load measuring unit for operational control unit
JPS5971555A (en) * 1982-10-18 1984-04-23 Hitachi Ltd Performance monitoring system
JPS59208661A (en) * 1983-05-12 1984-11-27 Hitachi Ltd Method for measuring load of computer

Also Published As

Publication number Publication date
JPH0447342B2 (en) 1992-08-03

Similar Documents

Publication Publication Date Title
US5392433A (en) Method and apparatus for intraprocess locking of a shared resource in a computer system
KR880001401B1 (en) Data processing system common bus utilization detection logic circuit
KR930000592B1 (en) Task searching apparatus
US5887167A (en) Synchronization mechanism for providing multiple readers and writers access to performance information of an extensible computer system
US5551041A (en) Wait for service request in an iconic programming system
JPS61272833A (en) Data processor
CN111831434A (en) Resource allocation method, device, storage medium and electronic equipment
EP0287295A2 (en) Multiple I/O bus virtual broadcast of programmed I/O instructions
US5418968A (en) System and method for controlling interrupt processing
JP2004078322A (en) Task management system, program, recording medium, and control method
CN111831411A (en) Task processing method and device, storage medium and electronic equipment
EP0547991A2 (en) Adaptive method for starting tasks in a multi-tasking operating system
CN111831432B (en) IO request scheduling method and device, storage medium and electronic equipment
CN111831436A (en) Scheduling method and device of IO (input/output) request, storage medium and electronic equipment
CN109800166B (en) Debugging method and device for embedded real-time operating system
JPS62245344A (en) Analyzing system for content of response time
EP0248992A2 (en) Display terminal
EP0508632B1 (en) Wait for service request in an iconic programming system
CN117311833B (en) Storage control method and device, electronic equipment and readable storage medium
JPH01282665A (en) On-line control system
JPH01126738A (en) System for control data set competition in execution of multiple job
JP3075359B2 (en) Program debugging start processing method
CN115757036A (en) Data reading method and device, storage medium and computer equipment
CN114969746A (en) Malicious script detection method, device, medium and product
CN114219417A (en) AI-based RPA system body-separating control method and device