JP4883139B2 - Monitoring system performance measuring program, monitoring system performance measuring method, and monitoring system performance measuring apparatus - Google Patents

Monitoring system performance measuring program, monitoring system performance measuring method, and monitoring system performance measuring apparatus Download PDF

Info

Publication number
JP4883139B2
JP4883139B2 JP2009129169A JP2009129169A JP4883139B2 JP 4883139 B2 JP4883139 B2 JP 4883139B2 JP 2009129169 A JP2009129169 A JP 2009129169A JP 2009129169 A JP2009129169 A JP 2009129169A JP 4883139 B2 JP4883139 B2 JP 4883139B2
Authority
JP
Japan
Prior art keywords
multiplicity
monitoring system
message
request
load
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2009129169A
Other languages
Japanese (ja)
Other versions
JP2010277333A (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.)
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 JP2009129169A priority Critical patent/JP4883139B2/en
Publication of JP2010277333A publication Critical patent/JP2010277333A/en
Application granted granted Critical
Publication of JP4883139B2 publication Critical patent/JP4883139B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、監視システムの性能を測定する技術に関する。   The present invention relates to a technique for measuring the performance of a monitoring system.

情報システムの統計情報抽出,ボトルネック解析などを目的として、情報システムで発生するメッセージをオンラインで順次処理し、リクエストを監視する監視システムが実用化されている。監視システムは、監視対象たる情報システムが最大負荷で作動しているときであっても、メッセージをオンラインで順次処理できる性能を有していなければならない。そこで、情報システムで発生するメッセージを一旦バッファリングし、バッファリングしたメッセージを一気に監視システムに出力することで、監視システムに負荷をかけて性能を測定する技術が提案されている。   For the purpose of extracting statistical information of an information system, bottleneck analysis, etc., a monitoring system that processes messages generated in the information system sequentially online and monitors requests has been put into practical use. The monitoring system must be capable of processing messages sequentially online even when the information system to be monitored is operating at maximum load. In view of this, a technique has been proposed in which a message generated in an information system is temporarily buffered, and the buffered message is output to the monitoring system all at once, thereby loading the monitoring system and measuring performance.

特開平6−83578号公報JP-A-6-83578

ところで、監視システムは、仕掛かり中のリクエスト数が上昇すると、CPU(Central Processing Unit),メモリなどのリソース消費量が増加するという特性を有している。しかしながら、従来提案技術では、メッセージ発生時間を考慮せずにメッセージがバッファに順次格納されるため、単位時間あたりのリクエスト数を表す「頻度」が上昇するが、リクエスト実行時間の重なり程度を表す「多重度」が変化しないという問題があった。このため、従来提案技術では、頻度と多重度との関係が正確でない負荷が用いられていたことから、監視システムの性能を精度良く測定することが困難であった。   By the way, the monitoring system has a characteristic that when the number of requests in progress increases, the amount of resources consumed by a CPU (Central Processing Unit), memory, and the like increases. However, in the conventionally proposed technique, since the messages are sequentially stored in the buffer without considering the message generation time, the “frequency” representing the number of requests per unit time is increased, but “ There was a problem that “multiplicity” did not change. For this reason, in the conventionally proposed technique, a load with an inaccurate relationship between frequency and multiplicity is used, and thus it is difficult to accurately measure the performance of the monitoring system.

そこで、本提案技術は従来の問題点に鑑み、リクエストの頻度と多重度との関係が正しい負荷を用いて、監視システムの性能を測定できるようにした技術を提供することを目的とする。   Therefore, in view of the conventional problems, the proposed technique aims to provide a technique that can measure the performance of a monitoring system using a load in which the relationship between the frequency of requests and the multiplicity is correct.

このため、本提案技術は、情報システムから監視システムへと流れ込むメッセージを所定時間バッファリングした結果から、リクエストの平均実行時間,第1の頻度及び第1の多重度との間にある相互関係を求める。また、本提案技術は、バッファリングしたメッセージを監視システムに送出した送出時間及びリクエスト数に基づいて第2の頻度を求め、相互関係に基づいて第2の頻度に対応する第2の多重度を求める。そして、本提案技術は、第1の多重度と第2の多重度との差分が所定値以下となるまで、以下の処理(1)〜(3)を繰り返す。   For this reason, the proposed technique shows a correlation between the average execution time of the request, the first frequency, and the first multiplicity based on the result of buffering the message flowing from the information system to the monitoring system for a predetermined time. Ask. Further, the proposed technique obtains the second frequency based on the transmission time and the number of requests for sending the buffered message to the monitoring system, and obtains the second multiplicity corresponding to the second frequency based on the mutual relationship. Ask. And this proposal technique repeats the following processes (1)-(3) until the difference of 1st multiplicity and 2nd multiplicity becomes below a predetermined value.

(1)第1の多重度に対する第2の多重度の比率で規定されるバッファリング回数だけ、情報システムから監視システムへと流れ込むメッセージを所定時間バッファリングすると共に、バッファリングした各メッセージ群をインターリーブした負荷を生成する。   (1) Buffering messages flowing from the information system to the monitoring system for a predetermined time by the number of times of buffering defined by the ratio of the second multiplicity to the first multiplicity, and interleaving each buffered message group Generated load.

(2)第1の多重度に第2の多重度を代入する。
(3)負荷を監視システムに送出した送出時間及びリクエスト数に基づいて第2の頻度を更新すると共に、相互関係に基づいて第2の頻度に対応する第2の多重度を更新する。
(2) Substitute the second multiplicity for the first multiplicity.
(3) The second frequency is updated based on the transmission time and the number of requests sent to the monitoring system, and the second multiplicity corresponding to the second frequency is updated based on the mutual relationship.

本提案技術によれば、情報システムから監視システムへと流れ込むメッセージは、リクエストの頻度と多重度との関係が正しくなるように調整されるので、監視システムの性能を精度良く測定することができる。また、本提案技術によれば、実際のメッセージを利用して監視システムの性能が測定されるため、例えば、情報システムのハードウエア又はソフトウエアの変更に伴うリクエスト負荷の変化にも対応することができる。   According to the proposed technique, the message flowing from the information system to the monitoring system is adjusted so that the relationship between the request frequency and the multiplicity is correct, so that the performance of the monitoring system can be accurately measured. Further, according to the proposed technique, the performance of the monitoring system is measured using an actual message, so that it is possible to cope with a change in request load caused by, for example, a change in information system hardware or software. it can.

情報システムで実行されるリクエストの説明図である。It is explanatory drawing of the request performed with an information system. リクエストの頻度と多重度との関係図である。It is a relationship diagram between request frequency and multiplicity. 性能測定装置の一例を示すシステム構成図である。It is a system configuration figure showing an example of a performance measuring device. 性能測定装置における各種機能の一例を示す機能ブロック図である。It is a functional block diagram which shows an example of the various functions in a performance measuring device. 監視システムの性能測定手順の概要図である。It is a schematic diagram of the performance measurement procedure of a monitoring system. コントロールモジュールの性能測定処理のフローチャートである。It is a flowchart of the performance measurement process of a control module. バッファリングモジュールのバッファリング処理のフローチャートである。It is a flowchart of the buffering process of a buffering module. リクエスト認識モジュールの現状負荷算出処理のフローチャートである。It is a flowchart of the present load calculation process of a request recognition module. 現状負荷算出手順の説明図である。It is explanatory drawing of the present load calculation procedure. バッファリングモジュールの頻度測定処理のフローチャートである。It is a flowchart of the frequency measurement process of a buffering module. バッファリングモジュールの多重度調整処理のフローチャートである。It is a flowchart of the multiplicity adjustment process of a buffering module. メッセージ群のインターリーブ方法の説明図である。It is explanatory drawing of the interleaving method of a message group. バッファリングモジュールの間引き処理のフローチャートである。It is a flowchart of a thinning process of a buffering module. リクエスト認識モジュールの紐付け処理のフローチャートである。It is a flowchart of the link process of a request recognition module. 多重度Nの負荷生成方法の説明図である。It is explanatory drawing of the load production | generation method of the multiplicity N. 多重度1.5の負荷生成方法の説明図である。It is explanatory drawing of the load production | generation method of multiplicity 1.5. 多重度の収束状態の説明図である。It is explanatory drawing of the convergence state of multiplicity.

以下、添付された図面を参照して本提案技術を詳述する。
最初に、リクエストの頻度と多重度との関係について考察する。
情報システムにおいて、図1に示すように、時間ΔT[秒]の間にリクエスト1〜リクエストN(N:自然数)が実行されたと仮定する。この場合、リクエストの頻度F[リクエスト/秒]は、F=N/ΔTとなる。また、リクエストnの実行時間を「time(n)」で表すと、リクエストの多重度Mは、次式のようになる。
Hereinafter, the proposed technique will be described in detail with reference to the accompanying drawings.
First, consider the relationship between request frequency and multiplicity.
In the information system, as shown in FIG. 1, it is assumed that requests 1 to N (N: natural number) are executed during time ΔT [seconds]. In this case, the request frequency F [request / second] is F = N / ΔT. Further, when the execution time of the request n is represented by “time (n)”, the multiplicity M of the requests is represented by the following expression.

Figure 0004883139
Figure 0004883139

リクエストの頻度Fと多重度Mとの関係式を、変換定数Rを用いて、M=R×Fと表し、この関係式に頻度F及び多重度Mの具体的数値を代入して整理すると、次式のようになる。   When the relational expression between the request frequency F and the multiplicity M is expressed as M = R × F using the conversion constant R, and the specific numerical values of the frequency F and the multiplicity M are substituted into this relational expression, It becomes like the following formula.

Figure 0004883139
Figure 0004883139

この式を参照すると、変換定数Rは、時間ΔTの間に実行されたリクエスト1〜リクエストNの平均実行時間[秒/リクエスト]であると理解できる。従って、所定時間の間に実行されたリクエストの平均実行時間を求めれば、図2に示すように、多重度M=平均実行時間R×頻度Fという関係から、リクエストの頻度Fに対応した多重度Mを演算可能であることが理解できる。   Referring to this equation, it can be understood that the conversion constant R is the average execution time [seconds / request] of the requests 1 to N executed during the time ΔT. Therefore, if the average execution time of the requests executed during the predetermined time is obtained, the multiplicity corresponding to the request frequency F is obtained from the relationship of multiplicity M = average execution time R × frequency F as shown in FIG. It can be understood that M can be calculated.

次に、本提案技術の一実施形態について説明する。
図3は、本提案技術を具現化した性能測定装置の一例を示す。
情報システムの一例としての業務システム10は、コンピュータを用いて構築される性能測定装置20を介して、監視システム30に接続される。業務システム10は、ユーザからのリクエストを実行するときに、リクエストメッセージで始まりレスポンスメッセージで終わる複数のメッセージからなるメッセージ群40を発行する。メッセージ群40の各メッセージは、発行元たるリクエスト,リクエストメッセージ及びレスポンスメッセージを特定可能とすべく、リクエストに関する属性値を含む。性能測定装置20は、業務システム10で発行されたメッセージを取り込み、監視システム30の性能を測定するための負荷を生成し、この負荷を監視システム30に一気に送出して性能を測定する。監視システム30は、業務システム10で発行されたリクエストを監視し、例えば、業務システム10の統計情報抽出,ボトルネック解析などを行う。
Next, an embodiment of the proposed technique will be described.
FIG. 3 shows an example of a performance measuring apparatus that embodies the proposed technique.
A business system 10 as an example of an information system is connected to a monitoring system 30 via a performance measurement device 20 constructed using a computer. When executing a request from a user, the business system 10 issues a message group 40 including a plurality of messages that start with a request message and end with a response message. Each message of the message group 40 includes an attribute value related to the request so that the request, request message, and response message that are issued can be specified. The performance measurement device 20 takes in a message issued by the business system 10, generates a load for measuring the performance of the monitoring system 30, sends the load to the monitoring system 30 at a stretch, and measures the performance. The monitoring system 30 monitors a request issued by the business system 10 and performs, for example, statistical information extraction and bottleneck analysis of the business system 10.

性能測定装置20は、コンピュータ読取可能な記録媒体からハードディスクなどのストレージにインストールされた性能測定プログラムを実行することで、コントロールモジュール22,バッファリングモジュール24及びリクエスト認識モジュール26を具現化する。   The performance measurement device 20 implements a control module 22, a buffering module 24, and a request recognition module 26 by executing a performance measurement program installed in a storage such as a hard disk from a computer-readable recording medium.

コントロールモジュール22は、性能測定装置20の全体を制御し、具体的には、図4に示すように、バッファリングモジュール24及びリクエスト認識モジュール26を制御するコントロール部22Aを含む。   The control module 22 controls the entire performance measuring apparatus 20, and specifically includes a control unit 22A for controlling the buffering module 24 and the request recognition module 26 as shown in FIG.

バッファリングモジュール24は、業務システム10から監視システム30へと流れ込むメッセージのバッファリング,リクエストの頻度測定,目標多重度の負荷生成及び負荷出力などを行う。バッファリングモジュール24は、具体的には、図4に示すように、バッファ24A,バッファリング部24B,負荷生成部24C,負荷送出部24D及び性能測定部24Eを含む。バッファ24Aは、例えば、メモリ又はファイルからなり、メッセージなどを一時的に保存する。バッファリング部24Bは、業務システム10で発行されたメッセージを受信すると、そのメッセージをバッファ24Aに受信順に保存する。負荷生成部24Cは、バッファ24Aに保存されたメッセージを利用して、目標多重度の負荷を生成する。負荷送出部24Dは、負荷生成部24Cにより生成された負荷を監視システム30に一気に送出する。性能測定部24Eは、負荷送出部24Dにより送出される負荷、即ち、リクエストの送出速度を監視することで、監視システム30の性能を測定する。   The buffering module 24 performs buffering of messages flowing from the business system 10 to the monitoring system 30, measurement of request frequency, load generation of target multiplicity, load output, and the like. Specifically, as shown in FIG. 4, the buffering module 24 includes a buffer 24A, a buffering unit 24B, a load generation unit 24C, a load sending unit 24D, and a performance measurement unit 24E. The buffer 24A is composed of, for example, a memory or a file, and temporarily stores a message or the like. When the buffering unit 24B receives a message issued by the business system 10, the buffering unit 24B stores the message in the buffer 24A in the order of reception. The load generation unit 24C generates a target multiplicity load using the message stored in the buffer 24A. The load sending unit 24D sends the load generated by the load generating unit 24C to the monitoring system 30 at once. The performance measurement unit 24E measures the performance of the monitoring system 30 by monitoring the load transmitted by the load transmission unit 24D, that is, the request transmission rate.

なお、コントロールモジュール22により制御されるバッファリングモジュール24は、第2の頻度に対応する第2の多重度を求めるステップ及び手段、並びに、第1の多重度と第2の多重度との差分が所定値以下となるまで処理を繰り返すステップ及び手段として機能する。   The buffering module 24 controlled by the control module 22 determines the second multiplicity corresponding to the second frequency and means, and the difference between the first multiplicity and the second multiplicity. It functions as a step and means for repeating the process until it becomes a predetermined value or less.

リクエスト認識モジュール26は、バッファリングモジュール24によりバッファリングされたメッセージをリクエストごとに紐付け、現状負荷として、リクエストの平均実行時間R,頻度F0及び多重度M0を算出する。リクエスト認識モジュール26は、具体的には、図4に示すように、紐付け部26A及び現状負荷算出部26Bを含む。紐付け部26Aは、バッファリングモジュール24のバッファ24Aに保存されたメッセージを、リクエストごとに紐付ける。現状負荷算出部26Bは、紐付け部26Aにより紐付けられたリクエストの現状負荷、即ち、平均実行時間R,頻度F0及び多重度M0を算出する。ここで、紐付け部26Aによるメッセージの紐付け処理は、例えば、本出願人が提案した特願2008−207889などで説明されている方式が適用できる。   The request recognition module 26 associates the message buffered by the buffering module 24 for each request, and calculates the average execution time R, frequency F0, and multiplicity M0 of the request as the current load. Specifically, as shown in FIG. 4, the request recognition module 26 includes a linking unit 26A and a current load calculation unit 26B. The associating unit 26A associates a message stored in the buffer 24A of the buffering module 24 for each request. The current load calculation unit 26B calculates the current load of the request linked by the linking unit 26A, that is, the average execution time R, the frequency F0, and the multiplicity M0. Here, for example, the method described in Japanese Patent Application No. 2008-207889 proposed by the present applicant can be applied to the message linking process by the linking unit 26A.

なお、コントロールモジュール22により制御されるリクエスト認識モジュール26は、リクエストの平均実行時間,第1の頻度及び第1の多重度の間にある相関関係を求めるステップ及び手段として機能する。   The request recognition module 26 controlled by the control module 22 functions as a step and means for obtaining a correlation among the average execution time of requests, the first frequency, and the first multiplicity.

図5は、監視システム30の性能測定手順の概要を示す。
ステップ1(図では「S1」と略記する。以下同様。)において、性能測定装置20を利用して監視システム30の性能を測定しようとする操作者が、例えば、経験などからメッセージをバッファリングする時間ΔTを決定する。また、操作者が、業務システム10で発行されたメッセージが性能測定装置20を経由して監視システム30に流れ込むように、メッセージの流れを変更する。そして、操作者が、時間ΔTを引数として、性能測定装置20のコントロールモジュール22に対して性能測定指令を送信する。
FIG. 5 shows an outline of the performance measurement procedure of the monitoring system 30.
In step 1 (abbreviated as “S1” in the figure, the same applies hereinafter), an operator who intends to measure the performance of the monitoring system 30 using the performance measuring device 20 buffers a message based on experience, for example. The time ΔT is determined. Further, the operator changes the message flow so that the message issued by the business system 10 flows into the monitoring system 30 via the performance measuring device 20. Then, the operator transmits a performance measurement command to the control module 22 of the performance measuring device 20 using the time ΔT as an argument.

ステップ2では、性能測定装置20のコントロールモジュール22,バッファリングモジュール24及びリクエスト認識モジュール26が協働して、業務システム10で実行されたリクエストの現状負荷(平均実行時間R,頻度F0及び多重度M0)を確認する。即ち、各モジュールが協働して、業務システム10から監視システム30へと流れ込むメッセージをバッファ24Aに保存し、そのメッセージをリクエストごとに紐付けすることで、リクエストの現状負荷を求める。   In step 2, the current load (average execution time R, frequency F0, and multiplicity) of requests executed in the business system 10 in cooperation with the control module 22, the buffering module 24, and the request recognition module 26 of the performance measuring apparatus 20. Check M0). That is, the modules cooperate to store a message flowing from the business system 10 to the monitoring system 30 in the buffer 24A, and link the message for each request to obtain the current load of the request.

ステップ3では、性能測定装置20のコントロールモジュール22及びバッファリングモジュール24が協働して、バッファ24Aに保存されたメッセージを監視システム30に送出したときのリクエストの頻度Fiを測定する。   In step 3, the control module 22 and the buffering module 24 of the performance measuring apparatus 20 cooperate to measure the frequency Fi of requests when the message stored in the buffer 24A is sent to the monitoring system 30.

ステップ4では、性能測定装置20のコントロールモジュール22,バッファリングモジュール24及びリクエスト認識モジュール26が協働して、監視システム30に送出する負荷の多重度を調整する。なお、コントロールモジュール22は、多重度が目標多重度に収束したならば性能測定を終了させる一方、多重度が目標多重度に収束しなければ処理をステップ3へと戻す。   In step 4, the control module 22, the buffering module 24, and the request recognition module 26 of the performance measuring device 20 cooperate to adjust the multiplicity of the load sent to the monitoring system 30. If the multiplicity has converged to the target multiplicity, the control module 22 ends the performance measurement. If the multiplicity has not converged to the target multiplicity, the control module 22 returns the process to step 3.

図6は、コントロールモジュール22が、性能測定指令を受信したことを契機として実行する性能測定処理を示す。
ステップ11では、コントロール部22Aが、業務システム10で実行されているリクエストの現状負荷を確認すべく、バッファリングモジュール24に現状負荷確認要求を送信する。
FIG. 6 shows a performance measurement process that is executed when the control module 22 receives a performance measurement command.
In step 11, the control unit 22 </ b> A transmits a current load confirmation request to the buffering module 24 in order to confirm the current load of the request being executed in the business system 10.

ステップ12では、コントロール部22Aが、現状負荷として、リクエストの平均実行時間R,頻度F0及び多重度M0を受信したか否かを判定する。そして、コントロール部22Aが、現状負荷を受信したと判定すれば処理をステップ13へと進める一方(Yes)、現状負荷を受信していないと判定すれば受信判定処理を繰り返す(No)。   In step 12, the control unit 22A determines whether or not the average execution time R, frequency F0, and multiplicity M0 of the request have been received as the current load. If the control unit 22A determines that the current load has been received, the process proceeds to step 13 (Yes). If it is determined that the current load has not been received, the reception determination process is repeated (No).

ステップ13では、コントロール部22Aが、現状多重度Miに多重度M0を代入(設定)する。
ステップ14では、コントロール部22Aが、性能測定装置20から監視システム30に送出されるリクエストの頻度Fiを測定すべく、バッファリングモジュール24に頻度測定要求を送信する。
In step 13, the control unit 22A substitutes (sets) the multiplicity M0 for the current multiplicity Mi.
In step 14, the control unit 22 </ b> A transmits a frequency measurement request to the buffering module 24 in order to measure the frequency Fi of the request sent from the performance measuring device 20 to the monitoring system 30.

ステップ15では、コントロール部22Aが、頻度Fiを受信したか否かを判定する。そして、コントロール部22Aが、頻度Fiを受信したと判定すれば処理をステップ16へと進める一方(Yes)、頻度Fiを受信していないと判定すれば受信判定処理を繰り返す(No)。   In step 15, the control unit 22A determines whether or not the frequency Fi has been received. If the control unit 22A determines that the frequency Fi has been received, the process proceeds to step 16 (Yes), while if it determines that the frequency Fi has not been received, the reception determination process is repeated (No).

ステップ16では、コントロール部22Aが、多重度M=平均実行時間R×頻度Fという関係式を用いて、頻度Fiに対応する目標多重度Mjを算出する(Mj=R×Fi)。
ステップ17では、コントロール部22Aが、現状多重度Miと目標多重度Mjとの差の絶対値(差分)が所定値εより大きいか否かを判定する。ここで、所定値εは、現状多重度Miが目標多重度Mjを中心とした所定範囲に収束したか否かを判定するための閾値であって、例えば、コンピュータの処理能力,演算精度などを考慮して決定される。そして、コントロール部22Aが、現状多重度Miと目標多重度Mjとの差の絶対値が所定値εより大きいと判定すれば処理をステップ18へと進める一方(Yes)、現状多重度Miと目標多重度Mjとの差の絶対値が所定値ε以下であると判定すれば処理をステップ21へと進める(No)。
In step 16, the control unit 22A calculates a target multiplicity Mj corresponding to the frequency Fi using a relational expression of multiplicity M = average execution time R × frequency F (Mj = R × Fi).
In Step 17, the control unit 22A determines whether or not the absolute value (difference) of the difference between the current multiplicity Mi and the target multiplicity Mj is greater than a predetermined value ε. Here, the predetermined value ε is a threshold value for determining whether or not the current multiplicity Mi has converged to a predetermined range centered on the target multiplicity Mj. Decided in consideration. If the control unit 22A determines that the absolute value of the difference between the current multiplicity Mi and the target multiplicity Mj is greater than the predetermined value ε, the process proceeds to step 18 (Yes), while the current multiplicity Mi and the target multiplicity Mi If it is determined that the absolute value of the difference from the multiplicity Mj is equal to or less than the predetermined value ε, the process proceeds to step 21 (No).

ステップ18では、コントロール部22Aが、負荷の多重度を目標多重度Mjに近づけるべく、バッファリングモジュール24に多重度調整要求を送信する。
ステップ19では、コントロール部22Aが、多重度調整完了通知を受信したか否かを判定する。そして、コントロール部22Aが、多重度調整完了通知を受信したと判定すれば処理をステップ20へと進める一方(Yes)、多重度調整完了通知を受信していないと判定すれば受信判定処理を繰り返す(No)。
In step 18, the control unit 22 </ b> A transmits a multiplicity adjustment request to the buffering module 24 in order to bring the load multiplicity close to the target multiplicity Mj.
In step 19, the control unit 22A determines whether or not a multiplicity adjustment completion notification has been received. If the control unit 22A determines that the multiplicity adjustment completion notification has been received, the process proceeds to step 20 (Yes), while if it determines that the multiplicity adjustment completion notification has not been received, the reception determination process is repeated. (No).

ステップ20では、コントロール部22Aが、現状多重度Miに目標多重度Mjを代入(設定)し、処理をステップ14へと戻す。
ステップ21では、コントロール部22Aが、現状多重度Miが目標多重度Miを中心とした所定範囲に収束したので、監視システム30の最大性能値として頻度Fiを出力する。
In Step 20, the control unit 22A substitutes (sets) the target multiplicity Mj for the current multiplicity Mi, and returns the processing to Step 14.
In step 21, the control unit 22 </ b> A outputs the frequency Fi as the maximum performance value of the monitoring system 30 because the current multiplicity Mi has converged to a predetermined range centered on the target multiplicity Mi.

図7は、バッファリングモジュール24が、現状負荷確認要求を受信したことを契機として実行するバッファリング処理を示す。
ステップ31では、バッファリング部24Bが、業務システム10から監視システム30へと流れ込むメッセージにタイムスタンプを付加しつつ、そのメッセージをバッファ24Aに順次保存する。
FIG. 7 shows a buffering process executed when the buffering module 24 receives a current load confirmation request.
In step 31, the buffering unit 24B sequentially stores the messages in the buffer 24A while adding a time stamp to the messages flowing from the business system 10 to the monitoring system 30.

ステップ32では、バッファリング部24Bが、メッセージのバッファリングを開始後時間ΔT経過したか否かを判定する。そして、バッファリング部24Bが、バッファリング開始後時間ΔT経過したと判定すれば処理をステップ33へと進める一方(Yes)、バッファリング開始後時間ΔT経過していないと判定すれば処理をステップ31へと戻す(No)。   In step 32, the buffering unit 24B determines whether or not a time ΔT has elapsed since the start of message buffering. If the buffering unit 24B determines that the time ΔT has elapsed since the start of buffering, the process proceeds to step 33 (Yes), whereas if it determines that the time ΔT has not elapsed, the process proceeds to step 31. Return to No (No).

ステップ33では、バッファリング部24Bが、バッファリングが完了したことを通知すべく、リクエスト認識モジュール26にバッファリングしたメッセージ(バッファリングメッセージ)を一括送信する。   In step 33, the buffering unit 24B collectively transmits the buffered message (buffering message) to the request recognition module 26 in order to notify that the buffering is completed.

図8は、リクエスト認識モジュール26が、バッファリングメッセージを受信したことを契機として実行する現状負荷算出処理を示す。
ステップ41では、紐付け部26Aが、バッファリングメッセージに含まれる各メッセージをリクエストごとに紐付け、リクエストを特定するための識別子を各メッセージに付加する。
FIG. 8 shows a current load calculation process executed when the request recognition module 26 receives a buffering message.
In step 41, the associating unit 26A associates each message included in the buffering message for each request, and adds an identifier for identifying the request to each message.

ステップ42では、現状負荷算出部26Bが、現状負荷としてのリクエストの平均実行時間R,頻度F0及び多重度M0を算出する。即ち、現状負荷算出部26Bは、ステップ41で紐付けられたリクエスト数Nを求めると共に、各リクエストのリクエストメッセージ及びレスポンスメッセージのタイムスタンプを参照して、各リクエストの実行時間を求める。また、現状負荷算出部26Bは、各リクエストの実行時間を積算した積算値をリクエスト数Nで除算することで、リクエストの平均実行時間Rを求めると共に、リクエスト数Nを時間ΔTで除算することで、頻度F0を求める。そして、現状負荷算出部26Bは、多重度M=平均実行時間R×頻度Fという関係式を利用して、頻度F0に対応した多重度M0を求める。   In step 42, the current load calculation unit 26B calculates the average execution time R, frequency F0, and multiplicity M0 of requests as the current load. That is, the current load calculation unit 26B obtains the number of requests N linked in step 41, and obtains the execution time of each request by referring to the request message of each request and the time stamp of the response message. Further, the current load calculation unit 26B obtains the average execution time R of requests by dividing the integrated value obtained by integrating the execution times of the requests by the number of requests N, and divides the number of requests N by the time ΔT. The frequency F0 is obtained. Then, the current load calculation unit 26B obtains a multiplicity M0 corresponding to the frequency F0 using a relational expression of multiplicity M = average execution time R × frequency F.

ステップ43では、現状負荷算出部26Bが、コントロールモジュール22に現状負荷(平均実行時間R,頻度F0及び多重度M0)を送信する。
かかるバッファリング処理及び現状負荷算出処理によれば、図9に示すように、業務システム10から監視システム30へと流れ込むメッセージは、時間ΔTの間、タイムスタンプ(t11〜t24)を付加されつつバッファ24Aに順次保存される。メッセージの保存が完了すると、バッファリングメッセージに含まれるメッセージは、リクエストごとに紐付けられる。そして、メッセージの紐付け結果から、リクエストの現状負荷として、平均実行時間R,頻度F0及び多重度M0が求められる。従って、これ以降の処理では、多重度M=平均実行時間R×頻度Fという関係式を利用して、頻度に対応した多重度を演算することができるようになる。
In step 43, the current load calculation unit 26B transmits the current load (average execution time R, frequency F0, and multiplicity M0) to the control module 22.
According to the buffering process and the current load calculation process, as shown in FIG. 9, a message flowing from the business system 10 to the monitoring system 30 is buffered with a time stamp (t11 to t24) added for a time ΔT. 24A is sequentially stored. When the message storage is completed, the message included in the buffering message is linked for each request. Then, the average execution time R, frequency F0, and multiplicity M0 are obtained as the current load of the request from the message linking result. Accordingly, in the subsequent processing, the multiplicity corresponding to the frequency can be calculated using the relational expression M multiplicity M = average execution time R × frequency F.

図10は、バッファリングモジュール24が、頻度測定要求を受信したことを契機として実行する頻度測定処理を示す。
ステップ51では、性能測定部24Eが、バッファ24Aに保存されているメッセージを監視システム30に送出するのに要した送信時間ΔT’の測定を開始する。
FIG. 10 shows a frequency measurement process that is executed when the buffering module 24 receives a frequency measurement request.
In step 51, the performance measuring unit 24E starts measuring the transmission time ΔT ′ required for sending the message stored in the buffer 24A to the monitoring system 30.

ステップ52では、性能測定部24Eが、バッファ24Aに未処理のメッセージが残っているか否かを判定する。そして、性能測定部24Eが、未処理のメッセージが残っていると判定すれば処理をステップ53へと進める一方(Yes)、未処理のメッセージが残っていないと判定すれば処理をステップ56へと進める(No)。   In step 52, the performance measurement unit 24E determines whether or not an unprocessed message remains in the buffer 24A. If the performance measurement unit 24E determines that an unprocessed message remains, the process proceeds to step 53 (Yes), whereas if it determines that no unprocessed message remains, the process proceeds to step 56. Advance (No).

ステップ53では、性能測定部24Eが、メッセージに付加されている識別子を参照し、監視システム30に送出するリクエスト数N’を計数する。
ステップ54では、性能測定部24Eが、後述する処理によりメッセージに付加された間引フラグを参照し、監視システム30に送出しようとするメッセージが間引き対象外であるか否かを判定する。そして、性能測定部24Eが、メッセージが間引き対象外であると判定すれば処理をステップ55へと進める一方(Yes)、メッセージが間引き対象外でないと判定すれば処理をステップ52へと戻す(No)。
In step 53, the performance measurement unit 24E refers to the identifier added to the message and counts the number of requests N ′ transmitted to the monitoring system 30.
In step 54, the performance measurement unit 24E refers to the thinning flag added to the message by the process described later, and determines whether or not the message to be sent to the monitoring system 30 is out of the thinning target. If the performance measuring unit 24E determines that the message is not subject to thinning, the process proceeds to step 55 (Yes), while if the message is determined not to be subject to thinning, the process returns to step 52 (No ).

ステップ55では、負荷送出部24Dが、監視システム30にメッセージを送出する。その後、性能測定部24Eが、処理をステップ52へと戻す。
ステップ56では、性能測定部24Eが、送信時間ΔT’の測定を停止する。
In step 55, the load sending unit 24 </ b> D sends a message to the monitoring system 30. Thereafter, the performance measurement unit 24E returns the process to step 52.
In step 56, the performance measurement unit 24E stops measuring the transmission time ΔT ′.

ステップ57では、性能測定部24Eが、頻度Fi=リクエスト数N’/送信時間ΔT’という式を利用して、リクエストの頻度Fiを算出する。
ステップ58では、負荷送出部24Dが、監視システム30に間引いたメッセージを送出する。
In step 57, the performance measurement unit 24E calculates the request frequency Fi using the formula: Frequency Fi = number of requests N ′ / transmission time ΔT ′.
In step 58, the load sending unit 24D sends the thinned message to the monitoring system 30.

ステップ59では、性能測定部24Eが、コントロールモジュール22に頻度Fiを送信する。
かかる頻度測定処理によれば、バッファ24Aに保存される複数のメッセージのうち、間引フラグが付加されていないメッセージを監視システム30に送出するのに要した時間ΔT’が測定される。また、バッファ24Aに保存される各メッセージの識別子が順次参照され、監視システム30に送出するリクエスト数N’が計数される。そして、リクエスト数N’を時間ΔT’で除算することで、リクエストの頻度Fiが算出される。一方、間引フラグが付加されているメッセージは、頻度Fiの測定完了後、監視システム30で処理されるべく、監視システム30へと送出される。
In step 59, the performance measurement unit 24 </ b> E transmits the frequency Fi to the control module 22.
According to the frequency measurement process, the time ΔT ′ required to send a message to which the thinning flag is not added to the monitoring system 30 among the plurality of messages stored in the buffer 24A is measured. Further, the identifier of each message stored in the buffer 24A is sequentially referred to, and the number of requests N ′ sent to the monitoring system 30 is counted. Then, the request frequency Fi is calculated by dividing the number of requests N ′ by the time ΔT ′. On the other hand, the message with the thinning flag added is sent to the monitoring system 30 to be processed by the monitoring system 30 after the measurement of the frequency Fi is completed.

図11は、バッファリングモジュール24が、多重度調整要求を受信したことを契機として実行する多重度調整処理を示す。
ステップ61では、負荷生成部24Cが、目標多重度Mjに対応した負荷を生成するためにメッセージをバッファリングする回数Nを算出する。即ち、負荷生成部24Cは、現状多重度Miに対する目標多重度Mjの比率(Mj/Mi)以上となる最小整数を求め、これをバッファリング回数Nとする。
FIG. 11 shows multiplicity adjustment processing that is executed when the buffering module 24 receives a multiplicity adjustment request.
In step 61, the load generation unit 24C calculates the number N of times that the message is buffered in order to generate a load corresponding to the target multiplicity Mj. That is, the load generation unit 24C calculates a minimum integer that is equal to or greater than the ratio (Mj / Mi) of the target multiplicity Mj to the current multiplicity Mi, and sets this as the buffering count N.

ステップ62では、バッファリング部24Bが、時間ΔTの間、業務システム10から監視システム30へと流れ込むメッセージをバッファ24Aに順次保存する。
ステップ63では、負荷生成部24Cが、メッセージのバッファリングをN回実行したか否かを判定する。そして、負荷生成部24Cが、バッファリングをN回実行したと判定すれば処理をステップ64へと進める一方(Yes)、バッファリングをN回実行していないと判定すれば処理をステップ62へと戻す(No)。
In step 62, the buffering unit 24B sequentially stores the messages flowing from the business system 10 to the monitoring system 30 in the buffer 24A for the time ΔT.
In step 63, the load generation unit 24C determines whether or not message buffering has been executed N times. If the load generation unit 24C determines that buffering has been performed N times, the process proceeds to step 64 (Yes), whereas if it is determined that buffering has not been performed N times, the process proceeds to step 62. Return (No).

ステップ64では、負荷生成部24Cが、バッファリングしたN個のメッセージ群をインターリーブする。即ち、負荷生成部24Cが、図12に示すように、バッファリングを2回実行した場合には、バッファ24Aに保存された2つメッセージ群40からメッセージを順番に取り出して並べることで、多重度2の負荷を生成する。   In step 64, the load generation unit 24C interleaves the buffered N message groups. That is, as shown in FIG. 12, when the load generation unit 24C executes buffering twice, the multiplicity is obtained by sequentially extracting and arranging the messages from the two message groups 40 stored in the buffer 24A. Two loads are generated.

ステップ65では、負荷生成部24Cが、リクエスト認識モジュール26にメッセージの紐付け要求を送信する。
ステップ66では、負荷生成部24Cが、紐付け完了通知を受信したか否かを判定する。そして、負荷生成部24Cが、紐付け完了通知を受信したと判定すれば処理をステップ67へと進める一方(Yes)、紐付け完了通知を受信していないと判定すれば受信判定処理を繰り返す(No)。
In step 65, the load generation unit 24 </ b> C transmits a message association request to the request recognition module 26.
In step 66, the load generation unit 24C determines whether or not a linking completion notification has been received. If the load generation unit 24C determines that the association completion notification has been received, the process proceeds to step 67 (Yes), while if it determines that the association completion notification has not been received, the reception determination process is repeated ( No).

ステップ67では、負荷生成部24Cが、現状多重度Miに対する目標多重度Mjの比率(Mj/Mi)が実数であるか否かを判定する。そして、負荷生成部24Cが、比率が実数であると判定すれば処理をステップ68へと進める一方(Yes)、比率が実数でないと判定すれば処理をステップ69へと進める(No)。   In step 67, the load generator 24C determines whether or not the ratio (Mj / Mi) of the target multiplicity Mj to the current multiplicity Mi is a real number. If the load generation unit 24C determines that the ratio is a real number, the process proceeds to step 68 (Yes), while if it determines that the ratio is not a real number, the process proceeds to step 69 (No).

ステップ68では、負荷生成部24Cが、多重度Nの負荷から間引くリクエストを決定する間引き処理のサブルーチンをコールする。
ステップ69では、負荷生成部24Cが、コントロールモジュール22に多重度調整完了通知を送信する。
In step 68, the load generation unit 24C calls a thinning process subroutine for determining a request to be thinned out from a load of multiplicity N.
In step 69, the load generation unit 24 </ b> C transmits a multiplicity adjustment completion notification to the control module 22.

図13は、バッファリングモジュール24が実行する間引き処理を示す。
ステップ71では、負荷生成部24Cが、リクエストごとに紐付けが行われた多重度Nの負荷から、1つのリクエストを順番に選択する。
FIG. 13 shows a thinning process executed by the buffering module 24.
In step 71, the load generation unit 24C selects one request in order from the load of multiplicity N that is associated with each request.

ステップ72では、負荷生成部24Cが、Nまでの範囲で乱数を生成する。
ステップ73では、負荷生成部24Cが、現状多重度Miを目標多重度Mjで除算した除算値(Mi/Mj)が乱数値より大きいか否かを判定する。そして、負荷生成部24Cが、除算値が乱数値より大きいと判定すれば処理をステップ74へと進める一方(Yes)、除算値が乱数値以下であると判定すれば処理をステップ75へと進める(No)。
In step 72, the load generation unit 24C generates random numbers in the range up to N.
In step 73, the load generating unit 24C determines whether or not a division value (Mi / Mj) obtained by dividing the current multiplicity Mi by the target multiplicity Mj is larger than a random value. If the load generation unit 24C determines that the division value is greater than the random value, the process proceeds to step 74 (Yes), whereas if the load generation unit 24C determines that the division value is equal to or less than the random value, the process proceeds to step 75. (No).

ステップ74では、負荷生成部24Cが、ステップ71で選択したリクエストの各メッセージに間引き対象であることを示す間引フラグを付加する。
ステップ75では、負荷生成部24Cが、負荷に含まれるすべてのリクエストを処理したか否かを判定する。そして、負荷生成部24Cが、すべてのリクエストを処理したと判定すれば処理をメインルーチンに戻す一方(Yes)、すべてのリクエストを処理していないと判定すれば処理をステップ71へと戻す(No)。
In step 74, the load generation unit 24C adds a thinning flag indicating that it is a thinning target to each message of the request selected in step 71.
In step 75, the load generation unit 24C determines whether or not all requests included in the load have been processed. If the load generation unit 24C determines that all requests have been processed, the process returns to the main routine (Yes), whereas if it determines that all requests have not been processed, the process returns to step 71 (No). ).

図14は、リクエスト認識モジュール26が、メッセージの紐付け要求を受信したことを契機として実行する紐付け処理を示す。
ステップ71では、紐付け部26Aが、多重度Nの負荷に含まれる各メッセージをリクエストごとに紐付け、リクエストを特定するための識別子を各メッセージに付加する。
FIG. 14 shows a linking process executed when the request recognition module 26 receives a message linking request.
In step 71, the associating unit 26A associates each message included in the load of multiplicity N for each request, and adds an identifier for identifying the request to each message.

ステップ72では、紐付け部26Aが、バッファリングモジュール24に紐付け完了通知を送信する。
かかる多重度調整処理,間引き処理及び紐付け処理によれば、現状多重度Miに対する目標多重度Mjの比率(Mj/Mi)以上となる整数が求められ、これがバッファリング回数Nとされる。業務システム10から監視システム30へと流れ込むメッセージがバッファリング回数Nだけ繰り返してバッファリングされ、図15に示すように、N個のメッセージ群40がインターリーブされて多重度Nの負荷が生成される。また、多重度Nの負荷に含まれるメッセージがリクエストごとに紐付けされると共に、現状多重度Miに対する目標多重度の比率が実数であれば、乱数を利用して間引き対象となるメッセージが決定される。
In step 72, the linking unit 26 </ b> A transmits a linking completion notification to the buffering module 24.
According to such multiplicity adjustment processing, thinning-out processing, and association processing, an integer that is equal to or greater than the ratio (Mj / Mi) of the target multiplicity Mj to the current multiplicity Mi is obtained, and this is set as the buffering count N. A message flowing from the business system 10 to the monitoring system 30 is repeatedly buffered by the number of times of buffering N, and as shown in FIG. 15, N message groups 40 are interleaved to generate a load of multiplicity N. In addition, a message included in the load of multiplicity N is linked for each request, and if the ratio of the target multiplicity to the current multiplicity Mi is a real number, a message to be thinned out is determined using a random number. The

ここで、多重度調整方法を数式を使用して説明する。
メッセージを時間ΔTの間バッファリングした結果、リクエストの平均実行時間R,リクエスト数N,多重度M0が求められたとすると、これらの間には、次式のような関係が成り立つ。
Here, the multiplicity adjustment method will be described using mathematical expressions.
Assuming that the average execution time R, the number N of requests, and the multiplicity M0 of the requests are obtained as a result of buffering the message for the time ΔT, the following relationship is established among them.

Figure 0004883139
Figure 0004883139

バッファリングしたメッセージを監視システム30に一気に送出すると、リクエストの頻度が上昇するため、監視システム30が処理するリクエストの平均実行時間R’が平均実行時間Rよりも小さくなる(R’<R)。このため、リクエストの送出時間をΔT’(ΔT’<ΔT)とすると、次式のような関係が成り立つ。例えば、R’=R/2となった場合、ΔT’=ΔT/2となるので、M0=R・N/ΔT=R’・N/ΔT’となる。   When the buffered message is sent to the monitoring system 30 at once, the frequency of requests increases, so that the average execution time R ′ of requests processed by the monitoring system 30 is smaller than the average execution time R (R ′ <R). Therefore, if the request transmission time is ΔT ′ (ΔT ′ <ΔT), the following relationship is established. For example, when R ′ = R / 2, ΔT ′ = ΔT / 2, so M0 = R · N / ΔT = R ′ · N / ΔT ′.

Figure 0004883139
Figure 0004883139

そこで、目標多重度Mjは多重度M0のX倍であると仮定すると、目標多重度Mjは次式で表すことができる。   Therefore, assuming that the target multiplicity Mj is X times the multiplicity M0, the target multiplicity Mj can be expressed by the following equation.

Figure 0004883139
Figure 0004883139

つまり、現状多重度のメッセージをX回バッファリングしてインターリーブすることで、リクエスト数N’=X・N、リクエストの平均実行時間R’=X・R、送出時間ΔT’=X・ΔTとなるため、結果として、多重度×Xのデータを生成することができることが理解できる。   That is, by interleaving the current multiplicity message by buffering it X times, the number of requests N ′ = X · N, the average request execution time R ′ = X · R, and the sending time ΔT ′ = X · ΔT. Therefore, as a result, it can be understood that data of multiplicity × X can be generated.

以上説明した性能測定装置20によれば、メッセージを時間ΔTだけバッファリングした結果に基づいて、現状負荷としてのリクエストの平均実行時間R,頻度F0及び多重度M0が求められる。また、バッファリングメッセージを監視システム30に実際に送出した結果に基づいて、リクエストの頻度Fiが求められる。そして、現状多重度Miがリクエストの頻度Fiに対応した目標多重度Mjに近づくように、所定回数だけバッファリングしたメッセージ群をインターリーブして負荷を生成し、その負荷を監視システム30に一気に送出して性能が測定される。   According to the performance measuring apparatus 20 described above, the average execution time R, frequency F0, and multiplicity M0 of the request as the current load are obtained based on the result of buffering the message for the time ΔT. Further, the request frequency Fi is obtained based on the result of actually sending the buffering message to the monitoring system 30. Then, a load is generated by interleaving the buffered message group a predetermined number of times so that the current multiplicity Mi approaches the target multiplicity Mj corresponding to the request frequency Fi, and the load is sent to the monitoring system 30 at once. Performance is measured.

このとき、現状多重度Miに対する目標多重度Mjの比率(Mj/Mi)が実数、即ち、Xが実数であれば、次のようにして、乱数を用いて負荷に含まれるリクエストが間引きされる。例えば、多重度×1.5の負荷を生成する場合には、図16に示すように、2つのリクエストを含む2つのメッセージ群40をインターリーブして多重度×2の負荷が生成された後、所定規則に則って決定された1つのリクエスト(例えば、リクエスト3)が間引かれる。   At this time, if the ratio (Mj / Mi) of the target multiplicity Mj to the current multiplicity Mi is a real number, that is, if X is a real number, requests included in the load are thinned using random numbers as follows. . For example, when a load of multiplicity × 1.5 is generated, a load of multiplicity × 2 is generated by interleaving two message groups 40 including two requests as shown in FIG. One request (for example, request 3) determined according to a predetermined rule is thinned out.

そして、現状多重度Miと目標多重度Mjとの差の絶対値が所定値ε以下となるまで、頻度Fiの測定及び多重度の調整が繰り返される。即ち、図17に示すように、メッセージのバッファリング結果から求められた頻度Fiに対応する目標多重度Mjが、現状多重度Miを中心とした所定範囲内に収束するまで処理が繰り返される。   Then, the measurement of the frequency Fi and the adjustment of the multiplicity are repeated until the absolute value of the difference between the current multiplicity Mi and the target multiplicity Mj becomes equal to or less than the predetermined value ε. That is, as shown in FIG. 17, the processing is repeated until the target multiplicity Mj corresponding to the frequency Fi obtained from the message buffering result converges within a predetermined range centered on the current multiplicity Mi.

従って、業務システム10から監視システム30へと流れ込むメッセージは、性能測定装置20によりリクエストの頻度と多重度との関係が正しくなるように調整されるので、監視システム30の性能を精度良く測定することができる。また、実際のメッセージを利用して監視システム30の性能が測定されるため、例えば、業務システム10のハードウエア又はソフトウエアの変更に伴うリクエスト負荷の変化にも対応することができる。   Therefore, since the message flowing from the business system 10 to the monitoring system 30 is adjusted by the performance measurement device 20 so that the relationship between the frequency of requests and the multiplicity is correct, the performance of the monitoring system 30 should be measured with high accuracy. Can do. Moreover, since the performance of the monitoring system 30 is measured using an actual message, for example, it is possible to cope with a change in request load accompanying a change in hardware or software of the business system 10.

以上の実施形態に関し、更に以下の付記を開示する。   Regarding the above embodiment, the following additional notes are disclosed.

(付記1)リクエストの実行に伴って複数のメッセージを発行する情報システムと、該情報システムで発行されたメッセージをオンラインで処理する監視システムと、の間に介在するコンピュータに、前記情報システムから監視システムへと流れ込むメッセージをバッファに所定時間バッファリングし、該メッセージのバッファリング結果からリクエストの平均実行時間,第1の頻度及び第1の多重度の間にある相互関係を求めるステップと、前記バッファリングしたメッセージを監視システムに送出した送出時間及びリクエスト数に基づいて第2の頻度を求め、前記相互関係に基づいて第2の頻度に対応する第2の多重度を求めるステップと、前記第1の多重度と第2の多重度との差分が所定値以下となるまで、前記第1の多重度に対する第2の多重度の比率で規定されるバッファリング回数だけ、前記情報システムから監視システムへと流れ込むメッセージをバッファに所定時間バッファリングし、該バッファリングした各メッセージ群をインターリーブした負荷を生成すると共に、前記第1の多重度に第2の多重度を代入する一方、前記負荷を監視システムに送出した送出時間及びリクエスト数に基づいて第2の頻度を更新し、前記相互関係に基づいて第2の頻度に対応する第2の多重度を更新する処理を繰り返すステップと、を実現させるための監視システムの性能測定プログラム。   (Supplementary note 1) Monitoring from the information system to a computer interposed between an information system that issues a plurality of messages in response to execution of a request and a monitoring system that processes messages issued by the information system online Buffering a message flowing into the system for a predetermined time in a buffer, and obtaining a correlation between the average execution time of the request, the first frequency, and the first multiplicity from the buffering result of the message; Obtaining a second frequency based on the transmission time and number of requests for sending the ringed message to the monitoring system, obtaining a second multiplicity corresponding to the second frequency based on the correlation; and Until the difference between the multiplicity of the first multiplicity and the second multiplicity is equal to or less than a predetermined value. Buffering messages flowing from the information system to the monitoring system for a predetermined time by the number of times of buffering defined by the multiplicity ratio of 2, and generating a load that interleaves each buffered message group; While substituting the second multiplicity for the first multiplicity, the second frequency is updated based on the transmission time and the number of requests for transmitting the load to the monitoring system, and the second multiplicity is determined based on the correlation. A step of repeating the process of updating the second multiplicity corresponding to the frequency, and a performance measurement program of the monitoring system for realizing.

(付記2)前記第1の多重度と第2の多重度との差分が所定値以下となるまで処理を繰り返すステップは、前記バッファリング回数が実数のとき、該実数以上の最小整数をバッファリング回数としてメッセージをバッファリングすると共に、乱数を利用して前記負荷から間引くリクエストを決定し、前記負荷に含まれるリクエストのうち間引き対象となるリクエスト以外のリクエストに関するメッセージを監視システムに送出することを特徴とする付記1記載の監視システムの性能測定プログラム。   (Supplementary Note 2) The step of repeating the process until the difference between the first multiplicity and the second multiplicity is equal to or less than a predetermined value is to buffer a minimum integer equal to or greater than the real number when the buffering count is a real number. A message is buffered as the number of times, a request to be thinned out from the load is determined using a random number, and a message related to a request other than a request to be thinned out among requests included in the load is sent to the monitoring system The monitoring system performance measurement program according to attachment 1.

(付記3)前記間引き対象となったリクエストに関するメッセージは、前記第2の多重度が更新された後、前記監視システムに送出されることを特徴とする付記2記載の監視システムの性能測定プログラム。   (Supplementary note 3) The monitoring system performance measurement program according to supplementary note 2, wherein the message related to the request to be thinned is sent to the monitoring system after the second multiplicity is updated.

(付記4)前記相互関係は、多重度=平均実行時間×頻度という関係式で表されることを特徴とする付記1〜付記3のいずれか1つに記載の監視システムの性能測定プログラム。   (Supplementary note 4) The monitoring system performance measurement program according to any one of supplementary notes 1 to 3, wherein the mutual relationship is represented by a relational expression of multiplicity = average execution time × frequency.

(付記5)前記リクエストは、前記バッファリングされたメッセージを紐付けすることで特定されることを特徴とする付記1〜付記4のいずれか1つに記載の監視システムの性能測定プログラム。   (Supplementary Note 5) The monitoring system performance measurement program according to any one of Supplementary Note 1 to Supplementary Note 4, wherein the request is specified by associating the buffered message.

(付記6)リクエストの実行に伴って複数のメッセージを発行する情報システムと、該情報システムで発行されたメッセージをオンラインで処理する監視システムと、の間に介在するコンピュータが、前記情報システムから監視システムへと流れ込むメッセージをバッファに所定時間バッファリングし、該メッセージのバッファリング結果からリクエストの平均実行時間,第1の頻度及び第1の多重度の間にある相互関係を求めるステップと、前記バッファリングしたメッセージを監視システムに送出した送出時間及びリクエスト数に基づいて第2の頻度を求め、前記相互関係に基づいて第2の頻度に対応する第2の多重度を求めるステップと、前記第1の多重度と第2の多重度との差分が所定値以下となるまで、前記第1の多重度に対する第2の多重度の比率で規定されるバッファリング回数だけ、前記情報システムから監視システムへと流れ込むメッセージをバッファに所定時間バッファリングし、該バッファリングした各メッセージ群をインターリーブした負荷を生成すると共に、前記第1の多重度に第2の多重度を代入する一方、前記負荷を監視システムに送出した送出時間及びリクエスト数に基づいて第2の頻度を更新し、前記相互関係に基づいて第2の頻度に対応する第2の多重度を更新する処理を繰り返すステップと、を実行することを特徴とする監視システムの性能測定方法。   (Supplementary note 6) A computer interposed between an information system that issues a plurality of messages in response to execution of a request and a monitoring system that processes messages issued by the information system online monitors from the information system Buffering a message flowing into the system for a predetermined time in a buffer, and obtaining a correlation between the average execution time of the request, the first frequency, and the first multiplicity from the buffering result of the message; Obtaining a second frequency based on the transmission time and number of requests for sending the ringed message to the monitoring system, obtaining a second multiplicity corresponding to the second frequency based on the correlation; and Until the difference between the multiplicity of the first multiplicity and the second multiplicity is equal to or less than a predetermined value. Buffering messages flowing from the information system to the monitoring system for a predetermined time by the number of times of buffering defined by the multiplicity ratio of 2, and generating a load that interleaves each buffered message group; While substituting the second multiplicity for the first multiplicity, the second frequency is updated based on the transmission time and the number of requests for transmitting the load to the monitoring system, and the second multiplicity is determined based on the correlation. A step of repeating the process of updating the second multiplicity corresponding to the frequency, and a method for measuring the performance of the monitoring system.

(付記7)リクエストの実行に伴って複数のメッセージを発行する情報システムから該情報システムで発行されたメッセージをオンラインで処理する監視システムへと流れ込むメッセージを所定時間バッファリングし、該メッセージのバッファリング結果からリクエストの平均実行時間,第1の頻度及び第1の多重度の間にある相互関係を求める手段と、前記バッファリングしたメッセージを監視システムに送出した送出時間及びリクエスト数に基づいて第2の頻度を求め、前記相互関係に基づいて第2の頻度に対応する第2の多重度を求める手段と、前記第1の多重度と第2の多重度との差分が所定値以下となるまで、前記第1の多重度に対する第2の多重度の比率で規定されるバッファリング回数だけ、前記情報システムから監視システムへと流れ込むメッセージを所定時間バッファリングし、該バッファリングした各メッセージ群をインターリーブした負荷を生成すると共に、前記第1の多重度に第2の多重度を代入する一方、前記負荷を監視システムに送出した送出時間及びリクエスト数に基づいて第2の頻度を更新し、前記相互関係に基づいて第2の頻度に対応する第2の多重度を更新する処理を繰り返す手段と、を含むことを特徴とする監視システムの性能測定装置。   (Supplementary note 7) A message flowing from an information system that issues a plurality of messages to a monitoring system that processes a message issued by the information system in response to execution of a request is buffered for a predetermined time, and the message is buffered Based on the result, a means for obtaining a correlation between the average execution time of the request, the first frequency, and the first multiplicity, a second based on the transmission time and the number of requests for sending the buffered message to the monitoring system. Until the difference between the first multiplicity and the second multiplicity is equal to or less than a predetermined value, and means for obtaining a second multiplicity corresponding to the second frequency based on the correlation And the monitoring system from the information system for the number of times of buffering defined by the ratio of the second multiplicity to the first multiplicity. The message flowing into the buffer is buffered for a predetermined time, a load is generated by interleaving the buffered message groups, and a second multiplicity is substituted for the first multiplicity, while the load is transferred to the monitoring system. Means for updating the second frequency based on the transmitted transmission time and the number of requests, and repeating the process of updating the second multiplicity corresponding to the second frequency based on the correlation. A monitoring system performance measurement device.

10 業務システム
20 性能測定装置
22 コントロールモジュール
22A コントロール部
24 バッファリングモジュール
24A バッファ
24B バッファリング部
24C 負荷生成部
24D 負荷送出部
24E 性能測定部
26 リクエスト認識モジュール
26A 紐付け部
26B 現状負荷算出部
30 監視システム
40 メッセージ群
DESCRIPTION OF SYMBOLS 10 Business system 20 Performance measuring apparatus 22 Control module 22A Control part 24 Buffering module 24A Buffer 24B Buffering part 24C Load generation part 24D Load sending part 24E Performance measurement part 26 Request recognition module 26A Linking part 26B Current load calculation part 30 Monitoring System 40 message group

Claims (5)

リクエストの実行に伴って複数のメッセージを発行する情報システムと、該情報システムで発行されたメッセージをオンラインで処理する監視システムと、の間に介在するコンピュータに、
前記情報システムから監視システムへと流れ込むメッセージをバッファに所定時間バッファリングし、該メッセージのバッファリング結果からリクエストの平均実行時間,第1の頻度及び第1の多重度の間にある相互関係を求めるステップと、
前記バッファリングしたメッセージを監視システムに送出した送出時間及びリクエスト数に基づいて第2の頻度を求め、前記相互関係に基づいて第2の頻度に対応する第2の多重度を求めるステップと、
前記第1の多重度と第2の多重度との差分が所定値以下となるまで、前記第1の多重度に対する第2の多重度の比率で規定されるバッファリング回数だけ、前記情報システムから監視システムへと流れ込むメッセージをバッファに所定時間バッファリングし、該バッファリングした各メッセージ群をインターリーブした負荷を生成すると共に、前記第1の多重度に第2の多重度を代入する一方、前記負荷を監視システムに送出した送出時間及びリクエスト数に基づいて第2の頻度を更新し、前記相互関係に基づいて第2の頻度に対応する第2の多重度を更新する処理を繰り返すステップと、
を実現させるための監視システムの性能測定プログラム。
A computer interposed between an information system that issues a plurality of messages as a request is executed and a monitoring system that processes messages issued by the information system online,
A message flowing from the information system to the monitoring system is buffered in a buffer for a predetermined time, and a correlation between the average execution time of the request, the first frequency, and the first multiplicity is obtained from the buffering result of the message. Steps,
Obtaining a second frequency based on a sending time and number of requests for sending the buffered message to a monitoring system, and obtaining a second multiplicity corresponding to the second frequency based on the correlation;
Until the difference between the first multiplicity and the second multiplicity is equal to or less than a predetermined value, the number of buffering times defined by the ratio of the second multiplicity to the first multiplicity is from the information system. A message flowing into the monitoring system is buffered in a buffer for a predetermined time, and a load obtained by interleaving the buffered message groups is generated, and a second multiplicity is substituted for the first multiplicity, while the load Updating the second frequency based on the transmission time and the number of requests sent to the monitoring system, and repeating the process of updating the second multiplicity corresponding to the second frequency based on the correlation;
Monitoring system performance measurement program to realize
前記第1の多重度と第2の多重度との差分が所定値以下となるまで処理を繰り返すステップは、前記バッファリング回数が実数のとき、該実数以上の最小整数をバッファリング回数としてメッセージをバッファリングすると共に、乱数を利用して前記負荷から間引くリクエストを決定し、前記負荷に含まれるリクエストのうち間引き対象となるリクエスト以外のリクエストに関するメッセージを監視システムに送出することを特徴とする請求項1記載の監視システムの性能測定プログラム。   The step of repeating the process until the difference between the first multiplicity and the second multiplicity is equal to or less than a predetermined value is such that when the buffering count is a real number, a message with a minimum integer equal to or greater than the real number as a buffering count The buffering is performed, a request to be thinned out from the load is determined using a random number, and a message related to a request other than a request to be thinned out among requests included in the load is transmitted to the monitoring system. 1. The performance measurement program for the monitoring system according to 1. 前記間引き対象となったリクエストに関するメッセージは、前記第2の多重度が更新された後、前記監視システムに送出されることを特徴とする請求項2記載の監視システムの性能測定プログラム。   3. The monitoring system performance measurement program according to claim 2, wherein the message related to the request to be thinned is sent to the monitoring system after the second multiplicity is updated. リクエストの実行に伴って複数のメッセージを発行する情報システムと、該情報システムで発行されたメッセージをオンラインで処理する監視システムと、の間に介在するコンピュータが、
前記情報システムから監視システムへと流れ込むメッセージをバッファに所定時間バッファリングし、該メッセージのバッファリング結果からリクエストの平均実行時間,第1の頻度及び第1の多重度の間にある相互関係を求めるステップと、
前記バッファリングしたメッセージを監視システムに送出した送出時間及びリクエスト数に基づいて第2の頻度を求め、前記相互関係に基づいて第2の頻度に対応する第2の多重度を求めるステップと、
前記第1の多重度と第2の多重度との差分が所定値以下となるまで、前記第1の多重度に対する第2の多重度の比率で規定されるバッファリング回数だけ、前記情報システムから監視システムへと流れ込むメッセージをバッファに所定時間バッファリングし、該バッファリングした各メッセージ群をインターリーブした負荷を生成すると共に、前記第1の多重度に第2の多重度を代入する一方、前記負荷を監視システムに送出した送出時間及びリクエスト数に基づいて第2の頻度を更新し、前記相互関係に基づいて第2の頻度に対応する第2の多重度を更新する処理を繰り返すステップと、
を実行することを特徴とする監視システムの性能測定方法。
A computer interposed between an information system that issues a plurality of messages in accordance with execution of a request and a monitoring system that processes messages issued by the information system online,
A message flowing from the information system to the monitoring system is buffered in a buffer for a predetermined time, and a correlation between the average execution time of the request, the first frequency, and the first multiplicity is obtained from the buffering result of the message. Steps,
Obtaining a second frequency based on a sending time and number of requests for sending the buffered message to a monitoring system, and obtaining a second multiplicity corresponding to the second frequency based on the correlation;
Until the difference between the first multiplicity and the second multiplicity is equal to or less than a predetermined value, the number of buffering times defined by the ratio of the second multiplicity to the first multiplicity is from the information system. A message flowing into the monitoring system is buffered in a buffer for a predetermined time, and a load obtained by interleaving the buffered message groups is generated, and a second multiplicity is substituted for the first multiplicity, while the load Updating the second frequency based on the transmission time and the number of requests sent to the monitoring system, and repeating the process of updating the second multiplicity corresponding to the second frequency based on the correlation;
A method for measuring the performance of a monitoring system, characterized in that
リクエストの実行に伴って複数のメッセージを発行する情報システムから該情報システムで発行されたメッセージをオンラインで処理する監視システムへと流れ込むメッセージを所定時間バッファリングし、該メッセージのバッファリング結果からリクエストの平均実行時間,第1の頻度及び第1の多重度の間にある相互関係を求める手段と、
前記バッファリングしたメッセージを監視システムに送出した送出時間及びリクエスト数に基づいて第2の頻度を求め、前記相互関係に基づいて第2の頻度に対応する第2の多重度を求める手段と、
前記第1の多重度と第2の多重度との差分が所定値以下となるまで、前記第1の多重度に対する第2の多重度の比率で規定されるバッファリング回数だけ、前記情報システムから監視システムへと流れ込むメッセージを所定時間バッファリングし、該バッファリングした各メッセージ群をインターリーブした負荷を生成すると共に、前記第1の多重度に第2の多重度を代入する一方、前記負荷を監視システムに送出した送出時間及びリクエスト数に基づいて第2の頻度を更新し、前記相互関係に基づいて第2の頻度に対応する第2の多重度を更新する処理を繰り返す手段と、
を含むことを特徴とする監視システムの性能測定装置。
A message that flows from an information system that issues a plurality of messages to a monitoring system that processes the messages issued by the information system in response to the execution of the request is buffered for a predetermined time. Means for determining a correlation between average execution time, first frequency and first multiplicity;
Means for determining a second frequency based on a transmission time and the number of requests for transmitting the buffered message to a monitoring system, and determining a second multiplicity corresponding to the second frequency based on the correlation;
Until the difference between the first multiplicity and the second multiplicity is equal to or less than a predetermined value, the number of buffering times defined by the ratio of the second multiplicity to the first multiplicity is from the information system. A message flowing into the monitoring system is buffered for a predetermined time, a load is generated by interleaving the buffered message groups, and a second multiplicity is substituted for the first multiplicity, while the load is monitored. Means for updating the second frequency based on the transmission time and the number of requests sent to the system, and repeating the process of updating the second multiplicity corresponding to the second frequency based on the correlation;
An apparatus for measuring the performance of a monitoring system, comprising:
JP2009129169A 2009-05-28 2009-05-28 Monitoring system performance measuring program, monitoring system performance measuring method, and monitoring system performance measuring apparatus Expired - Fee Related JP4883139B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009129169A JP4883139B2 (en) 2009-05-28 2009-05-28 Monitoring system performance measuring program, monitoring system performance measuring method, and monitoring system performance measuring apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009129169A JP4883139B2 (en) 2009-05-28 2009-05-28 Monitoring system performance measuring program, monitoring system performance measuring method, and monitoring system performance measuring apparatus

Publications (2)

Publication Number Publication Date
JP2010277333A JP2010277333A (en) 2010-12-09
JP4883139B2 true JP4883139B2 (en) 2012-02-22

Family

ID=43424240

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009129169A Expired - Fee Related JP4883139B2 (en) 2009-05-28 2009-05-28 Monitoring system performance measuring program, monitoring system performance measuring method, and monitoring system performance measuring apparatus

Country Status (1)

Country Link
JP (1) JP4883139B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5669632B2 (en) * 2011-03-10 2015-02-12 三菱電機株式会社 Information system verification apparatus, information system verification method, and program
DE202016008054U1 (en) * 2015-11-13 2017-02-16 Google Inc. Performance monitoring in a distributed storage system

Also Published As

Publication number Publication date
JP2010277333A (en) 2010-12-09

Similar Documents

Publication Publication Date Title
CN109815332B (en) Loss function optimization method, loss function optimization device, computer equipment and storage medium
CN110929880A (en) Method and device for federated learning and computer readable storage medium
JP5532150B2 (en) Operation management apparatus, operation management method, and program
JP4898805B2 (en) Method, program and apparatus for optimizing system configuration parameter sets
JP2017097807A (en) Learning method, learning program, and information processing device
JP2016201794A (en) Fault detection device, method and system
US11314727B2 (en) Blockchain management apparatus, blockchain management method, and program
US20120317069A1 (en) Throughput sustaining support system, device, method, and program
JP4883139B2 (en) Monitoring system performance measuring program, monitoring system performance measuring method, and monitoring system performance measuring apparatus
US20140181174A1 (en) Distributed processing of stream data on an event protocol
JP4872702B2 (en) Distributed workflow simulation system, method, and program
CN114679283A (en) Block chain data request processing method and device, server and storage medium
JP2008165412A (en) Performance-computing device
JP2008234407A (en) Automatic load testing device and automatic load testing method
JP6583549B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
JPWO2013018376A1 (en) System parameter setting support system, data processing method of system parameter setting support device, and program
JP2009140358A (en) Performance arithmetic device and performance arithmetic processing program
JP4648204B2 (en) Sensor terminal
CN109462611B (en) Integrity certification method and device
WO2020054599A1 (en) Model generator, prediction device, model generation method, prediction method, and program
US11449378B2 (en) Information processing apparatus and log control method
JP3962411B2 (en) Sensor data management device
WO2018105079A1 (en) Performance evaluation device, performance evaluation method, and performance evaluation program
CN115794589B (en) Performance test data analysis system based on domestic CPU server
JP2019008471A (en) Management device, simulation system and simulation method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111031

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111108

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111121

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

Free format text: PAYMENT UNTIL: 20141216

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4883139

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees