JP2917939B2 - Server performance measurement method - Google Patents

Server performance measurement method

Info

Publication number
JP2917939B2
JP2917939B2 JP8302865A JP30286596A JP2917939B2 JP 2917939 B2 JP2917939 B2 JP 2917939B2 JP 8302865 A JP8302865 A JP 8302865A JP 30286596 A JP30286596 A JP 30286596A JP 2917939 B2 JP2917939 B2 JP 2917939B2
Authority
JP
Japan
Prior art keywords
measurement
transaction
server
client
control unit
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 - Lifetime
Application number
JP8302865A
Other languages
Japanese (ja)
Other versions
JPH10143401A (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.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP8302865A priority Critical patent/JP2917939B2/en
Publication of JPH10143401A publication Critical patent/JPH10143401A/en
Application granted granted Critical
Publication of JP2917939B2 publication Critical patent/JP2917939B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、クライアント/サ
ーバ型システムのサーバ性能測定方式に関し、特にサー
バが複数のクライアントからの要求によって複数のトラ
ンザクションを同時に処理する場合の、同時に処理する
トランザクションの数に対する各トランザクションの処
理に要する時間の関係を自動的に測定するサーバ性能測
定方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a server performance measuring method for a client / server type system, and more particularly to a method for measuring the number of transactions to be processed simultaneously when a server processes a plurality of transactions simultaneously in response to requests from a plurality of clients. The present invention relates to a server performance measurement method for automatically measuring a time relationship required for processing each transaction.

【0002】[0002]

【従来の技術】例えば、計算機システム等の性能評価方
式には、特開平1−319836号公報に記載されたオ
ンラインシステムの性能評価方式がある。この性能評価
方式では、実端末を使用せずにホストコンピュータのト
ランザクションに対する応答時間を測定し、ホストコン
ピュータの性能を評価する手段が開示されている。
2. Description of the Related Art For example, as a performance evaluation method of a computer system or the like, there is a performance evaluation method of an online system described in Japanese Patent Application Laid-Open No. Hei. In this performance evaluation method, means for measuring the response time of a host computer to a transaction without using an actual terminal and evaluating the performance of the host computer is disclosed.

【0003】図8は計算機システムの性能評価方式の構
成を示すブロック図である。
FIG. 8 is a block diagram showing a configuration of a computer system performance evaluation system.

【0004】図8において、計算機システムの性能評価
方式は、実端末をシミュレートする通信処理装置90
と、シミュレートする実端末数、及びホストコンピュー
タ100に送信するトランザクション間隔等の測定条件
を通信処理装置90に与えるためのコンソール96と、
ホストコンピュータ100の性能評価に必要な複数のト
ランザクションが格納された入力トランザクションファ
イル部93と、ホストコンピュータ100の性能の測定
結果が格納される性能評価データ格納部94とによって
構成されている。
In FIG. 8, a performance evaluation method of a computer system is based on a communication processing device 90 for simulating a real terminal.
A console 96 for providing the communication processing device 90 with measurement conditions such as the number of real terminals to be simulated and a transaction interval to be transmitted to the host computer 100;
It comprises an input transaction file unit 93 in which a plurality of transactions necessary for the performance evaluation of the host computer 100 are stored, and a performance evaluation data storage unit 94 in which measurement results of the performance of the host computer 100 are stored.

【0005】通信処理装置90は、入力トランザクショ
ンファイル部93及び性能評価データ格納部94に対す
るインタフェース部となる端末シミュレート制御部91
と、端末シミュレート制御部91からトランザクション
を受け取ってホストコンピュータ100に送信し、送信
したトランザクションに対するホストコンピュータ10
0からの応答データを受信して、送信したトランザクシ
ョンの処理に要する時間(応答時間)を算出し、応答時
間のデータを端末シミュレート制御部91に返信する性
能評価制御部92と、性能評価データ格納部94に格納
された性能評価データを処理し、所定の性能評価リスト
を作成して出力する性能評価データ出力部95とによっ
て構成されている。
The communication processing device 90 includes a terminal simulation control unit 91 serving as an interface unit for the input transaction file unit 93 and the performance evaluation data storage unit 94.
And receives the transaction from the terminal simulation control unit 91 and transmits it to the host computer 100, and the host computer 10 for the transmitted transaction.
A performance evaluation control unit 92 that receives the response data from 0, calculates the time required for processing the transmitted transaction (response time), and returns the response time data to the terminal simulation control unit 91; It comprises a performance evaluation data output unit 95 that processes the performance evaluation data stored in the storage unit 94, creates and outputs a predetermined performance evaluation list.

【0006】このような構成において、端末シュミレー
ト制御部91は、ホストコンピュータ100に送信する
トランザクションが格納された入力トランザクションフ
ァイル部93から必要なトランザクションを読み出し、
性能評価制御部92へ送信する。
In such a configuration, the terminal simulation control section 91 reads a necessary transaction from an input transaction file section 93 in which a transaction to be transmitted to the host computer 100 is stored.
This is transmitted to the performance evaluation control unit 92.

【0007】性能評価制御部92は、端末シミュレート
制御部91から受け取ったトランザクションをホストコ
ンピュータ100に対して送信するとともに、その送信
時刻を計測する。また、送信したトランザクションに対
するホストコンピュータ100からの応答データ(処理
データ)を受信するとともに、その受信時刻を計測し、
送信時刻及び受信時刻の差からトランザクションに対す
る応答時間を算出する。そして、ホストコンピュータ1
00からの応答データ、及び算出した応答時間のデータ
を端末シミュレート制御部91に返信する。
[0007] The performance evaluation control unit 92 transmits the transaction received from the terminal simulation control unit 91 to the host computer 100, and measures the transmission time. Also, while receiving response data (processing data) from the host computer 100 for the transmitted transaction, the reception time is measured,
The response time to the transaction is calculated from the difference between the transmission time and the reception time. And the host computer 1
The response data from 00 and the data of the calculated response time are returned to the terminal simulation control unit 91.

【0008】端末シミュレート制御部91は、性能評価
制御部92から受け取ったデータを性能評価データ格納
部94に格納する。性能評価データ出力部95は性能評
価データ格納部94に格納されたデータから、トランザ
クション毎の応答時間、平均応答時間、最小応答時間、
最大応答時間等の性能評価データを求め、性能評価リス
ト97を出力する。
[0008] The terminal simulation control section 91 stores the data received from the performance evaluation control section 92 in the performance evaluation data storage section 94. From the data stored in the performance evaluation data storage unit 94, the performance evaluation data output unit 95 outputs a response time, an average response time, a minimum response time,
The performance evaluation data such as the maximum response time is obtained, and a performance evaluation list 97 is output.

【0009】このような性能評価方式を構成すること
で、通信処理装置90によって実端末をシミュレートす
ることが可能になり、実端末を用いずにホストコンピュ
ータ100の性能を評価していた。
By configuring such a performance evaluation method, it is possible to simulate a real terminal by the communication processing device 90, and to evaluate the performance of the host computer 100 without using the real terminal.

【0010】ところで、上記したような計算機システム
の性能評価方式の技術をクライアント/サーバ型のシス
テムに適用する場合を考える。
Now, consider a case where the technique of the computer system performance evaluation method as described above is applied to a client / server type system.

【0011】近年のサーバは、トランザクションをマル
チプロセス、マルチスレッド、及びマルチCPUの環境
下で処理することが多くなっているため、複数のトラン
ザクションを同時に処理することが常識となってきてい
る。したがって、サーバの性能を評価するためには、同
時に処理するトランザクション数に対する各トランザク
ションの処理に要する時間(応答時間)の関係を示すサ
ーバ性能特性を測定する必要がある。
In recent years, servers often process transactions in a multi-process, multi-thread, and multi-CPU environment, and it has become common sense to process a plurality of transactions simultaneously. Therefore, in order to evaluate the performance of the server, it is necessary to measure a server performance characteristic indicating the relationship between the number of transactions processed simultaneously and the time required for processing each transaction (response time).

【0012】[0012]

【発明が解決しようとする課題】しかしながら上記した
ようなサーバ性能測定方式では、1台の処理装置によっ
てトランザクション数に対するサーバの応答時間を求め
て、サーバ性能特性を取得しなければならないため、非
常に高性能な処理装置を用いる必要があった。
However, in the server performance measurement method as described above, since the response time of the server with respect to the number of transactions must be obtained by one processing device to obtain the server performance characteristics, it is very difficult. It was necessary to use a high-performance processing device.

【0013】高性能な処理装置を用いずに同時に処理す
るトランザクション数を増やした場合、処理装置の処理
能力によって測定系全体が律速されてしまうため、正確
なサーバ性能の特性を取得することができなくなってし
まう。
When the number of transactions to be processed simultaneously is increased without using a high-performance processing device, the entire measurement system is limited by the processing performance of the processing device, so that accurate server performance characteristics can be obtained. Will be gone.

【0014】ところで、高性能な処理装置を用いずに正
確なサーバ性能特性を取得するためには、複数の処理装
置を用いたサーバ性能測定方式が考えられる。
Incidentally, in order to obtain accurate server performance characteristics without using a high-performance processing device, a server performance measurement method using a plurality of processing devices can be considered.

【0015】しかしながらこのようなサーバ性能測定方
式では、これら複数の処理装置の測定開始のタイミング
を同期させることが困難であるという問題が発生する。
また、トランザクションを複数の処理装置にそれぞれ配
布する必要があり、測定したデータを各処理装置から回
収しなければならないため、処理が複雑になるという問
題が発生する。
However, in such a server performance measurement system, there is a problem that it is difficult to synchronize the measurement start timings of the plurality of processing devices.
Further, it is necessary to distribute the transaction to each of the plurality of processing devices, and the measured data must be collected from each of the processing devices. This causes a problem that the processing becomes complicated.

【0016】本発明は上記したような従来の技術が有す
る問題点を解決するためになされたものであり、クライ
アント/サーバ型システムのサーバ性能特性を、容易
に、かつ正確に測定することができるサーバ性能測定方
式を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems of the prior art, and can easily and accurately measure the server performance characteristics of a client / server type system. The purpose is to provide a server performance measurement method.

【0017】[0017]

【課題を解決するための手段】上記目的を達成するため
本発明のサーバ性能測定方式は、少なくとも1つのクラ
イアントから送信されるトランザクションを処理するサ
ーバの、同時に処理する前記トランザクションの数に対
する前記トランザクションの処理に要する応答時間の関
係を示すサーバ性能特性を測定するサーバ性能測定方式
であって、前記トランザクションを作成するための定義
情報が格納されるトランザクション定義ファイルと、前
記応答時間のデータが格納されるトランザクション結果
ファイルと、前記トランザクション定義ファイルに格納
された前記定義情報から1つの前記トランザクションを
作成して前記サーバに送信するとともに、該送信時刻を
記憶し、前記サーバからの前記トランザクションに対す
る応答データを受信して、該受信時刻と前記送信時刻と
の差から前記応答時間を算出し、前記応答時間の算出結
果を前記応答時間のデータとして前記トランザクション
結果ファイルに格納するトランザクション起動制御部
と、前記サーバ性能特性測定時に、前記サーバ性能特性
を測定するための制御に用いられる、測定状態を示す複
数の状態値をそれぞれ参照または書き換えることで、前
記トランザクションを送信する数が順次増加するように
制御するとともに、前記サーバに対して複数の前記トラ
ンザクションが同期して送信されるように制御するため
の測定同期制御部と、をそれぞれ備えた複数の測定クラ
イアントを有することを特徴とする。
In order to achieve the above object, a server performance measuring method according to the present invention provides a server which processes a transaction transmitted from at least one client, the number of the transactions being processed simultaneously with respect to the number of the transactions to be processed simultaneously. A server performance measurement method for measuring a server performance characteristic indicating a response time required for processing, wherein a transaction definition file storing definition information for creating the transaction and the response time data are stored. One transaction is created from the transaction result file and the definition information stored in the transaction definition file, transmitted to the server, the transmission time is stored, and response data to the transaction from the server is received. A transaction start control unit that calculates the response time from the difference between the reception time and the transmission time, and stores the calculation result of the response time as the response time data in the transaction result file; At the time of the characteristic measurement, used to control the server performance characteristics, by referring to or rewriting a plurality of state values indicating the measurement state, while controlling so that the number of transactions to be transmitted is sequentially increased, And a measurement synchronization control unit configured to control the plurality of transactions to be transmitted to the server in a synchronized manner.

【0018】このとき、複数の前記測定クライアントに
それぞれ必要な前記定義情報を保持するトランザクショ
ン定義ファイル群と、複数の前記測定クライアントで測
定された前記応答時間のデータを、それぞれ格納するト
ランザクション結果ファイル群と、前記トランザクショ
ン結果ファイル群に格納された前記応答時間のデータか
ら前記サーバ性能特性を出力する結果集計手段と、を備
えた測定データサーバを有し、複数の前記測定クライア
ントに、前記サーバ性能特性の測定に先だって、前記ト
ランザクション定義ファイル群から所定の前記定義情報
を読み出し、前記トランザクション定義ファイルに転送
するための測定準備制御部と、前記サーバ性能特性の測
定終了後に、前記トランザクション結果ファイルに格納
された前記応答時間のデータを前記トランザクション結
果ファイル群に転送するための測定後処理制御部とをそ
れぞれ備えていてもよい。
At this time, a transaction definition file group that holds the definition information required for each of the plurality of measurement clients, and a transaction result file group that stores the data of the response times measured by the plurality of measurement clients. And a measurement data server comprising: a result totaling unit configured to output the server performance characteristics from the response time data stored in the transaction result file group. Prior to the measurement, the predetermined definition information is read from the transaction definition file group, and a measurement preparation control unit for transferring the definition information to the transaction definition file is stored in the transaction result file after the measurement of the server performance characteristics is completed. When said response Of a measuring post-processing control unit for transferring data to said transaction result files may be provided, respectively.

【0019】さらに、前記測定データサーバに、前記サ
ーバ性能測定時に、前記トランザクションを送信する前
記測定クライアントの数に応じて順次増加されるサイク
ルカウンタと、前記サーバ性能測定に必要な前記トラン
ザクションを送信する前記測定クライアントの数の最大
値を保持する終了サイクル数記憶手段と、を備え、前記
測定準備制御部は、自測定クライアントを識別するため
に一意に付与されたクライアント番号が、前記サイクル
カウンタの値よりも大きい場合は待機状態になって何も
処理を行わず、前記測定後処理制御部は、前記サイクル
カウンタの値が前記終了サイクル記憶手段に保持された
前記最大値未満の場合に、前記測定準備制御部を再起動
してもよい。
Further, a cycle counter which is sequentially increased according to the number of the measurement clients transmitting the transaction and a transaction required for the server performance measurement are transmitted to the measurement data server at the time of the server performance measurement. End cycle number storage means for holding the maximum value of the number of measurement clients, the measurement preparation control unit, the client number uniquely assigned to identify the self measurement client, the value of the cycle counter If the value is larger than the threshold value, the process goes to a standby state and performs no processing, and the post-measurement process control unit performs the measurement when the value of the cycle counter is less than the maximum value held in the end cycle storage unit. The preparation control unit may be restarted.

【0020】上記のように構成されたサーバ性能測定方
式は、各測定クライアントが有するトランザクション起
動制御部によって、トランザクションの送信とそれに対
する応答時間が算出されるため、測定クライアントの処
理性能に律速されることがない。
In the server performance measurement method configured as described above, the transaction start control unit of each measurement client calculates the transaction transmission and the response time to the transaction, and is therefore limited by the processing performance of the measurement client. Nothing.

【0021】また、サーバ性能特性の測定に先だって、
必要なトランザクションの定義情報がトランザクション
定義ファイルに転送されるため、トランザクションを配
布する手間がかからない。同様に、サーバ性能特性の測
定終了タイミングが検出された後、トランザクション結
果ファイルに格納された応答時間のデータが測定データ
サーバに転送されるため、トランザクション結果ファイ
ルの内容を回収する手間がかからない。
Before measuring the server performance characteristics,
Since the necessary transaction definition information is transferred to the transaction definition file, there is no need to distribute the transaction. Similarly, since the response time data stored in the transaction result file is transferred to the measurement data server after the measurement end timing of the server performance characteristic is detected, there is no need to collect the contents of the transaction result file.

【0022】[0022]

【発明の実施の形態】次に、本発明について図面を参照
して説明する。
Next, the present invention will be described with reference to the drawings.

【0023】図1は本発明のサーバ性能測定方式の構成
を示すブロック図である。また、図2は図1に示したサ
ーバ性能測定方式の測定結果の一例を示すグラフであ
る。
FIG. 1 is a block diagram showing the configuration of the server performance measurement system of the present invention. FIG. 2 is a graph showing an example of a measurement result of the server performance measurement method shown in FIG.

【0024】図1において、本発明のサーバ性能測定方
式の測定対象である被測定サーバ1は、各トランザクシ
ョンを処理するためのトランザクション処理プログラム
10と、トランザクションの処理に用いられるデータベ
ース11と、トランザクション処理プログラム10に従
って処理を行う不図示の演算処理装置とを有し、ある特
定の業務を処理するクライアント/サーバ型業務システ
ムにおけるサーバである。
In FIG. 1, a measured server 1 to be measured by the server performance measuring method of the present invention includes a transaction processing program 10 for processing each transaction, a database 11 used for processing the transaction, It is a server in a client / server business system that has an arithmetic processing unit (not shown) that performs processing according to the program 10 and that processes a specific business.

【0025】本発明のサーバ性能測定方式は、上記被測
定サーバ1の性能を測定するために、被測定サーバ1に
対してトランザクションを送信するクライアントをシミ
ュレートする複数の測定クライアント3と、サーバ性能
特性を測定する際に各測定クライアント3で共通に使用
されるデータベースとなる1台の測定データサーバ2と
から構成される。
The server performance measuring method according to the present invention comprises a plurality of measuring clients 3 for simulating a client transmitting a transaction to the measured server 1 in order to measure the performance of the measured server 1; It comprises one measurement data server 2 serving as a database commonly used by the measurement clients 3 when measuring characteristics.

【0026】各測定クライアント3と被測定サーバ1、
及び各測定クライアント3と測定データサーバ2は、そ
れぞれ情報を伝送するための伝送路によって接続されて
いる。各測定クライアント3と被測定サーバ1とを接続
する伝送路には、トランザクション及びその応答データ
が伝送されるトランザクション通信チャンネル5が設け
られている。一方、各測定クライアント3と測定データ
サーバ2とを接続する伝送路には、各測定クライアント
3からサーバに送信されるトランザクションを作成する
ための定義情報が伝送されるトランザクション定義ファ
イル転送チャンネル6と、トランザクションに対する応
答時間等の測定データが伝送されるトランザクション結
果ファイル転送チャンネル7と、各測定クライアント3
の測定動作を同期させるために用いられる、測定状態を
示す複数の状態値が伝送される同期情報転送チャンネル
8とが設けられている。
Each measurement client 3 and the server under measurement 1
Each of the measurement clients 3 and the measurement data server 2 are connected by a transmission path for transmitting information. A transmission path connecting each measurement client 3 and the measured server 1 is provided with a transaction communication channel 5 through which a transaction and its response data are transmitted. On the other hand, a transmission path connecting each measurement client 3 and the measurement data server 2 includes a transaction definition file transfer channel 6 for transmitting definition information for creating a transaction transmitted from each measurement client 3 to the server; A transaction result file transfer channel 7 through which measurement data such as a response time to a transaction is transmitted;
And a synchronization information transfer channel 8 for transmitting a plurality of state values indicating a measurement state used for synchronizing the measurement operation.

【0027】トランザクションは、トランザクション通
信チャンネル5を介して各測定クライアント3から被測
定サーバ1に対して送信される。被測定サーバ1は、各
測定クライアント3から送信されるトランザクションを
処理し、各トランザクションに対する応答データをトラ
ンザクション通信チャンネル5を介して対応する測定ク
ライアント3にそれぞれ返信する。
The transaction is transmitted from each measurement client 3 to the server under measurement 1 via the transaction communication channel 5. The measured server 1 processes the transaction transmitted from each measurement client 3 and returns response data for each transaction to the corresponding measurement client 3 via the transaction communication channel 5.

【0028】なお、サーバ性能特性を測定する際には、
複数の測定クライアント3のうち、最初は1台の測定ク
ライアント3から1つのトランザクションを送信して測
定データを取得し、次は2台の測定クライアント3か
ら、その次は3台、…というようにトランザクションを
送信する測定クライアント3の数を1台ずつ増やしてサ
ーバの応答時間を測定する。このとき、各測定クライア
ント3は、測定に参加する回数分のトランザクションの
定義情報を保有している。また、次の測定に参加する測
定クライアント3は、測定開始の時刻まで待機し、1つ
前の測定で被測定サーバ1からトランザクションに対す
る応答データが返信された後、測定に参加する。
When measuring the server performance characteristics,
Of the plurality of measurement clients 3, first, one transaction is transmitted from one measurement client 3 to acquire measurement data, the next is from two measurement clients 3, the next three, and so on. The number of measurement clients 3 that transmit transactions is increased one by one, and the response time of the server is measured. At this time, each measurement client 3 has transaction definition information for the number of times of participating in the measurement. In addition, the measurement client 3 participating in the next measurement waits until the time of the measurement start, and after the response data to the transaction is returned from the measured server 1 in the immediately preceding measurement, participates in the measurement.

【0029】また、各測定クライアント3では、それぞ
れトランザクションを送信した送信時刻と、そのトラン
ザクションの応答データを受信した受信時刻とを測定す
ることにより、被測定サーバ1がトランザクションの処
理に要した時間(応答時間)を算出し、この応答時間の
データを記憶する。応答時間のデータは測定データサー
バ2に送信され、測定データサーバ2で処理されて図2
に示すようなサーバ性能特性4が出力される。
Further, each measuring client 3 measures the transmission time at which the transaction was transmitted and the reception time at which the response data of the transaction was received, so that the time required for the measured server 1 to process the transaction ( Response time), and the data of the response time is stored. The response time data is transmitted to the measurement data server 2, processed by the measurement data server 2, and
Is output as shown in FIG.

【0030】図2に示したグラフは、同時に処理するト
ランザクションの数に対する各トランザクションの平均
の処理時間の関係を示す被測定サーバ1の性能特性の例
である。サーバ性能特性は、一般的に図2に示すように
同時に処理するトランザクションの数に対してトランザ
クションの処理時間が比例する傾向にある。
The graph shown in FIG. 2 is an example of the performance characteristics of the measured server 1 showing the relationship between the number of transactions processed simultaneously and the average processing time of each transaction. In general, the server performance characteristics tend to be proportional to the number of transactions to be processed simultaneously as shown in FIG.

【0031】なお、図2に示したグラフは、サーバで処
理するトランザクション数を1つから7つまで変化させ
たときの特性である。
The graph shown in FIG. 2 shows the characteristics when the number of transactions processed by the server is changed from one to seven.

【0032】本発明のサーバ性能測定方式では、前述し
たように各測定クライアント3からそれぞれトランザク
ションを1つずつ送信するため、測定に参加する測定ク
ライアント3の台数を1台から7台まで変化させること
で、図2に示すようなグラフを得ることができる。
In the server performance measurement method of the present invention, since one transaction is transmitted from each measurement client 3 as described above, the number of measurement clients 3 participating in the measurement is changed from one to seven. Thus, a graph as shown in FIG. 2 can be obtained.

【0033】次に、図1に示した測定データサーバ2及
び測定クライアント3の構成について説明する。
Next, the configuration of the measurement data server 2 and the measurement client 3 shown in FIG. 1 will be described.

【0034】測定クライアント3は、主機能を実現する
構成として、被測定サーバ1に対してトランザクション
を送信し、そのトランザクションに対する応答データを
受信するトランザクション通信手段31と、被測定サー
バ1に送信するトランザクションの定義情報が格納され
るトランザクション定義ファイル33と、トランザクシ
ョンを送信した時刻と被測定サーバ1からの応答データ
の受信時刻とを記憶し、トランザクションの処理に要す
る時間(応答時間)を算出するトランザクション起動制
御部32と、被測定サーバ1からの応答データ、及びト
ランザクション起動制御部32で算出した応答時間のデ
ータを格納するトランザクション結果ファイル34と、
複数の測定クライアント3のトランザクション送信時刻
を同期させるための測定同期制御部38とを有してい
る。
The measurement client 3 has a configuration for realizing the main function. The measurement client 3 transmits a transaction to the measured server 1 and receives a response data to the transaction. Transaction definition file 33 in which the transaction definition information is stored, the time at which the transaction was transmitted, and the time at which the response data was received from the measured server 1 to calculate the time required for processing the transaction (response time). A control unit 32, a transaction result file 34 for storing response data from the measured server 1 and data of the response time calculated by the transaction start control unit 32,
It has a measurement synchronization control unit 38 for synchronizing the transaction transmission times of the plurality of measurement clients 3.

【0035】トランザクション通信手段31は、トラン
ザクション通信チャンネル5を介して被測定サーバ1に
対してトランザクションを送信し、被測定サーバ1から
トランザクションに対する応答データを受信したらトラ
ンザクション起動制御部32にそのトランザクション応
答データを返信する。
The transaction communication means 31 transmits a transaction to the measured server 1 via the transaction communication channel 5 and, when response data to the transaction is received from the measured server 1, sends the transaction response data to the transaction activation control unit 32. Reply.

【0036】トランザクション起動制御部32は、トラ
ンザクション定義ファイル33から送信するトランザク
ションの定義情報を読み出し、トランザクションを作成
してトランザクション通信手段31に渡すとともに、そ
の時刻を送信時刻として記憶する。また、トランザクシ
ョン通信手段31を介して受け取った被測定サーバ1か
らの応答データの受信時刻からトランザクションの送信
時刻を減算し、そのトランザクションの処理に要した処
理時間(応答時間)を算出する。そして、この応答時間
のデータをトランザクションに対する応答データととも
にトランザクション結果ファイル34に格納する。
The transaction activation control unit 32 reads the transaction definition information to be transmitted from the transaction definition file 33, creates a transaction, passes it to the transaction communication unit 31, and stores the time as a transmission time. In addition, the transmission time of the transaction is subtracted from the reception time of the response data from the measured server 1 received via the transaction communication unit 31, and the processing time (response time) required for processing the transaction is calculated. Then, the response time data is stored in the transaction result file 34 together with the response data for the transaction.

【0037】測定同期制御部38は、複数の測定クライ
アント3のトランザクション送信開始時刻を同期させる
機能を有し、トランザクションの送信開始のタイミング
を検出してトランザクション起動制御部32を起動す
る。
The measurement synchronization control unit 38 has a function of synchronizing the transaction transmission start times of the plurality of measurement clients 3, detects the timing of starting the transaction transmission, and activates the transaction activation control unit 32.

【0038】また、測定クライアント3は、測定データ
サーバ2から自測定クライアント3で必要なトランザク
ションの定義情報を受信し、測定データであるトランザ
クション結果ファイル34の内容を測定データサーバ2
に送信するファイル転送手段35と、トランザクション
を送信する測定クライアント3の台数を制御するための
測定準備制御部37と、サーバ性能特性の測定が終了し
たことを検出し、ファイル転送手段35にトランザクシ
ョン結果ファイル34に格納された測定データの転送を
指示する測定後処理制御部39と、各測定クライアント
3で共通に使用する測定データサーバ2の測定状態記憶
手段(測定状態を示す複数の状態値を記憶する手段)と
のインタフェース部であるデータ共有手段36とを、付
加的な構成として備えている。
The measurement client 3 receives the transaction definition information required by the measurement client 3 from the measurement data server 2 and stores the contents of the transaction result file 34 as the measurement data in the measurement data server 2.
, A measurement preparation control unit 37 for controlling the number of measurement clients 3 transmitting the transaction, and detecting that the measurement of the server performance characteristics has been completed. A post-measurement processing control unit 39 for instructing the transfer of the measurement data stored in the file 34; and a measurement state storage unit of the measurement data server 2 used in common by each measurement client 3 (a plurality of state values indicating the measurement state are stored). And a data sharing unit 36 as an interface unit with the data sharing unit 36.

【0039】ファイル転送手段35は、トランザクショ
ン定義ファイル33に格納されるトランザクションの定
義情報を、トランザクション定義ファイル転送チャンネ
ル6を介して測定ダータサーバ2から転送する。また、
トランザクション結果ファイル34に格納された応答デ
ータ及び応答時間のデータを、測定データサーバ2にト
ランザクション結果ファイル転送チャンネル6を介して
転送する。
The file transfer means 35 transfers the transaction definition information stored in the transaction definition file 33 from the measurement data server 2 via the transaction definition file transfer channel 6. Also,
The response data and the response time data stored in the transaction result file 34 are transferred to the measurement data server 2 via the transaction result file transfer channel 6.

【0040】測定準備制御部37は、測定に参加する測
定クライアント3の台数を制御するために設けられたも
のであり、ファイル転送手段36に、トランザクション
定義ファイル33に対する定義情報の転送を指示し、あ
わせて測定同期制御部38に対して動作の起動を指示す
る。
The measurement preparation control unit 37 is provided to control the number of measurement clients 3 participating in the measurement, and instructs the file transfer unit 36 to transfer definition information to the transaction definition file 33. At the same time, it instructs the measurement synchronization control unit 38 to start the operation.

【0041】測定後処理制御部39は、サーバ性能測定
が終了したことを検出し、ファイル転送手段35に、ト
ランザクション結果ファイル34のデータの転送を指示
する。また、測定が終了していない場合は、トランザク
ションを送信する測定クライアント3の台数を増やすた
めに、測定準備制御部37に対して再起動を指示する。
The post-measurement processing control unit 39 detects that the server performance measurement has been completed, and instructs the file transfer unit 35 to transfer the data of the transaction result file 34. If the measurement has not been completed, a restart is instructed to the measurement preparation control unit 37 in order to increase the number of measurement clients 3 transmitting the transaction.

【0042】上記測定準備制御部37、測定同期制御部
38、及び測定後処理制御部39は、データ共有手段3
6を介して、測定データサーバ2の各測定状態記憶手段
の内容を参照し、必要に応じて書き換える。
The measurement preparation control unit 37, the measurement synchronization control unit 38, and the post-measurement processing control unit 39
6, the contents of each measurement state storage means of the measurement data server 2 are referred to and rewritten as necessary.

【0043】一方、測定データサーバ2は、主機能を実
現する構成として、各測定クライアント3に対して送信
される、サーバ性能の測定に必要な複数のトランザクシ
ョンの定義情報が格納されたトランザクション定義ファ
イル群21と、各測定クライアント3で測定されたトラ
ンザクションに対する応答データ及び応答時間のデータ
が格納されるトランザクション結果ファイル群22と、
測定状態記憶手段であるサイクルカウンタ23、コピー
カウンタ24、測定中カウンタ26、終了サイクル数記
憶手段27、及び開始時刻記憶手段25とを有してい
る。
On the other hand, the measurement data server 2 has a configuration for realizing the main function, a transaction definition file transmitted to each measurement client 3 and storing definition information of a plurality of transactions necessary for measuring server performance. A group 21 and a transaction result file group 22 in which response data and response time data for the transaction measured by each measurement client 3 are stored;
It has a cycle counter 23, a copy counter 24, a measuring counter 26, an end cycle number storage unit 27, and a start time storage unit 25 which are measurement state storage units.

【0044】また、測定データサーバ2には、付加的な
構成として、トランザクション結果ファイル群22に蓄
積されたデータから、図2に示すようなサーバ性能特性
4を作成する結果集計手段28を備えている。
The measurement data server 2 is additionally provided with a result totaling means 28 for creating a server performance characteristic 4 as shown in FIG. 2 from the data stored in the transaction result file group 22. I have.

【0045】サイクルカウンタ23の値は、図2に示す
ようなグラフをプロットするのに必要な応答時間のデー
タが取得されるたびにカウントアップされ、終了サイク
ル数記憶手段27に格納された値まで処理が繰り返され
る。
The value of the cycle counter 23 is counted up each time data of a response time necessary to plot a graph as shown in FIG. The process is repeated.

【0046】コピーカウンタ24の値は、トランザクシ
ョン定義ファイル33、及びトランザクション結果ファ
イル34のファイルの転送の制御に用いられる。
The value of the copy counter 24 is used to control the transfer of the transaction definition file 33 and the transaction result file 34.

【0047】測定中カウンタ26の値は、サイクルカウ
ンタ23と同様に応答時間のデータが取得されるたびに
カウントアップされる。この測定中カウンタ26の値は
測定に参加している測定クライアント3の台数を示して
いる。
The value of the in-measurement counter 26 is incremented each time response time data is acquired, similarly to the cycle counter 23. The value of the in-measurement counter 26 indicates the number of measurement clients 3 participating in the measurement.

【0048】また、開始時刻記憶手段25には、測定ク
ライアント3のトランザクションの送信開始時刻が格納
される。
The start time storage means 25 stores the transmission start time of the transaction of the measuring client 3.

【0049】このような構成において、次に本発明のサ
ーバ性能測定方式の動作を説明する前に、前述した本発
明の各構成要素、及び関連する構成を実現するにあたっ
て用いることのできる一般的なクライアント/サーバ技
術を説明し、これらの技術を用いて実現できる構成要素
について列挙する。
In such a configuration, before describing the operation of the server performance measurement method of the present invention, the general components that can be used to realize the above-described components of the present invention and related configurations will be described. Client / server technologies will be described, and components that can be realized using these technologies will be listed.

【0050】測定クライアント3にはコンピュータを使
用することが可能であり、被測定サーバ1が担うクライ
アント/サーバ型業務システムで実運用されるクライア
ントコンピュータとして使用されるものを流用すること
ができる。
A computer can be used as the measurement client 3, and a client used as a client computer actually operated in a client / server type business system carried by the measured server 1 can be used.

【0051】また、測定データサーバ2についてもコン
ピュータを使用することが可能であり、一般的に利用さ
れているファイルサーバ装置であって、測定クライアン
ト3からサーバ上のファイルに対する読み書きが可能な
ものであればよい。なお、被測定サーバ1がファイルサ
ーバ機能を有する場合には、測定データサーバ2が備え
た構成要素を、被測定サーバ1に設けることも可能であ
る。
Also, a computer can be used for the measurement data server 2, and it is a generally used file server device that can read and write files on the server from the measurement client 3. I just need. When the measured server 1 has a file server function, the components included in the measurement data server 2 can be provided in the measured server 1.

【0052】トランザクション通信手段31及びトラン
ザクション通信チャンネル5には、被測定サーバ1が担
うクライアンント/サーバ型業務システムで運用される
ものをそのまま使用することができる。
As the transaction communication means 31 and the transaction communication channel 5, those operated by the client / server type business system carried by the server under measurement 1 can be used as they are.

【0053】トランザクション定義ファイル転送チャン
ネル6及びトランザクション結果ファイル転送チャンネ
ル7には、トランザクション通信チャンネル5として使
用される物理的なネットワーク機器(LANまたはWA
N)をそのまま使用し、ファイルサーバとして機能する
測定データサーバ2のファイルに対する読み書きが可能
なチャンネルによって実現することができる。
The transaction definition file transfer channel 6 and the transaction result file transfer channel 7 include a physical network device (LAN or WA) used as the transaction communication channel 5.
N) can be realized by using a channel that can read and write the file of the measurement data server 2 that functions as a file server, using the same as it is.

【0054】また、ファイル転送手段35には、一般的
なクライアントコンピュータを用いることが可能であ
り、このときファイルの転送を行わせるためにはファイ
ルコピーコマンドを用いればよい。
A general client computer can be used as the file transfer means 35. At this time, a file copy command may be used to transfer the file.

【0055】また、サイクルカウンタ23、コピーカウ
ンタ24、測定中カウンタ26、終了サイクル数記憶手
段27、及び開始時刻記憶手段25の値は、測定データ
サーバ2であるファイルサーバ上のファイルにそれぞれ
格納する。このようにすることで、クライアントコンピ
ュータで一般的に利用可能な、ファイルサーバ上のファ
イルに対する読み書き機能とファイルロック機能とを用
いてデータ共有手段36を容易に実現することができ
る。
The values of the cycle counter 23, the copy counter 24, the in-measurement counter 26, the end cycle number storage means 27, and the start time storage means 25 are respectively stored in files on the file server which is the measurement data server 2. . In this way, the data sharing unit 36 can be easily realized by using a file read / write function and a file lock function for a file on the file server that can be generally used by a client computer.

【0056】次に、本発明のサーバ性能測定方式の動作
について、図1を参照しつつ、図3〜図7を用いて説明
する。
Next, the operation of the server performance measurement system of the present invention will be described with reference to FIG. 1 and FIGS.

【0057】まず、サーバ性能特性の測定を開始する前
に、初期設定として、測定者は不図示の入力手段によっ
て測定データサーバ2のサイクルカウンタ23及び終了
サイクル数記憶手段27に、測定データの取得回数を示
す値を設定する。例えば図2に示したグラフを求める場
合は、サイクルカウンタ23に「1」を、また終了サイ
クル数記憶手段27に「7」を書き込む。
First, before starting the measurement of the server performance characteristics, as an initial setting, the measurer obtains the measurement data in the cycle counter 23 and the end cycle number storage means 27 of the measurement data server 2 by input means (not shown). Set a value indicating the number of times. For example, when obtaining the graph shown in FIG. 2, “1” is written in the cycle counter 23 and “7” is written in the end cycle number storage unit 27.

【0058】また、コピーカウンタ24、及び測定中カ
ウンタ26には、「0」を設定して初期化しておく。な
お、開始時刻記憶手段25に初期値を設定しておく必要
はない。
The copy counter 24 and the in-measurement counter 26 are initialized by setting "0". It is not necessary to set an initial value in the start time storage means 25.

【0059】測定クライアント3は終了サイクル数記憶
手段27に設定した値と同数以上の台数をあらかじめ起
動しておく。各測定クライアント3には同じ制御プログ
ラムが内蔵されているため、各測定クライアント3は、
電源が投入されて被測定サーバ1と測定データサーバ2
との通信が行える準備が完了した後、まず最初に測定準
備制御部37を起動する。
The number of measurement clients 3 is equal to or greater than the number set in the end cycle number storage means 27 in advance. Since the same control program is built in each measurement client 3, each measurement client 3
When the power is turned on, the measured server 1 and the measurement data server 2
After the preparation for performing communication with the measurement is completed, the measurement preparation control unit 37 is first activated.

【0060】なお、以下の説明では複数の測定クライア
ント3のうち、任意の1台の測定クライアント3を例に
して、測定準備制御部37、測定同期制御部38、トラ
ンザクション起動制御部32、及び測定後処理制御部3
9の動作について説明している。また、前述したよう
に、サーバ性能特性を測定する際には、測定に参加する
測定クライアント3を1台ずつ増加させながら測定デー
タを取得していく。したがって、以下では、これらサー
バ性能特性の測定に参加する測定クライアント3が、同
期して動作する様子についても説明している。
In the following description, an arbitrary one of the plurality of measurement clients 3 is taken as an example, and the measurement preparation control unit 37, the measurement synchronization control unit 38, the transaction start control unit 32, and the measurement Post-processing control unit 3
9 has been described. As described above, when measuring the server performance characteristics, measurement data is acquired while increasing the number of measurement clients 3 participating in the measurement one by one. Therefore, the following description also explains how the measurement clients 3 participating in the measurement of the server performance characteristics operate synchronously.

【0061】まず最初に、測定準備制御部37の動作に
ついて図3を用いて説明する。図3は図1に示したサー
バ性能測定方式の測定準備制御部の動作手順を示すフロ
ーチャートである。
First, the operation of the measurement preparation control section 37 will be described with reference to FIG. FIG. 3 is a flowchart showing an operation procedure of the measurement preparation control unit of the server performance measurement method shown in FIG.

【0062】図3において、測定準備制御部37は、ま
ず、自測定クライアント3に付与されたクライアントN
o.とサイクルカウンタ23の値とを比較し、サイクル
カウンタ23の値がクライアントNo.以上であるか否
かを判定する(ステップ2001)。
In FIG. 3, the measurement preparation control unit 37 first sets the client N assigned to the self-measurement client 3.
o. Is compared with the value of the cycle counter 23, and the value of the cycle counter 23 is It is determined whether or not this is the case (step 2001).

【0063】ここで、クライアントNo.は各測定クラ
イアント3に、それぞれ一意に、かつ連続して割り当て
られる自然数である。なお、クライアントNo.は、ネ
ットワーク上のクライアントコンピュータを一意に識別
するID(IPアドレス、コンピュータ名等)から変換
することで容易に取得することができる。
Here, the client No. Is a natural number uniquely and continuously assigned to each measurement client 3. Note that the client No. Can be easily obtained by converting from an ID (IP address, computer name, etc.) that uniquely identifies the client computer on the network.

【0064】ステップ2001でサイクルカウンタ23
の値がクライアントNo.未満の場合、時間t1秒だけ
待って(ステップ2002)、ステップ2001の処理
に戻る。このようにして、測定クライアント3はサイク
ルカウンタ23の値が自クライアントNo.の値以上に
なるまでステップ2001とステップ2002とを繰り
返し、サーバ性能特性の測定に参加する時刻まで待機す
る。
In step 2001, the cycle counter 23
Is the client No. If it is less than the time, the process waits for the time t1 second (step 2002), and returns to the process of step 2001. In this way, the measurement client 3 sets the value of the cycle counter 23 to its own client No. Step 2001 and Step 2002 are repeated until the value becomes equal to or more than the value of, and it waits until the time to participate in the measurement of the server performance characteristic.

【0065】なお、時間t1の値は十分大きな値(数分
程度)に設定しておき、頻繁にサイクルカウンタ23を
参照しないようにする。
The value of the time t1 is set to a sufficiently large value (about several minutes) so that the cycle counter 23 is not frequently referred to.

【0066】一方、ステップ2001で、サイクルカウ
ンタ23の値がクライアントNo.以上である場合は、
自測定クライアント3がサーバ性能特性の測定に参加す
る時刻に達したため、ステップ2003に遷移し、ま
ず、コピーカウンタ24の値に「1」を加算した値と自
測定クライアント3のクライアントNo.とが等しいか
否かを判定する。
On the other hand, in step 2001, the value of the cycle counter 23 is changed to the client No. If so,
Since the time at which the self-measurement client 3 participates in the measurement of the server performance characteristic has been reached, the process proceeds to step 2003, and first, a value obtained by adding “1” to the value of the copy counter 24 and the client No. Is determined to be equal to or not.

【0067】コピーカウンタ24の値に「1」を加算し
た値とクライアントNo.とが等しくない場合、時間t
2秒だけ待って(ステップ2004)、ステップ200
3の処理に戻る。このようにして、ステップ2003と
ステップ2004とを繰り返すことで、トランザクショ
ン定義ファイル33に対するファイルの転送開始の時刻
まで待機する。
The value obtained by adding “1” to the value of the copy counter 24 and the client No. Is not equal to the time t
Wait for 2 seconds (step 2004), and step 200
The process returns to step 3. In this way, by repeating step 2003 and step 2004, the process waits until the file transfer to the transaction definition file 33 starts.

【0068】なお、時間t2の値は測定データサーバ2
の能力と、ネットワーク上のトラヒックが飽和しない範
囲内で、できるだけ小さい値(数秒)に設定しておく。
It should be noted that the value of the time t2 is measured by the measurement data server 2.
And a value as small as possible (several seconds) within a range where traffic on the network is not saturated.

【0069】ステップ2003でコピーカウンタ24の
値に「1」を加算した値とクライアントNo.とが等し
い場合は、トランザクション定義ファイル33に対する
ファイルの転送開始の時刻に達したことを意味するた
め、ステップ2005に遷移してファイル転送手段35
に対してファイルの転送を指示する。
In step 2003, the value obtained by adding “1” to the value of the copy counter 24 and the client No. If this is the case, it means that the time for starting the transfer of the file to the transaction definition file 33 has been reached.
To transfer the file.

【0070】ファイル転送手段35は、測定データサー
バ2のトランザクション定義ファイル群21のなかか
ら、必要な定義情報のファイルを1つだけ選択し、トラ
ンザクション定義ファイル34へ転送をする。
The file transfer means 35 selects only one necessary definition information file from the transaction definition file group 21 of the measurement data server 2 and transfers it to the transaction definition file 34.

【0071】このとき、トランザクション定義ファイル
群21に格納された個々のファイルのファイル名にクラ
イアント番号を含んだ名称を設定しておくことで、ファ
イルの選択を容易に行うことができる。
At this time, by setting a name including a client number in the file name of each file stored in the transaction definition file group 21, the file can be easily selected.

【0072】ステップ2005でファイルの転送が完了
したら、次にコピーカウンタ24の値に「1」を加算す
る(ステップ2006)。そして、コピーカウンタ24
の値とサイクルカウンタ23の値が等しいか否かを判定
する(ステップ2007)。
When the transfer of the file is completed in step 2005, "1" is added to the value of the copy counter 24 (step 2006). Then, the copy counter 24
Is determined whether or not the value of the cycle counter 23 is equal to the value of the cycle counter 23 (step 2007).

【0073】コピーカウンタ24の値とサイクルカウン
タ23の値が等しくない場合は、測定に参加する測定ク
ライアント3のトランザクション定義ファイル33に対
して定義情報のファイルの転送が完了していないため、
時間t3秒だけ待って(ステップ2008)、ステップ
2007の処理を再実行し、各測定クライアント3のフ
ァイルの転送が終了するまで待機する。このとき、時間
t3の値は時間t2の値と同じ値に設定しておく。
If the value of the copy counter 24 is not equal to the value of the cycle counter 23, the transfer of the definition information file to the transaction definition file 33 of the measurement client 3 participating in the measurement has not been completed.
After waiting for the time t3 seconds (step 2008), the process of step 2007 is re-executed, and the process waits until the file transfer of each measurement client 3 is completed. At this time, the value of the time t3 is set to the same value as the value of the time t2.

【0074】ステップ2007で、コピーカウンタ24
の値とサイクルカウンタ23の値が等しい場合、測定に
参加する全ての測定クライアント3に対してファイルの
転送が完了したため、測定同期制御部38を起動した後
(ステップ2009)、測定準備制御部37はその処理
を終了する。
At step 2007, the copy counter 24
Is equal to the value of the cycle counter 23, the file transfer to all the measurement clients 3 participating in the measurement has been completed, and the measurement synchronization control unit 38 is activated (step 2009). Ends the processing.

【0075】次に、測定同期制御部38の動作について
図4を用いて説明する。図4は図1に示したサーバ性能
測定方式の測定同期制御部の動作手順を示すフローチャ
ートである。
Next, the operation of the measurement synchronization control section 38 will be described with reference to FIG. FIG. 4 is a flowchart showing an operation procedure of the measurement synchronization control unit of the server performance measurement method shown in FIG.

【0076】図4において、測定準備制御部37によっ
て起動された測定同期制御部38は、まず、自測定クラ
イアント3のクライアントNo.が「1」であるか否か
を判定する。
In FIG. 4, the measurement synchronization control unit 38 started by the measurement preparation control unit 37 firstly outputs the client number of the self-measurement client 3. Is determined to be “1”.

【0077】クライアントNo.が「1」である場合、
現在時刻に時間t4(秒)を加算し、この時刻を開始時
刻記憶手段25に格納する(ステップ3002)。時間
t4の値はステップ3002を実行するのに要する時間
と後述するステップ3004の実行を開始するのに要す
る時間の和よりも十分に長い値に設定しておく。通常、
60秒から120秒以上の時間に設定される。
The client No. Is "1",
The time t4 (second) is added to the current time, and this time is stored in the start time storage means 25 (step 3002). The value of the time t4 is set to a value sufficiently longer than the sum of the time required to execute step 3002 and the time required to start execution of step 3004 described later. Normal,
The time is set from 60 seconds to 120 seconds or more.

【0078】ステップ3001でクライアントNo.が
「1」でない場合、ステップ3003に移って、時間t
5秒だけ待機する。時間t5の値はステップ3002の
実行に要する時間よりも十分大きく、かつ時間t4の値
より十分小さい値に設定しておく。通常、時間t5の値
の半分程度の値に設定すればよい。
At step 3001, the client No. If is not “1”, the process moves to step 3003 and the time t
Wait for 5 seconds. The value of the time t5 is set to a value sufficiently larger than the time required for executing the step 3002 and sufficiently smaller than the value of the time t4. Usually, it is sufficient to set the value to about half of the value of the time t5.

【0079】ステップ3002またはステップ3003
のいずれかを実行した後、測定同期制御部38は、クラ
イアントNo.1の測定クライアント3によって開始時
刻記憶手段25に格納された時刻を読み出し(自測定ク
ライアント3のクライアントNo.が「1」の場合は自
測定クライアント3で設定した時刻を読み出す)、この
時刻まで待機する(ステップ3004)。これにより、
測定に参加する全ての測定クライアント3のトランザク
ションの送信開始時刻を正確に同期させることができ
る。
Step 3002 or step 3003
After the execution of any one of the client No. 1 reads the time stored in the start time storage means 25 by the measurement client 3 (if the client number of the self-measurement client 3 is “1”, reads the time set by the self-measurement client 3) and waits until this time (Step 3004). This allows
The transmission start times of the transactions of all the measurement clients 3 participating in the measurement can be accurately synchronized.

【0080】次に、測定同期制御部38は、測定中カウ
ンタ26の値に「1」を加算する(ステップ300
5)。結果として、測定中カウンタ26の値はサーバ性
能特性の測定に参加している測定クライアント3の台数
と同じ値になる。なお、各測定クライアント3は開始時
刻記憶手段25に設定された時刻にステップ3005の
処理を開始する。
Next, the measurement synchronization control section 38 adds “1” to the value of the counter 26 during measurement (step 300).
5). As a result, the value of the in-measurement counter 26 becomes the same value as the number of measurement clients 3 participating in the measurement of the server performance characteristics. Note that each measurement client 3 starts the process of step 3005 at the time set in the start time storage unit 25.

【0081】そして、トランザクション起動制御部32
を起動した後(ステップ3006)、測定同期制御部3
8はその処理を終了する。
Then, the transaction start control unit 32
Is activated (step 3006), the measurement synchronization control unit 3
8 ends the processing.

【0082】次に、トランザクション起動制御部32の
動作について図5を用いて説明する。図5は図1に示し
たサーバ性能測定方式のトランザクション起動制御部の
動作手順を示すフローチャートである。
Next, the operation of the transaction activation control unit 32 will be described with reference to FIG. FIG. 5 is a flowchart showing an operation procedure of the transaction start control unit of the server performance measurement method shown in FIG.

【0083】図5において、測定同期制御部38によっ
て起動されたトランザクション起動制御部32は、ま
ず、トランザクション定義ファイル33からトランザク
ションの定義情報を1つ読み出し(ステップ400
1)、送信するトランザクションを作成してトランザク
ション通信手段31を介して被測定サーバ1に送信する
とともに、その送信時刻を記憶する。(ステップ400
2)。
In FIG. 5, the transaction start control unit 32 started by the measurement synchronization control unit 38 first reads one piece of transaction definition information from the transaction definition file 33 (step 400).
1) A transaction to be transmitted is created and transmitted to the measured server 1 via the transaction communication means 31, and the transmission time is stored. (Step 400
2).

【0084】次に、送信したトランザクションに対する
被測定サーバ1からの応答データをトランザクション通
信手段31を介して受信し、その受信時刻を記憶する
(ステップ4003)。
Next, response data from the server under measurement 1 to the transmitted transaction is received via the transaction communication means 31 and the reception time is stored (step 4003).

【0085】受信時刻を記憶したら、受信時刻と送信時
刻の差から送信したトランザクションに対する応答時間
を算出し、トランザクションの応答データと応答時間の
データとをトランザクション結果ファイル34に格納す
る(ステップ4004)。
After storing the reception time, the response time for the transmitted transaction is calculated from the difference between the reception time and the transmission time, and the transaction response data and the response time data are stored in the transaction result file 34 (step 4004).

【0086】そして、全てのトランザクション(1つあ
るいは2つ以上)について送信したか否かを判定し(ス
テップ4005)、送信が完了していなければステップ
4001に戻って、上記ステップ4001〜ステップ4
004の処理を繰り返す。
Then, it is determined whether or not all the transactions (one or two or more) have been transmitted (step 4005). If the transmission has not been completed, the process returns to step 4001, and the above-mentioned steps 4001 to 4
Step 004 is repeated.

【0087】全てのトランザクションの送信が完了した
ら、測定後処理制御部39の起動を指示し(ステップ4
006)、トランザクション起動制御部32はその処理
を終了する。
When transmission of all the transactions is completed, an instruction to start the post-measurement processing control unit 39 is issued (step 4).
006), the transaction activation control unit 32 ends the processing.

【0088】次に、測定後処理制御部39の動作につい
て図6を用いて説明する。図6は図1に示したサーバ性
能測定方式の測定終了後処理制御部の動作手順を示すフ
ローチャートである。
Next, the operation of the post-measurement process control section 39 will be described with reference to FIG. FIG. 6 is a flowchart showing an operation procedure of the post-measurement-end processing control unit of the server performance measurement method shown in FIG.

【0089】図6において、トランザクション起動制御
部32によって起動された測定後処理制御部39は、ま
ず、測定中カウンタ26の値から「1」を減算する(ス
テップ5001)。
In FIG. 6, the post-measurement process control unit 39 started by the transaction start control unit 32 first subtracts “1” from the value of the in-measurement counter 26 (step 5001).

【0090】サーバ性能特性の測定に参加している複数
の測定クライアント3では、同時刻に測定後処理起動部
39が起動する保証はないため、測定中カウンタ26の
値が「0」であるか否かを判定し(ステップ500
2)、測定中カウンタ26の値が「0」でない場合は、
全ての測定クライアント3が測定を完了していないもの
とみなして、時間t6秒だけ待ち(ステップ500
3)、ステップ5002の処理を再実行する。なお、時
間t6には、時間t1と同じ値の十分大きい値を設定し
ておく。
In the plurality of measurement clients 3 participating in the measurement of the server performance characteristics, there is no guarantee that the post-measurement process activation unit 39 will be activated at the same time. Is determined (step 500).
2) If the value of the counter 26 during measurement is not “0”,
Assuming that all the measurement clients 3 have not completed the measurement, the system waits for a time t6 seconds (step 500).
3) Re-execute the process of step 5002. At time t6, a sufficiently large value equal to the time t1 is set.

【0091】ステップ5002の判定の結果、測定中カ
ウンタ26の値が「0」であるならば、全ての測定に参
加している測定クライアント3で測定処理が完了したこ
とになる。
If the result of the determination in step 5002 is that the value of the in-measurement counter 26 is “0”, it means that the measurement processing has been completed in the measurement clients 3 participating in all the measurements.

【0092】次に、測定後処理制御部39はコピーカウ
ンタ24の値とクライアントNo.の値とが同じである
か否かを判定する(ステップ5004)。
Next, the post-measurement processing control section 39 sets the value of the copy counter 24 and the client No. It is determined whether or not the value is the same (step 5004).

【0093】ステップ5004で、コピーカウンタ24
の値とクライアントNo.の値とが同じでない場合は、
測定結果を格納したトランザクション結果ファイル34
から測定データサーバ2にファイルの転送を行う時刻に
達していないものとみなし、時間t7秒だけ待って(ス
テップ5005)、ステップ5004の処理に戻る。こ
のとき、時間t7の値は時間t2と同じ値を設定してお
く。
At step 5004, the copy counter 24
And the client No. Is not the same as
Transaction result file 34 storing measurement results
, It is considered that the time to transfer the file to the measurement data server 2 has not arrived, and after waiting for a time t7 seconds (step 5005), the process returns to step 5004. At this time, the value of the time t7 is set to the same value as the time t2.

【0094】ステップ5004でコピーカウンタ24の
値とクライアントNo.の値とが同じである場合は、ト
ランザクション結果ファイル33の内容を測定データサ
ーバ2へ転送するようにファイル転送手段35に対して
指示を出す(ステップ5006)。
At step 5004, the value of the copy counter 24 and the client No. If the value is the same, an instruction is issued to the file transfer means 35 to transfer the contents of the transaction result file 33 to the measurement data server 2 (step 5006).

【0095】ファイル転送手段35は、トランザクショ
ン結果ファイル群22の中から1つのファイルを選択
し、このファイルに自測定クライアント3のトランザク
ション結果ファイル34に格納された測定データを転送
する。
The file transfer means 35 selects one file from the transaction result file group 22 and transfers the measurement data stored in the transaction result file 34 of the self-measurement client 3 to this file.

【0096】なお、このときトランザクション結果ファ
イル群22の個々のファイル名に、クライアントNo.
を含むような名称を指定しておけば、このファイルの選
択を容易に行うことができる。
At this time, the client number is added to each file name of the transaction result file group 22.
By designating a name that includes “!”, This file can be easily selected.

【0097】ファイルの転送が完了したら、コピーカウ
ンタ24の値から「1」を減算し(ステップ500
7)、減算したコピーカウンタ24の値が「0」である
か否かを判定する(ステップ5008)。
When the file transfer is completed, "1" is subtracted from the value of the copy counter 24 (step 500).
7) It is determined whether or not the value of the subtracted copy counter 24 is “0” (step 5008).

【0098】コピーカウンタ24の値が「0」でない場
合、測定に参加した測定クライアント3のトランザクシ
ョン結果ファイル34のファイルの転送が完了していな
いものとみなし、時間t8秒だけ待った後(ステップ5
009)、ステップ5008の処理を再実行する。
If the value of the copy counter 24 is not "0", it is regarded that the transfer of the transaction result file 34 of the measurement client 3 participating in the measurement has not been completed, and after waiting for a time t8 seconds (step 5).
009), the processing of step 5008 is executed again.

【0099】ステップ5008でコピーカウンタ24の
値が「0」である場合は、測定に参加した全ての測定ク
ライアント3から測定データがトランザクション結果フ
ァイル群22に格納されたことを意味する。
When the value of the copy counter 24 is “0” in step 5008, it means that the measurement data from all the measurement clients 3 participating in the measurement has been stored in the transaction result file group 22.

【0100】次に、サイクルカウンタ23の値と終了サ
イクル数記憶手段27の値を比較し、サーバ性能特性を
プロットするのに必要な全ての測定データを取得したか
否かを判定する(ステップ5010)。
Next, the value of the cycle counter 23 is compared with the value of the end cycle number storage means 27, and it is determined whether or not all measurement data necessary for plotting the server performance characteristics has been obtained (step 5010). ).

【0101】サイクルカウンタ23の値と終了サイクル
数記憶手段27の値が同じである場合、全ての測定が完
了したものとみなし、時間t9秒だけ待って(ステップ
5011)、ステップ5010の処理を再実行する。こ
のとき、時間t9の値は時間t2と同じ値に設定する。
なお、測定者はサイクルカウンタ23と終了サイクル数
記憶手段27の値を再設定することで容易に再測定を行
うことができる。
When the value of the cycle counter 23 and the value of the end cycle number storage means 27 are the same, it is considered that all the measurements have been completed, and after waiting for a time t9 seconds (step 5011), the processing of step 5010 is restarted. Execute. At this time, the value of the time t9 is set to the same value as the time t2.
The measurer can easily perform re-measurement by resetting the values of the cycle counter 23 and the end cycle number storage means 27.

【0102】ステップ5010で、サイクルカウンタ2
3の値と終了サイクル数記憶手段27の値が同じでない
場合は、送信するトランザクション数を増やして(測定
クライアント3の数を増やして)追加測定を行う必要が
ある。
At step 5010, the cycle counter 2
If the value of 3 is not the same as the value of the end cycle number storage means 27, it is necessary to increase the number of transactions to be transmitted (increase the number of measurement clients 3) to perform additional measurement.

【0103】この場合、まず最初に自測定クライアント
3のクライアントNo.が「1」であるか否かを判定し
(ステップ5012)、クライアントNo.が「1」の
とき、サイクルカウンタ23の値に「1」を加算して
(ステップ5013)トランザクション数を増やし、測
定準備制御部37を再起動した上で(ステップ501
4)、測定後処理制御部39はその処理を終了する。
In this case, first, the client No. of the self-measurement client 3 is determined. Is determined to be “1” (step 5012), and the client No. Is “1”, “1” is added to the value of the cycle counter 23 (step 5013), the number of transactions is increased, and the measurement preparation control unit 37 is restarted (step 501).
4), the post-measurement process control unit 39 ends the process.

【0104】次に、サイクルカウンタに「1」、終了サ
イクル記憶手段に「3」を設定した場合を例にして、サ
ーバ性能特性の測定に参加する各測定クライアント3の
動作が同期する様子について、図3〜図6を参照しつつ
図7を用いて説明する。
Next, an example of a case where the cycle counter is set to “1” and the end cycle storage means is set to “3” will be described as an example of how the operations of the measuring clients 3 participating in the measurement of the server performance characteristics are synchronized. This will be described with reference to FIG. 7 while referring to FIGS.

【0105】図7は本発明のサーバ性能測定方式の動作
の様子を示すタイミングチャートである。なお、図7の
(A)〜(G)の信号名称であるT1 〜T7 は、それぞ
れ図1に示したトランザクション通信チャンネル5、ト
ランザクション定義ファイル転送チャンネル6、トラン
ザクション結果ファイル転送チャンネル7、及び同期情
報転送チャンネル8の各伝送路にそれぞれ付与された名
称を示している。
FIG. 7 is a timing chart showing the operation of the server performance measurement system of the present invention. Incidentally, T 1 through T 7 is the signal name of the (A) ~ (G) in FIG. 7, the transaction communication channel 5 shown in FIG. 1, respectively, the transaction definition file transfer channels 6, the transaction result file transfer channel 7 and, The names given to the respective transmission paths of the synchronization information transfer channel 8 are shown.

【0106】図7(A)及び(B)に示すように、サイ
クルカウンタ23の値は「1」、コピーカウンタ24の
値は「0」に設定され初期化されている。
As shown in FIGS. 7A and 7B, the value of the cycle counter 23 is set to "1", and the value of the copy counter 24 is set to "0" and initialized.

【0107】まず、クライアントNo.1の測定クライ
アント3では、測定準備制御部37によって図3に示し
たステップ2005が実行され、図7(E)に示すよう
に、測定データサーバ2からクライアントNo.1の測
定クライアント3に対してトランザクションの定義情報
が転送される。
First, the client No. In the measurement client 3 of No. 1, the step 2005 shown in FIG. 3 is executed by the measurement preparation control unit 37, and as shown in FIG. The transaction definition information is transferred to one measurement client 3.

【0108】トランザクションの定義情報が転送後、測
定準備制御部37によってコピーカウンタ24の値に
「1」が加算され(図3に示したステップ2006)、
図7(B)に示すように、コピーカウンタ24の値は
「1」に切り替わる。このタイミングでコピーカウンタ
24の値とサイクルカウンタ23の値とが等しくなり
(ステップ2007の判定結果がYES)、クライアン
トNo.1の測定クライアント3で測定同期制御部38
が起動される。
After the transaction definition information is transferred, “1” is added to the value of the copy counter 24 by the measurement preparation control unit 37 (step 2006 shown in FIG. 3).
As shown in FIG. 7B, the value of the copy counter 24 switches to “1”. At this timing, the value of the copy counter 24 becomes equal to the value of the cycle counter 23 (the determination result in step 2007 is YES). Measurement synchronization control unit 38 in one measurement client 3
Is started.

【0109】次に、測定同期制御部38によって、図7
(C)に示すように開始時刻記憶手段25にta +t4
なる時刻が設定される(図4に示したステップ300
2)。
Next, the measurement synchronization control unit 38 controls the operation shown in FIG.
As shown in (C), the start time storage means 25 stores t a + t4
Is set (step 300 shown in FIG. 4).
2).

【0110】そして、図7(D)に示すように測定中カ
ウンタ26の値が「1」になり(図4に示すステップ3
004〜ステップ3005)、クライアントNo.1の
測定クライアント3でトランザクション起動制御部32
が起動され(図4に示すステップ3006)、図7
(G)に示すように、トランザクション通信チャンネル
5上にクライアントNo.1の測定クライアント3から
のトランザクションが送信される。
Then, as shown in FIG. 7D, the value of the in-measurement counter 26 becomes "1" (step 3 shown in FIG. 4).
004 to step 3005), the client No. Transaction start control unit 32 in one measurement client 3
Is started (step 3006 shown in FIG. 4), and FIG.
(G), the client No. on the transaction communication channel 5. A transaction from one measurement client 3 is transmitted.

【0111】トランザクション定義ファイル33中のト
ランザクションの処理が終了すると、図7(G)に示す
ようにトランザクション通信チャンネル5には、クライ
アントNo.1の測定クライアント3からのトランザク
ションの送信が終了し、測定後処理制御部39が起動さ
れる(図5に示すステップ4006)。
When the processing of the transaction in the transaction definition file 33 is completed, as shown in FIG. The transmission of the transaction from the first measurement client 3 ends, and the post-measurement processing control unit 39 is activated (step 4006 shown in FIG. 5).

【0112】そして、ステップ5001が実行されるこ
とで、測定後処理制御部39によって図7(D)に示す
ように測定中カウンタ26の値が「0」に戻るため(図
6に示すステップ5001)、コピーカウンタ24の値
とクライアントNo.の値とが等しくなり(図6に示す
ステップ5004の判定結果がYES)、図7(F)に
示すようにクライアントNo.1の測定クライアント3
からトランザクション結果ファイル34に格納された測
定データがファイル転送手段35によって測定データサ
ーバ2へ転送される(図6に示すステップ5006)。
Then, by executing step 5001, the value of the in-measurement counter 26 returns to “0” as shown in FIG. 7D by the post-measurement processing control unit 39 (step 5001 shown in FIG. 6). ), The value of the copy counter 24 and the client No. Are equal to each other (the determination result of step 5004 shown in FIG. 6 is YES), and as shown in FIG. 1 measurement client 3
Then, the measurement data stored in the transaction result file 34 is transferred to the measurement data server 2 by the file transfer means 35 (Step 5006 shown in FIG. 6).

【0113】測定データの転送終了後、図7(B)に示
すようにコピーカウンタ24の値は「0」に戻る(図6
に示すステップ5007)。その後、クライアントN
o.1の測定クライアント3で図7(A)に示すように
サイクルカンタ23の値が「2」に更新される(図6に
示すステップ5012、ステップ5013)。
After the transfer of the measurement data is completed, the value of the copy counter 24 returns to “0” as shown in FIG. 7B (FIG. 6).
Step 5007). Then, client N
o. As shown in FIG. 7A, the value of the cycle counter 23 is updated to “2” in the first measurement client 3 (steps 5012 and 5013 shown in FIG. 6).

【0114】ここまでの間、クライアントNo.1以外
の測定クライアント3は、図3に示すステップ200
1、及びステップ2002を繰り返し、待機状態になっ
ている。
Up to this point, the client No. The measurement client 3 other than 1 is used in step 200 shown in FIG.
Step 1 and Step 2002 are repeated, and a standby state is established.

【0115】以降、クライアントNo.1、及びクライ
アントNo.2の2台の測定クライアント3で同様の処
理が実行される。
Thereafter, the client No. 1 and client No. A similar process is executed by the two measurement clients 3.

【0116】前述したようにクライアントNo.1のみ
による測定が終了すると、サイクルカウンタ23の値が
「2」になるため、図7(E)、(B)に示すように、
トランザクション定義ファイル33のファイルの転送状
態にあわせて、コピーカウンタ24の値は「0」、
「1」、「2」と変化し、図7(C)に示すように、ク
ライアントNo.1の測定クライアント3が設定した開
始時刻記憶手段25の時刻tb +t4に、クライアント
No.1及びクライアントNo.2の測定クライアント
3が、図7(G)に示すようにトランザクション通信チ
ャンネル5に対してトランザクションを同時に送出す
る。
As described above, the client No. When the measurement using only 1 is completed, the value of the cycle counter 23 becomes “2”, and as shown in FIGS. 7 (E) and (B),
The value of the copy counter 24 is “0” according to the transfer state of the file of the transaction definition file 33,
“1” and “2”, and as shown in FIG. At the time t b + t4 of the start time storage means 25 set by the measurement client 3 of client No. 1, the client No. 1 and client No. The two measurement clients 3 simultaneously transmit transactions to the transaction communication channel 5 as shown in FIG.

【0117】この間、図7(D)に示すように、測定中
カウンタ26の値は「2」を示し、各測定クライアント
3のトランザクションが送信される度、この値が減算さ
れる。そして、2台の測定クライアント3のトランザク
ション送信が完了した時点で測定中カウンタ26の値が
「0」になる。
During this period, as shown in FIG. 7D, the value of the measuring counter 26 indicates “2”, and this value is decremented each time a transaction of each measuring client 3 is transmitted. When the transaction transmission of the two measurement clients 3 is completed, the value of the measuring counter 26 becomes “0”.

【0118】このタイミングで図7(F)に示すよう
に、トランザクション結果ファイル34のファイルの転
送が開始される。
At this timing, as shown in FIG. 7F, transfer of the transaction result file 34 is started.

【0119】トランザクション結果ファイル34のファ
イルの転送状態に合わせて、図7(B)に示すように、
コピーカウンタ24の値は「2」、「1」、「0」と変
化して「0」に戻り、それと同時に図7(A)に示すよ
うにサイクルカウンタ23の値が「3」に加算され、次
の測定ではクライアントNo.3の測定クライアント3
がサーバ性能特性の測定に参加する。このようにして、
測定クライアント3の台数が3台に増加し、同様の処理
を継続する。
According to the file transfer status of the transaction result file 34, as shown in FIG.
The value of the copy counter 24 changes to “2”, “1”, “0” and returns to “0”. At the same time, the value of the cycle counter 23 is added to “3” as shown in FIG. In the next measurement, the client No. 3 measurement clients 3
Participate in measuring server performance characteristics. In this way,
The number of measurement clients 3 increases to three, and the same processing is continued.

【0120】以上説明したように、各測定クライアント
3が有するトランザクション起動制御部32によって、
トランザクションの送信とそれに対する応答時間の計算
が行われため、測定クライアント3の処理性能に律速さ
れることがなく、正確なサーバ性能特性を測定すること
ができる。
As described above, the transaction activation control unit 32 of each measuring client 3
Since the transaction is transmitted and the response time is calculated, the server performance characteristics can be accurately measured without being limited by the processing performance of the measuring client 3.

【0121】また、各測定クライアント3が有する測定
同期制御部38によって、測定に参加する全ての測定ク
ライアント3の測定開始の時刻が同期する。このとき、
各測定クライアント3は1つのトランザクションに対す
る応答時間を計算するだけで良いため、通常の運用で用
いるクライアントコンピュータを測定クライアント3に
流用することができるため、特殊なハードウエアを用い
ずに、容易に、正確なサーバ性能特性が測定できる。
Further, the measurement start time of all the measurement clients 3 participating in the measurement is synchronized by the measurement synchronization control unit 38 of each measurement client 3. At this time,
Since each measurement client 3 only needs to calculate the response time for one transaction, a client computer used in a normal operation can be used as the measurement client 3, so that it can be easily used without using special hardware. Accurate server performance characteristics can be measured.

【0122】また、測定開始前に、測定データサーバ2
から必要なトランザクションの定義情報をトランザクシ
ョン定義ファイル33に転送するため、トランザクショ
ンを配布する手間がかからない。同様に、測定後処理制
御部39によってトランザクションの測定終了タイミン
グが検出された後、トランザクション結果ファイル34
に格納された測定データが測定データサーバ2に転送さ
れるため、トランザクション結果ファイルを回収する手
間がかからない。したがって、簡単な処理でサーバ性能
特性を取得することができる。
Before starting the measurement, the measurement data server 2
, The necessary transaction definition information is transferred to the transaction definition file 33, so that there is no need to distribute the transaction. Similarly, after the post-measurement processing control unit 39 detects the transaction measurement end timing, the transaction result file 34
Is transferred to the measurement data server 2, so that there is no need to collect the transaction result file. Therefore, server performance characteristics can be obtained by simple processing.

【0123】また、測定後処理制御部39によって、サ
ーバ性能特性の測定に参加する測定クライアントの数を
制御するため、同時に処理するトランザクションの数に
対するトランザクションの応答時間を示すサーバ性能特
性を自動的に測定することができる。
In addition, since the post-measurement processing control unit 39 controls the number of measurement clients participating in the measurement of the server performance characteristics, the server performance characteristics indicating the transaction response time with respect to the number of transactions processed simultaneously are automatically determined. Can be measured.

【0124】さらに、副次的な効果として、被測定サー
バ1上の性能パラメータを変更しても、サイクルカウン
タ23及び終了サイクル数記憶手段27の値を再設定す
るだけで再測定を自動的に行えるため、被測定サーバ1
の性能チューニング作業が容易に行える。
Further, as a secondary effect, even if the performance parameter on the measured server 1 is changed, re-measurement is automatically performed only by resetting the values of the cycle counter 23 and the end cycle number storage means 27. Server 1 to be measured
Performance tuning work can be performed easily.

【0125】[0125]

【発明の効果】本発明は以上説明したように構成されて
いるので、以下に記載する効果を奏する。
Since the present invention is configured as described above, the following effects can be obtained.

【0126】請求項1に記載のものにおいては、測定ク
ライアントの処理性能に律速されることがなく、正確な
サーバ性能特性を測定することができる。
According to the first aspect, accurate server performance characteristics can be measured without being limited by the processing performance of the measurement client.

【0127】請求項2に記載のものにおいては、サーバ
性能特性の測定に先だって、必要なトランザクションの
定義情報をトランザクション定義ファイルに転送するた
め、トランザクションを配布する手間がかからない。同
様に、トランザクションの測定終了タイミングが検出さ
れた後、トランザクション結果ファイルに格納された応
答時間のデータが測定データサーバに転送されるため、
トランザクション結果ファイルの内容を回収する手間が
かからない。したがって、簡単な処理でサーバ性能特性
を取得することができる。
According to the second aspect, prior to the measurement of the server performance characteristics, the necessary transaction definition information is transferred to the transaction definition file, so that there is no need to distribute the transaction. Similarly, after the transaction measurement end timing is detected, the response time data stored in the transaction result file is transferred to the measurement data server.
There is no need to collect the contents of the transaction result file. Therefore, server performance characteristics can be obtained by simple processing.

【0128】請求項3に記載のものにおいては、測定後
処理制御部によって、サーバ性能特性の測定に参加する
測定クライアントの数を制御するため、同時に処理する
トランザクションの数に対するトランザクションの応答
時間を示すサーバ性能特性を自動的に測定できる。
According to the third aspect of the present invention, the post-measurement processing control unit controls the number of measurement clients participating in the measurement of the server performance characteristics, and indicates the response time of the transaction to the number of transactions to be processed simultaneously. Automatically measure server performance characteristics.

【0129】さらに、副次的な効果として、被測定サー
バ上の性能パラメータを変更しても、サイクルカウンタ
及び終了サイクル数記憶手段の値を再設定するだけで再
測定を自動的に行えるため、被測定サーバの性能チュー
ニング作業が容易に行える。
Further, as a secondary effect, even if the performance parameter on the measured server is changed, the re-measurement can be automatically performed only by resetting the values of the cycle counter and the number of end cycle number storage means. The performance tuning work of the measured server can be easily performed.

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

【図1】本発明のサーバ性能測定方式の構成を示すブロ
ック図である。
FIG. 1 is a block diagram showing a configuration of a server performance measurement system according to the present invention.

【図2】図1に示したサーバ性能測定方式の測定結果の
一例を示すグラフである。
FIG. 2 is a graph showing an example of a measurement result of the server performance measurement method shown in FIG.

【図3】図1に示したサーバ性能測定方式の測定準備制
御部の動作手順を示すフローチャートである。
FIG. 3 is a flowchart showing an operation procedure of a measurement preparation control unit of the server performance measurement method shown in FIG.

【図4】図1に示したサーバ性能測定方式の測定同期制
御部の動作手順を示すフローチャートである。
FIG. 4 is a flowchart illustrating an operation procedure of a measurement synchronization control unit of the server performance measurement method illustrated in FIG. 1;

【図5】図1に示したサーバ性能測定方式のトランザク
ション起動制御部の動作手順を示すフローチャートであ
る。
FIG. 5 is a flowchart illustrating an operation procedure of a transaction start control unit of the server performance measurement method illustrated in FIG. 1;

【図6】図1に示したサーバ性能測定方式の測定終了後
処理制御部の動作手順を示すフローチャートである。
FIG. 6 is a flowchart illustrating an operation procedure of a post-measurement-end processing control unit of the server performance measurement method illustrated in FIG. 1;

【図7】本発明のサーバ性能測定方式の動作の様子を示
すタイミングチャートである。
FIG. 7 is a timing chart showing the operation of the server performance measurement method of the present invention.

【図8】計算機システムの性能評価方式の構成を示すブ
ロック図である。
FIG. 8 is a block diagram showing a configuration of a performance evaluation method of a computer system.

【符号の説明】[Explanation of symbols]

1 被測定サーバ 2 測定データサーバ 3 測定クライアント 4 サーバ性能特性 5 トランザクション通信チャンネル 6 トランザクション定義ファイル転送チャンネル 7 トランザクション結果ファイル転送チャンネル 8 同期情報転送チャンネル 10 トランザクション処理プログラム 11 データベース 21 トランザクション定義ファイル群 22 トランザクション結果ファイル群 23 サイクルカウンタ 24 コピーカウンタ 25 開始時刻記憶手段 26 測定中カウンタ 27 終了サイクル数記憶手段 28 結果集計手段 31 トランザクション通信手段 32 トランザクション起動制御部 33 トランザクション定義ファイル 34 トランザクション結果ファイル 35 ファイル転送手段 36 データ共有手段 37 測定準備制御部 38 測定同期制御部 39 測定後処理制御部 DESCRIPTION OF SYMBOLS 1 Server to be measured 2 Measurement data server 3 Measurement client 4 Server performance characteristic 5 Transaction communication channel 6 Transaction definition file transfer channel 7 Transaction result file transfer channel 8 Synchronization information transfer channel 10 Transaction processing program 11 Database 21 Transaction definition file group 22 Transaction result File group 23 cycle counter 24 copy counter 25 start time storage means 26 measuring counter 27 end cycle number storage means 28 result totaling means 31 transaction communication means 32 transaction start control unit 33 transaction definition file 34 transaction result file 35 file transfer means 36 data Sharing means 37 Measurement preparation control unit 38 Measurement Period control unit 39 measuring the post-processing control unit

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 少なくとも1つのクライアントから送信
されるトランザクションを処理するサーバの、同時に処
理する前記トランザクションの数に対する前記トランザ
クションの処理に要する応答時間の関係を示すサーバ性
能特性を測定するサーバ性能測定方式であって、 前記トランザクションを作成するための定義情報が格納
されるトランザクション定義ファイルと、 前記応答時間のデータが格納されるトランザクション結
果ファイルと、 前記トランザクション定義ファイルに格納された前記定
義情報から1つの前記トランザクションを作成して前記
サーバに送信するとともに、該送信時刻を記憶し、前記
サーバからの前記トランザクションに対する応答データ
を受信して、該受信時刻と前記送信時刻との差から前記
応答時間を算出し、前記応答時間の算出結果を前記応答
時間のデータとして前記トランザクション結果ファイル
に格納するトランザクション起動制御部と、 前記サーバ性能特性測定時に、前記サーバ性能特性を測
定するための制御に用いられる、測定状態を示す複数の
状態値をそれぞれ参照または書き換えることで、前記ト
ランザクションを送信する数が順次増加するように制御
するとともに、前記サーバに対して複数の前記トランザ
クションが同期して送信されるように制御するための測
定同期制御部と、をそれぞれ備えた複数の測定クライア
ントを有することを特徴とするサーバ性能測定方式。
1. A server performance measuring method for measuring a server performance characteristic of a server that processes a transaction transmitted from at least one client, the server performance characteristic indicating a relationship between a number of the transactions to be processed simultaneously and a response time required for processing the transaction. A transaction definition file in which definition information for creating the transaction is stored; a transaction result file in which the response time data is stored; and one of the definition information stored in the transaction definition file. Creates the transaction and transmits it to the server, stores the transmission time, receives response data to the transaction from the server, and calculates the response time from the difference between the reception time and the transmission time And before A transaction activation control unit that stores the calculation result of the response time as the response time data in the transaction result file; and, when the server performance characteristic is measured, a measurement state used for control for measuring the server performance characteristic. By referring to or rewriting the plurality of status values shown, respectively, to control the number of transactions to be transmitted sequentially and to control the plurality of transactions to be transmitted to the server synchronously. And a measurement synchronization control unit.
【請求項2】 請求項1に記載のサーバ性能測定方式に
おいて、 複数の前記測定クライアントにそれぞれ必要な前記定義
情報を保持するトランザクション定義ファイル群と、 複数の前記測定クライアントで測定された前記応答時間
のデータを、それぞれ格納するトランザクション結果フ
ァイル群と、 前記トランザクション結果ファイル群に格納された前記
応答時間のデータから前記サーバ性能特性を出力する結
果集計手段と、を備えた測定データサーバを有し、 複数の前記測定クライアントに、 前記サーバ性能特性の測定に先だって、前記トランザク
ション定義ファイル群から所定の前記定義情報を読み出
し、前記トランザクション定義ファイルに転送するため
の測定準備制御部と、 前記サーバ性能特性の測定終了後に、前記トランザクシ
ョン結果ファイルに格納された前記応答時間のデータを
前記トランザクション結果ファイル群に転送するための
測定後処理制御部と、をそれぞれ備えたことを特徴とす
るサーバ性能測定方式。
2. The server performance measurement method according to claim 1, wherein: a transaction definition file group that holds the definition information required for each of the plurality of measurement clients; and the response time measured by the plurality of measurement clients. A measurement data server comprising: a transaction result file group for storing the data of each of the above; and a result totaling unit for outputting the server performance characteristics from the response time data stored in the transaction result file group. Prior to the measurement of the server performance characteristic, a plurality of the measurement clients read out the predetermined definition information from the transaction definition file group, and a measurement preparation control unit for transferring the definition information to the transaction definition file; After the measurement is completed, the transaction And a post-measurement processing control unit for transferring the response time data stored in the transaction result file to the transaction result file group.
【請求項3】 請求項2に記載のサーバ性能測定方式に
おいて、 前記測定データサーバに、 前記サーバ性能測定時に、前記トランザクションを送信
する前記測定クライアントの数に応じて順次増加される
サイクルカウンタと、 前記サーバ性能測定に必要な前記トランザクションを送
信する前記測定クライアントの数の最大値を保持する終
了サイクル数記憶手段と、を備え、 前記測定準備制御部は、 自測定クライアントを識別するために一意に付与された
クライアント番号が、前記サイクルカウンタの値よりも
大きい場合は待機状態になって何も処理を行わず、 前記測定後処理制御部は、 前記サイクルカウンタの値が前記終了サイクル記憶手段
に保持された前記最大値未満の場合に、前記測定準備制
御部を再起動することを特徴とするサーバ性能測定方
式。
3. The server performance measurement method according to claim 2, wherein the measurement data server includes: a cycle counter that is sequentially increased according to the number of the measurement clients transmitting the transaction when the server performance is measured; An end cycle number storage unit that holds a maximum value of the number of the measurement clients that transmit the transaction necessary for the server performance measurement, wherein the measurement preparation control unit uniquely identifies the own measurement client. When the assigned client number is larger than the value of the cycle counter, the client enters a standby state and performs no processing. The post-measurement processing control unit stores the value of the cycle counter in the end cycle storage unit. Restarting the measurement preparation control unit when the measured value is less than the maximum value. Performance measurement system.
JP8302865A 1996-11-14 1996-11-14 Server performance measurement method Expired - Lifetime JP2917939B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8302865A JP2917939B2 (en) 1996-11-14 1996-11-14 Server performance measurement method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8302865A JP2917939B2 (en) 1996-11-14 1996-11-14 Server performance measurement method

Publications (2)

Publication Number Publication Date
JPH10143401A JPH10143401A (en) 1998-05-29
JP2917939B2 true JP2917939B2 (en) 1999-07-12

Family

ID=17914036

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8302865A Expired - Lifetime JP2917939B2 (en) 1996-11-14 1996-11-14 Server performance measurement method

Country Status (1)

Country Link
JP (1) JP2917939B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1142491C (en) 2000-01-11 2004-03-17 国际商业机器公司 Frame system and method for testing server performance
KR100405054B1 (en) * 2001-04-06 2003-11-07 에스엔유 프리시젼 주식회사 Method for collecting a network performance information, Computer readable medium storing the same, and an analysis System and Method for network performance
US7222269B2 (en) 2001-12-06 2007-05-22 Ns Solutions Corporation Performance evaluation device, performance evaluation information managing device, performance evaluation method, performance evaluation information managing method, performance evaluation system
JP4526774B2 (en) * 2003-03-28 2010-08-18 株式会社野村総合研究所 Apparatus and method for performing performance balance evaluation and sizing of computer system components
KR100551454B1 (en) * 2005-11-29 2006-02-14 (주)그리드원 Grid computing control method for testing application program capacity of server and service method there of
KR100929912B1 (en) * 2007-11-12 2009-12-04 한국전자통신연구원 System and Method for Performance Evaluation of Situational Awareness Server
JP5505998B2 (en) * 2012-11-05 2014-05-28 Necインフロンティア株式会社 COMMUNICATION DEVICE, ROUTE SELECTION METHOD, AND PROGRAM

Also Published As

Publication number Publication date
JPH10143401A (en) 1998-05-29

Similar Documents

Publication Publication Date Title
EP2378718B1 (en) Method, node and system for controlling version in distributed system
US6865612B2 (en) Method and apparatus to provide high precision packet traversal time statistics in a heterogeneous network
JP5456202B2 (en) Master device, slave device, and time synchronization method
CN109087082B (en) Financial transaction execution method and device based on block chain and electronic equipment
JP6437078B2 (en) Automatic test method for application program of smart device using authorized starter
JP2917939B2 (en) Server performance measurement method
CN110492967A (en) A kind of method for synchronizing time, trunking and device
CN108075851B (en) Device and method for synchronised clock
CN112968747B (en) Time calibration method and device, computer equipment and storage medium
KR20140047230A (en) Method for optimizing distributed transaction in distributed system and distributed system with optimized distributed transaction
CN107657002A (en) File synchronisation method and device
JP4080397B2 (en) Parallel computer
CN111638749A (en) Simulation system synchronization method, simulation device and system
KR20210061245A (en) Method for parallel block processing method in blockchain, blockcahin node device and program using the same
Gankevich et al. Novel approaches for distributing workload on commodity computer systems
JPH11223687A (en) Synchronizing system for internal timepieces among plural computers
KR101354007B1 (en) Interfacing system synchronizing a time process of a simulation system and a test system based on simulation time and test method for simulation model
US20230085335A1 (en) Information collecting system and information collecting method
JP2000148563A (en) System having plurality of server computers
JP2002300205A (en) Network response measurement system and network response measurement method
JPH05298198A (en) Measuring system of intersystem data transfer processing period of time
CN116886228A (en) Time synchronization method, device, electronic equipment and storage medium
KR20220010037A (en) Network bandwidth adjustment method and related products
CN115904651A (en) Task processing method and system of big data platform and big data platform
CN115459897A (en) Step length synchronous calibration method and device in electric power real-time simulation and related equipment