JP4539405B2 - Transaction profile creation method and apparatus - Google Patents
Transaction profile creation method and apparatus Download PDFInfo
- Publication number
- JP4539405B2 JP4539405B2 JP2005100355A JP2005100355A JP4539405B2 JP 4539405 B2 JP4539405 B2 JP 4539405B2 JP 2005100355 A JP2005100355 A JP 2005100355A JP 2005100355 A JP2005100355 A JP 2005100355A JP 4539405 B2 JP4539405 B2 JP 4539405B2
- Authority
- JP
- Japan
- Prior art keywords
- network
- event
- processing
- transaction profile
- profile
- 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
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Description
本発明は情報処理装置の基本性能評価技術に関し、特にネットワークに接続されたサーバ等の情報処理システムの性能基礎データであるトランザクション・プロファイルを作成するトランザクション・プロファイル作成方法および装置に関する。 The present invention relates to a basic performance evaluation technique for an information processing apparatus, and more particularly to a transaction profile creation method and apparatus for creating a transaction profile that is basic performance data of an information processing system such as a server connected to a network.
コンピュータ技術の進歩により、多くの情報をコンピュータやサーバにより実行する情報処理装置が開発され、広く普及している。斯かる情報処理装置では、その性能基礎データ又は基本処理能力の目安である正確なトランザクション・プロファイルを知ることが望まれる。 Due to advances in computer technology, information processing apparatuses that execute a large amount of information by a computer or a server have been developed and are widely used. In such an information processing apparatus, it is desired to know an accurate transaction profile that is a measure of basic performance data or basic processing capability.
斯かる技術分野における従来技術は、幾つかの技術文献に開示されている。個々のトランザクション処理プロセスがCPU(中央演算処理装置)を使用する時間を返送して、各トランザクション処理プロセスの処理能力とトランザクション処理システム全体の処理能力を同時に計測する処理能力測定装置および方法が開示されている(例えば、特許文献1参照)。 The prior art in such technical fields is disclosed in several technical documents. Disclosed is a processing capacity measuring apparatus and method for measuring the processing capacity of each transaction processing process and the processing capacity of the entire transaction processing system at the same time by returning the time that each transaction processing process uses a CPU (Central Processing Unit). (For example, refer to Patent Document 1).
また、複数のトランザクションを並行に処理するサーバの性能を評価する1例が開示されている(例えば、非特許文献1参照)。この方法では、1トランザクションの処理で使用するサーバ・リソース(CPUやディスク等)の時間という性能基礎データ(トランザクション・プロファイル)と待ち行列網理論に基づく性能予測モデルを使用することにより、サーバが複数のトランザクションを処理する際の性能(主としてトランザクションのレスポンス時間とサーバのスループットの関係)を見積もる。また、性能予測モデルとして性能シミュレータを使用する技術も開示されている(例えば、非特許文献2参照)。しかし、この非特許文献2においても、性能評価における入力データと出力結果は、非特許文献1と同様である。
In addition, an example of evaluating the performance of a server that processes a plurality of transactions in parallel is disclosed (for example, see Non-Patent Document 1). In this method, a plurality of servers are used by using a performance prediction model based on performance basic data (transaction profile) such as time of server resources (CPU, disk, etc.) used in processing of one transaction and queuing network theory. The performance (mainly the relationship between transaction response time and server throughput) is estimated. In addition, a technique using a performance simulator as a performance prediction model is also disclosed (for example, see Non-Patent Document 2). However, also in this Non-Patent Document 2, the input data and the output result in the performance evaluation are the same as in
上述した評価方法は、何れもトランザクション・プロファイルを入力データとしているため、得られる結果の良し悪しは、トランザクション・プロファイルの精度次第である。非特許文献1の如く、イベント・トレース技術を使用して評価対象システムに類似するシステム又は評価対象システムのプロトタイプを測定してトランザクション・プロファイルを得る方法は、一般には高精度でトランザクション・プロファイルが得られると考えられている。
In any of the evaluation methods described above, a transaction profile is used as input data, and the result obtained depends on the accuracy of the transaction profile. As in
しかし、上述の如き従来技術による解析で求められるトランザクション・プロファイルにおけるCPU使用時間、即ちCPUがプロセス・コンテキストで動作した期間を対象としたものである点が問題となる場合がある。即ち、ネットワーク経由でデータを送受信する操作を検討すると、送受信操作やプロトコル処理は、割り込みコンテキストで実行されることが多いため、この処理によるCPU使用時間は、従来方法で求めたトランザクション・プロファイルには含まれないことになる。トランザクション処理に伴うネットワーク処理で使用するCPU時間は、トランザクション量の増加に伴って増える要素であるため、トランザクション・プロファイルに含めないと正確な評価ができないことになる。特に、ネットワーク処理を多用するアプリケーションを対象とした性能評価を行う場合には、従来技術により得られるトランザクション・プロファイルを利用すると、誤った評価結果となる可能性がある。 However, there may be a problem that the CPU usage time in the transaction profile obtained by the analysis according to the prior art as described above, that is, the period in which the CPU operates in the process context is targeted. In other words, considering the operation of transmitting and receiving data via the network, since the transmission / reception operation and the protocol processing are often executed in an interrupt context, the CPU usage time by this processing is based on the transaction profile obtained by the conventional method. It will not be included. Since the CPU time used in the network processing accompanying the transaction processing is an element that increases as the transaction amount increases, accurate evaluation cannot be performed unless it is included in the transaction profile. In particular, when performing a performance evaluation for an application that uses a lot of network processing, using a transaction profile obtained by a conventional technique may result in an erroneous evaluation result.
一方、情報処理システムのサイジング(即ち、システムにかかる負荷を処理するために必要となるCPU、Disk、ネットワーク等の計算機資源の規模を適正に見積もること)を行なうためには、トランザクション・プロファイル(即ち、1トランザクションの処理に使用する計算機資源の量や時間)を基礎データとするシミュレーションや待ち行列網モデル等の数理モデルを利用して行なうことが多い。即ち、トランザクション・プロファイルの精度がサイジングの精度を決めることになるため、この精度は重要である。 On the other hand, in order to perform sizing of an information processing system (that is, to appropriately estimate the scale of computer resources such as a CPU, a disk, and a network necessary for processing the load on the system), a transaction profile (that is, It is often performed using a mathematical model such as a simulation or a queuing network model based on the basic data of the amount and time of computer resources used for processing one transaction. That is, this accuracy is important because the accuracy of the transaction profile determines the accuracy of sizing.
ネットワークに接続されたサーバでは、通常、ネットワークを介して処理要求および処理結果の受け渡しを行なうが、ネットワークの送信や受信の処理(即ち、ネットワーク処理)に必要な割り込み処理やプロトコル処理は、プロセスの動作(即ち、プロセス・コンテキスト)ではなく、割り込み処理中の動作(即ち、割り込みコンテキスト)として実行されることが多い。このため、従来技術によるプロファイル作成方法では、ネットワーク処理のためのCPU使用時間は、トランザクション処理に伴うCPU使用でありながら、トランザクション・プロファイルのCPU使用時間として計上されないという問題があった。 In a server connected to a network, a processing request and a processing result are usually passed through the network. However, interrupt processing and protocol processing necessary for network transmission and reception processing (that is, network processing) It is often executed as an operation during interrupt processing (i.e., interrupt context) rather than an operation (i.e., process context). For this reason, the profile creation method according to the prior art has a problem that the CPU usage time for the network processing is not counted as the CPU usage time of the transaction profile even though the CPU usage is associated with the transaction processing.
また、各ネットワーク処理とトランザクション処理の対応付けを可能にする程度までイベント・トレースに記録するイベントを詳細化する方法では、トレース対象イベントの発生頻度が高くなるため、トレース採取時のオーバーヘッドが大きくなってしまう上、イベント・トレース・データのサイズも大きくなってしまうという問題点があった。 In addition, in the method of detailing the events to be recorded in the event trace to the extent that it is possible to associate each network process with the transaction process, the occurrence frequency of the trace target event increases, so the overhead at the time of trace collection increases. In addition, there is a problem that the size of the event trace data becomes large.
前述の課題を解決するため、本発明によるトランザクション・プロファイル作成方法および装置は次のような特徴的な構成を採用している。 In order to solve the above-described problems, the transaction profile creation method and apparatus according to the present invention employs the following characteristic configuration.
(1)ネットワークに接続された測定対象サーバの性能基礎データであるトランザクション・プロファイル(CPU時間)を作成するトランザクション・プロファイル作成方法において、
前記測定対象サーバのイベントの種類、プロセスIDおよびデータサイズを含むイベント・トレース・データを採取する第1ステップと、
前記イベント・トレース・データからプロセス毎の割り込み処理時間を含まないCPU時間合計を求める第2ステップと、
前記イベント・トレース・データのネットワーク操作の各操作に予め決めた相対コストに従って前記プロセス毎の相対コスト合計を求める第3ステップと、
前記イベント・トレース・データの全ての割り込み処理時間の合計を求める第4のステップと、
該第4のステップで求めた割り込み時間の合計を前記第3のステップで求めたプロセス毎の相対コスト合計に基づき按分する第5ステップと、
前記第2のステップで求めたプロセス毎のCPU時間合計に前記第5ステップで按分した割り込み時間を加算して前記プロセス毎の最終的なトランザクション・プロファイルを得る第6ステップと
を備えるトランザクション・プロファイル作成方法。
(2)前記各操作の相対コストは、前記ネットワーク操作の各操作をデータサイズに応じて定める上記(1)のトランザクション・プロファイル作成方法。
(3)ネットワークに接続して使用される測定対象サーバの性能基礎データであるトランザクション・プロファイル(CPU時間)を作成するトランザクション・プロファイル作成装置において、
前記測定対象サーバから計測用プローブを介して採取されたイベントの種類、プロセスIDおよびデータサイズを含むイベント・トレース・データを入力とするトランザクション・プロファイル処理部を備え、
該トランザクション・プロファイル処理部は、割り込みコンテキストで実行されるネットワーク処理で使用されるCPU時間の合計を求めるネットワーク処理プロファイル生成部と、予め定めた計算式でネットワーク操作の各操作のプロセス毎の相対コスト合計を求めるネットワーク操作集計部と、前記プロセス毎の相対コスト合計および前記合計したネットワーク処理CPU時間から前記各プロセスに按分するべきネットワーク処理CPU時間を求めるネットワーク処理プロファイル按分部と、前記イベント・トレース・データに基づいてプロセス毎のトランザクション・プロファイルを求めるトランザクション・プロファイル生成部と、該トランザクション・プロファイル生成部で求めたプロセス毎のトランザクション・プロファイルに前記ネットワーク処理プロファイル按分部で求めたプロセス毎に按分するネットワーク処理のCPU時間を加えた最終的なトランザクション・プロファイルを求めるトランザクション・プロファイル補正部とを備えるトランザクション・プロファイル作成装置。
(4)前記ネットワーク操作集計部は、前記イベント・トレース・データに基づいて求める相対コスト表を参照する(3)のトランザクション・プロファイル作成装置。
(1) In a transaction profile creation method for creating a transaction profile (CPU time) that is basic performance data of a measurement target server connected to a network,
A first step of collecting event trace data including an event type, a process ID and a data size of the measurement target server;
A second step of calculating a total CPU time not including an interrupt processing time for each process from the event trace data ;
A third step of obtaining a relative cost total for each process according to a predetermined relative cost for each operation of the network operation of the event trace data;
A fourth step of obtaining a total of all interrupt processing times of the event trace data;
A fifth step of apportioning the total interruption time obtained in the fourth step based on the total relative cost for each process obtained in the third step;
A transaction profile creation comprising: a sixth step of obtaining a final transaction profile for each process by adding the interrupt time prorated in the fifth step to the CPU time total for each process obtained in the second step Method.
(2) The transaction profile creation method according to the above (1) , wherein the relative cost of each operation determines each operation of the network operation according to a data size .
(3) In a transaction profile creation device for creating a transaction profile (CPU time) that is basic performance data of a measurement target server used by being connected to a network.
With the types of events taken through the measuring probe from the measurement object server, transaction profile processor for receiving the event trace data including the process ID and the data size,
The transaction profile processing unit includes a network processing profile generation unit that calculates the total CPU time used in network processing executed in an interrupt context, and a relative cost for each operation of each network operation using a predetermined calculation formula. and network operation totaling unit for obtaining the sum, and the network processing profile apportioning unit for determining the network processing CPU time to be apportioned to each process from the relative cost total and the total network processing CPU time for each of the process, the event trace A transaction profile generation unit that obtains a transaction profile for each process based on data, and a transaction profile for each process obtained by the transaction profile generation unit Serial transaction profile generation device and a transaction profile correction unit for obtaining the final transaction profile plus the CPU time of the network processing of proportional division for each process found by the network processing profile apportioning section.
(4) The transaction profile creation device according to ( 3 ), wherein the network operation totaling unit refers to a relative cost table obtained based on the event trace data .
本発明のトランザクション・プロファイル作成方法および装置によると、次の如き実用上の顕著な効果が得られる。第1に、割り込みコンテキストで実行されるネットワーク処理のためのCPU時間分を加算したトランザクション・プロファイルが得られる。その理由は、イベント・トレース・データの分析では、ネットワーク処理のために使用したCPU時間も求めておき、従来のトランザクション・プロファイルに按分して加えるという補正を行うためである。 According to the transaction profile creation method and apparatus of the present invention, the following significant effects can be obtained. First, a transaction profile is obtained that adds the CPU time for network processing executed in the interrupt context. The reason is that in the analysis of the event trace data, the CPU time used for the network processing is also obtained, and correction is made such that it is prorated and added to the conventional transaction profile.
第2に、トランザクション・プロファイル作成の基データとなるイベント・トレース・データを測定対象サーバから得る際のオーバーヘッド増加を少なくすることが可能である。その理由は、相対コスト表を導入することにより、基本的なネットワーク操作についてのイベントを出力するのみで各プロセスへのネットワーク処理CPU時間の按分を可能にしたためである。即ち、測定対象サーバにおいて、個々のネットワーク処理について加えるべきプロセスとの対応関係を示す情報をイベント・トレース・データに出力する必要性をなくしたためである。 Second, it is possible to reduce an increase in overhead when obtaining event trace data serving as base data for creating a transaction profile from the measurement target server. The reason is that by introducing a relative cost table, it is possible to apportion the network processing CPU time to each process only by outputting an event about basic network operation. In other words, it is because it is no longer necessary for the measurement target server to output information indicating the correspondence relationship with the process to be added for each network process to the event trace data.
以下、本発明によるトランザクション・プロファイル作成方法および装置の好適実施例の構成および動作を、添付図面を参照して詳細に説明する。 Hereinafter, the configuration and operation of a preferred embodiment of a transaction profile creation method and apparatus according to the present invention will be described in detail with reference to the accompanying drawings.
先ず、図1は、本発明によるトランザクション・プロファイル作成装置の好適実施例のシステム構成図を示す。このトランザクション・プロファイル作成装置10は、プログラム制御により動作する測定対象サーバ20およびトランザクション・プロファイル処理部30を含んでいる。
First, FIG. 1 shows a system configuration diagram of a preferred embodiment of a transaction profile creation apparatus according to the present invention. The transaction
測定対象サーバ20は、アプリケーション・プログラム22および計測用プローブ23を内蔵するオペレーティング・システム(OS)21を含んでいる。また、トランザクション・プロファイル処理部30は、トランザクション・プロファイル生成部31、ネットワーク処理プロファイル生成部32、ネットワーク操作集計部33、ネットワーク処理プロファイル按分部34、トランザクション・プロファイル補正部35および相対コスト表36を含んでいる。そして、測定対象サーバ20から計測用プローブ23を介してイベント・トレース・データ40を採取し、メモリ(記憶装置)に格納する。このイベント・トレース・データは、測定対象サーバ20から採取された時刻、イベントの種類、プロセスIDおよびデータサイズを含んでいる。更に、トランザクション・プロファイル処理部30は、トランザクション・プロファイル50を作成して出力する。
The
図1に示すトランザクション・プロファイル作成装置10の概略動作は、次のとおりである。測定対象サーバ20の計測用プローブ23は、測定対象サーバ20の振る舞いを時系列として記録したイベント・トレース・データ40を出力するように構成されている。アプリケーション・プログラム22がトランザクションを処理しているときのイベント・トレースを計測用プローブ23で採取する。そして、このイベント・トレース・データ40が入力されると、トランザクション処理部30の各部は、次の順序で動作する。
The general operation of the transaction
(1)トランザクション・プロファイル生成部31は、プロセス毎の計算機資源使用量(即ち、トランザクション・プロファイル)を求める。
(2)ネットワーク処理プロファイル生成部32は、割り込みコンテキストで実行されるネットワーク処理で使用されたCPU時間の合計(以下、全ネットワーク処理CPU時間という)を求める。
(3)ネットワーク操作集計部33では、相対コスト表36に記載された計算方法に従って、各プロセスが行った全ネットワーク操作の相対コストを合計した値(以下、プロセス毎の相対コスト合計という)を求める。
(4)ネットワーク処理プロファイル按分部34は、プロセス毎の相対コスト合計およびネットワーク処理CPU時間から、各プロセスに按分するCPU時間(プロセス毎のネットワーク処理CPU時間)を求める。
(5)トランザクション・プロファイル補正部35では、従来のトランザクション・プロファイル中のCPU時間に、(4)で求めたプロセス毎のネットワーク処理CPU時間を加えることにより、割り込みコンテキストで実行されたネットワーク処理によるCPU時間も含めたトランザクション・プロファイルを求める。
(1) The transaction profile generation unit 31 calculates a computer resource usage amount (that is, a transaction profile) for each process.
(2) The network processing
(3) The network
(4) The network processing
(5) The transaction profile correction unit 35 adds the network processing CPU time for each process obtained in (4) to the CPU time in the conventional transaction profile, thereby making the CPU by the network processing executed in the interrupt context. Find transaction profile including time.
次に、図1に示すトランザクション・プロファイル作成装置10の動作を、図2〜図8の説明図を参照して詳細に説明する。図2は、イベント・トレース・データ40の具体例を示す。図3は、図2に示すイベント・トレース・データ40から生成されたトランザクション・プロファイル(ネットワーク処理を含まないCPU使用時間)を示す。図4は、ネットワーク操作の相対コストの1例を示す。図5は、各ネットワーク操作の相対コストを求めた結果を示す。図6は、全ネットワーク処理CPU時間を示す。図7は、各プロセスに按分されたネットワーク処理CPU時間を示す。また、図8は、トランザクション・プロファイル中のCPU時間(ネットワーク処理を含む)を示す。
Next, the operation of the transaction
図2に示す測定対象サーバ20から採取したイベント・トレースの具体例では、時刻毎のイベントの種類、プロセスIDおよびデータサイズを示す。この実施例の動作を、図2に示すイベント・トレース・データ40の具体例からトランザクション・プロファイルを生成する場合について説明する。
In the specific example of the event trace collected from the
先ず、イベント・トレース・データ40を入力として結果を得る方法であるトランザクション・プロファイル生成部31、ネットワーク処理プロファイル生成部32およびネットワーク操作集計部33の基本的な動作は同じである。即ち、イベント・トレース・データ40から1イベント分のイベント・データを読み込んで必要な集計を行なうという操作を、イベント・トレース・データ40に記録された先頭イベントから順に行う。そして、イベント・トレース・データ40の最後に記録されたイベントについての集計操作が完了すると、そこまでの結果を最終結果として次の処理に送るという動作をする。
First, the basic operations of the transaction profile generation unit 31, the network processing
先ず、トランザクション・プロファイル生成部31では、プロセス毎の計算機資源使用量を示すトランザクション・プロファイルを作成する。図2のイベント・トレース・データ40から生成したトランザクション・プロファイル(CPU使用時間)を図3に示す。図3では、プロセス毎に、トランザクション・プロファイル中のCPU時間を計算する。各プロセス100、200等のCPU使用時間は、プロセスが動作していた時間(saveイベントの時刻−対応するresumeイベントの時刻)から、その間に行った割り込み処理時間(interrupt終了イベントの時刻−interrupt開始イベントの時刻)を差し引いた値である。
First, the transaction profile generation unit 31 creates a transaction profile indicating the amount of computer resource used for each process. FIG. 3 shows a transaction profile (CPU usage time) generated from the
次に、ネットワーク処理プロファイル生成部32では、ネットワーク処理CPU時間を求める。ネットワークに起因するinterrupt開始イベントからinterrupt終了イベントまでの期間が割り込みコンテキストでネットワーク処理を行なっていた時間になるので、図2のイベント・トレース・データ40での全ネットワーク処理CPU時間は、下記の(式1)で与えられる。
(t5-t4)+(t8-t7)+(t12-t11)+(t16-t15)+(t21-t20)・・・・(式1)
Next, the network processing
(t5-t4) + (t8-t7) + (t12-t11) + (t16-t15) + (t21-t20) ... (Formula 1)
ネットワーク操作集計部33では、ネットワーク操作イベントを読み込むと、相対コスト表36に記載され且つ図4に示す、予め設定されたネットワーク操作の相対コストに基づいて、そのネットワーク操作についての相対コストを求める。そして、求めた相対コストをそのイベントが属するプロセスの相対コスト合計に加える。図4に示す具体例では、connect操作の相対コストは200、accept操作の相対コストは500、send操作の相対コストは5+1×データサイズ、receive操作の相対コストは10+0.8×データサイズ、そしてclose操作の相対コストは100である。尚、ネットワーク操作イベントがプロセス・コンテキスト、即ちresumeイベントからsaveイベントの間で発生するようになっている。そのため、resumeイベントとsaveイベントもネットワーク操作集計部33の処理対象とすることにより、当該ネットワーク操作イベントが属するプロセスの特定は容易である。
When a network operation event is read, the network
図2に示すイベント・トレース・データ40に基づいて、各ネットワーク操作の相対コストを求めた結果を図5に示す。図5には、時刻、イベントの種類、プロセスID、データサイズおよび相対コストを含んでいる。この相対コストの欄には、上述した図4に示す各ネットワーク操作に対する相対コストが含まれている。即ち、例えばconnect操作に対しては、相対コストとして200が含まれている。
FIG. 5 shows the result of calculating the relative cost of each network operation based on the
また、ネットワーク操作集計部33の出力、即ち各プロセスの相対コスト合計を求めた結果を図6に示す。図6には、プロセス100、200毎に相対コスト合計を示す。即ち、プロセス100の相対コスト合計は830(=200+25+505+100)であり、プロセス200の相対コスト合計は550(=500+50)である。
FIG. 6 shows the output of the network
次に、イベント・トレース・データ40を入力しての処理が完了すると、ネットワーク処理プロファイル按分部34およびトランザクション補正部35が動作し、最終的なトランザクション・プロファイル50を作成して出力する。その手順を以下に示す。
Next, when the processing by inputting the
先ず、ネットワーク処理按分部34は、ネットワーク処理プロファイル生成部32から全ネットワーク処理CPU時間およびネットワーク操作集計部33からプロセス毎の相対コスト合計を受け取り、プロセス毎のネットワーク処理CPU時間を求める。具体的には、あるプロセスについてのネットワーク処理CPU時間は、全ネットワーク処理CPU時間×そのプロセスの相対コスト合計/全プロセスの相対コスト合計で求める。全ネットワーク処理CPU時間および図6に示したプロセス毎の相対コスト合計から、各プロセスに按分するネットワーク処理CPU時間を図7に示す。
First, the network
次に、トランザクション補正部35では、トランザクション・プロファイル生成部31が作成した一般的なトランザクション・プロファイル中のCPU時間に対して、ネットワーク処理按分部34が作成した各プロセスに按分するネットワーク処理CPU時間の結果を加え、ネットワーク処理によるCPU使用を含めたトランザクション・プロファイルを作成する。図3と図6を入力として作成したトランザクション・プロファイルにおけるCPU時間を図8に示す。
Next, in the transaction correction unit 35, the network processing CPU time allocated to each process created by the network
上述の如く、本発明のトランザクション・プロファイル作成装置10によると、通常、割り込みコンテキストで実行されるネットワークの送信や受信の処理のために使用されるCPU時間も計上された正確なトランザクション・プロファイルが作成可能である。
As described above, according to the transaction
以上、本発明によるトランザクション・プロファイル作成方法および装置の好適実施例の構成および動作を詳述した。しかし、斯かる実施例は、本発明の単なる例示に過ぎず、何ら本発明を限定するものではないことに留意されたい。本発明の要旨および精神を逸脱することなく、特定用途に応じて種々の変形変更が可能であること、当業者には容易に理解できよう。この明細書中、サーバとは、コンピュータ、ワークステーション等の情報処理装置全体を意味する広い概念である。 The configuration and operation of the preferred embodiment of the transaction profile creation method and apparatus according to the present invention have been described in detail above. However, it should be noted that such examples are merely illustrative of the invention and do not limit the invention in any way. Those skilled in the art will readily understand that various modifications and changes can be made according to a specific application without departing from the spirit and spirit of the present invention. In this specification, a server is a broad concept that means the entire information processing apparatus such as a computer or a workstation.
尚、本発明によれば、ネットワーク処理の多いトランザクション処理プログラムのトランザクション・プロファイルをイベント・トレース・データから高精度で求めるためのプログラムといった用途に適用できる。 According to the present invention, the present invention can be applied to an application such as a program for obtaining a transaction profile of a transaction processing program with a lot of network processing from event trace data with high accuracy.
10 トランザクション・プロファイル処理部
20 測定対象サーバ
23 計測用プローブ
30 トランザクション・プロファイル処理部
31 トランザクション・プロファイル生成部
32 ネットワーク処理プロファイル生成部
33 ネットワーク操作集計部
34 ネットワーク処理プロファイル按分部
35 トランザクション・プロファイル補正部
36 相対コスト表
40 イベント・トレース・データ
50 トランザクション・プロファイル
DESCRIPTION OF
Claims (4)
前記測定対象サーバから、
プロセスの切替イベントと、
前記プロセスが実行したネットワーク送信操作に関するイベントと、
前記プロセスが実行したネットワーク受信操作に関するイベントと、
前記ネットワークに起因する割り込み処理の開始イベントと、
前記ネットワークに起因する割り込み処理の終了イベントと、
前記ネットワーク送信操作に関するイベントの送信データサイズと、
前記ネットワーク受信操作に関するイベントの受信データサイズと、を含むイベント・トレース・データを採取する第1ステップと、
前記イベント・トレース・データに含まれる
前記プロセスの切替イベントと、
前記ネットワークに起因する割り込み処理の開始イベントと、
前記ネットワークに起因する割り込み処理の終了イベントと、から、
前記プロセス毎の割り込み処理時間を含まないCPU時間合計を求める第2ステップと、
前記イベント・トレース・データに含まれる
前記ネットワーク送信操作に関するイベントと、
前記ネットワーク受信操作に関するイベントと、
前記ネットワーク送信操作に関するイベントの送信データサイズと、
前記ネットワーク受信操作に関するイベントの受信データサイズと、から、ネットワーク操作の各操作に予め決めた相対コストに従って前記プロセス毎の相対コスト合計を求める第3ステップと、
前記イベント・トレース・データに含まれる
前記ネットワークに起因する割り込み処理の開始イベントと、
前記ネットワークに起因する割り込み処理の終了イベントと、から求める前記イベント・トレース・データの全ての割り込み処理時間の合計を、ネットワーク処理CPU時間の合計として求める第4のステップと、
前記第3のステップで求めた前記プロセス毎の相対コスト合計の総和を求め、該求めた総和に対する各プロセスの相対コスト合計の比率を、前記第4のステップで求めたネットワーク処理CPU時間の合計に乗算して、前記ネットワーク処理CPU時間の合計を前記プロセス毎に按分する第5ステップと、
前記第2のステップで求めた前記プロセス毎のCPU時間合計に、前記第5ステップで按分した前記ネットワーク処理CPU時間の合計を加算して、前記プロセス毎の最終的なトランザクション・プロファイルを得る第6ステップと
を備えることを特徴とするトランザクション・プロファイル作成方法。 In a transaction profile creation method for creating a transaction profile (CPU time) which is basic performance data of a measurement target server connected to a network,
From the measurement target server ,
Process switching events,
Events related to network transmission operations performed by the process;
Events related to network receive operations performed by the process;
A start event of interrupt processing caused by the network;
End event of interrupt processing due to the network,
A transmission data size of an event related to the network transmission operation;
A first step of collecting event trace data including a received data size of an event related to the network receiving operation ;
Included in the event trace data
The process switching event;
A start event of interrupt processing caused by the network;
From the end event of the interrupt processing due to the network ,
A second step of calculating a total CPU time not including the interrupt processing time for each process;
Included in the event trace data
An event related to the network transmission operation;
An event related to the network reception operation;
A transmission data size of an event related to the network transmission operation;
A third step of obtaining a relative cost total for each process according to a relative cost predetermined for each operation of the network operation from the received data size of the event related to the network reception operation ;
Included in the event trace data
A start event of interrupt processing caused by the network;
A fourth step of obtaining a sum of all interrupt processing times of the event trace data obtained from the end event of the interrupt processing caused by the network as a sum of network processing CPU times ;
The sum of the relative cost totals for each process obtained in the third step is obtained, and the ratio of the total relative cost of each process to the obtained sum is calculated as the sum of the network processing CPU times obtained in the fourth step. A fifth step of multiplying and summing the total network processing CPU time for each process ;
6 to obtain the the CPU time total for each of the process obtained in the second step, by adding the sum of the network processing CPU time proportional division by the fifth step, the final transaction profile for each of the process A method for creating a transaction profile comprising the steps of:
ことを特徴とする請求項1に記載のトランザクション・プロファイル作成方法。 The transaction profile creation method according to claim 1, wherein the relative cost of each operation is determined according to a data size of each operation of the network operation.
前記測定対象サーバから計測用プローブを介して採取された
プロセスの切替イベントと、
前記プロセスが実行したネットワーク送信操作に関するイベントと、
前記プロセスが実行したネットワーク受信操作に関するイベントと、
前記ネットワークに起因する割り込み処理の開始イベントと、
前記ネットワークに起因する割り込み処理の終了イベントと、
前記ネットワーク送信操作に関するイベントの送信データサイズと、
前記ネットワーク受信操作に関するイベントの受信データサイズと、を含むイベント・トレース・データを入力とするトランザクション・プロファイル処理部を備え、
該トランザクション・プロファイル処理部は、
前記イベント・トレース・データに含まれる
前記ネットワークに起因する割り込み処理の開始イベントと、
前記ネットワークに起因する割り込み処理の終了イベントと、から、割り込みコンテキストで実行されるネットワーク処理で使用されるネットワーク処理CPU時間の合計を求めるネットワーク処理プロファイル生成部と、
前記イベント・トレース・データに含まれる
前記ネットワーク送信操作に関するイベントと、
前記ネットワーク受信操作に関するイベントと、
前記ネットワーク送信操作に関するイベントの送信データサイズと、
前記ネットワーク受信操作に関するイベントの受信データサイズと、から、ネットワーク操作の各操作に予め決めた相対コストと予め定めた計算式を用いて、前記プロセス毎の相対コスト合計を求めるネットワーク操作集計部と、
前記プロセス毎の相対コスト合計の総和を求め、該求めた総和に対する各プロセスの相対コスト合計の比率を、前記ネットワーク処理プロファイル部で求めた前記ネットワーク処理CPU時間の合計に乗算して、前記各プロセスに按分するべきネットワーク処理CPU時間を求めるネットワーク処理プロファイル按分部と、
前記イベント・トレース・データに含まれる
前記プロセスの切替イベントと、
前記ネットワークに起因する割り込み処理の開始イベントと、
前記ネットワークに起因する割り込み処理の終了イベントと、から、
前記プロセス毎のトランザクション・プロファイル中のCPU時間を求めるトランザクション・プロファイル生成部と、
該トランザクション・プロファイル生成部で求めた前記プロセス毎のトランザクション・プロファイル中のCPU時間に前記ネットワーク処理プロファイル按分部で求めた前記プロセス毎に按分するネットワーク処理CPU時間を加えた最終的なトランザクション・プロファイルを求めるトランザクション・プロファイル補正部とを備える
ことを特徴とするトランザクション・プロファイル作成装置。 In a transaction profile creation device that creates a transaction profile (CPU time) that is basic performance data of a measurement target server that is connected to a network.
Collected from the measurement target server via a measurement probe
Process switching events,
Events related to network transmission operations performed by the process;
Events related to network receive operations performed by the process;
A start event of interrupt processing caused by the network;
End event of interrupt processing due to the network,
A transmission data size of an event related to the network transmission operation;
A transaction profile processing unit that receives as input event trace data including an event reception data size related to the network reception operation ;
The transaction profile processing unit
Included in the event trace data
A start event of interrupt processing caused by the network;
A network processing profile generation unit for obtaining a total of network processing CPU time used in the network processing executed in the interrupt context , from an interruption processing end event caused by the network ;
Included in the event trace data
An event related to the network transmission operation;
An event related to the network reception operation;
A transmission data size of an event related to the network transmission operation;
From the received data size of the event related to the network reception operation , using a predetermined relative cost for each operation of the network operation and a predetermined calculation formula, a network operation totaling unit for obtaining a total relative cost for each process,
The total sum of relative costs for each process is obtained, and the ratio of the total relative cost of each process to the obtained sum is multiplied by the sum of the network processing CPU times obtained by the network processing profile unit to obtain the respective processes. A network processing profile apportioning unit for obtaining a network processing CPU time to apportion,
Included in the event trace data
The process switching event;
A start event of interrupt processing caused by the network;
From the end event of the interrupt processing due to the network,
And transaction profile generator for determining the CPU time in the transaction profile for each of the process,
The final transaction plus network processing C PU time apportioned to each of the process which has been determined by the the CPU time in the transaction profile for each of the process found by the transaction profile generator network processing profile proration unit A transaction profile creation device comprising a transaction profile correction unit for obtaining a profile.
ことを特徴とする請求項3に記載のトランザクション・プロファイル作成装置。 The transaction profile creation device according to claim 3, wherein the network operation aggregation unit refers to a relative cost table obtained based on the event trace data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005100355A JP4539405B2 (en) | 2005-03-31 | 2005-03-31 | Transaction profile creation method and apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005100355A JP4539405B2 (en) | 2005-03-31 | 2005-03-31 | Transaction profile creation method and apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2006285304A JP2006285304A (en) | 2006-10-19 |
| JP4539405B2 true JP4539405B2 (en) | 2010-09-08 |
Family
ID=37407212
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2005100355A Expired - Fee Related JP4539405B2 (en) | 2005-03-31 | 2005-03-31 | Transaction profile creation method and apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4539405B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5249569B2 (en) * | 2007-12-11 | 2013-07-31 | 株式会社日本総合研究所 | Business performance monitoring system and method |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2638448B2 (en) * | 1993-11-29 | 1997-08-06 | 日本電気株式会社 | Performance data collection system |
| JP2002108656A (en) * | 2000-09-29 | 2002-04-12 | Nec Corp | Program operation verifying system |
| JP2004005198A (en) * | 2002-05-31 | 2004-01-08 | Nec Corp | Computerized analysis display method and measurement analysis display device |
-
2005
- 2005-03-31 JP JP2005100355A patent/JP4539405B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2006285304A (en) | 2006-10-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103339613B (en) | Operation management device, operation management method and program | |
| CN102713862B (en) | Failure cause extraction device, failure cause extraction method, and program recording medium | |
| CN104798049B (en) | operation management device and operation management method | |
| Adams | HPGMG 1.0: A benchmark for ranking high performance computing systems | |
| JP4654707B2 (en) | Bottleneck detection system, measurement target server, bottleneck detection method and program | |
| US20040148152A1 (en) | System performance prediction mechanism and method based on software component performance measurements | |
| US20090198473A1 (en) | Method and system for predicting system performance and capacity using software module performance statistics | |
| JPWO2013111560A1 (en) | Operation management apparatus, operation management method, and program | |
| CN106708818A (en) | Pressure testing method and system | |
| CN104756084A (en) | Operation management device and operation management method | |
| WO2019234716A1 (en) | Methods and systems for blockchain testing | |
| EP1495417A1 (en) | System, and method for resource usage estimation | |
| CN113268403A (en) | Time series analysis and prediction method, device, equipment and storage medium | |
| Wang et al. | A posteriori error control and adaptivity for the IMEX BDF2 method for PIDEs with application to options pricing models | |
| JP6658507B2 (en) | Load estimation system, information processing device, load estimation method, and computer program | |
| CN110888811B (en) | Code coverage rate information processing method and device, electronic equipment and medium | |
| Shibata et al. | Quantifying software maintainability based on a fault-detection/correction model | |
| CN108228445B (en) | Method and device for testing energy consumption of virtual machine | |
| CN109726086A (en) | The method and apparatus of testing server performance | |
| JP4539405B2 (en) | Transaction profile creation method and apparatus | |
| CN115794342A (en) | Method and device for estimating remaining time of pipeline task and electronic equipment | |
| CN108073502B (en) | A test method and system thereof | |
| JP6287226B2 (en) | Estimation device, estimation system, estimation method, and program | |
| JP4843379B2 (en) | Computer system development program | |
| JP2004272582A (en) | Computer system performance prediction program and design support system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20080222 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20081111 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090605 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090730 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091204 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20091211 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20091214 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100128 |
|
| 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: 20100601 |
|
| 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: 20100614 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4539405 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130702 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |