JP2009140358A - Performance arithmetic device and performance arithmetic processing program - Google Patents

Performance arithmetic device and performance arithmetic processing program Download PDF

Info

Publication number
JP2009140358A
JP2009140358A JP2007317578A JP2007317578A JP2009140358A JP 2009140358 A JP2009140358 A JP 2009140358A JP 2007317578 A JP2007317578 A JP 2007317578A JP 2007317578 A JP2007317578 A JP 2007317578A JP 2009140358 A JP2009140358 A JP 2009140358A
Authority
JP
Japan
Prior art keywords
time
section
processing time
processing
resource
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.)
Pending
Application number
JP2007317578A
Other languages
Japanese (ja)
Inventor
Makoto Kano
誠 加納
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.)
Toshiba Corp
Toshiba Digital Solutions Corp
Original Assignee
Toshiba Corp
Toshiba Solutions Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp, Toshiba Solutions Corp filed Critical Toshiba Corp
Priority to JP2007317578A priority Critical patent/JP2009140358A/en
Publication of JP2009140358A publication Critical patent/JP2009140358A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To generate many tabulation section data for parameter identification of a performance model of an object device in a fixed time while maintaining the accuracy of the tabulation section data constant. <P>SOLUTION: A tabulation section calculation part 5 sets start time of a tabulation section i, and acquires usage rate information in a fixed time from the start time in measurement data. A processing time calculation part 4 estimates resource processing time information using the resource usage rate information and a no-load time processing time. The tabulation section calculation part 5 calculates time for the tabulation section i using processing time information R and an allowable error rate, and calculates end time of the tabulation section i. The calculation part 5 transmits the start time and end time of the tabulation section i and measurement data in between to a data generation part 6. The data generation part 6 generates tabulation section data based on the start time and end time of the tabulation section i and the measurement data in between by tabulating resource use time between the start time and end time of the tabulation section i and a generation quantity of each type of processing. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、例えばインターネットシステム、イントラネットシステムなどの計算機システムの性能演算装置および性能演算処理プログラムに関する。   The present invention relates to a performance calculation device and a performance calculation processing program for a computer system such as an Internet system or an intranet system.

従来、計算機システムでは、オペレータの習熟やユーザ数の増加などによる処理量の増加、データ量の増加やそれに伴うキャッシュミス率の増加に伴い、性能が徐々に劣化していく傾向がある。そこで、例えば特許文献1や特許文献2に開示されるように、システムの性能を監視する装置が用いられる。
特開2007−26303号公報 特開2005−157933号公報
Conventionally, in a computer system, the performance tends to gradually deteriorate as the amount of processing increases due to operator learning and the increase in the number of users, the amount of data increases, and the cache miss rate increases accordingly. Therefore, as disclosed in, for example, Patent Document 1 and Patent Document 2, an apparatus for monitoring the performance of the system is used.
JP 2007-26303 A JP 2005-157933 A

システムの性能問題を未然に防止するには、システムの余裕度と処理量を監視し、性能劣化の予兆を捉えて、事前に対応することが必要である。   In order to prevent system performance problems in advance, it is necessary to monitor the margin and processing amount of the system, catch the signs of performance degradation, and respond in advance.

処理の種類毎に、その処理が一回実行されるときのリソース利用量が推定できていれば、処理量がピーク時の各処理の実行される比率に合わせて、リソース利用率を見積もることができる。定期的にこのリソース利用率の見積りを行うことにより、性能が劣化する前にリソース増強などの対策を実施し、性能劣化を事前に防止できる。   For each type of process, if the resource usage when the process is executed once can be estimated, the resource usage rate can be estimated according to the ratio at which each process is executed when the process is at its peak. it can. By periodically estimating the resource utilization rate, measures such as resource enhancement can be implemented before the performance deteriorates, and the performance deterioration can be prevented in advance.

ところで、運用中の計算機システムでは、運用を停止して、一つの処理が実行されるときのリソース利用量を計測することは難しい。そこで、運用中に計測できるデータを用いて、一つの処理が実行されるときのリソース利用量を推定する必要がある。運用中のシステムでは、複数種類の処理が同時に実行されており、一定時間内に実行された種類毎の処理数とリソース利用率が計測できる。   By the way, in a computer system in operation, it is difficult to stop the operation and measure the resource usage when one process is executed. Therefore, it is necessary to estimate the resource usage when one process is executed using data that can be measured during operation. In an operating system, a plurality of types of processes are executed simultaneously, and the number of processes executed for each type and the resource utilization rate can be measured within a certain period of time.

一つの処理が実行されるときのリソース利用量が常に一定値であれば、連立方程式を解くことにより、運用中に計測できるデータから処理毎のリソース利用量を計算することができる。しかし、実際には計測誤差や処理が持つパラメータの違いなどによりリソース利用量が揺らいでいるために、連立方程式では解くことが出来ないという問題がある。   If the resource usage when one process is executed is always a constant value, the resource usage for each process can be calculated from data that can be measured during operation by solving simultaneous equations. However, there is a problem in that it cannot be solved by simultaneous equations because the resource usage fluctuates due to a measurement error or a difference in parameters of processing.

そこで、処理の種類毎に、その処理が一回実行される時のリソース利用量を例えば正規分布のような確率分布で表現し、その平均値と標準偏差値をパラメータとして、運用中の計算機システムで計測できる、処理の種類毎の発生数とリソース利用率を基にパラメータ同定する方法が考えられる。   Therefore, for each type of processing, the resource usage when the processing is executed once is expressed by a probability distribution such as a normal distribution, and the computer system in operation using the average value and standard deviation as parameters. A method of parameter identification based on the number of occurrences for each type of processing and the resource utilization rate, which can be measured by the above method, can be considered.

このパラメータ、すなわち、各種類の処理が一回実行される時のリソース利用量の確率分布がうまく同定できれば、処理量がピーク時の各処理の実行される比率に合わせて、リソース利用率の確率分布を見積もることができるようになる。   If this parameter, that is, the probability distribution of resource usage when each type of processing is executed once, can be successfully identified, the probability of resource usage will be adjusted to the rate at which each processing is executed at the peak processing amount. The distribution can be estimated.

処理の種類毎の発生数とリソース利用率は予め決められた一定時間間隔で計測される。この一定時間間隔の計測データを1つあるいは複数をまとめたものを集計区間データとして、パラメータ同定計算に利用する。   The number of occurrences and the resource usage rate for each type of processing are measured at predetermined time intervals. A collection of one or a plurality of measurement data at a certain time interval is used as aggregated section data and used for parameter identification calculation.

パラメータ同定精度を高めるためには、集計区間内に発生した処理の種類毎の発生量とそれらの処理によって利用されたリソース利用時間が正確に集計される必要がある。また、これまでのパラメータ同定実験の結果、多くの集計区間データを利用することがパラメータ同定精度を高めるためには不可欠であることが分かっており、一定期間計測された計測データから精度の良い多くの集計区間データを生成する必要がある。   In order to increase the parameter identification accuracy, it is necessary to accurately count the generation amount for each type of processing occurring in the counting section and the resource usage time used by those processing. In addition, as a result of previous parameter identification experiments, it has been found that the use of a large number of total interval data is indispensable for improving the accuracy of parameter identification. It is necessary to generate the total interval data.

単に集計区間を短時間で区切ると、発生した処理がリソースを利用している途中で区間が区切られてしまい、集計区間データの精度が低下する問題がある。逆に集計区間を長時間で区切ると、発生した処理がリソースを利用している途中で区切られる割合は小さくなり集計区間データの精度は高くなるが、一定期間の計測データ内で生成できる集計区間データ数は小さくなってしまうことから、適当な長さで分割する必要がある。   If the total section is simply divided in a short time, there is a problem that the section is divided while the generated process is using the resource, and the accuracy of the total section data is lowered. On the other hand, if the totaling section is divided for a long time, the ratio of the processing that occurs during the use of resources decreases and the accuracy of the totaling section data increases, but the totaling section that can be generated within the measurement data for a certain period Since the number of data becomes small, it is necessary to divide by an appropriate length.

また、対象システムの実装されている計算機のリソース利用率が高いと待ち時間が発生するために、各処理の処理時間が長くなってしまい、リソース利用率が低い場合と同じ時間で集計区間が区切られると、集計区間データの精度が悪くなってしまう。   In addition, when the resource usage rate of the computer where the target system is installed is high, a waiting time occurs, so the processing time of each process becomes long, and the aggregation interval is divided by the same time as when the resource usage rate is low. If this is done, the accuracy of the aggregated section data will deteriorate.

そこで、本発明の目的は、対象装置の性能モデルのパラメータ同定のための集計区間データの精度を一定に保ちながら、一定時間内で多くの集計区間データを生成することが可能になる性能演算装置および性能演算処理プログラムを提供することにある。   Accordingly, an object of the present invention is to provide a performance calculation device capable of generating a large amount of total interval data within a predetermined time while maintaining the accuracy of the total interval data for parameter identification of the performance model of the target device. And providing a performance calculation processing program.

すなわち、本発明に係わる性能演算装置は、対象装置が実行する各処理による各リソースの利用率の計測値および対象装置が特定のリソースを利用して当該リソースが他のリソースと競合しない状態で実行する各処理の処理時間情報を基に、対象装置が実行する各処理の処理時間を推定し、この推定した処理時間をもとに、対象装置の性能モデルのパラメータ同定のための集計区間の時間を当該区間において発生する各処理の処理時間の総和のうち当該区間外となる時間が許容条件を満たすように計算し、計算した時間内の各リソースの利用率を集計することを特徴とする。   In other words, the performance calculation device according to the present invention is executed in a state where the measured value of each resource used by each process executed by the target device and the target device uses a specific resource and the resource does not compete with other resources. The processing time of each process executed by the target device is estimated based on the processing time information of each process to be performed, and based on the estimated processing time, the time of the aggregation section for parameter identification of the performance model of the target device Is calculated so that the time outside the section of the sum of the processing times of the processes generated in the section satisfies the allowable condition, and the utilization rate of each resource within the calculated time is totaled.

本発明によれば、対象装置の性能モデルのパラメータ同定のための集計区間データの精度を一定に保ちながら、一定時間内で多くの集計区間データを生成することができる。   According to the present invention, it is possible to generate a large amount of total section data within a predetermined time while keeping the accuracy of the total section data for parameter identification of the performance model of the target device constant.

以下図面により本発明の実施形態について説明する。
(第1の実施形態)
まず、本発明の第1の実施形態について説明する。
図1は、本発明の第1の実施形態にしたがった性能演算装置の構成の一例を示すブロック図である。
図2は、本発明の第1の実施形態にしたがった性能演算装置が取り扱う各種データの入出力関係の一例を示す図である。
本発明の第1の実施形態にしたがった性能演算装置は、対象システムが実装されている計算機の運用時のリソース利用率と無負荷時の処理時間から推定される各処理の処理時間を推定する場合の集計区間データを生成する機能を有する。
Embodiments of the present invention will be described below with reference to the drawings.
(First embodiment)
First, a first embodiment of the present invention will be described.
FIG. 1 is a block diagram showing an example of the configuration of a performance calculation device according to the first embodiment of the present invention.
FIG. 2 is a diagram showing an example of an input / output relationship of various data handled by the performance calculation device according to the first embodiment of the present invention.
The performance calculation device according to the first embodiment of the present invention estimates the processing time of each process estimated from the resource utilization rate during operation of the computer on which the target system is mounted and the processing time at no load. In this case, it has a function of generating aggregate section data.

図1に示すように、第1の実施形態にしたがった性能演算装置は、計測データ入力部1、無負荷時処理時間入力部2、許容誤差率入力部3、処理時間計算部4、集計区間計算部5、データ生成部6、集計区間データ出力部7、記憶装置8、キーボードやマウスといった入力装置9およびディスプレイ装置といった表示装置10を備え、それぞれがバス11を介して接続される。   As shown in FIG. 1, the performance calculation device according to the first embodiment includes a measurement data input unit 1, a no-load processing time input unit 2, an allowable error rate input unit 3, a processing time calculation unit 4, a totaling interval. A calculation unit 5, a data generation unit 6, a total section data output unit 7, a storage device 8, an input device 9 such as a keyboard and a mouse, and a display device 10 such as a display device are connected to each other via a bus 11.

記憶装置8は、例えばハードディスクドライブや不揮発性メモリ装置などのハードウェアで構成された記憶媒体であり、計測データ入力部1、無負荷時処理時間入力部2、許容誤差率入力部3、処理時間計算部4、集計区間計算部5、データ生成部6、集計区間データ出力部7による動作のための制御プログラムを記憶する他、計測データ記憶部21、処理時間記憶部22、誤差率記憶部23および集計区間データ記憶部24を有する。計測データ入力部1、無負荷時処理時間入力部2、許容誤差率入力部3、処理時間計算部4、集計区間計算部5、データ生成部6、集計区間データ出力部7は記憶装置8に記憶された制御プログラムを読み出すことにより処理を実行する。   The storage device 8 is a storage medium configured by hardware such as a hard disk drive or a nonvolatile memory device, for example, and includes a measurement data input unit 1, a no-load processing time input unit 2, an allowable error rate input unit 3, and a processing time. In addition to storing a control program for operation by the calculation unit 4, the total interval calculation unit 5, the data generation unit 6, and the total interval data output unit 7, the measurement data storage unit 21, the processing time storage unit 22, and the error rate storage unit 23. And a total section data storage unit 24. The measurement data input unit 1, the no-load processing time input unit 2, the allowable error rate input unit 3, the processing time calculation unit 4, the totaling interval calculation unit 5, the data generation unit 6, and the totaling interval data output unit 7 are stored in the storage device 8. The process is executed by reading the stored control program.

計測データ入力部1は、計測ツールプログラムによって計測された、対象システムが実装されている計算機のCPU、ディスクなどのリソースの利用率、および処理種類別の処理量といった性能データを外部から受信し、このデータを集計区間計算部5に送信する。   The measurement data input unit 1 receives performance data from the outside, measured by the measurement tool program, such as the CPU of the computer on which the target system is mounted, the utilization rate of resources such as disks, and the processing amount by processing type, This data is transmitted to the total section calculation unit 5.

無負荷時処理時間入力部2は、各処理の無負荷時処理時間、すなわち、対象システムが実装されている計算機のリソースが他のプロセスと競合しない状態で計測された各処理の処理時間を外部から受信し、これを処理時間計算部4に送信する。
許容誤差率入力部3は、生成対象の集計区間データの許容誤差率を外部から受信し、これを集計区間計算部5に送信する。
The no-load processing time input unit 2 externally outputs the processing time of each process, that is, the processing time of each process measured in a state where the resources of the computer on which the target system is mounted do not compete with other processes. Is transmitted to the processing time calculation unit 4.
The allowable error rate input unit 3 receives the allowable error rate of the aggregate interval data to be generated from the outside, and transmits this to the aggregate interval calculation unit 5.

処理時間計算部4は、無負荷時処理時間入力部2から各処理の無負荷時処理時間を受信して記憶装置8の処理時間記憶部22に保持し、対象システムが実装されている計算機のリソース利用率を集計区間計算部5から受信し、この受信したリソース利用率をもとに各処理の処理時間を計算し、この計算した処理時間を集計区間計算部5に送信する。   The processing time calculation unit 4 receives the no-load processing time of each process from the no-load processing time input unit 2 and holds it in the processing time storage unit 22 of the storage device 8. The resource usage rate is received from the totaling interval calculation unit 5, the processing time of each process is calculated based on the received resource usage rate, and the calculated processing time is transmitted to the totaling interval calculation unit 5.

集計区間計算部5は、計測データ入力部1から計測データを受信して記憶装置8の計測データ記憶部21に保持し、この保持した計測データの初期時刻を集計区間の開始時刻として記憶装置8に保持し、この開始時刻における、対象システムが実装されている計算機のリソース利用率を処理時間計算部4に送信する。   The total section calculation unit 5 receives the measurement data from the measurement data input unit 1 and stores it in the measurement data storage unit 21 of the storage device 8. The storage device 8 uses the initial time of the stored measurement data as the start time of the total section. And the resource utilization rate of the computer on which the target system is mounted at this start time is transmitted to the processing time calculation unit 4.

また、集計区間計算部5は、許容誤差率入力部3から許容誤差率を受信して記憶装置8の誤差率記憶部23に保持し、処理時間計算部4から各処理の処理時間を受信し、処理時間計算部4から受信した処理時間および許容誤差率入力部3から受信した許容誤差率を基に集計区間の時間を計算する。   Further, the total section calculation unit 5 receives the allowable error rate from the allowable error rate input unit 3 and holds it in the error rate storage unit 23 of the storage device 8, and receives the processing time of each process from the processing time calculation unit 4. Based on the processing time received from the processing time calculation unit 4 and the allowable error rate received from the allowable error rate input unit 3, the time of the total section is calculated.

また、集計区間計算部5は、前述したように記憶装置8に保持していた集計区間の開始時刻に、前述したように計算した集計区間の時間を加算することで集計区間終了時刻を求め、この終了時刻までの計測データを保持しているかを確認する。   Further, the total section calculation unit 5 obtains the total section end time by adding the time of the total section calculated as described above to the start time of the total section held in the storage device 8 as described above. It is confirmed whether measurement data up to this end time is held.

そして、集計区間計算部5は、前述した計測データを保持している場合には、集計区間の開始時刻、終了時刻とその間の計測データをデータ生成部6に送信し、終了時刻を次の集計区間の開始時刻として記憶装置8に保持し、この開始時刻から一定時間内のリソース利用率を処理時間計算部4に送信する。   Then, when holding the measurement data described above, the tabulation section calculation unit 5 transmits the start time and end time of the tabulation section and measurement data therebetween to the data generation unit 6, and calculates the end time as the next tabulation. The section start time is stored in the storage device 8, and the resource utilization rate within a predetermined time from this start time is transmitted to the processing time calculation unit 4.

データ生成部6は、集計区間計算部5から集計区間の開始時刻、終了時刻とその間の計測データを受信すると、その間のリソース利用時間と処理量を集計し、集計区間データとして集計区間データ出力部7に送信する。
集計区間データ出力部7は、データ生成部6から集計区間データを受信し、表示装置10に出力する。
When the data generation unit 6 receives the start time and end time of the total interval and the measurement data between them, from the total interval calculation unit 5, the data generation unit 6 totals the resource usage time and the processing amount therebetween, and the total interval data output unit as the total interval data 7 to send.
The total section data output unit 7 receives the total section data from the data generation unit 6 and outputs it to the display device 10.

次に、以上のように構成された性能演算装置による集計区間データ生成にかかる動作を説明する。
図3は、本発明の第1の実施形態にしたがった性能演算装置の処理動作の一例を示すフローチャートである。
まず、計測データ入力部1は、外部から計測データを入力して、これを集計区間計算部5に送信する。集計区間計算部5は受信した計測データを記憶装置8の計測データ記憶部21に保持する(ステップS1)。
Next, the operation | movement concerning total area data generation by the performance arithmetic unit comprised as mentioned above is demonstrated.
FIG. 3 is a flowchart showing an example of the processing operation of the performance calculation device according to the first embodiment of the present invention.
First, the measurement data input unit 1 inputs measurement data from the outside and transmits it to the totaling interval calculation unit 5. The totaling interval calculation unit 5 holds the received measurement data in the measurement data storage unit 21 of the storage device 8 (step S1).

無負荷時処理時間入力部2は、外部から無負荷時処理時間を入力して、これを処理時間計算部4に送信する。処理時間計算部4は、無負荷時処理時間入力部2から受信した無負荷時処理時間を記憶装置8の処理時間記憶部22に保持する(ステップS2)。   The no-load processing time input unit 2 inputs the no-load processing time from the outside and transmits it to the processing time calculation unit 4. The processing time calculation unit 4 holds the no-load processing time received from the no-load processing time input unit 2 in the processing time storage unit 22 of the storage device 8 (step S2).

許容誤差率入力部3は、外部から集計区間データの許容誤差率を入力して、これを集計区間計算部5に送信する。集計区間計算部5は、許容誤差率入力部3から受信した許容誤差率を記憶装置8の誤差率記憶部23に保持する(ステップS3)。   The allowable error rate input unit 3 inputs the allowable error rate of the tabulation interval data from the outside, and transmits this to the tabulation interval calculation unit 5. The tabulation section calculation unit 5 holds the allowable error rate received from the allowable error rate input unit 3 in the error rate storage unit 23 of the storage device 8 (step S3).

集計区間計算部5は、初期設定として、集計区間データの番号を表す変数iを1に設定する(ステップS4)。
集計区間計算部5は、ステップS1の処理で取得した計測データの初期時刻Tを集計区間iの開始時刻Tsに設定し(ステップS5)、計測データ中から当該開始時刻から一定時間内のリソース利用率情報U(Ts)を取得し、これを処理時間計算部4に送信する。
The aggregation section calculation unit 5 sets a variable i representing the number of the aggregation section data to 1 as an initial setting (step S4).
Time window calculation unit 5 sets the initial time T 0 of the measurement data acquired in the process of step S1 to the start time Ts i aggregation interval i (step S5), and from among the measurement data within a predetermined time after the start time Resource utilization rate information U (Ts i ) is acquired and transmitted to the processing time calculation unit 4.

処理時間計算部4は、集計区間計算部5からリソース利用率情報U(Ts)を受信すると、許容誤差率入力部3からの無負荷時処理時間を利用してリソース利用率情報がU(Ts)の時の処理時間情報R(Ts)を推定し(ステップS6)、これを集計区間計算部5に送信する。 When the processing time calculation unit 4 receives the resource utilization rate information U (Ts i ) from the total interval calculation unit 5, the processing time calculation unit 4 uses the no-load processing time from the allowable error rate input unit 3 to obtain the resource utilization rate information U ( ts i) processing time when the information to estimate the R (Ts i) (step S6), and transmits it to the time window calculation unit 5.

集計区間計算部5は、処理時間計算部4から処理時間情報R(Ts)を受信すると、記憶装置8の誤差率記憶部23に保持している許容誤差率を利用し、集計区間iの時間Tbを計算し、集計区間iの終了時刻Teを以下の式(1)にしたがって計算する(ステップS7)。 When receiving the processing time information R (Ts i ) from the processing time calculation unit 4, the totaling interval calculation unit 5 uses the allowable error rate held in the error rate storage unit 23 of the storage device 8 and uses the allowable error rate. The time Tb i is calculated, and the end time Te i of the counting section i is calculated according to the following equation (1) (step S7).

Te=Ts+Tb ・・・式(1)
この式(1)は、集計区間iの開始時刻Tsより時間Tbだけ後の時刻が終了時刻Teとなることを意味する。
Te i = Ts i + Tb i (1)
This equation (1) means that the time after the time Tb i from the start time Ts i of the counting section i becomes the end time Te i .

集計区間計算部5は、この集計区間iの終了時刻Teと計測データの最終時刻Tを比較し、集計区間iの終了時刻Teが計測データの最終時刻Tより後であれば(ステップS8のYES)処理を終了する。 Time window calculation unit 5, if the end time Te i aggregation interval i and compared to the last time T f of the measurement data, later than the last time T f of the end time Te i measurement data time window i ( The processing in step S8 is completed.

一方、集計区間計算部5は、集計区間iの終了時刻Teが計測データの最終時刻Tより前であれば(ステップS8のNO)、集計区間iの開始時刻Tsと終了時刻Teとその間の計測データをデータ生成部6に送信する。 On the other hand, if the end time Te i of the total section i is before the final time T f of the measurement data (NO in step S8), the total section calculation unit 5 starts the start time Ts i and the end time Te i of the total section i. And the measurement data between them are transmitted to the data generation unit 6.

データ生成部6は、集計区間計算部5から受信した計測データから、集計区間iの開始時刻Tsと終了時刻Te間のリソース利用時間、処理の種類毎の発生量を集計することで集計区間データを生成し(ステップS9)、これを集計区間データ出力部7に送信する。
集計区間データ出力部7は、データ生成部6から受信した集計区間データを表示装置10に表示させる(ステップS10)。
The data generation unit 6 aggregates the measured data received from the aggregation interval calculation unit 5 by aggregating the resource usage time between the start time Ts i and the end time Te i of the aggregation interval i and the generation amount for each type of processing. Section data is generated (step S9), and is transmitted to the total section data output unit 7.
The total section data output unit 7 displays the total section data received from the data generation unit 6 on the display device 10 (step S10).

すると、集計区間計算部5は、集計区間データの番号iに1を加算して更新する(ステップS11)。
集計区間計算部5は、集計区間i−1の終了時刻Tei−1を集計区間iの開始時刻Tsに設定し(ステップS12)、ステップS6の処理に戻る。
Then, the total section calculation unit 5 adds 1 to the number i of the total section data and updates it (step S11).
Time window calculation unit 5 sets the end time Te i-1 of the time window i-1 to the start time Ts i aggregation interval i (step S12), the process returns to step S6.

以上のように、本発明の第1の実施形態にしたがった性能演算装置は、予め計測された対象システムの各処理の無負荷時の処理時間と、対象システムが実装された計算機のリソース利用率とから、そのリソース利用率時の各処理の処理時間を推定し、推定された各処理の処理時間と外部から入力された許容誤差率を使って集計区間データを決定する。よって、集計区間データの精度を一定に保ちながら、一定時間内で多くの集計区間データを生成でき、性能モデルのパラメータ同定の精度を高く維持することができる。   As described above, the performance calculation device according to the first embodiment of the present invention includes the pre-measured processing time of each process of the target system when there is no load, and the resource usage rate of the computer on which the target system is mounted. Then, the processing time of each process at the time of the resource utilization rate is estimated, and the aggregate interval data is determined using the estimated processing time of each process and the allowable error rate input from the outside. Therefore, while keeping the accuracy of the total section data constant, a lot of total section data can be generated within a certain time, and the accuracy of parameter identification of the performance model can be maintained high.

(第2の実施形態)
次に、本発明の第2の実施形態について説明する。なお、本実施形態に係る性能演算装置の構成は図1に示したものと基本的にほぼ同様であるので同一部分の説明は省略する。
この第2の実施形態にしたがった性能演算装置は、対象システムの運用時の処理時間が計測されている場合に集計区間データを生成する機能を有する。
図4は、本発明の第2の実施形態にしたがった性能演算装置の構成の一例を示すブロック図である。
図5は、本発明の第2の実施形態にしたがった性能演算装置が取り扱う各種データの入出力関係の一例を示す図である。
図4に示すように、本発明の第2の実施形態にしたがった性能演算装置は、本発明の第1の実施形態にしたがった性能演算装置と比較して、無負荷時処理時間入力部2、処理時間計算部4を備えていない一方で、処理時間入力部31をさらに備える。
処理時間入力部31は、対象システムの運用時の各処理の処理時間を外部から受信し、集計区間計算部5に送信する。
集計区間計算部5は、計測データ入力部1から計測データを受信して記憶装置8の計測データ記憶部21に保持し、処理時間入力部31から運用時の各処理の処理時間を受信して記憶装置8の処理時間記憶部22に保持し、許容誤差率入力部3から許容誤差率を受信して記憶装置8の誤差率記憶部23に保持する。
(Second Embodiment)
Next, a second embodiment of the present invention will be described. The configuration of the performance calculation apparatus according to the present embodiment is basically the same as that shown in FIG.
The performance calculation device according to the second embodiment has a function of generating aggregate section data when the processing time during operation of the target system is measured.
FIG. 4 is a block diagram showing an example of the configuration of the performance calculation device according to the second embodiment of the present invention.
FIG. 5 is a diagram showing an example of an input / output relationship of various data handled by the performance calculation device according to the second embodiment of the present invention.
As shown in FIG. 4, the performance calculation device according to the second embodiment of the present invention is compared with the performance calculation device according to the first embodiment of the present invention. While the processing time calculation unit 4 is not provided, a processing time input unit 31 is further provided.
The processing time input unit 31 receives the processing time of each process at the time of operation of the target system from the outside, and transmits it to the totaling interval calculation unit 5.
The total section calculation unit 5 receives the measurement data from the measurement data input unit 1 and holds it in the measurement data storage unit 21 of the storage device 8, and receives the processing time of each process during operation from the processing time input unit 31. The allowable error rate is stored in the processing time storage unit 22 of the storage device 8, received from the allowable error rate input unit 3, and stored in the error rate storage unit 23 of the storage device 8.

また、集計区間計算部5は、保持した計測データの初期時刻を集計区間の開始時刻として記憶装置8に保持し、その開始時刻における各処理の処理時間を検索し、この処理時間と許容誤差率とを基に集計区間の時間を計算する。   Moreover, the total section calculation unit 5 stores the initial time of the stored measurement data in the storage device 8 as the start time of the total section, searches the processing time of each process at the start time, and the processing time and the allowable error rate Based on the above, the time of the total section is calculated.

また、集計区間計算部5は、記憶装置8に保持していた集計区間の開始時刻に計算済みの集計区間の時間を加算して集計区間終了時刻を求め、その終了時刻までの計測データが記憶装置8に保持されているかを確認し、保持している場合には、集計区間の開始時刻、終了時刻とその間の計測データをデータ生成部6に送信し、終了時刻を次の集計区間の開始時刻として保持し、その時のリソース利用率を処理時間計算部4に送信する。   The total section calculation unit 5 obtains the total section end time by adding the calculated total section time to the start time of the total section held in the storage device 8 and stores the measurement data up to the end time. If it is held in the device 8, if it is held, the start time and end time of the totaling section and the measurement data between them are transmitted to the data generation unit 6, and the end time is started at the next totaling section. The time is held, and the resource utilization rate at that time is transmitted to the processing time calculator 4.

次に、以上のように構成された性能演算装置による集計区間データ生成にかかる動作を説明する。
図6は、本発明の第2の実施形態にしたがった性能演算装置の処理動作の一例を示すフローチャートである。
まず、第1の実施形態と同様に、計測データ入力部1は、外部から計測データを入力して、これを集計区間計算部5に送信する。集計区間計算部5は受信した計測データを記憶装置8の計測データ記憶部21に保持する(ステップS21)。
Next, the operation | movement concerning total area data generation by the performance arithmetic unit comprised as mentioned above is demonstrated.
FIG. 6 is a flowchart showing an example of the processing operation of the performance calculation device according to the second embodiment of the present invention.
First, as in the first embodiment, the measurement data input unit 1 inputs measurement data from the outside and transmits it to the totaling interval calculation unit 5. The totaling interval calculation unit 5 holds the received measurement data in the measurement data storage unit 21 of the storage device 8 (step S21).

処理時間入力部31は、外部から運用時の各処理の処理時間を入力すると、これを集計区間計算部5に送信する。集計区間計算部5は処理時間入力部31から受信した処理時間の情報を記憶装置8の処理時間記憶部22に保持する(ステップS22)。
以後、前述した第1の実施形態で説明したステップS3からS5までの処理がなされる(ステップS23〜S25)。
When the processing time input unit 31 inputs the processing time of each process at the time of operation from the outside, the processing time input unit 31 transmits this to the totaling interval calculation unit 5. The total section calculation unit 5 holds the processing time information received from the processing time input unit 31 in the processing time storage unit 22 of the storage device 8 (step S22).
Thereafter, the processing from steps S3 to S5 described in the first embodiment is performed (steps S23 to S25).

そして、集計区間計算部5は、集計区間iの開始時刻Tsの処理時間情報R(Ts)を検索し、この検索した処理時間および保持している許容誤差率を利用し、集計区間iの時間Tbを計算され、集計区間iの終了時刻Teを前述した式(1)にしたがって計算する(ステップS26)。
以後は、前述した第1の実施形態で説明したステップS8からS12までの処理がなされる(ステップS27〜S31)。
Then, the counting section calculation unit 5 searches the processing time information R (Ts i ) of the start time Ts i of the counting section i, and uses the searched processing time and the retained allowable error rate to calculate the counting section i. Time Tb i is calculated, and the end time Te i of the counting section i is calculated according to the above-described equation (1) (step S26).
Thereafter, the processing from steps S8 to S12 described in the first embodiment is performed (steps S27 to S31).

以上のように、本発明の第2の実施形態にしたがった性能演算装置は、対象システムの運用時の各処理の処理時間、および外部から入力された許容誤差率を使って集計区間データを決定することにより、集計区間データの精度を一定に保ちながら、一定時間内で多くの集計区間データを生成でき、性能モデルのパラメータ同定の精度を高く維持することができる。   As described above, the performance calculation device according to the second embodiment of the present invention determines the aggregate interval data using the processing time of each process during the operation of the target system and the allowable error rate input from the outside. By doing so, while maintaining the accuracy of the total interval data, a large amount of the total interval data can be generated within a predetermined time, and the accuracy of parameter identification of the performance model can be maintained high.

以下、各実施形態の実施例について説明する。   Examples of each embodiment will be described below.

まず実施例1を説明する。この実施例1は前述した第1の実施形態の実施例であり、性能モデルのパラメータ同定のための集計区間データ生成方法について説明するものである。   Example 1 will be described first. Example 1 is an example of the above-described first embodiment, and describes a total interval data generation method for performance model parameter identification.

本実施例で説明する対象システムはWebサーバ、アプリケーションサーバ、データベースサーバのようなサーバ群とクライアントから構成される。この対象システムは、これらのサーバ群やクライアントから以下のような情報を計測データとして計測し、計測データ入力部1に入力する。   The target system described in this embodiment includes a server group such as a Web server, an application server, and a database server, and a client. The target system measures the following information as measurement data from these server groups and clients and inputs the measurement data to the measurement data input unit 1.

計測データは、リソース利用率や処理量情報である。リソース利用率は、サーバマシンのCPUやディスクなどのリソースの利用率であり、例えば10秒間といった一定時間間隔で計測される。サーバ群は、例えばマイクロソフト社のシステム監視プログラムパフォーマンスモニタ(perfmon.exe)のようなプログラムツールにより計測、ログ出力ができる。   The measurement data is resource utilization rate and processing amount information. The resource usage rate is a usage rate of resources such as a CPU and a disk of the server machine, and is measured at regular time intervals such as 10 seconds. The server group can be measured and output by a program tool such as a system monitor program performance monitor (perfmon.exe) of Microsoft Corporation.

処理量情報は、Webサーバやアプリケーションサーバのログ機能により得られる利用履歴である。利用履歴には以下の二種類があげられる。これらはいずれも一定時間毎のシステムに与えられた処理量を示すものである。   The processing amount information is a usage history obtained by the log function of the Web server or application server. There are two types of usage history: Each of these indicates the amount of processing given to the system at regular intervals.

第1の利用履歴は、アクセスログのように、クライアントからの要求に応じて起動された処理の種別および発生時刻が記録されたものである。第2の利用履歴は、一定間隔で、その区間における処理毎の発生数が記録されたものである。   The first usage history, like an access log, is a record of the type of processing started in response to a request from the client and the time of occurrence. In the second usage history, the number of occurrences for each process in the section is recorded at regular intervals.

図7は、実施例1における計測データの一例を表形式で示す図である。
図7に示した計測データは、各処理の処理量、各リソースの利用率が午前0時から24時まで10秒間隔で計測されたものである。
以下では計測データとして、初期時刻Tから最終時刻Tまで、一定時間ΔT間隔でサーバ計算機のリソース利用率、各処理の処理量のデータが得られるとして説明する。
FIG. 7 is a diagram illustrating an example of measurement data according to the first embodiment in a table format.
The measurement data shown in FIG. 7 is obtained by measuring the processing amount of each process and the utilization rate of each resource at intervals of 10 seconds from midnight to 24:00.
In the following description, it is assumed that the resource utilization rate of the server computer and the processing amount of each process are obtained as measurement data from the initial time T 0 to the final time T f at regular time intervals ΔT.

第1の実施形態でも説明したように、計測データ入力部1に入力された計測データは集計区間計算部5に送信され、集計区間計算部5で保持される。集計区間計算部5は、集計区間の番号を表す変数iに初期値「1」を設定する。そして、集計区間計算部5は、取得した計測データの初期時刻Tを集計区間iの開始時刻Tsに設定し、その時刻のリソース利用率情報U(Ts)を処理時間計算部4に送信する。 As described in the first embodiment, the measurement data input to the measurement data input unit 1 is transmitted to the totaling interval calculation unit 5 and held in the totaling interval calculation unit 5. The tabulation section calculation unit 5 sets an initial value “1” for a variable i representing the number of the tabulation section. Then, the tally interval calculation unit 5 sets the initial time T 0 of the acquired measurement data to the start time Ts i of the tally interval i, and sets the resource utilization rate information U (Ts i ) at that time to the processing time calculation unit 4. Send.

リソース利用率情報U(Ts)は以下の式(2)で示される。 The resource utilization rate information U (Ts i ) is expressed by the following equation (2).

U(Ts)={U(Ts),U(Ts),…,U(Ts)} ・・・式(2)
また、開始時刻Tsから一定時間ΔTの間のリソースk(k=1,2,…,K;Kはリソース数を表す)の利用率はU(Ts)と表される。
U (Ts i ) = {U 1 (Ts i ), U 2 (Ts i ),..., U K (Ts i )} Equation (2)
Further, the utilization factor of the resource k (k = 1, 2,..., K; K represents the number of resources) between the start time Ts i and the fixed time ΔT is represented as U k (Ts i ).

処理時間計算部4は、集計区間計算部5から受信したリソース利用率情報U(Ts)と、無負荷時処理時間入力部2から受信した無負荷時処理時間情報Rを利用して、リソース利用率情報がU(Ts)の場合の各処理の処理時間情報R(Ts)を推定する。 The processing time calculation unit 4 uses the resource utilization rate information U (Ts i ) received from the total section calculation unit 5 and the no-load processing time information R 0 received from the no-load processing time input unit 2. resource utilization information to estimate U (Ts i) the processing time information of each process in the case R (Ts i).

無負荷時処理時間情報Rは以下の式(3)で示される。

Figure 2009140358
The no-load processing time information R0 is expressed by the following equation (3).
Figure 2009140358

また、各実施例では、以下の式(4)が成り立つとする。

Figure 2009140358
In each embodiment, it is assumed that the following expression (4) holds.
Figure 2009140358

式(4)におけるRjk0は、無負荷状態で処理j(j=1,2,…,J)がリソースk(k=1,2,…,K)を利用して実行されるのに要する時間である。また、式(3)におけるJは処理の種類数である。 R jk0 in equation (4) is required for the process j (j = 1, 2,..., J) to be executed using the resource k (k = 1, 2,..., K) in the no-load state. It's time. J in Equation (3) is the number of types of processing.

処理時間情報の推定方法の一例として、推定式を以下の式(5)および式(6)に示す。
R(Ts)={R(Ts),R(Ts),…,R(Ts)} ・・・式(5)

Figure 2009140358
As an example of the estimation method of the processing time information, the estimation formulas are shown in the following formulas (5) and (6).
R (Ts i ) = {R 1 (Ts i ), R 2 (Ts i ),..., R J (Ts i )} Equation (5)
Figure 2009140358

式(6)におけるR(Ts)は処理jの開始時刻Tsから一定時間ΔT内に開始する処理の処理時間である。これらの式は待ち行列理論のリトルの公式を各リソースについて適用し、その加算で処理jの開始時刻Tsから一定時間ΔT内に開始する処理の処理時間を計算した近似式である。 R j (Ts i ) in equation (6) is the processing time of processing that starts within a predetermined time ΔT from the start time Ts i of processing j. Little official of these formulas queuing theory applied for each resource, an approximate expression to calculate the processing time of the process starting from the start time Ts i in the processing j the addition to the predetermined time within [Delta] T.

開始時刻Tsから一定時間ΔT内に開始する処理の処理時間を並べたベクトルR(Ts)を、ここでは開始時刻Tsから一定時間ΔT内に開始する処理の処理時間情報と呼ぶ。 The start time Ts i vector by arranging the processing time of the processing for starting a predetermined time in the [Delta] T from R (Ts i), referred to herein as processing time information of the processing starting from the start time Ts i within a predetermined time [Delta] T.

処理時間計算部4は、計算された処理時間情報R(Ts)を集計区間計算部5に送信する。
集計区間計算部5は、処理時間計算部4から処理時間情報R(Ts)を受信すると、記憶装置8の誤差率記憶部23に保持している許容誤差率ρを利用し、集計区間iの時間と集計区間iの終了時刻を計算する。
The processing time calculation unit 4 transmits the calculated processing time information R (Ts i ) to the total interval calculation unit 5.
When receiving the processing time information R (Ts i ) from the processing time calculation unit 4, the totaling interval calculation unit 5 uses the allowable error rate ρ held in the error rate storage unit 23 of the storage device 8 to calculate the totaling interval i. And the end time of the counting section i are calculated.

集計区間時間の計算式は、以下の式(7)および前述した式(1)で示される。

Figure 2009140358
The formula for calculating the total interval time is represented by the following formula (7) and the above-described formula (1).
Figure 2009140358

式(7)の右辺は、式(5)の右辺である{R(Ts),R(Ts),…,R(Ts)}の最大値を2ρで割った値である。
この例では各処理の中で最も処理時間が大きい処理に合わせて集計区間の時間を計算しているが、各処理の処理時間の平均値から集計区間の時間を求めてもよい。
式(7)の導出方法については、後述の許容誤差率と集計区間の時間どの関係で説明する。
The right side of Expression (7) is a value obtained by dividing the maximum value of {R 1 (Ts i ), R 2 (Ts i ),..., R J (Ts i )}, which is the right side of Expression (5), by 2ρ. is there.
In this example, the time of the total section is calculated in accordance with the process having the longest processing time in each process, but the time of the total section may be obtained from the average value of the processing times of each process.
The derivation method of Expression (7) will be described in relation to the allowable error rate described later and the time of the totaling section.

集計区間計算部5は、この集計区間iの終了時刻Teと計測データの最終時刻Tを比較し、集計区間iの終了時刻Teが計測データの最終時刻Tより後であれば集計区間データ生成を終了する。 Aggregate time window calculation unit 5 compares the final time T f of the end time Te i and the measurement data of the time window i, if the end time Te i aggregation interval i is later than the last time T f of the measurement data End the section data generation.

集計区間計算部5は、集計区間iの終了時刻Teが計測データの最終時刻Tより前であれば、集計区間iの開始時刻Tsと終了時刻Teとその間の計測データをデータ生成部6に送信する。 If the end time Te i of the total section i is earlier than the final time T f of the measurement data, the total section calculation unit 5 generates data of the start time Ts i and end time Te i of the total section i and the measurement data therebetween. Transmit to unit 6.

データ生成部6は、受信した計測データから、以下の式(8)、式(9)、式(10)にしたがって、集計区間iの開始時刻Tsと終了時刻Te間のリソース利用時間、各処理の処理量を集計する。

Figure 2009140358
Figure 2009140358
Figure 2009140358
From the received measurement data, the data generation unit 6 uses the resource utilization time between the start time Ts i and the end time Te i of the counting section i according to the following formulas (8), (9), and (10): Aggregate the amount of each process.
Figure 2009140358
Figure 2009140358
Figure 2009140358

式(8)の左辺は、集計区間iの集計区間データであり、式(9)の左辺は集計区間iにおけるリソースkの利用時間であり、式(10)の左辺は集計区間iにおける処理jの処理量である。   The left side of Expression (8) is the total section data of the total section i, the left side of Expression (9) is the usage time of the resource k in the total section i, and the left side of Expression (10) is the processing j in the total section i. The amount of processing.

データ生成部6は、集計区間データSを集計区間データ出力部7に送信する。集計区間データ出力部7は、この集計区間データを表示装置10に出力する。
そして、集計区間計算部5は、集計区間データの番号iを1加算して更新し、集計区間i−1の終了時刻Tei−1を集計区間iの開始時刻Tsに設定する。
以後、リソース利用率情報R(Ts)が処理時間計算部4に送信されるところから処理が繰り返され、集計区間データが順次生成される。
The data generation unit 6 transmits the total interval data S i to the total interval data output unit 7. The total section data output unit 7 outputs this total section data to the display device 10.
Then, the counting section calculation unit 5 adds 1 to the number i of the counting section data and updates it, and sets the end time Te i-1 of the counting section i -1 as the start time Ts i of the counting section i.
Thereafter, the process is repeated from the point where the resource utilization rate information R (Ts i ) is transmitted to the processing time calculation unit 4, and aggregated section data is sequentially generated.

図8は、実施例1における集計区間データの一例を表形式で示す図である。
図8に示した集計区間データは、集計区間番号と集計区間の開始時刻、終了時刻、各リソースのリソース利用時間(秒)、各処理の処理量を示す。
FIG. 8 is a diagram illustrating an example of the tabulation section data in the first embodiment in a table format.
The aggregate section data shown in FIG. 8 indicates the aggregate section number, the start time and end time of the aggregate section, the resource usage time (seconds) of each resource, and the processing amount of each process.

次に、許容誤差率ρと集計区間の時間Tbとの関係について説明する。
説明を簡単にするために、各処理の処理時間が等しい、つまり以下の式(11)が成り立つとする。
Next, the relationship between the allowable error rate ρ and the time Tb i of the total section will be described.
In order to simplify the explanation, it is assumed that the processing time of each process is equal, that is, the following expression (11) holds.

(t)=R(j=1,2,…,J) ・・・式(11)
図9は、集計区間と処理時間の関係の一例を示す図である。
図9に示した例では、集計区間の時間Tbが処理時間Rの3倍である。ここでは、集計区間を処理の処理時間間隔で区切った区間をサブ区間とし、図のように集計区間iのサブ区間をサブ区間A,B,Cと呼称する。
R j (t) = R (j = 1, 2,..., J) (11)
FIG. 9 is a diagram illustrating an example of the relationship between the counting interval and the processing time.
In the example shown in FIG. 9, the time Tb i of the counting section is three times the processing time R. Here, a section obtained by dividing the total section by the processing time interval of processing is referred to as a sub section, and sub sections of the total section i are referred to as sub sections A, B, and C as illustrated.

図9中の矢印は処理を表し、矢印の左端が処理の発生時刻、右端が処理の終了時刻とする。図9から分かるように、サブ区間A、Bで発生した処理は、集計区間i内で終了する。一方、図9において斜線で区別したサブ区間Cで発生した処理は、図9に示すように、当該終了時刻が集計区間iの終了時刻より後であり、言い換えると処理の一部が集計区間iの範囲からはみ出している。   The arrow in FIG. 9 represents the process, and the left end of the arrow is the process occurrence time, and the right end is the process end time. As can be seen from FIG. 9, the processing that occurred in the sub-intervals A and B ends within the aggregation interval i. On the other hand, as shown in FIG. 9, the processing that occurred in the sub-section C distinguished by diagonal lines in FIG. 9 is that the end time is after the end time of the counting section i. In other words, a part of the processing is the counting section i. It is out of the range.

処理が一様に発生する場合、サブ区間Cで発生する処理では平均すると処理時間の1/2が集計区間iからはみ出る。従って、集計区間iで発生する全処理のリソース利用時間のうち集計区間iからはみ出す割合、つまり誤差率は1/3×1/2=1/6になる。同様に、集計区間の時間が処理時間のn倍の場合には誤差率は1/2nになる。   When the processing occurs uniformly, in the processing occurring in the sub-section C, on average, half of the processing time protrudes from the counting section i. Accordingly, the ratio of the resource usage time of all processes occurring in the total section i that protrudes from the total section i, that is, the error rate is 1/3 × 1/2 = 1/6. Similarly, when the time of the totaling section is n times the processing time, the error rate is 1 / 2n.

許容誤差率ρが与えられた場合、許容誤差率を満たすための集計区間の時間Tbと処理時間Rとの関係は以下の式(12),式(13)で示される。
ρ≧1/2n=R/2Tb ・・・式(12)
Tb≧R/2ρ ・・・式(13)
すなわち、集計区間の時間Tbは処理時間Rの1/2ρ倍以上にしなければならないことが分かる。この説明では説明を簡単にするために各処理の処理時間Rを一定値にしていたが、本実施例では、集計区間計算部5は、式(7)に示すように、各処理の処理時間が異なる場合に、これらの処理時間のうち最大の処理時間を利用して集計区間を計算する。
When the allowable error rate ρ is given, the relationship between the total time Tb i for satisfying the allowable error rate and the processing time R is expressed by the following equations (12) and (13).
ρ ≧ 1 / 2n = R / 2Tb i (12)
Tb i ≧ R / 2ρ Equation (13)
That is, it can be seen that the time Tb i of the totaling section must be at least 1 / 2ρ times the processing time R. In this description, the processing time R of each process is set to a constant value for simplicity of explanation, but in this embodiment, the totaling interval calculation unit 5 performs processing time of each process as shown in Expression (7). Are different, the total section is calculated using the maximum processing time among these processing times.

次に、リソース利用率と集計区間の時間との関係を説明する。
図10は、処理時間と集計区間誤差率との関係の第1の例を示す図である。
図10に示した例は、図9に示した例と同様に、集計区間の時間が処理時間の3倍に設定した例である。
Next, the relationship between the resource usage rate and the time of the total section will be described.
FIG. 10 is a diagram illustrating a first example of the relationship between the processing time and the total section error rate.
The example shown in FIG. 10 is an example in which the time of the totaling section is set to three times the processing time, similarly to the example shown in FIG.

この例では、サブ区間Cに描かれている矢印はサブ区間Cで発生する処理の平均開始時刻と平均終了時刻を表す。また、図10において斜線で区別したサブ区間Cで発生した処理の処理時間の1/2が集計区間iをはみ出す。よって、集計区間iで計測されるリソース利用量の誤差率は1/3×1/2=1/6になる。   In this example, the arrows drawn in the sub-section C represent the average start time and average end time of the processing that occurs in the sub-section C. In addition, half of the processing time of the processing that occurred in the sub-section C distinguished by diagonal lines in FIG. Therefore, the error rate of the resource usage measured in the total section i is 1/3 × 1/2 = 1/6.

次に多くの処理が発生し、リソース利用率が高くなった場合を考える。
図11は、処理時間と集計区間誤差率との関係の第2の例を示す図である。
この例は、リソース利用率が高いために、各処理の処理時間がaの処理時間の2倍になった例である。この場合は、図11において斜線で区別したサブ区間B、Cで発生した処理の処理時間が集計区間iをはみ出す。矢印はサブ区間B、Cで発生する処理の平均開始時刻と平均終了時刻を表す。
Next, consider the case where a lot of processing occurs and the resource utilization rate becomes high.
FIG. 11 is a diagram illustrating a second example of the relationship between the processing time and the total section error rate.
In this example, since the resource utilization rate is high, the processing time of each processing is twice the processing time of a. In this case, the processing time of the processing occurring in the sub-intervals B and C distinguished by diagonal lines in FIG. The arrows represent the average start time and average end time of processing that occurs in the sub-sections B and C.

サブ区間B、Cで発生した処理の処理時間の1/2が集計区間iをはみ出す。従って、集計区間iで計測されるリソース利用量の誤差率は2/3×1/2=1/3になる。このように、リソース利用率が高くなると各処理の処理時間が大きくなり、このために集計区間データの誤差率が大きくなってしまうことが分かる。   One half of the processing time of the processing occurring in the sub-intervals B and C protrudes from the totaling interval i. Therefore, the error rate of the resource usage measured in the total section i is 2/3 × 1/2 = 1/3. Thus, it can be seen that as the resource utilization rate increases, the processing time of each process increases, and for this reason, the error rate of the aggregated section data increases.

図12は、処理時間と集計区間誤差率との関係の第3の例を示す図である。
この例は、リソース利用率が高いために各処理の処理時間がaの処理時間の2倍になった場合に、集計区間の時間も処理時間に合わせて2倍にした例である。この場合、図12において斜線で区別したサブ区間Cで発生した処理の処理時間が集計区間iをはみ出す。矢印はサブ区間Cで発生する処理の平均開始時刻と平均終了時刻を表す。
FIG. 12 is a diagram illustrating a third example of the relationship between the processing time and the total section error rate.
In this example, when the processing time of each process is double the processing time of a due to a high resource utilization rate, the time of the totaling section is also doubled according to the processing time. In this case, the processing time of the processing that occurred in the sub-section C distinguished by diagonal lines in FIG. The arrows represent the average start time and average end time of processing that occurs in sub-section C.

サブ区間cで発生した処理の処理時間の1/2が集計区間iをはみ出す。よって、集計区間iで計測されるリソース利用量の誤差率は1/3×1/2=1/6になり、図10に示した例で求められた誤差率と等しくなる。このように、リソース利用率の変化によって各処理の処理時間が変動する場合に、その処理時間に合わせて集計区間の時間を調整することにより、集計区間データの誤差率を一定に保持できることが分かる。   1/2 of the processing time of the processing that occurred in the sub-interval c protrudes from the aggregation section i. Therefore, the error rate of the resource usage amount measured in the total interval i is 1/3 × 1/2 = 1/6, which is equal to the error rate obtained in the example shown in FIG. Thus, when the processing time of each process fluctuates due to a change in the resource usage rate, it can be understood that the error rate of the total section data can be kept constant by adjusting the time of the total section in accordance with the processing time. .

一般的には各処理の処理時間を直接計測することは難しいので、本実施例ではリソース利用率と無負荷時の各処理の処理時間から運用時の処理時間を推定し、集計区間の時間を決定している。   In general, it is difficult to directly measure the processing time of each process, so in this example, the processing time during operation is estimated from the resource usage rate and the processing time of each process at no load, and the time of the aggregation section is calculated. Has been decided.

本実施例では、処理時間計算部4は、集計区間iの開始時刻のリソース利用率情報U(Ts)と、無負荷時処理時間入力部2から受信した無負荷時処理時間情報Rを利用して、各処理の処理時間を推定しているが、リソース利用率の変化が大きい場合には、開始時刻だけでなく、開始時刻から複数時点のリソース利用率の平均値を利用して、各処理の処理時間を推定することもできる。 In the present embodiment, the processing time calculation unit 4 receives the resource utilization rate information U (Ts i ) at the start time of the counting section i and the no-load processing time information R 0 received from the no-load processing time input unit 2. The processing time of each process is estimated, but if the change in resource utilization rate is large, not only the start time but also the average value of resource utilization rates at multiple time points from the start time, The processing time of each process can also be estimated.

また、本実施例では、無負荷時処理時間情報として、各処理のリソース毎の利用時間が計測できるとして、各処理の処理時間の推定方法を説明しているが、リソース毎ではなく、リソース全体の処理時間が計測される場合も考えられる。その場合には、各処理のリソース全体の処理時間とリソースの中で最も高いリソース利用率を利用して、各処理の処理時間を推定することができる。または、処理時間の大半を占めるリソースが存在する場合には、そのリソースの利用率を利用して各処理の処理時間を推定することができる。   Further, in this embodiment, the processing time estimation method for each process is described on the assumption that the usage time for each resource of each process can be measured as the no-load processing time information. It is also conceivable that the processing time is measured. In that case, the processing time of each process can be estimated using the processing time of the entire resource of each process and the highest resource utilization rate among the resources. Alternatively, when there is a resource that occupies most of the processing time, the processing time of each process can be estimated using the utilization rate of the resource.

また、データ生成部6は、集計区間のリソース利用時間と処理量を集計した結果の処理量と、予め設定された値とを比較し、処理量が設定された値を超えている場合に、その集計区間データを破棄し、集計区間データ出力部7には送信しないようにしてもよい。この処理を行なうことにより、パラメータ同定精度の低下の原因になる集計区間データを排除して、集計区間データを生成することができる。   In addition, the data generation unit 6 compares the processing amount as a result of totaling the resource usage time and processing amount of the totaling section with a preset value, and when the processing amount exceeds the set value, The total section data may be discarded and not transmitted to the total section data output unit 7. By performing this processing, it is possible to eliminate the total section data that causes a decrease in the parameter identification accuracy and generate the total section data.

次に、実施例2を説明する。この実施例2は前述した第2の実施形態の実施例であり、性能モデルのパラメータ同定のための集計区間データ生成方法について説明するものである。また、実施例1と同様の処理の詳細な説明は省略する。本実施例で説明する対象システムは実施例1と同様なので説明を省略する。   Next, Example 2 will be described. Example 2 is an example of the above-described second embodiment, and describes an aggregated section data generation method for performance model parameter identification. Further, detailed description of the same processing as in the first embodiment is omitted. Since the target system described in the present embodiment is the same as that in the first embodiment, description thereof is omitted.

以下、実施例1と同様に、計測データとして初期時刻Tから最終時刻Tまでの一定時間ΔT間隔でサーバ計算機のリソース利用率および各処理の処理量のデータが得られるとする。 Hereinafter, as in the first embodiment, it is assumed that the resource utilization rate of the server computer and the amount of processing of each process are obtained as measurement data at a constant time ΔT interval from the initial time T 0 to the final time T f .

計測データ入力部1に入力された計測データは集計区間計算部5に送信され、記憶装置8の計測データ記憶部21に保持される。また、処理時間入力部31に入力された処理時間データは集計区間計算部5に送信され、記憶装置8の処理時間記憶部22に保持される。   The measurement data input to the measurement data input unit 1 is transmitted to the total section calculation unit 5 and held in the measurement data storage unit 21 of the storage device 8. Further, the processing time data input to the processing time input unit 31 is transmitted to the total section calculation unit 5 and held in the processing time storage unit 22 of the storage device 8.

図13は、実施例2における処理時間データの一例を示す図である。
図13に示した例では、計測区間の開始時刻と終了時刻、その間に発生した処理の処理時間平均値が処理の種類別に示される。
FIG. 13 is a diagram illustrating an example of processing time data according to the second embodiment.
In the example shown in FIG. 13, the start time and end time of the measurement section and the processing time average value of the processing that occurred between them are shown for each type of processing.

前述した実施形態で説明したように、集計区間計算部5は、集計区間の番号を表す変数iに初期値「1」を設定する。
集計区間計算部5は、取得した計測データの初期時刻Tを集計区間iの開始時刻Tsに設定し、その時刻の処理時間情報R(Ts)={R(Ts),R(Ts),…,R(Ts)}を検索し、この検索した処理時間と保持している許容誤差率ρとを利用し、集計区間iの時間Tbを計算し、集計区間iの終了時刻Te=Ts+Tbを計算する。この計算方法は実施例1と同様なので詳細な説明を省略する。以後の処理は実施例1と同様である。
As described in the above-described embodiment, the totaling interval calculation unit 5 sets an initial value “1” to the variable i representing the number of the totaling interval.
The counting section calculation unit 5 sets the initial time T 0 of the acquired measurement data as the start time Ts i of the counting section i, and processing time information R (Ts i ) = {R 1 (Ts i ), R at that time. 2 (Ts i ),..., R J (Ts i )}, and by using the searched processing time and the allowable error rate ρ, the time Tb i of the totaling interval i is calculated and totaled. The end time Te i = Ts i + Tb i of the section i is calculated. Since this calculation method is the same as that of the first embodiment, detailed description thereof is omitted. The subsequent processing is the same as in the first embodiment.

なお、この発明は前記実施形態そのままに限定されるものではなく実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、前記実施形態に開示されている複数の構成要素の適宜な組み合わせにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を省略してもよい。更に、異なる実施形態に亘る構成要素を適宜組み合せてもよい。   The present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. Various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be omitted from all the components shown in the embodiment. Furthermore, you may combine suitably the component covering different embodiment.

本発明の第1の実施形態にしたがった性能演算装置の構成の一例を示すブロック図。The block diagram which shows an example of a structure of the performance calculating apparatus according to the 1st Embodiment of this invention. 本発明の第1の実施形態にしたがった性能演算装置が取り扱う各種データの入出力関係の一例を示す図。The figure which shows an example of the input / output relationship of the various data which the performance calculating apparatus according to the 1st Embodiment of this invention handles. 本発明の第1の実施形態にしたがった性能演算装置の処理動作の一例を示すフローチャート。The flowchart which shows an example of the processing operation of the performance calculating apparatus according to the first embodiment of the present invention. 本発明の第2の実施形態にしたがった性能演算装置の構成の一例を示すブロック図。The block diagram which shows an example of a structure of the performance calculating apparatus according to the 2nd Embodiment of this invention. 本発明の第2の実施形態にしたがった性能演算装置が取り扱う各種データの入出力関係の一例を示す図。The figure which shows an example of the input / output relationship of the various data which the performance calculating apparatus according to the 2nd Embodiment of this invention handles. 本発明の第2の実施形態にしたがった性能演算装置の処理動作の一例を示すフローチャート。The flowchart which shows an example of the processing operation of the performance calculating apparatus according to the 2nd Embodiment of this invention. 実施例1における計測データの一例を表形式で示す図。The figure which shows an example of the measurement data in Example 1 in a table format. 実施例1における集計区間データの一例を表形式で示す図。The figure which shows an example of the total area data in Example 1 in a table format. 集計区間と処理時間の関係の一例を示す図。The figure which shows an example of the relationship between a total area and processing time. 処理時間と集計区間誤差率との関係の第1の例を示す図。The figure which shows the 1st example of the relationship between processing time and a total area error rate. 処理時間と集計区間誤差率との関係の第2の例を示す図。The figure which shows the 2nd example of the relationship between processing time and a total area error rate. 処理時間と集計区間誤差率との関係の第3の例を示す図。The figure which shows the 3rd example of the relationship between processing time and a total area error rate. 実施例2における処理時間データの一例を示す図。FIG. 10 is a diagram illustrating an example of processing time data according to the second embodiment.

符号の説明Explanation of symbols

1…計測データ入力部、2…無負荷時処理時間入力部、3…許容誤差率入力部、4…処理時間計算部、5…集計区間計算部、6…データ生成部、7…集計区間データ生成部、8…記憶装置、9…入力装置、10…表示装置、11…バス、21…計測データ記憶部、22…処理時間記憶部、23…誤差率記憶部、24…集計区間データ記憶部、31…処理時間入力部。   DESCRIPTION OF SYMBOLS 1 ... Measurement data input part, 2 ... Unload processing time input part, 3 ... Allowable error rate input part, 4 ... Processing time calculation part, 5 ... Total section calculation part, 6 ... Data generation part, 7 ... Total section data Generation unit, 8 ... storage device, 9 ... input device, 10 ... display device, 11 ... bus, 21 ... measurement data storage unit, 22 ... processing time storage unit, 23 ... error rate storage unit, 24 ... aggregate interval data storage unit 31 ... Processing time input unit.

Claims (5)

対象装置が実行する各処理による各リソースの利用率の計測値および前記対象装置が特定のリソースを利用して当該リソースが他のリソースと競合しない状態で実行する各処理の処理時間情報を基に、前記対象装置が実行する各処理の処理時間を推定する処理時間推定手段と、
前記処理時間推定手段により推定した処理時間をもとに、前記対象装置の性能モデルのパラメータ同定のための集計区間の時間を当該区間において発生する各処理の処理時間の総和のうち当該区間外となる時間が許容条件を満たすように計算する集計区間計算手段と、
前記各リソースの利用率の計測値を基に、前記集計区間計算手段により計算した時間内の各リソースの利用率を集計する集計手段と
を備えることを特徴とする性能演算装置。
Based on the measured value of the utilization rate of each resource by each process executed by the target device and the processing time information of each process executed by the target device in a state where the resource does not compete with other resources using the specific resource , Processing time estimation means for estimating the processing time of each process executed by the target device;
Based on the processing time estimated by the processing time estimation means, the time of the aggregation section for parameter identification of the performance model of the target device is out of the section of the total processing time of each process generated in the section. An aggregate interval calculation means for calculating so that the time to satisfy the allowable condition,
A performance calculation apparatus comprising: a totaling unit that totals the usage rates of each resource within the time calculated by the totaling interval calculation unit based on the measured value of the usage rate of each resource.
対象装置が実行する各処理の処理時間の計測値を取得する取得手段と、
前記取得手段により取得した処理時間を基に、前記対象装置の性能モデルのパラメータ同定のための集計区間の時間を当該区間において発生する各処理の処理時間の総和のうち当該区間外となる時間が許容条件を満たすように計算する集計区間計算手段と、
前記対象装置が実行する各処理による各リソースの利用率の計測値を基に、前記集計区間計算手段により計算した時間内の各リソースの利用率を集計する集計手段と
を備えることを特徴とする性能演算装置。
An acquisition means for acquiring a measurement value of a processing time of each process executed by the target device;
Based on the processing time acquired by the acquisition means, the time of the aggregation section for parameter identification of the performance model of the target device is the time outside the section of the total processing time of each process generated in the section An aggregate interval calculation means for calculating so as to satisfy the allowable condition;
And a totaling unit that totalizes the utilization rate of each resource within the time calculated by the totaling interval calculation unit based on a measured value of the utilization rate of each resource by each process executed by the target device. Performance calculator.
前記集計手段は、
前記対象装置が実行する各処理の処理量の計測値を基に、前記集計区間計算手段により計算した集計区間の時間内の各処理の発生量をさらに集計する
ことを特徴とする請求項1または2に記載の性能演算装置。
The counting means includes
The generation amount of each process within the time of the total section calculated by the total section calculation unit is further totaled based on the measured value of the processing amount of each process executed by the target device. 2. The performance calculation device according to 2.
前記集計手段は、
前記集計区間計算手段により計算した集計区間時間内の各処理の発生量が基準値を超えない場合に、当該時間内の各リソースの利用率を集計する
ことを特徴とする請求項1に記載の性能演算装置。
The counting means includes
The utilization rate of each resource in the said time is totaled when the generation amount of each process in the total period calculated by the said total section calculation means does not exceed a reference value. Performance calculator.
コンピュータを、
対象装置が実行する各処理による各リソースの利用率の計測値および前記対象装置が特定のリソースを利用して当該リソースが他のリソースと競合しない状態で実行する各処理の処理時間情報を基に、前記対象装置が実行する各処理の処理時間を推定する処理時間推定手段、
前記処理時間推定手段により推定した処理時間をもとに、前記対象装置の性能モデルのパラメータ同定のための集計区間の時間を当該区間において発生する各処理の処理時間の総和のうち当該区間外となる時間が許容条件を満たすように計算する集計区間計算手段、および
前記各リソースの利用率の計測値を基に、前記集計区間計算手段により計算した時間内の各リソースの利用率を集計する集計手段
として機能させるようにしたコンピュータ読み取り可能な性能演算処理プログラム。
Computer
Based on the measured value of the utilization rate of each resource by each process executed by the target device and the processing time information of each process executed by the target device in a state where the resource does not compete with other resources using the specific resource , Processing time estimation means for estimating the processing time of each process executed by the target device,
Based on the processing time estimated by the processing time estimation means, the time of the aggregation section for parameter identification of the performance model of the target device is out of the section of the total processing time of each process generated in the section. Aggregation interval calculation means for calculating a certain period of time so as to satisfy an allowable condition, and aggregation for calculating the utilization rate of each resource within the time calculated by the aggregation interval calculation means based on the measured value of the utilization rate of each resource A computer-readable performance calculation processing program which is made to function as a means.
JP2007317578A 2007-12-07 2007-12-07 Performance arithmetic device and performance arithmetic processing program Pending JP2009140358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007317578A JP2009140358A (en) 2007-12-07 2007-12-07 Performance arithmetic device and performance arithmetic processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007317578A JP2009140358A (en) 2007-12-07 2007-12-07 Performance arithmetic device and performance arithmetic processing program

Publications (1)

Publication Number Publication Date
JP2009140358A true JP2009140358A (en) 2009-06-25

Family

ID=40870876

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007317578A Pending JP2009140358A (en) 2007-12-07 2007-12-07 Performance arithmetic device and performance arithmetic processing program

Country Status (1)

Country Link
JP (1) JP2009140358A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011034208A (en) * 2009-07-30 2011-02-17 Hitachi Ltd Failure detection method, device and program
JP2016218636A (en) * 2015-05-18 2016-12-22 日本電気株式会社 System model generation assist device, system model generation assist method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011034208A (en) * 2009-07-30 2011-02-17 Hitachi Ltd Failure detection method, device and program
JP2016218636A (en) * 2015-05-18 2016-12-22 日本電気株式会社 System model generation assist device, system model generation assist method, and program

Similar Documents

Publication Publication Date Title
JP4756675B2 (en) System, method and program for predicting computer resource capacity
US8560667B2 (en) Analysis method and apparatus
WO2012101933A1 (en) Operation management unit, operation management method, and program
WO2014013603A1 (en) Monitoring system and monitoring program
US8555290B2 (en) Apparatus and method for dynamic control of the number of simultaneously executing tasks based on throughput
JP2010231694A (en) System, method and program for supporting job schedule change
US8180716B2 (en) Method and device for forecasting computational needs of an application
CN110633194A (en) Performance evaluation method of hardware resources in specific environment
US8930773B2 (en) Determining root cause
US20140358644A1 (en) Time series technique for analyzing performance in an online professional network
JP3993848B2 (en) Computer apparatus and computer apparatus control method
JPWO2013038473A1 (en) Stream data abnormality detection method and apparatus
JP5430702B2 (en) Specific data detection method, specific data detection program, and specific data detection apparatus
US7197411B1 (en) Real-time power harness
JP2009140358A (en) Performance arithmetic device and performance arithmetic processing program
JP4812867B2 (en) Time series data analysis support program and apparatus
JP2008165412A (en) Performance-computing device
JP2009253882A (en) Band management program, band management apparatus and band management method
US9183042B2 (en) Input/output traffic backpressure prediction
JP2008234407A (en) Automatic load testing device and automatic load testing method
US8949862B2 (en) Rate of operation progress reporting
JP6462481B2 (en) Skill evaluation apparatus, skill evaluation method, program, and recording medium
JP6287226B2 (en) Estimation device, estimation system, estimation method, and program
JP4883139B2 (en) Monitoring system performance measuring program, monitoring system performance measuring method, and monitoring system performance measuring apparatus
JP2011107862A (en) System, device, method, and program for evaluating maximum throughput

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100324

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110803

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110809

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20111206