JP2011065269A - Time series data analysis support program and device - Google Patents

Time series data analysis support program and device Download PDF

Info

Publication number
JP2011065269A
JP2011065269A JP2009213535A JP2009213535A JP2011065269A JP 2011065269 A JP2011065269 A JP 2011065269A JP 2009213535 A JP2009213535 A JP 2009213535A JP 2009213535 A JP2009213535 A JP 2009213535A JP 2011065269 A JP2011065269 A JP 2011065269A
Authority
JP
Japan
Prior art keywords
series data
period
time
time series
processing amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2009213535A
Other languages
Japanese (ja)
Other versions
JP4812867B2 (en
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 JP2009213535A priority Critical patent/JP4812867B2/en
Publication of JP2011065269A publication Critical patent/JP2011065269A/en
Application granted granted Critical
Publication of JP4812867B2 publication Critical patent/JP4812867B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To automate an operation to determine a period when time series data are made almost constant, and to extract the time series data in the period, and to calculate the mean value. <P>SOLUTION: In a client device 100, a parameter input part 151 inputs an allowable width and the shortest period read from a storage part 101, and a determination part 153 determines, based on the allowable width and the shortest period, a period which is equal to or more than the shortest period when the time series data of processing quantity are stored within allowable width as a constant period, and a totaling means 155 calculates the mean value of the time series data of processing quantity and the mean value of the time series data of CPU use rates in each determined constant period, and a result output part 156 performs the display processing of a graph in which the processing quantity is associated with the CPU use rates based on each calculated mean value. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、時系列データ解析支援プログラム及び装置に係り、例えば、時系列データがほぼ一定となる期間を判定し、その期間内の時系列データを抽出して平均値を計算する作業の自動化を実現し得る時系列データ解析支援プログラム及び装置に関する。   The present invention relates to a time series data analysis support program and apparatus, for example, to determine a period in which time series data is substantially constant, extract time series data within the period, and automate an operation of calculating an average value. The present invention relates to a realizable time series data analysis support program and apparatus.

負荷試験とは、対象の計算機システムにhttpリクエストなどの大量の負荷を与え、運用時に想定される処理量(リクエスト発生頻度)に対する計算機システムの性能特性を確認する試験である。ここで、対象の計算機システムは、インターネット上、又はイントラネット上などの計算機システムである。性能特性の確認とは、処理量に対するCPU利用率が性能要件を満たしていることの確認と、性能要件を満たさなくなる限界の処理量の確認とを含んでいる。   The load test is a test in which a large amount of load such as an http request is given to a target computer system, and the performance characteristics of the computer system with respect to a processing amount (request occurrence frequency) assumed at the time of operation are confirmed. Here, the target computer system is a computer system on the Internet or an intranet. The confirmation of the performance characteristics includes confirmation that the CPU utilization rate with respect to the processing amount satisfies the performance requirement, and confirmation of a limit processing amount that does not satisfy the performance requirement.

また、負荷試験においては、解析者が時系列データを解析する作業を行う。この作業においては、解析者は、リクエスト発生頻度の時系列データやサーバ装置のCPU利用率の時系列データがほぼ一定の期間において、当該リクエスト発生頻度やCPU利用率の平均値を計算する。計算結果は、操作者の操作により、横軸にリクエスト発生頻度、縦軸にCPU利用率のグラフとしてクライアント装置に表示される。   Also, in the load test, the analyst performs the work of analyzing the time series data. In this work, the analyst calculates an average value of the request occurrence frequency and the CPU utilization rate in a period in which the time series data of the request occurrence frequency and the time series data of the CPU utilization rate of the server device are substantially constant. The calculation result is displayed on the client device as a graph of the request occurrence frequency on the horizontal axis and the CPU utilization rate on the vertical axis according to the operation of the operator.

解析者は、表示されたグラフに基づき、前述した性能特性の確認を行う。なお、このようなグラフは、負荷試験時に限らず、運用時に表示してもよい。運用時にグラフを表示する場合、限界の処理量は確認できないが、処理量に対するCPU利用率が性能要件を満たしていることは確認できる。   The analyst confirms the performance characteristics described above based on the displayed graph. Such a graph may be displayed not only during the load test but also during operation. When a graph is displayed during operation, the limit processing amount cannot be confirmed, but it can be confirmed that the CPU utilization rate with respect to the processing amount satisfies the performance requirement.

特開2007−241534号公報JP 2007-241534 A

以上のような負荷試験では、一般的に、JMeter、WebLOADなどの負荷テストツールを使うと、仮想ユーザ数を調整でき、対象の計算機システムに与えるリクエスト発生頻度を変更できる。なお、これらの負荷テストツールはリクエストを発生し、計算機システムからの応答を受けてから次のリクエストを発生させる。よって、仮想ユーザ数を設定してから、実際にリクエスト発生頻度が安定するまでには時間がかかる。また、リクエスト発生頻度は、安定後でも時間によるバラツキが見られる。   In the load test as described above, generally, when a load test tool such as JMeter or WebLOAD is used, the number of virtual users can be adjusted, and the frequency of requests given to the target computer system can be changed. These load test tools generate a request, and after receiving a response from the computer system, generate the next request. Therefore, it takes time until the request occurrence frequency is actually stabilized after the number of virtual users is set. Further, the request occurrence frequency varies with time even after stabilization.

一方、対象の計算機システムからの応答を待たずに、決まった頻度でリクエストを発生する方式の負荷テストツールが考えられる。但し、この方式ではリクエスト発生頻度は安定するものの、対象の計算機システムのCPU利用率が安定するまでには時間がかかる。また、CPU利用率は、安定後でも時間によるバラツキが見られる。   On the other hand, a load test tool that generates requests at a fixed frequency without waiting for a response from the target computer system can be considered. However, in this method, although the request occurrence frequency is stabilized, it takes time until the CPU utilization rate of the target computer system is stabilized. Also, the CPU utilization rate varies with time even after stabilization.

いずれにしても、前述したグラフを表示する前に、予めリクエスト発生頻度やサーバ装置のCPU利用率の推移を人が目視で確認する作業と、リクエスト発生頻度、CPU利用率がほぼ一定の期間を判断する作業が必要である。また、判断した一定の期間のリクエスト発生頻度、CPU利用率のデータを切り出す作業と、それぞれ平均値を計算して集計する作業も必要である。これらの作業は煩雑で手間がかかるので、自動化されることが望ましい。なお、特許文献1は、CPUなどの利用率データを読み込み、各時刻における利用率の表にまとめる例が開示されているものの、例えば、時系列データがほぼ一定の期間を判断し、その期間の時系列データの平均値を計算するものではないので、前述した作業の自動化には寄与しない。   In any case, before displaying the above-mentioned graph, the work in which the person visually confirms the change in the request occurrence frequency and the CPU usage rate of the server device in advance, and the period in which the request occurrence frequency and the CPU usage rate are almost constant. Judgment work is required. In addition, it is necessary to cut out the data of the request occurrence frequency and CPU usage rate during the determined period and to calculate and total the average values. Since these operations are complicated and time-consuming, it is desirable to automate them. Although Patent Document 1 discloses an example in which utilization rate data of a CPU or the like is read and summarized in a utilization rate table at each time, for example, a time period in which time-series data is determined to be almost constant, Since the average value of the time series data is not calculated, it does not contribute to the automation of the above-described work.

本発明は上記実情を考慮してなされたもので、時系列データがほぼ一定となる期間を判定し、その期間内の時系列データを抽出して平均値を計算する作業の自動化を実現し得る時系列データ解析支援プログラム及び装置を提供することを目的とする。   The present invention has been made in consideration of the above situation, and it is possible to realize the automation of the operation of determining the period in which the time series data is substantially constant, extracting the time series data within the period, and calculating the average value. It is an object to provide a time series data analysis support program and apparatus.

本発明の一つの局面は、記憶手段を備え、解析対象の計算機システムにおける処理量の時系列データとCPU利用率の時系列データとを受信可能なクライアント装置に用いられる時系列データ解析支援プログラムであって、前記クライアント装置を、入力された許容幅及び最短期間を前記記憶手段に書き込む手段、前記記憶手段内の許容幅及び前記最短期間に基づいて、前記処理量の時系列データが前記許容幅内に収まった期間で前記最短期間以上の期間を一定期間として判断する一定期間判断手段、前記判断された一定期間毎の、前記処理量の時系列データの平均値及び前記CPU利用率の時系列データの平均値を算出する平均値算出手段、前記算出された各平均値に基づいて、処理量とCPU利用率とを関連付けたグラフの表示処理を実行するグラフ表示処理手段、として機能させるための時系列データ解析支援プログラムである。   One aspect of the present invention is a time-series data analysis support program used in a client device that includes storage means and can receive time-series data of processing amount and time-series data of CPU utilization in a computer system to be analyzed. And the client device writes the input allowable width and the shortest period to the storage means, and based on the allowable width and the shortest period in the storage means, the time-series data of the processing amount is the allowable width A fixed period determination means for determining a period within the shortest period as a fixed period, an average value of the time series data of the processing amount and a time series of the CPU utilization rate for each determined fixed period An average value calculation means for calculating an average value of data, and a graph display process in which the processing amount and the CPU usage rate are associated with each other based on the calculated average values. Is a time-series data analysis support program for causing a graph display processing unit functions as, for.

なお、本発明の一つの局面は、プログラムとして表現したが、これに限らず、装置、方法、又はプログラムを記憶したコンピュータ読取り可能な記憶媒体、などとして表現することができる。   Note that one aspect of the present invention is expressed as a program. However, the present invention is not limited thereto, and can be expressed as an apparatus, a method, or a computer-readable storage medium storing a program.

(作用)
本発明の一つの局面においては、一定期間判断手段により、記憶手段内の許容幅及び最短期間に基づいて、処理量の時系列データが許容幅内に収まった期間で最短期間以上の期間を一定期間として判断し、平均値算出手段により、判断された一定期間毎の、処理量の時系列データの平均値及びCPU利用率の時系列データの平均値を算出する構成としたので、時系列データがほぼ一定となる期間を判定し、その期間内の時系列データを抽出して平均値を計算する作業の自動化を実現させることができる。
(Function)
In one aspect of the present invention, the fixed period determination unit is configured to set a period equal to or longer than the shortest period in a period in which the time series data of the processing amount is within the allowable range based on the allowable range and the shortest period in the storage unit. Since the average value calculation means calculates the average value of the time-series data of the processing amount and the average value of the time-series data of the CPU usage rate for each fixed period determined by the average value calculation means, the time-series data It is possible to realize the automation of the operation of determining a period in which the current is almost constant, extracting time series data within the period, and calculating the average value.

以上説明したように本発明によれば、時系列データがほぼ一定となる期間を判定し、その期間内の時系列データを抽出して平均値を計算する作業の自動化を実現できる。   As described above, according to the present invention, it is possible to realize the automation of the operation of determining the period in which the time series data is substantially constant, extracting the time series data in the period, and calculating the average value.

本発明の第1の実施形態に係るクライアント装置及びその周辺構成を例示するブロック図である。1 is a block diagram illustrating a client device and its peripheral configuration according to a first embodiment of the present invention. 同実施形態における時系列データ解析支援部の構成を例示するブロック図である。It is a block diagram which illustrates the composition of the time series data analysis support part in the embodiment. 同実施形態における動作を説明するためのフローチャートである。It is a flowchart for demonstrating the operation | movement in the embodiment. 同実施形態における処理量の時系列データとパラメータとを説明するためのグラフ図である。It is a graph for demonstrating the time series data and parameter of the processing amount in the embodiment. 同実施形態における処理量の一定期間を判断するアルゴリズムを説明するための模式図である。It is a schematic diagram for demonstrating the algorithm which judges the fixed period of the processing amount in the embodiment. 同実施形態における判断部の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the judgment part in the embodiment. 同実施形態における処理量の時系列データを示すグラフ図である。It is a graph which shows the time series data of the processing amount in the embodiment. 同実施形態における処理量の時系列データの近傍に判断結果の一定期間を示したグラフ図である。It is the graph which showed the fixed period of the judgment result in the vicinity of the time series data of the processing amount in the same embodiment. 同実施形態における処理量の一定期間毎に当該一定期間を識別する番号、開始時刻及び終了時刻を示す模式図である。It is a schematic diagram which shows the number, start time, and end time which identify the said fixed period for every fixed period of the processing amount in the embodiment. 同実施形態におけるCPU利用率の時系列データを示すグラフ図である。It is a graph which shows the time series data of CPU utilization in the same embodiment. 同実施形態における一定期間毎に当該一定期間を識別する番号、開始時刻、終了時刻、リクエスト発生頻度及びCPU利用率を示す模式図である。It is a schematic diagram which shows the number which identifies the said fixed period for every fixed period in the same embodiment, start time, end time, request occurrence frequency, and CPU utilization. 同実施形態におけるリクエスト発生頻度とCPU利用率とを関連付けて示すグラフ図である。It is a graph which shows the request generation frequency and CPU utilization rate in the embodiment in association with each other. 同実施形態における処理量の時系列データの近傍に、当該時系列データの新しい順に判断した一定期間を示したグラフ図である。It is the graph which showed the fixed period judged in the vicinity of the time series data of the processing amount in the embodiment in order of the new time series data. 同実施形態における同一の時系列データに対し、古い順に判断した一定期間と新しい順に判断した一定期間とを比較して示す模式図である。It is a schematic diagram which compares and compares the fixed period judged from the oldest with the fixed period judged from the newest with respect to the same time series data in the embodiment. 本発明の第2の実施形態に係るクライアント装置に適用された時系列データ解析支援部の構成を例示するブロック図である。It is a block diagram which illustrates the composition of the time series data analysis support part applied to the client device concerning a 2nd embodiment of the present invention. 同実施形態における動作を説明するためのフローチャートである。It is a flowchart for demonstrating the operation | movement in the embodiment. 同実施形態における判断部の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the judgment part in the embodiment. 本発明の第3の実施形態に係るクライアント装置に適用された時系列データ解析支援部の構成を例示するブロック図である。It is a block diagram which illustrates the composition of the time series data analysis support part applied to the client device concerning a 3rd embodiment of the present invention. 同実施形態に係る動作を説明するためのフローチャートである。It is a flowchart for demonstrating the operation | movement which concerns on the same embodiment.

以下、本発明の各実施形態について図面を用いて説明するが、その前に、各実施形態の概要を述べる。各実施形態の概要は、リクエスト発生頻度及びCPU利用率のいずれか一方又は両方がほぼ一定の期間を判断し、判断した一定期間毎に、リクエスト発生頻度及びCPU利用率を抽出して各々の平均値を計算し、リクエスト発生頻度とCPU利用率とを関連付けてグラフ表示するものである。ここで、第1の実施形態では、リクエスト発生頻度がほぼ一定の期間を判断し、第2の実施形態では、CPU利用率が一定の期間を判断している。第3の実施形態では、リクエスト発生頻度及びCPU利用率の両方がほぼ一定の期間を判断している。以上が各実施形態の概要である。   Hereinafter, each embodiment of the present invention will be described with reference to the drawings, but before that, an outline of each embodiment will be described. The outline of each embodiment is to determine a period in which either or both of the request occurrence frequency and the CPU usage rate are substantially constant, and for each determined period, the request occurrence frequency and the CPU usage rate are extracted and averaged. A value is calculated, and the request occurrence frequency and the CPU usage rate are associated with each other and displayed in a graph. Here, in the first embodiment, a period in which the request occurrence frequency is substantially constant is determined, and in the second embodiment, a period in which the CPU utilization rate is constant is determined. In the third embodiment, it is determined that both the request occurrence frequency and the CPU usage rate are substantially constant. The above is the outline of each embodiment.

このような各実施形態においては、装置毎に、ハードウェア構成、又はハードウェア資源とソフトウェアとの組合せ構成のいずれでも実施可能となっている。組合せ構成のソフトウェアとしては、予めネットワーク又は記憶媒体から対応する装置のコンピュータにインストールされ、対応する装置の機能を実現させるためのプログラムが用いられる。   In each of such embodiments, for each device, either a hardware configuration or a combination configuration of hardware resources and software can be implemented. As the software of the combined configuration, a program that is installed in advance on a computer of a corresponding device from a network or a storage medium and that realizes the function of the corresponding device is used.

続いて、第1の実施形態から順次、具体的に説明する。   Subsequently, specific description will be made sequentially from the first embodiment.

(第1の実施形態)
図1は本発明の第1の実施形態に係る本発明の第1の実施形態に係るクライアント装置及びその周辺構成を例示するブロック図であり、図2はクライアント装置内の時系列データ解析支援部の構成を例示するブロック図である。図1に示すように、解析対象の計算機システムCSは、Webサーバ装置1、アプリケーションサーバ装置2、データベースサーバ装置3のようなサーバ群から構成される。このような計算機システムCSとクライアント装置100とが互いにネットワーク200を介して通信可能に接続されている。
(First embodiment)
FIG. 1 is a block diagram illustrating a client device according to the first embodiment of the present invention and its peripheral configuration according to the first embodiment of the present invention, and FIG. 2 is a time-series data analysis support unit in the client device. It is a block diagram which illustrates the composition of. As shown in FIG. 1, the computer system CS to be analyzed includes a server group such as a Web server device 1, an application server device 2, and a database server device 3. Such a computer system CS and the client device 100 are connected to each other via a network 200 so that they can communicate with each other.

計算機システムCSの各サーバ装置1,2,3,…は、ネットワーク200を介して通信可能な任意のサーバ装置であり、クライアント装置100から受けたhttpリクエストに対し、発生した処理の実行後に応答を返す機能と、処理量の時系列データ及びCPU利用率の時系列データをクライアント装置100に送信する機能とをもっている。   Each of the server devices 1, 2, 3,... In the computer system CS is an arbitrary server device that can communicate via the network 200, and responds to the http request received from the client device 100 after executing the generated processing. A return function and a function of transmitting the time series data of the processing amount and the time series data of the CPU utilization rate to the client device 100.

ここで、処理量の時系列データとしては、負荷試験時には負荷試験ツール部140により仮想ユーザから発生したリクエスト発生頻度が計測される。また、計算機システムCSの運用時には、Webサーバ装置1やアプリケーションサーバ装置2等のログ機能により利用履歴が得られる。利用履歴としては、例えば、以下の二種類(1)〜(2)が使用可能であるが、いずれにしても一定時間間隔内に計算機システムCSに与えられた各処理の処理量が分かる。   Here, as the time-series data of the processing amount, the request occurrence frequency generated from the virtual user is measured by the load test tool unit 140 during the load test. Further, when the computer system CS is operated, a usage history is obtained by a log function of the Web server device 1 or the application server device 2 or the like. As the usage history, for example, the following two types (1) to (2) can be used. In any case, the processing amount of each processing given to the computer system CS within a certain time interval can be known.

(1)アクセスログのように、クライアントからの要求に応じて起動された処理の種別、発生時刻が記録された利用履歴。   (1) A usage history in which the type of processing started in response to a request from a client and the time of occurrence are recorded as in an access log.

(2)一定間隔で、その区間における処理毎の発生量が記録された利用履歴。   (2) A usage history in which the amount of generation for each process in the section is recorded at regular intervals.

CPU利用率の時系列データは、計算機システムCS内の各サーバ装置1,2,3,…のCPU利用率であり、例えば10秒間といった一定時間間隔で計測される。また、CPU利用率の時系列データは、パフォーマンスモニタ(perfmon.exe)のようなプログラムツールにより計測及びログ出力が可能となっている。   The time series data of the CPU usage rate is the CPU usage rate of each of the server devices 1, 2, 3,... In the computer system CS, and is measured at regular time intervals such as 10 seconds. Further, the time series data of the CPU usage rate can be measured and output by a program tool such as a performance monitor (perfmon.exe).

一方、クライアント装置100は、記憶部110、入力部120、通信I/F部130、負荷試験ツール部140、時系列データ解析支援部150及び表示部160を備えている。   On the other hand, the client device 100 includes a storage unit 110, an input unit 120, a communication I / F unit 130, a load test tool unit 140, a time series data analysis support unit 150, and a display unit 160.

ここで、記憶部110は、各部120〜160から読出/書込可能な記憶装置であり、例えば、入力部110から入力されたパラメータ、通信I/F部130が受信した時系列データ、各部140,150等による処理中及び処理結果のデータ等が記憶される。   Here, the storage unit 110 is a storage device that can be read / written from each of the units 120 to 160, for example, parameters input from the input unit 110, time series data received by the communication I / F unit 130, and each unit 140. , 150, etc., and data of processing results are stored.

入力部110は、操作者により操作されるキーボード及びマウス等の入力装置である。   The input unit 110 is an input device such as a keyboard and a mouse operated by an operator.

通信I/F部130は、ネットワーク200を介して計算機システムCSの各サーバ1,2,3…と通信するための通信インターフェースであり、例えば、負荷試験ツール部140により発生したhttpリクエストを計算機システムCSに送信する機能と、計算機システムCSから送信された時系列データを受信する機能とをもっている。時系列データとしては、例えば処理量の計測値と時刻データを含む時系列データや、CPU利用率の計測値と時刻データを含む時系列データなどがある。   The communication I / F unit 130 is a communication interface for communicating with each server 1, 2, 3,... Of the computer system CS via the network 200. For example, the http request generated by the load test tool unit 140 is transmitted to the computer system. It has a function of transmitting to CS and a function of receiving time-series data transmitted from computer system CS. Examples of the time series data include time series data including a measurement value of processing amount and time data, and time series data including a measurement value of CPU utilization and time data.

負荷試験ツール部140は、入力部110から設定された仮想ユーザ数に応じたhttpリクエストを通信I/F部130により計算機システムCSに送信して負荷試験を実行する機能と、計算機システムCSから通信I/F部130により受信した処理量の時系列データ及びCPU利用率の時系列データを時系列データ解析支援部150内の処理量入力部152、性能データ入力部154に入力する機能をもっている。なお、負荷試験ツール部140は、クライアント装置100の用途に負荷試験がない場合(用途が運用時のみの場合)、省略可能である。   The load test tool unit 140 transmits a http request according to the number of virtual users set from the input unit 110 to the computer system CS by the communication I / F unit 130 and performs a load test, and communicates from the computer system CS. It has a function of inputting the time series data of the processing amount and the time series data of the CPU usage rate received by the I / F unit 130 to the processing amount input unit 152 and the performance data input unit 154 in the time series data analysis support unit 150. Note that the load test tool unit 140 can be omitted when there is no load test for the use of the client device 100 (when the use is only in operation).

時系列データ解析支援部150は、図2に示すように、パラメータ入力部151、処理量入力部152、判断部153、性能データ入力部154、集計部155及び結果出力部156を備えている。   As shown in FIG. 2, the time-series data analysis support unit 150 includes a parameter input unit 151, a processing amount input unit 152, a determination unit 153, a performance data input unit 154, a totaling unit 155, and a result output unit 156.

パラメータ入力部151は、操作者の操作により、入力部110から入力されたパラメータを判断部153に入力する機能をもっている。ここで、パラメータとしては、例えば、判断部153による一定期間の判断に用いられる許容幅W及び最短期間Tが挙げられる。但し、これらのパラメータW,Tに限らず、パラメータとしては、外れ許容回数Vを更に用いてもよい。外れ許容回数Vについては、第2の実施形態で述べる。   The parameter input unit 151 has a function of inputting the parameter input from the input unit 110 to the determination unit 153 by the operation of the operator. Here, examples of the parameter include an allowable width W and a shortest period T used for determination of a certain period by the determination unit 153. However, not only these parameters W and T but also the allowable number of detachment V may be used as a parameter. The allowable number of deviations V will be described in the second embodiment.

処理量入力部152は、対象の計算機システムCSへのリクエスト発生頻度など、計算機システムCSが実際に処理した量を表す処理量の時系列データを負荷試験ツール部140(負荷試験時)又は通信I/F部130(運用時)から受信し、この処理量の時系列データを判断部153と集計部155に入力する機能をもっている。   The processing amount input unit 152 uses the load test tool unit 140 (during the load test) or the communication I as the time series data of the processing amount representing the amount actually processed by the computer system CS, such as the frequency of requests to the target computer system CS. / F unit 130 (during operation), and has a function of inputting time-series data of this processing amount to determination unit 153 and totalization unit 155.

なお、負荷試験ツール部140に適用可能な多くの負荷テストツールでは、対象の計算機システムCSからの応答を受信してから次のリクエストを送信する。このため、計算機システムCSが過負荷で処理しきれずにエラーを返す場合を除き、リクエスト発生頻度は計算機システムCSの単位時間当たりの処理量に一致する。従って、本明細書中ではリクエスト発生頻度と計算機システムCSの処理量とを同一として説明する。   Note that many load test tools applicable to the load test tool unit 140 transmit a next request after receiving a response from the target computer system CS. For this reason, the request occurrence frequency matches the processing amount per unit time of the computer system CS, unless the computer system CS returns an error without being overloaded. Therefore, in the present specification, the request occurrence frequency and the processing amount of the computer system CS are assumed to be the same.

判断部153は、パラメータ入力部151から入力されたパラメータを記憶部110に書き込む機能と、記憶部110内のパラメータに基づいて、処理量入力部152から入力された処理量の時系列データがほぼ一定である期間を判断する機能と、判断された一定期間毎の、当該一定期間を識別する番号、開始時刻及び終了時刻を集計部155に送出する機能とをもっている。   Based on the function of writing the parameter input from the parameter input unit 151 to the storage unit 110 and the parameter in the storage unit 110, the determination unit 153 has almost the time series data of the processing amount input from the processing amount input unit 152. It has a function of determining a certain period and a function of sending a number for identifying the certain period, a start time, and an end time for each determined period to the counting unit 155.

ここで、判断する機能は、具体的には、記憶部110内の許容幅及び最短期間に基づいて、処理量の時系列データが許容幅に収まった期間で最短期間以上の期間を一定期間として判断する。   Here, the determination function is specifically based on the allowable range and the shortest period in the storage unit 110, and the period of the time series data of the processing amount within the allowable range is set as a fixed period. to decide.

性能データ入力部154は、計算機システムCSのサーバ装置1,2,3,…のCPU利用率(性能データ)の時系列データを負荷試験ツール部140(負荷試験時)又は通信I/F部130(運用時)から受信し、当該CPU利用率の時系列データを集計部155に入力する機能をもっている。   The performance data input unit 154 uses the load test tool unit 140 (during the load test) or the communication I / F unit 130 as the time series data of the CPU utilization rate (performance data) of the server devices 1, 2, 3,. It has a function of receiving the time series data of the CPU utilization rate from the (during operation) and inputting the time series data of the CPU utilization rate to the totaling unit 155.

集計部155は、判断部153から一定期間毎の、番号、開始時刻及び終了時刻を受ける機能と、処理量入力部152から処理量の時系列データを受ける機能と、性能データ入力部154からCPU利用率の時系列データを受ける機能と、一定期間毎の番号、開始時刻及び終了時刻に基づいて、当該一定期間毎の、処理量の時系列データの平均値及びCPU利用率の時系列データの平均値を算出する機能と、算出した各平均値を結果出力部156に送出する機能とをもっている。   The totaling unit 155 has a function of receiving a number, a start time, and an end time every predetermined period from the determination unit 153, a function of receiving time-series data of the processing amount from the processing amount input unit 152, and a CPU from the performance data input unit 154 to the CPU. Based on the function that receives the time series data of the utilization rate, the number of each fixed period, the start time and the end time, the average value of the time series data of the processing amount and the time series data of the CPU usage rate for the fixed period It has a function of calculating an average value and a function of sending the calculated average values to the result output unit 156.

結果出力部156は、集計部155から一定期間毎の、処理量の平均値及びCPU利用率の平均値を受ける機能と、一定期間毎の各平均値に基づいて、処理量とCPU利用率とを関連付けたグラフの表示処理を実行する機能とをもっている。グラフの表示処理は、当該グラフの表示データを作成する処理と、作成した表示データを表示部160に送出する処理とを含んでいる。   The result output unit 156 has a function of receiving the average value of the processing amount and the average value of the CPU usage rate for each fixed period from the totaling unit 155, and the processing amount and the CPU usage rate based on each average value for each fixed period. And a function of executing a graph display process in which The graph display process includes a process of creating display data of the graph and a process of sending the created display data to the display unit 160.

表示部160は、各部140,150等から送出されたデータを表示する表示装置であり、例えば液晶ディスプレイ装置などが適宜使用可能となっている。   The display unit 160 is a display device that displays data sent from the units 140 and 150, and a liquid crystal display device can be used as appropriate.

次に、以上のように構成されたクライアント装置の動作を図3のフローチャートを用いて説明する。   Next, the operation of the client apparatus configured as described above will be described with reference to the flowchart of FIG.

パラメータ入力部151は、操作者による入力部120の操作により、対象の計算機システムCSへのリクエスト発生頻度がほぼ一定である期間を決めるためのパラメータPを判断部153に入力する(STEP100)。ここで、パラメータPは、許容幅W及び最短期間Tである。   The parameter input unit 151 inputs a parameter P for determining a period during which the request occurrence frequency to the target computer system CS is substantially constant to the determination unit 153 by the operation of the input unit 120 by the operator (STEP 100). Here, the parameter P is the allowable width W and the shortest period T.

処理量入力部152は、対象の計算機システムへのリクエスト発生頻度などの処理量の時系列データS(i=1,2,…,N)を例えば負荷試験ツール部140から受信すると、処理量の時系列データSを判断部153及び集計部155に入力する(STEP200)。Sは時刻(i−1)ΔtからiΔtまでのリクエスト発生頻度である。Δtは観測間隔であり、時刻0から時刻NΔtまでのデータが観測されているとして説明する。 When the processing amount input unit 152 receives time series data S i (i = 1, 2,..., N) of processing amounts such as the frequency of requests to the target computer system from the load test tool unit 140, for example, the processing amount when entering the series data S i to the determination unit 153 and the aggregation section 155 of the (STEP200). S i is a request occurrence frequency from time (i−1) Δt to iΔt. Δt is an observation interval, and description will be made assuming that data from time 0 to time NΔt is observed.

判断部153は、パラメータ入力部151から受けたパラメータP(許容幅W及び最短期間T)を記憶部110に書き込み、記憶部110内のパラメータP(許容幅W及び最短期間T)に基づいて、処理量入力部152から受けた処理量の時系列データS(i=1,2,…,N)が許容幅Wに収まった期間で最短期間T以上の期間を一定期間B(j=1,2,…,M)として判断する(STEP300)。Mは処理量が一定であると判断された期間の数である。 The determination unit 153 writes the parameter P (allowable width W and shortest period T) received from the parameter input unit 151 to the storage unit 110, and based on the parameter P (allowable width W and shortest period T) in the storage unit 110, The period of time series data S i (i = 1, 2,..., N) of the processing amount received from the processing amount input unit 152 is within the allowable width W, and a period longer than the shortest period T is set to a certain period B j (j = 1, 2,..., M) (STEP 300). M is the number of periods in which the processing amount is determined to be constant.

しかる後、判断部153は、判断した一定期間B(j=1,2,…,M)毎の、当該一定期間を識別する番号j、開始時刻Ts(j=1,2,…,M)、終了時刻Te(j=1,2,…,M)を集計部155に送出する。 Thereafter, the determination unit 153 determines, for each determined fixed period B j (j = 1, 2,..., M), a number j that identifies the fixed period, a start time Ts j (j = 1, 2,. M), and the end time Te j (j = 1, 2,..., M) is sent to the counting unit 155.

性能データ入力部154は、サーバ装置のCPU利用率などの時系列データU(i=1,2,…,N)を負荷試験ツール部140(負荷試験時)又は通信I/F部130(運用時)から受けると、当該CPU利用率の時系列データUを集計部155に入力する(STEP400)。 The performance data input unit 154 converts the time series data U i (i = 1, 2,..., N) such as the CPU usage rate of the server device into the load test tool unit 140 (during the load test) or the communication I / F unit 130 ( When receiving from the time of operation), the time series data U i of the CPU utilization rate is input to the totaling unit 155 (STEP 400).

集計部155は、判断部153から受けた一定期間B毎の、番号j、開始時刻Ts、終了時刻Teに基づいて、その期間のリクエスト発生頻度の平均値Save(j=1,2,…,M)及びCPU利用率の平均値Uave(j=1,2,…,M)を算出し(STEP500)、算出した各平均値Save,Uaveを結果出力部156に送出する。 Based on the number j, the start time Ts j , and the end time Te j for each fixed period B j received from the determination unit 153, the counting unit 155 calculates the average value S j ave (j = 1) of the request occurrence frequency during that period. , 2,..., M) and CPU utilization average value U j ave (j = 1, 2,..., M) are calculated (STEP 500), and the calculated average values S j ave and U j ave are output as results. To the unit 156.

結果出力部156では、集計部155からリクエスト発生頻度の平均値Save(j=1,2,…,M)とCPU利用率の平均値Uave(j=1,2,…,M)が受信されると、各平均値Save,Uaveを互いに関連付けたグラフの表示処理を実行し(STEP600)、当該グラフが表示部160に表示される。 In the result output unit 156, the average value S j ave (j = 1, 2,..., M) of the request occurrence frequency and the average value U j ave (j = 1, 2,. ) Is received, a graph display process in which the average values S j ave and U j ave are associated with each other is executed (STEP 600), and the graph is displayed on the display unit 160.

以上のように、時系列データ解析支援部150が動作するので、人がリクエスト発生頻度の時系列データを見て、ほぼ一定の期間を判断する必要が無くなり、また、その期間の開始時刻と終了時刻から、その間のCPU利用率を切り出し、平均値を計算するといった煩雑な計算をしなくて済む。   As described above, since the time series data analysis support unit 150 operates, it is not necessary for a person to look at the time series data of the request occurrence frequency to determine a substantially constant period, and the start time and end of the period. It is not necessary to perform complicated calculations such as cutting out the CPU utilization during that time and calculating the average value.

また、負荷試験の途中でも各平均値Save,Uaveを関連付けたグラフを表示できるので、負荷試験が正常に行われていることの確認や、次に負荷をかける仮想ユーザ数をどう設定するかを決めることができる。 In addition, since a graph in which the average values S j ave and U j ave are associated with each other can be displayed even during the load test, it can be confirmed that the load test is normally performed, and the number of virtual users to be loaded next is determined. You can decide whether to set.

次に、判断部153が一定期間を判断する方法の一例を詳細に説明する。   Next, an example of a method by which the determination unit 153 determines a certain period will be described in detail.

パラメータPは、処理量の許容幅Wと最短期間Tから構成される(P=(W,T))。一定期間とは、処理量の時系列データS(i=1,2,…,N)が連続して許容幅W内に収まった期間であって最短期間T以上である期間を意味する。図4は処理量の時系列データを示すグラフ図であり、図中の四角い枠の高さが許容幅Wを表す。許容幅W内に収まる範囲が四角い枠で囲まれているが、その期間が最短期間T以上であれば、その期間を処理量が一定である期間と判断する。 The parameter P is composed of an allowable width W of processing amount and a shortest period T (P = (W, T)). The fixed period means a period in which the time-series data S i (i = 1, 2,..., N) of the processing amount continuously falls within the allowable width W and is equal to or longer than the shortest period T. FIG. 4 is a graph showing the time-series data of the processing amount, and the height of the square frame in the figure represents the allowable width W. A range that falls within the allowable width W is surrounded by a square frame. If the period is equal to or longer than the shortest period T, the period is determined to be a period in which the processing amount is constant.

この判断のアルゴリズムについて図5を用いて説明する。特に、四角い枠の位置決めの方法について説明する。図5は横軸が時刻、縦軸が処理量のグラフであり、処理量の時系列データS(i=1,2,…,N)がプロットされている。この判断のアルゴリズムでは、処理量の時系列データS(i=1,2,…,N)が順次読み込まれる。まず、時系列データSから第1データSが読み込まれると、時系列データSの最大値を表す変数maxと最小値を表す変数minに第1データSの値が代入される。四角い枠(許容幅W)が取り得る範囲はmax−Wからmin+Wまでの範囲になる(図中の矢印範囲)。 The determination algorithm will be described with reference to FIG. In particular, a method for positioning a square frame will be described. FIG. 5 is a graph in which the horizontal axis represents time and the vertical axis represents the processing amount, and time-series data S i (i = 1, 2,..., N) of the processing amount is plotted. In this determination algorithm, the processing time series data S i (i = 1, 2,..., N) is sequentially read. First, when time-series data S i first data from S 1 is read, the value of the first data S 1 is substituted into the variable min representing the variable max and the minimum value that represents the maximum value of time-series data S i. The range that the square frame (allowable width W) can take is a range from max-W to min + W (arrow range in the figure).

次に、時系列データSの第2データSが読み込まれる。第2データSの値がmax−Wからmin+Wの範囲内に入っている場合は一定期間が続くことになる。また、第2データSと最大値の変数maxが比較され、第2データSが大きい場合には最大値の変数maxに第2データSの値が代入される。第2データSと最小値の変数minが比較され、第2データSが小さい場合には最小値の変数minにSの値が代入される。図5ではSが最大値の変数maxより大きかったので最大値の変数maxに第2データSの値が代入されている。このことにより、四角い枠(許容幅W)が取り得る範囲(max−Wからmin+Wまで)が狭くなったことがわかる。同様に第3データSが読み込まれると、第3データSが最大値の変数maxより大きかったので最大値の変数maxに第3データSの値が代入される。第4データSはmin≦S≦maxなので、変数min、maxの変化はない。 Then, the second data S 2 of the time-series data S i is read. If the value of the second data S 2 is within a range of max-W of min + W will be a certain period of time followed. Further, compared variable max of the second data S 2 and the maximum value, the value of the second data S 2 is substituted for the variable max maximum value when the second data S 2 is greater. Compared variable min the second data S 2 and the minimum value, the value of S 2 is substituted for the variable min of the minimum value when the second data S 2 is small. 5 In S 2 is assigned the second value data S 2 to the variable max of the maximum value because greater than the variable max of the maximum value. This shows that the range (from max-W to min + W) that the square frame (allowable width W) can take is narrowed. Similarly, when the third data S 3 is read, the third data S 3 is the value of the third data S 3 is substituted for the variable max of the maximum value greater it was so than the variable max of the maximum value. Fourth data S 4 is because min ≦ S 4 ≦ max, variables min, the change in max no.

次に、第5データSが読み込まれると、S> max+Wなので許容幅Wの四角い枠から外れることになる。第1〜第4データS〜Sの期間が最短期間T以上であれば、処理量が一定である期間と判断される。 Next, when the fifth data S 5 is read, it is excluded from the rectangular frame of S 5> max + W since tolerance W. If the period of the first to fourth data S 1 to S 4 is equal to or longer than the shortest period T, it is determined that the processing amount is constant.

以上の判断方法について図6のフローチャートを用いて詳細に説明する。   The above determination method will be described in detail with reference to the flowchart of FIG.

判断部153は、最小値の変数min、最大値の変数max、時系列データの番号iをそれぞれ初期化する(STEP301)。すなわち、min=0、max=0、i=1とする。   The determination unit 153 initializes the minimum value variable min, the maximum value variable max, and the time series data number i (STEP 301). That is, min = 0, max = 0, and i = 1.

続いて、判断部153は、時系列データSについて、STEP302〜STEP316間のループ処理を行う(STEP302)。 Subsequently, determination unit 153, the time-series data S i, performs a loop process between STEP302~STEP316 (STEP302).

判断部153は、最小値の変数minが0か否かを判定し(STEP303)、否の場合(STEP303;No)には時系列データ内の第iデータSが許容幅Wのとり得る範囲(max−W≦S≦min+W)内にあるか否かを判定する(STEP304)。 The determination unit 153 determines whether or not the minimum variable min is 0 (STEP 303). If not (STEP 303; No), the i-th data S i in the time-series data can take the allowable width W. It is determined whether or not (max−W ≦ S i ≦ min + W) is satisfied (STEP 304).

判断部153は、STEP304の判定の結果、範囲内にある場合(STEP304;Yes)には、第iデータSと最小値の変数minとを比較してS<minであるか否かを判定し(STEP305)、S<minであれば(STEP305;Yes)、最小値の変数minに第iデータを代入し(STEP306)、否であれば最小値の変数minの値をそのまま維持する。 If the result of the determination in STEP 304 is within the range (STEP 304; Yes), the determination unit 153 compares the i-th data S i with the minimum value variable min to determine whether S i <min. If the determination is made (STEP 305) and S i <min (STEP 305; Yes), the i-th data is substituted for the minimum value min (STEP 306). If not, the value of the minimum value min is maintained as it is. .

続いて、判断部153は、第iデータSと最大値の変数maxとを比較してS>maxであるか否かを判定し(STEP307)、S>maxであれば(STEP307;Yes)、最大値の変数maxに第iデータSを代入し(STEP308)、否であれば最大値の変数maxをそのまま維持する。 Subsequently, the determination unit 153 compares the variable max i-th data S i and the maximum value determines whether S i> max (STEP 307), if S i> max (STEP 307; Yes), the i-th data S i is substituted into the maximum value variable max (STEP 308), and if not, the maximum value variable max is maintained as it is.

しかる後、判断部153は、一定期間が続いている長さnを+1だけ更新する(STEP309)。   Thereafter, the determination unit 153 updates the length n, which continues for a certain period, by +1 (STEP 309).

一方、STEP304の判定の結果、否の場合(STEP304;No)には、判断部153は、一定期間が続いている長さnが最短期間T以上であるか否かを判定し(STEP310)、最短期間T以上であれば(STEP310;Yes)、一定期間内の前回(i−1)までの時系列データS〜Si-1をグループ化するが(STEP311)、否であれば(STEP310;No)、時系列データをグループ化しない。 On the other hand, if the result of the determination in STEP 304 is NO (STEP 304; No), the determination unit 153 determines whether or not the length n that continues for a certain period is equal to or longer than the shortest period T (STEP 310). If it is equal to or longer than the shortest period T (STEP 310; Yes), the time series data S s to S i-1 up to the previous (i-1) within a certain period are grouped (STEP 311), but if not (STEP 310) No), do not group time-series data.

しかる後、判断部153は、最小値の変数min、最大値の変数maxをそれぞれ0に初期化する(STEP312)。   Thereafter, the determination unit 153 initializes the minimum value variable min and the maximum value variable max to 0 (STEP 312).

また一方、STEP303の判定の結果、最小値の変数minが0であれば(STEP303;Yes)、判断部153は、最小値の変数minと、最大値の変数maxに第iデータSの値を代入し(STEP313)、一定期間の開始データSをSとし、一定期間が続いている長さnを1とする(STEP314)。 On the other hand, if the minimum value variable min is 0 as a result of the determination in STEP 303 (STEP 303; Yes), the determination unit 153 sets the value of the i-th data S i to the minimum value variable min and the maximum value variable max. substituting (STEP313), the start data S s for a certain period of time and S i, and 1 of length n is followed by a period of time (STEP314).

次に、STEP309、STEP312又はSTEP314の実行後、判断部153は、時系列データSの番号iを+1だけ更新し(STEP315)、STEP302からループ処理を繰り返し実行する(STEP316)。 Next, STEP309, after the execution of STEP312 or STEP314, determination unit 153, when the number i of the series data S i by +1 updated (STEP315), repeatedly executes the loop processing from STEP302 (STEP316).

STEP302〜STEP316のループ処理の完了後、判断部153は、一定期間が続いている長さnが最短期間T以上であるか否かを判定し(STEP317)、最短期間T以上であれば(STEP317;Yes)、一定期間内の前回(i−1)までの時系列データS〜Si-1をグループ化して(STEP318)、否であれば(STEP317;No)、時系列データをグループ化せずに、STEP300の処理を終了する。 After completion of the loop processing of STEP 302 to STEP 316, the determination unit 153 determines whether or not the length n that continues for a certain period is equal to or longer than the shortest period T (STEP 317), and if it is equal to or longer than the shortest period T (STEP 317). Yes), the time series data S s to S i-1 up to the previous (i-1) within a certain period are grouped (STEP 318). If not (STEP 317; No), the time series data is grouped. Instead, the processing of STEP 300 is terminated.

図7は処理量の時系列データSを表したグラフである。横軸が時刻、縦軸がリクエスト発生頻度を表す。この処理量の時系列データSに対し、図5及び図6の手順で判断された一定期間を付加して図8に示す。図8では、処理量の時系列データSのグラフ上に、処理量が一定と判断された期間がプロットされている。パラメータ値は、許容幅Wが3.0[回/秒]、最短期間Tが100[秒]として計算した結果である。 Figure 7 is a graph showing the time-series data S i of throughput. The horizontal axis represents time, and the vertical axis represents the request occurrence frequency. FIG. 8 shows the time series data S i of this processing amount with a certain period determined by the procedure of FIGS. 5 and 6 added. In Figure 8, on a graph of time-series data S i of the processing amount, the period during which the processing amount is determined to constant are plotted. The parameter value is a result of calculation assuming that the allowable width W is 3.0 [times / second] and the shortest period T is 100 [seconds].

図9は判断部153が判断した一定期間毎の、番号、開始時刻及び終了時刻を示している。判断部153は、判断した一定期間毎の、番号、開始時刻及び終了時刻の情報を集計部155に送出する。   FIG. 9 shows the number, start time, and end time for each fixed period determined by the determination unit 153. The determination unit 153 sends information on the number, start time, and end time for each determined fixed period to the totaling unit 155.

次に、集計部155の処理について説明する。集計部155では、判断部153から処理量が一定であると判断された期間の開始時刻、終了時刻、処理量入力部152から処理量の時系列データ、性能データ入力部154からサーバ装置のCPU利用率などの性能データを受けると、処理量が一定であると判断された期間の開始時刻、終了時刻を基に、その期間のリクエスト発生頻度の平均値、CPU利用率の平均値を計算する。   Next, the processing of the totaling unit 155 will be described. In the totaling unit 155, the start time and end time of the period in which the processing amount is determined to be constant by the determination unit 153, the time series data of the processing amount from the processing amount input unit 152, and the CPU of the server device from the performance data input unit 154 When performance data such as usage rate is received, the average value of the request occurrence frequency and the average value of the CPU usage rate are calculated based on the start time and end time of the period when the processing amount is determined to be constant. .

図10は図7の処理量が計測された時のCPU利用率の時系列データを示している。このCPU利用率の時系列データは、性能データ入力部154から受けたデータであるとする。これらのデータを基に、処理量が一定であると判断された期間毎にリクエスト発生頻度の平均値、CPU利用率の平均値を算出した集計結果を図11に示す。このリクエスト発生頻度とCPU利用率の平均値の算出結果は結果出力部156に送出される。   FIG. 10 shows time series data of the CPU utilization rate when the processing amount of FIG. 7 is measured. It is assumed that the time series data of the CPU usage rate is data received from the performance data input unit 154. Based on these data, FIG. 11 shows the total results of calculating the average value of the request occurrence frequency and the average value of the CPU utilization rate for each period in which the processing amount is determined to be constant. The calculation result of the request occurrence frequency and the average value of the CPU usage rate is sent to the result output unit 156.

結果出力部156では、横軸にリクエスト発生頻度、縦軸にCPU利用率のグラフの表示データを作成し、表示データを表示部160に送出する。表示部160に表示されるグラフを図12に示す。リクエスト発生頻度の増加に対してCPU利用率も増加していることが分かる。   The result output unit 156 creates display data of a request occurrence frequency on the horizontal axis and a CPU utilization rate graph on the vertical axis, and sends the display data to the display unit 160. A graph displayed on the display unit 160 is shown in FIG. It can be seen that the CPU utilization rate increases as the request generation frequency increases.

上述したように本実施形態によれば、判断部153により、記憶部110内の許容幅及び最短期間に基づいて、処理量の時系列データが許容幅W内に収まった期間で最短期間T以上の期間を一定期間Bとして判断し、集計部155により、判断された一定期間B毎の、処理量の時系列データSの平均値及びCPU利用率の時系列データUの平均値を算出する構成としたので、時系列データがほぼ一定となる期間を判定し、その期間内の時系列データを抽出して平均値を計算する作業の自動化を実現させることができる。 As described above, according to the present embodiment, the determination unit 153 determines the processing amount time-series data within the allowable width W based on the allowable width and the shortest period in the storage unit 110 and is equal to or longer than the shortest period T. Is determined as the fixed period B j , and the average value of the time series data S i of the processing amount and the average value of the time series data U i of the CPU usage rate for each fixed period B j determined by the totaling unit 155 Therefore, it is possible to realize the automation of the operation of determining the period in which the time series data is substantially constant, extracting the time series data within the period, and calculating the average value.

すなわち、従来とは異なり、人が目視でリクエスト発生頻度やサーバ装置のCPU利用率がほぼ一定に安定している期間を特定していたのを自動的に判断することができる。また、その期間の開始時刻と終了時刻から、その間のCPU利用率を切り出し、平均値を計算するといった煩雑な計算をしなくて済む。さらに、期間毎に、リクエスト発生頻度やサーバ装置のCPU利用率の平均値を計算し、結果をグラフ表示することも自動的に行なうことができる。   That is, unlike the prior art, it is possible to automatically determine that a person has visually identified a period in which the request occurrence frequency and the CPU utilization rate of the server device are stable at a substantially constant level. Further, it is not necessary to perform complicated calculations such as cutting out the CPU usage rate between the start time and end time of the period and calculating the average value. Further, for each period, the average value of the request occurrence frequency and the CPU utilization rate of the server device can be calculated and the result can be automatically displayed in a graph.

さらに、すぐに負荷試験の途中で、結果をグラフ表示し、試験が正しく行われていることを確認でき、次に負荷をかける仮想ユーザ数をどう設定するかを決めることができる。   Furthermore, in the middle of the load test, the results can be displayed in a graph to confirm that the test has been performed correctly, and how to set the number of virtual users to be loaded next can be determined.

なお、本実施形態は、処理量の時系列データの古い順に一定期間を判断していたが、これに限らず、時系列データの新しい順に一定期間を判断するように変形してもよい。   In the present embodiment, the fixed period is determined in the oldest order of the time-series data of the processing amount. However, the present invention is not limited to this, and the fixed period may be determined in the newest order of the time-series data.

一般的に、処理量データは、仮想ユーザ数を変化させた瞬間に大きく変動し、その後、安定する傾向がある。従って、処理量の時系列データを新しい順に処理する方が、より変動の少ない処理量の期間を特定することができる。   In general, the processing amount data greatly fluctuates at the moment when the number of virtual users is changed, and then tends to be stable. Therefore, it is possible to specify a period of a processing amount with less variation by processing the time series data of the processing amount in order from the newest.

図7の処理量の時系列データに対して、データの新しい順に処理量一定期間を特定する処理を行った結果を図13に示す。   FIG. 13 shows a result of performing processing for specifying a fixed processing amount period in the order of data from the time series data of processing amount in FIG.

図8と図13の違いが分かりにくいので、一部の時刻部分(2008/5/27 20:14から2008/5/27 20:19)について、処理量の時系列データと、データの古い順に処理量一定期間を特定した場合の期間、データの新しい順に処理量一定期間を特定した場合の期間を並べて表示した結果を図14に示す。2種類の方法で特定された期間が異なり、データの新しい順に処理量一定期間を特定した場合の方が長い期間であることが分かる。また、データの古い順に処理量一定期間を特定した場合の期間の分散は0.456、データの新しい順に処理量一定期間を特定した場合の期間の分散は0.295であり、データの新しい順に処理量一定期間を特定した場合の方が一定値に近いことがわかる。   Since the difference between FIG. 8 and FIG. 13 is difficult to understand, the time-series data of the processing amount and the oldest data in the time portion (2008/5/27 20:14 to 2008/5/27 20:19) FIG. 14 shows a result of arranging and displaying the period when the fixed amount of processing period is specified and the periods when the fixed amount of processing period is specified in the order of data. It can be seen that the periods specified by the two types of methods are different, and the period when the processing amount fixed period is specified in the order of the newest data is a longer period. In addition, the variance of the period when the fixed amount of processing period is specified in the oldest order of the data is 0.456, and the variance of the period when the fixed amount of processing period is specified in the newest order of the data is 0.295. It can be seen that the fixed amount period is closer to the fixed value.

(第2の実施形態)
次に、本発明の第2の実施形態について説明する。
(Second Embodiment)
Next, a second embodiment of the present invention will be described.

本実施形態は、第1の実施形態の変形例であり、一定の期間を判断する対象を処理量の時系列データとした第1の実施形態とは異なり、一定の期間を判断する対象をCPU利用率の時系列データとしている。   This embodiment is a modification of the first embodiment, and unlike the first embodiment in which the target for determining a certain period is time-series data of the processing amount, the object for determining the certain period is the CPU. It is time-series data of usage rate.

図15は本発明の第2の実施形態に係るクライアント装置に適用された時系列データ解析支援部の構成を例示するブロック図である。時系列データ解析支援部150は、第1の実施形態と同様に、パラメータ入力部151、処理量入力部152、判断部153、性能データ入力部154、集計部155及び結果出力部156から構成される。但し、処理量入力部152、判断部153及び性能データ入力部154の機能が若干異なる。なお、集計部155、結果出力部156の機能は、第1の実施形態と同様なので説明を省略する。   FIG. 15 is a block diagram illustrating the configuration of a time-series data analysis support unit applied to a client device according to the second embodiment of the present invention. Similar to the first embodiment, the time-series data analysis support unit 150 includes a parameter input unit 151, a processing amount input unit 152, a determination unit 153, a performance data input unit 154, a totaling unit 155, and a result output unit 156. The However, the functions of the processing amount input unit 152, the determination unit 153, and the performance data input unit 154 are slightly different. Note that the functions of the totaling unit 155 and the result output unit 156 are the same as those in the first embodiment, and a description thereof will be omitted.

パラメータ入力部151は、前述した許容幅W及び最短期間Tの入力機能に加え、入力部120から入力された外れ許容回数Vを判断部153に入力する機能をもっている。   The parameter input unit 151 has a function of inputting the allowable detachment frequency V input from the input unit 120 to the determination unit 153 in addition to the input function of the allowable width W and the shortest period T described above.

処理量入力部152は、対象の計算機システムへのリクエスト発生頻度などの処理量の時系列データを負荷試験ツール部140(負荷試験時)又は通信I/F部130(運用時)から受けると、処理量の時系列データを集計部155に入力する機能をもっている。   When the processing amount input unit 152 receives time series data of the processing amount such as a request occurrence frequency to the target computer system from the load test tool unit 140 (at the time of the load test) or the communication I / F unit 130 (at the time of operation), It has a function of inputting the time series data of the processing amount to the totaling unit 155.

判断部153は、記憶部110内の許容幅W及び最短期間Tに基づいて、性能データ入力部154から入力されたCPU利用率の時系列データがほぼ一定である期間を判断する機能と、判断された一定期間毎の、当該一定期間を示す番号、開始時刻及び終了時刻を集計部155に送出する機能をもっている。   The determination unit 153 has a function of determining a period in which the time series data of the CPU utilization rate input from the performance data input unit 154 is substantially constant based on the allowable width W and the shortest period T in the storage unit 110. And a function for sending the number indicating the fixed period, the start time, and the end time to the counting unit 155 for each fixed period.

補足すると、判断部153は、第1の実施形態で述べた機能において、処理量の時系列データに代えて、CPU利用率の時系列データに関し、許容幅W内に収まった期間で最短期間T以上の期間を一定期間として判断する機能であって、入力された外れ許容回数Vを記憶部110に書き込む機能と、CPU利用率の時系列データが許容幅Wから外れたときに、当該許容幅Wから外れたことが連続していなければ、外れ許容回数Vまでは許容幅Wから外れたことを無視する機能とを含んでいる。   Supplementally, in the function described in the first embodiment, the determination unit 153 replaces the time series data of the processing amount with respect to the time series data of the CPU usage rate, and the minimum period T within the period within the allowable width W. A function for determining the above period as a certain period, and a function for writing the input allowable allowable number of times V to the storage unit 110, and the allowable width when the time-series data of the CPU utilization rate deviates from the allowable width W. If the deviation from W is not continuous, the function of ignoring the deviation from the allowable width W is included up to the allowable deviation frequency V.

性能データ入力部154は、CPU利用率の時系列データを負荷試験ツール部140(負荷試験時)又は通信I/F部130(運用時)から受けると、当該CPU利用率の時系列データを判断部153及び集計部155に入力する機能をもっている。   When the performance data input unit 154 receives the time series data of the CPU utilization rate from the load test tool unit 140 (during the load test) or the communication I / F unit 130 (during operation), the performance data input unit 154 determines the time series data of the CPU utilization rate. A function of inputting to the section 153 and the totaling section 155.

次に、以上のように構成されたクライアント装置に適用された時系列データ解析支援部の動作を図16のフローチャート図を用いて説明する。   Next, the operation of the time-series data analysis support unit applied to the client device configured as described above will be described with reference to the flowchart of FIG.

STEP500、STEP600は図3(第1の実施形態)と同じなので説明を省略する。   Since STEP 500 and STEP 600 are the same as those in FIG. 3 (first embodiment), description thereof is omitted.

パラメータ入力部151は、操作者による入力部120の操作により、許容幅W、最短期間T及び外れ許容回数VをパラメータPとして判断部153に入力する(STEP110)。   The parameter input unit 151 inputs the allowable width W, the shortest period T, and the allowable number of detachments V as parameters P to the determination unit 153 by the operation of the input unit 120 by the operator (STEP 110).

性能データ入力部154は、サーバ装置のCPU利用率などの時系列データU(i=1,2,…,N)を例えば負荷試験ツール部140から受けると、CPU利用率の時系列データUを判断部153及び集計部155に入力する(STEP210)。 When the performance data input unit 154 receives the time series data U i (i = 1, 2,..., N) such as the CPU usage rate of the server device from the load test tool unit 140, for example, the time series data U of the CPU usage rate. i is input to the determination unit 153 and the totaling unit 155 (STEP 210).

判断部153は、パラメータ入力部151から受けた許容幅W、最短期間T及び外れ許容回数Vを記憶部110に書き込むと共に、性能データ入力部154からCPU利用率の時系列データUを受けると、記憶部110内の許容幅W、最短期間T及び外れ許容回数Vに基づいて、CPU利用率の時系列データが一定である期間B(j=1,2,…,M)を判断する(STEP330)。 When the determination unit 153 writes the allowable width W, the shortest period T, and the allowable number of deviations V received from the parameter input unit 151 in the storage unit 110, the determination unit 153 receives the time series data U i of the CPU utilization rate from the performance data input unit 154. Based on the allowable width W in the storage unit 110, the shortest period T, and the allowable number of deviations V, a period B j (j = 1, 2,..., M) in which the time series data of the CPU usage rate is constant is determined. (STEP 330).

しかる後、判断部153は、判断した一定期間B(j=1,2,…,M)毎の、当該一定期間を識別する番号j、開始時刻Ts(j=1,2,…,M)、終了時刻Te(j=1,2,…,M)を集計部155に送出する。 Thereafter, the determination unit 153 determines, for each determined fixed period B j (j = 1, 2,..., M), a number j that identifies the fixed period, a start time Ts j (j = 1, 2,. M), and the end time Te j (j = 1, 2,..., M) is sent to the counting unit 155.

処理量入力部152は、対象の計算機システムへのリクエスト発生頻度などの処理量の時系列データS(i=1,2,…,M)を負荷試験ツール部140から受けると、処理量の時系列データSを集計部155に送出する(STEP410)。 When the processing amount input unit 152 receives the time series data S i (i = 1, 2,..., M) of the processing amount such as the request occurrence frequency to the target computer system from the load test tool unit 140, the processing amount input unit 152 The time-series data S i is sent to the totaling unit 155 (STEP 410).

図7と図10を見比べて分かる通り、CPU利用率の時系列データUは、リクエスト発生頻度の時系列データSに比べて変動が大きいことが分かる。従って、CPU利用率が一定の期間を特定する判断も難しくなる。 As can be seen by comparing FIG. 7 and FIG. 10, it can be seen that the time series data U i of the CPU utilization rate has a larger fluctuation than the time series data S i of the request occurrence frequency. Therefore, it becomes difficult to determine a period when the CPU usage rate is constant.

そこで、許容幅Wから外れて良い回数(外れ許容回数)VをパラメータPに追加し、CPU利用率が一定である期間を判断するときに、許容幅Wから外れるデータが現れた場合に、その許容幅Wから外れることが連続していなければ外れ許容回数V回までは許容して、CPU利用率が一定である期間を判断するアルゴリズムを用いている。   Therefore, when the number of times that can deviate from the allowable width W (allowable number of deviations) V is added to the parameter P, and data that deviates from the allowable width W appears when determining a period during which the CPU usage rate is constant, If the deviation from the allowable width W does not continue, an algorithm is used that determines a period in which the CPU utilization rate is constant while allowing the allowable deviation number V up to V times.

図17はこのアルゴリズムを具体化したフローチャートであり、それぞれ破線で示したSTEP331の一部と、STEP340−1〜STEP340−4とが前述した図6のフローチャートと大きく異なる。また、対象が処理量の時系列データSではなく、CPU利用率の時系列データUである点も図6と異なっている。以下、図17に示す動作を詳細に述べる。 FIG. 17 is a flowchart embodying this algorithm, and a part of STEP 331 indicated by a broken line and STEP 340-1 to STEP 340-4 are greatly different from the flowchart of FIG. 6 described above. 6 is different from FIG. 6 in that the target is not the time series data S i of the processing amount but the time series data U i of the CPU usage rate. Hereinafter, the operation shown in FIG. 17 will be described in detail.

判断部153は、最小値の変数min、最大値の変数max、時系列データの番号i、許容幅Wから外れた外れ回数kをそれぞれ初期化する(STEP331)。すなわち、min=0、max=0、i=1、k=0とする。また、判断部153は、操作者による入力部120の操作により、外れ許容回数Vを記憶部110に書き込んでおく。   The determination unit 153 initializes the minimum value variable min, the maximum value variable max, the time series data number i, and the number k of deviations out of the allowable width W (STEP 331). That is, min = 0, max = 0, i = 1, k = 0. Further, the determination unit 153 writes the allowable number V of detachment in the storage unit 110 by the operation of the input unit 120 by the operator.

続いて、判断部153は、時系列データUについて、STEP332〜STEP346間のループ処理を行う(STEP332)。 Subsequently, the determination unit 153 performs a loop process between STEP 332 and STEP 346 for the time series data U i (STEP 332).

判断部153は、最小値の変数minが0か否かを判定し(STEP333)、否の場合(STEP333;No)には時系列データ内の第iデータUが許容幅Wのとり得る範囲(max−W≦U≦min+W)内にあるか否かを判定する(STEP334)。 The determination unit 153 determines whether or not the minimum value variable min is 0 (STEP 333). If not (STEP 333; No), the i-th data U i in the time-series data is within the allowable range W. It is determined whether or not (max−W ≦ U i ≦ min + W) is satisfied (STEP 334).

判断部153は、STEP334の判定の結果、範囲内にある場合(STEP334;Yes)には、第iデータUと最小値の変数minとを比較してU<minであるか否かを判定し(STEP335)、U<minであれば(STEP335;Yes)、最小値の変数minに第iデータを代入し(STEP336)、否であれば最小値の変数minの値をそのまま維持する。 If it is within the range as a result of the determination in STEP 334 (STEP 334; Yes), the determination unit 153 compares the i-th data U i and the minimum value variable min to determine whether or not U i <min. If the determination is made (STEP 335) and U i <min (STEP 335; Yes), the i-th data is substituted for the minimum variable min (STEP 336). If not, the value of the minimum variable min is maintained as it is. .

続いて、判断部153は、第iデータUと最大値の変数maxとを比較してU>maxであるか否かを判定し(STEP337)、U>maxであれば(STEP337;Yes)、最大値の変数maxに第iデータUを代入し(STEP338)、否であれば最大値の変数maxをそのまま維持する。 Subsequently, the determination unit 153 compares the variable max i-th data U i and the maximum value it is determined whether or not U i> max (STEP337), if U i> max (STEP337; Yes), the i-th data U i is substituted for the variable max of the maximum value (STEP 338). If not, the variable max of the maximum value is maintained as it is.

しかる後、判断部153は、一定期間が続いている長さnを+1だけ更新する(STEP339)。   Thereafter, the determination unit 153 updates the length n, which continues for a certain period, by +1 (STEP 339).

一方、STEP334の判定の結果、否の場合(STEP334;No)には、判断部153は、一定期間が続いている長さnが最短期間T以上であるか否かを判定し(STEP340)、最短期間T以上であれば(STEP340;Yes)、一定期間内の前回(i−1)までの時系列データU〜Ui-1をグループ化するが(STEP341)、否であれば(STEP340;No)、範囲から外れた時系列データUの番号iを記憶部110に保存し、外れ回数kを+1だけ更新する(STEP340−1)。 On the other hand, when the result of the determination in STEP 334 is NO (STEP 334; No), the determination unit 153 determines whether or not the length n for which the predetermined period continues is equal to or longer than the shortest period T (STEP 340). If it is not less than the shortest period T (STEP 340; Yes), the time series data U s to U i-1 up to the previous (i-1) within a certain period are grouped (STEP 341), but if not (STEP 340) No), the number i of the time series data U i out of the range is stored in the storage unit 110, and the number k of outliers is updated by +1 (STEP 340-1).

続いて、判断部153は、保存した番号iが連続しているか否かを判定し(STEP340−1)、連続していれば、STEP342に進む。   Subsequently, the determination unit 153 determines whether or not the stored number i is continuous (STEP 340-1), and if it is continuous, proceeds to STEP 342.

一方、連続していなければ(STEP340−1;No)、判断部153は、外れ回数kが外れ許容回数V以下か否かを判定し(STEP340−3)、外れ回数kが外れ許容回数V以下であれば、STEP345に進む。すなわち、判断部153は、CPU利用率の時系列データUが許容幅Wから外れたときに、当該許容幅Wから外れたことが連続していなければ、外れ許容回数Vまでは許容幅Wから外れたことを無視する。 On the other hand, if it is not continuous (STEP 340-1; No), the determination unit 153 determines whether or not the number of detachment k is equal to or less than the allowable number of detachment V (STEP 340-3). If so, go to STEP345. In other words, when the time series data U i of the CPU utilization rate deviates from the allowable width W and the deviation from the allowable width W does not continue, the determining unit 153 determines the allowable width W up to the allowable detachment frequency V. Ignore being off.

また、判断部153は、外れ回数kが外れ許容回数Vを超えた場合には(STEP340−3;No)、外れた番号iを記憶部110から消去し、外れ回数kを0に初期化してSTEP342に進む。   Further, when the number of detachment k exceeds the number of allowed detachment V (STEP 340-3; No), the determination unit 153 erases the number i that has been removed from the storage unit 110 and initializes the number of detachment k to 0. Proceed to STEP 342.

しかる後、判断部153は、最小値の変数min、最大値の変数maxをそれぞれ0に初期化する(STEP342)。   Thereafter, the determination unit 153 initializes the minimum value variable min and the maximum value variable max to 0 (STEP 342).

また一方、STEP333の判定の結果、最小値の変数minが0であれば(STEP333;Yes)、判断部153は、最小値の変数minと、最大値の変数maxに第iデータUの値を代入し(STEP343)、一定期間の開始データUをUとし、一定期間が続いている長さnを1とする(STEP344)。 On the other hand, as a result of the determination in STEP 333, if the minimum value variable min is 0 (STEP 333; Yes), the determination unit 153 sets the value of the i-th data U i to the minimum value variable min and the maximum value variable max. Is substituted (STEP 343), the start data U s for a fixed period is set to U i, and the length n for which the fixed period continues is set to 1 (STEP 344).

次に、STEP339、STEP342又はSTEP344の実行後、判断部153は、時系列データUの番号iを+1だけ更新し(STEP345)、STEP332からループ処理を繰り返し実行する(STEP346)。 Next, STEP339, after the execution of STEP342 or STEP344, determination unit 153, when the number i of the series data U i by +1 updated (STEP345), repeatedly executes the loop processing from STEP332 (STEP346).

STEP332〜STEP346のループ処理の完了後、判断部153は、一定期間が続いている長さnが最短期間T以上であるか否かを判定し(STEP347)、最短期間T以上であれば(STEP347;Yes)、一定期間内の前回(i−1)までの時系列データU〜Ui-1をグループ化して(STEP348)、否であれば(STEP347;No)、時系列データをグループ化せずに、STEP330の処理を終了する。 After completion of the loop processing of STEP332 to STEP346, the determination unit 153 determines whether or not the length n for which the predetermined period continues is equal to or longer than the shortest period T (STEP347), and if it is equal to or longer than the shortest period T (STEP347). Yes), the time series data U s to U i-1 up to the previous (i-1) within a certain period are grouped (STEP 348). If not (STEP 347; No), the time series data is grouped. Without processing, the processing of STEP 330 is terminated.

以上により、変動が大きいCPU利用率の時系列データUであっても、判断部153は、一定の期間を判断することができる。 As described above, the determination unit 153 can determine a certain period even if the CPU utilization rate time-series data U i varies greatly.

上述したように本実施形態によれば、判断部153により、記憶部110内の許容幅及び最短期間に基づいて、CPU使用率の時系列データUが許容幅W内に収まった期間で最短期間T以上の期間を一定期間Bとして判断し、集計部155により、判断された一定期間B毎の、処理量の時系列データSの平均値及びCPU利用率の時系列データUの平均値を算出する構成としたので、時系列データがほぼ一定となる期間を判定し、その期間内の時系列データを抽出して平均値を計算する作業の自動化を実現させることができる。 As described above, according to the present embodiment, the determination unit 153 uses the shortest period in which the time-series data U i of the CPU usage rate is within the allowable width W based on the allowable width and the shortest period in the storage unit 110. A period equal to or longer than the period T is determined as a certain period B j , and the aggregation unit 155 determines the average value of the time series data S i of the processing amount and the time series data U i of the CPU usage rate for each determined period B j. Since the average value is calculated, it is possible to determine the period in which the time series data is substantially constant, extract the time series data within the period, and automate the operation of calculating the average value.

例えば、負荷試験ツール部140が、対象の計算機システムCSからの応答を待たずに、決まった頻度でリクエストを発生する場合でも、対象の計算機システムCSのサーバ装置1,2,3,…のCPU利用率が安定している期間を自動的に判断することができる。また、処理量に比べて変動が大きいCPU利用率に対しても、外れ許容回数Vに基づいて、一定期間を自動的に判断することができる。   For example, even when the load test tool unit 140 generates a request at a fixed frequency without waiting for a response from the target computer system CS, the CPUs of the server devices 1, 2, 3,. It is possible to automatically determine the period during which the utilization rate is stable. In addition, even for a CPU usage rate that has a large variation compared to the processing amount, it is possible to automatically determine a certain period based on the allowable number V of deviations.

また、前述同様に、一定期間B毎に、リクエスト発生頻度の平均値やサーバ装置のCPU利用率の平均値を計算し、結果をグラフ表示することも自動的に実行できる。 Further, as described above, it is also possible to automatically calculate the average value of the request occurrence frequency and the average value of the CPU usage rate of the server device for each fixed period B j and display the result in a graph.

(第3の実施形態)
次に、本発明の第3の実施形態について説明する。
(Third embodiment)
Next, a third embodiment of the present invention will be described.

本実施形態は、第1及び第2の実施形態の変形例であり、一定の期間を判断する対象を処理量の時系列データと、CPU利用率の時系列データとの両者とし、且つ両者が一定の期間と判断された期間を最終的に一定期間と判断している。   The present embodiment is a modification of the first and second embodiments. The target for determining a certain period is both the time-series data of the processing amount and the time-series data of the CPU utilization rate. A period determined to be a certain period is finally determined to be a certain period.

図18は本発明の第3の実施形態に係るクライアント装置に適用された時系列データ解析支援部の構成を例示するブロック図である。時系列データ解析支援部150は、第1の実施形態と同様に、パラメータ入力部151、処理量入力部152、判断部153、性能データ入力部154、集計部155及び結果出力部156から構成される。但し、判断部153及び性能データ入力部154の機能が若干異なる。また、パラメータ入力部151の機能については第2の実施形態と同様であり、処理量入力部152、集計部155、結果出力部156の機能については第1の実施形態と同様なのでそれぞれ説明を省略する。   FIG. 18 is a block diagram illustrating the configuration of a time-series data analysis support unit applied to a client device according to the third embodiment of the present invention. Similar to the first embodiment, the time-series data analysis support unit 150 includes a parameter input unit 151, a processing amount input unit 152, a determination unit 153, a performance data input unit 154, a totaling unit 155, and a result output unit 156. The However, the functions of the determination unit 153 and the performance data input unit 154 are slightly different. Further, the function of the parameter input unit 151 is the same as that of the second embodiment, and the functions of the processing amount input unit 152, the totaling unit 155, and the result output unit 156 are the same as those of the first embodiment, and thus description thereof is omitted. To do.

判断部153は、パラメータ入力部151から入力されたパラメータ(許容幅W、最短期間T及び外れ許容回数V)を記憶部110に書き込み、処理量入力部152からリクエスト発生頻度などの処理量の時系列データを受け、性能データ入力部154からCPU利用率の時系列データを受けると、記憶部110内のパラメータに基づいて、処理量と性能データがほぼ一定である一定期間を判断する機能と、判断された一定期間毎の、番号、開始時刻、終了時刻を集計部155に送出する機能とをもっている。   The determination unit 153 writes the parameters (the allowable width W, the shortest period T, and the allowable number of misses V) input from the parameter input unit 151 to the storage unit 110, and the processing amount such as the request occurrence frequency from the processing amount input unit 152 A function of receiving a series of data and receiving a time series data of a CPU utilization rate from the performance data input unit 154, based on a parameter in the storage unit 110, and determining a certain period in which the processing amount and the performance data are substantially constant; It has a function of sending a number, a start time, and an end time for each determined period to the counting unit 155.

補足すると、判断部153の一定期間を判断する機能は、以下の機能(f153-1)〜(f153-4)を含んでいる。   Supplementally, the function of determining the predetermined period of the determination unit 153 includes the following functions (f153-1) to (f153-4).

(f153-1) 記憶部110内の許容幅W及び最短期間Tに基づいて、処理量の時系列データSが許容幅W内に収まった期間で最短期間T以上の期間を一定期間として判断する機能。 (f153-1) based on the allowable width W and the shortest period T in the storage unit 110, determines the duration of more than the shortest period T as a period of time in a period in which the time-series data S i is within the allowed range W of the processing amount Function to do.

(f153-2) 入力された外れ許容回数Vを記憶部110に書き込む機能。   (f153-2) A function of writing the input allowable number of detachment times V in the storage unit 110.

(f153-3) 記憶部110内の許容幅W、最短期間T及び外れ許容回数Vに基づいて、CPU利用率の時系列データUが許容幅W内に収まった期間で最短期間T以上の期間を一定期間として判断する機能であって、この判断の際には、CPU利用率の時系列データUが許容幅Wから外れたときに、当該許容幅Wから外れたことが連続していなければ、外れ許容回数Vまでは許容幅Wから外れたことを無視する機能。 (f153-3) Based on the allowable width W in the storage unit 110, the shortest period T, and the allowable number of deviations V, the time period in which the CPU utilization time series data U i is within the allowable width W is equal to or greater than the shortest period T. This is a function for determining the period as a fixed period. In this determination, when the time series data U i of the CPU usage rate deviates from the allowable width W, it is continuously determined that the time is not within the allowable width W. Otherwise, the function of ignoring the deviation from the allowable width W up to the allowable deviation frequency V.

(f153-4) 処理量の時系列データSについて一定期間と判断した期間と、CPU利用率の時系列データUについて一定期間と判断した期間との両者が一致する期間を最終的に一定期間と判断する機能。 (f153-4) A period in which the period determined as the fixed period for the time series data S i of the processing amount and the period determined as the fixed period for the time series data U i of the CPU usage rate are finally fixed Function to determine the period.

性能データ入力部154は、第2の実施形態と同様に、CPU利用率などの時系列データを負荷試験ツール部140(負荷試験時)又は通信I/F部130(運用時)から受けると、CPU利用率の時系列データを判断部153及び集計部155に送出する機能をもっている。   As in the second embodiment, the performance data input unit 154 receives time series data such as a CPU usage rate from the load test tool unit 140 (during load test) or the communication I / F unit 130 (during operation). It has a function of sending time-series data of the CPU usage rate to the determination unit 153 and the totaling unit 155.

次に、以上のように構成されたクライアント装置に適用された時系列データ解析支援部の動作を図19のフローチャート図を用いて説明する。但し、STEP110、STEP210、STEP330は図16(第2の実施形態)等と同じであり、STEP200、STEP300、STEP500、STEP600は図3(第1の実施形態)等と同じなので詳細な説明を省略する。   Next, the operation of the time-series data analysis support unit applied to the client device configured as described above will be described with reference to the flowchart of FIG. However, STEP 110, STEP 210, and STEP 330 are the same as those in FIG. 16 (second embodiment) and the like, and STEP 200, STEP 300, STEP 500, and STEP 600 are the same as those in FIG. .

いま、前述同様に、判断部153に対し、STEP110のパラメータW,T,Vの入力と、STEP200のリクエスト発生頻度の時系列データSの入力と、STEP210のCPU利用率の時系列データUの入力とが実行されたとする。 As described above, the determination unit 153 inputs the parameters W, T, and V of STEP 110, the input of the time series data S i of the request occurrence frequency of STEP 200, and the time series data U i of the CPU utilization rate of STEP 210. Is input.

判断部153は、前述同様に、図3及び図6に示したSTEP300のリクエスト発生頻度についての一定期間の判断と、図16及び図17に示したSTEP330のCPU利用率についての一定期間の判断とを実行する。   As described above, the determination unit 153 determines the fixed period for the request occurrence frequency of STEP 300 illustrated in FIGS. 3 and 6 and determines the fixed period for the CPU usage rate of STEP 330 illustrated in FIGS. 16 and 17. Execute.

しかる後、判断部153は、処理量の時系列データSについて一定期間と判断した期間と、CPU利用率の時系列データUについて一定期間と判断した期間との両者が一致する期間を最終的に一定期間B(j=1,2,…,M)と判断する(STEP360)。 Thereafter, the determination unit 153 finally sets a period in which both the period determined as the fixed period for the time series data S i of the processing amount and the period determined as the fixed period for the time series data U i of the CPU usage rate match. Therefore, it is determined that the predetermined period B j (j = 1, 2,..., M) (STEP 360).

しかる後、判断部153は、判断した一定期間B(j=1,2,…,M)毎の、当該一定期間を識別する番号j、開始時刻Ts(j=1,2,…,M)、終了時刻Te(j=1,2,…,M)を集計部155に送出する。 Thereafter, the determination unit 153 determines, for each determined fixed period B j (j = 1, 2,..., M), a number j that identifies the fixed period, a start time Ts j (j = 1, 2,. M), and the end time Te j (j = 1, 2,..., M) is sent to the counting unit 155.

以下、前述同様に、STEP500の一定期間Bに基づく平均値の計算と、STEP600のグラフの表示とが実行される。 Hereinafter, similarly to the above, the calculation of the mean value based on a predetermined period B j of Step 500, the display of the graph in STEP600 is performed.

上述したように本実施形態によれば、第1及び第2の実施形態の効果に加え、処理量の時系列データS(i=1,2,…,N)と、CPU利用率などの性能の時系列データU(i=1,2,…,N)の両方が一定と判断された期間が選ばれるので、より一定値に安定した結果の集計を行うことができる。 As described above, according to the present embodiment, in addition to the effects of the first and second embodiments, the time-series data S i (i = 1, 2,..., N) of the processing amount, the CPU usage rate, etc. Since the period when both of the performance time series data U i (i = 1, 2,..., N) are determined to be constant is selected, it is possible to aggregate the results more stably at a constant value.

補足すると、本実施形態では、リクエスト発生頻度などの処理量と、対象の計算機システムのCPU利用率との両方が安定している期間を自動的に判断できるので、より安定した期間を特定することができる。また、期間毎に、リクエスト発生頻度やサーバ装置のCPU利用率の平均値を計算し、結果をグラフ表示することも自動的に行なうことができる。   Supplementally, in this embodiment, since it is possible to automatically determine a period in which both the processing amount such as the request occurrence frequency and the CPU utilization rate of the target computer system are stable, it is possible to specify a more stable period. Can do. Further, for each period, the average value of the request occurrence frequency and the CPU utilization rate of the server device can be calculated and the result can be automatically displayed in a graph.

なお、上記各実施形態は、負荷試験時の時系列データを解析する場合を例に挙げて説明したが、これに限らず、運用時の時系列データを解析する場合であっても各実施形態を同様に実施して同様の効果を得ることができる。   The above embodiments have been described by taking the case of analyzing time series data at the time of a load test as an example. However, the present invention is not limited to this, and each embodiment is applicable even when analyzing time series data at the time of operation. The same effect can be obtained by carrying out similarly.

また、上記各実施形態では、判断部153による一定期間の判断手法の一例を説明したが、これに限らず、例えば、クラスター分析手法を利用し、処理量またはCPU利用率が近い値の範囲を生成するように変形してもよい。   In each of the above-described embodiments, an example of a determination method for a certain period by the determination unit 153 has been described. However, the present invention is not limited to this. You may deform | transform so that it may produce | generate.

なお、上記実施形態に記載した手法は、コンピュータに実行させることのできるプログラムとして、磁気ディスク(フロッピー(登録商標)ディスク、ハードディスクなど)、光ディスク(CD−ROM、DVDなど)、光磁気ディスク(MO)、半導体メモリなどの記憶媒体に格納して頒布することもできる。   Note that the method described in the above embodiment includes a magnetic disk (floppy (registered trademark) disk, hard disk, etc.), an optical disk (CD-ROM, DVD, etc.), a magneto-optical disk (MO) as programs that can be executed by a computer. ), And can be distributed in a storage medium such as a semiconductor memory.

また、この記憶媒体としては、プログラムを記憶でき、かつコンピュータが読み取り可能な記憶媒体であれば、その記憶形式は何れの形態であっても良い。   In addition, as long as the storage medium can store a program and can be read by a computer, the storage format may be any form.

また、記憶媒体からコンピュータにインストールされたプログラムの指示に基づきコンピュータ上で稼働しているOS(オペレーティングシステム)や、データベース管理ソフト、ネットワークソフト等のMW(ミドルウェア)等が上記実施形態を実現するための各処理の一部を実行しても良い。   In addition, an OS (operating system) running on a computer based on an instruction of a program installed in the computer from a storage medium, MW (middleware) such as database management software, network software, and the like realize the above-described embodiment. A part of each process may be executed.

さらに、本発明における記憶媒体は、コンピュータと独立した媒体に限らず、LANやインターネット等により伝送されたプログラムをダウンロードして記憶または一時記憶した記憶媒体も含まれる。   Further, the storage medium in the present invention is not limited to a medium independent of a computer, but also includes a storage medium in which a program transmitted via a LAN, the Internet, or the like is downloaded and stored or temporarily stored.

また、記憶媒体は1つに限らず、複数の媒体から上記実施形態における処理が実行される場合も本発明における記憶媒体に含まれ、媒体構成は何れの構成であっても良い。   Further, the number of storage media is not limited to one, and the case where the processing in the above embodiment is executed from a plurality of media is also included in the storage media in the present invention, and the media configuration may be any configuration.

尚、本発明におけるコンピュータは、記憶媒体に記憶されたプログラムに基づき、上記実施形態における各処理を実行するものであって、パソコン等の1つからなる装置、複数の装置がネットワーク接続されたシステム等の何れの構成であっても良い。   The computer according to the present invention executes each process in the above-described embodiment based on a program stored in a storage medium, and is a single device such as a personal computer or a system in which a plurality of devices are connected to a network. Any configuration may be used.

また、本発明におけるコンピュータとは、パソコンに限らず、情報処理機器に含まれる演算処理装置、マイコン等も含み、プログラムによって本発明の機能を実現することが可能な機器、装置を総称している。   In addition, the computer in the present invention is not limited to a personal computer, but includes an arithmetic processing device, a microcomputer, and the like included in an information processing device, and is a generic term for devices and devices that can realize the functions of the present invention by a program. .

なお、本願発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。更に、異なる実施形態に亘る構成要素を適宜組合せてもよい。   Note that 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. Moreover, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.

1…Webサーバ装置、2…アプリケーションサーバ装置、3…データベースサーバ装置、100…クライアント装置、110…記憶部、120…入力部、130…通信I/F部、140…負荷試験ツール部、150…時系列データ解析支援部、151…パラメータ入力部、152…処理量入力部、153…判断部、154…性能データ入力部、155…集計部、156…結果出力部、160…表示部、200…ネットワーク、CS…計算機システム。   DESCRIPTION OF SYMBOLS 1 ... Web server apparatus, 2 ... Application server apparatus, 3 ... Database server apparatus, 100 ... Client apparatus, 110 ... Memory | storage part, 120 ... Input part, 130 ... Communication I / F part, 140 ... Load test tool part, 150 ... Time series data analysis support unit 151... Parameter input unit 152 152 Processing amount input unit 153. Judgment unit 154. Performance data input unit 155 ... Totaling unit 156 ... Result output unit 160 ... Display unit 200 Network, CS ... computer system.

Claims (4)

記憶手段を備え、解析対象の計算機システムにおける処理量の時系列データとCPU利用率の時系列データとを受信可能なクライアント装置に用いられる時系列データ解析支援プログラムであって、
前記クライアント装置を、
入力された許容幅及び最短期間を前記記憶手段に書き込む手段、
前記記憶手段内の許容幅及び前記最短期間に基づいて、前記処理量の時系列データが前記許容幅内に収まった期間で前記最短期間以上の期間を一定期間として判断する一定期間判断手段、
前記判断された一定期間毎の、前記処理量の時系列データの平均値及び前記CPU利用率の時系列データの平均値を算出する平均値算出手段、
前記算出された各平均値に基づいて、処理量とCPU利用率とを関連付けたグラフの表示処理を実行するグラフ表示処理手段、
として機能させるための時系列データ解析支援プログラム。
A time series data analysis support program for use in a client device comprising a storage means and capable of receiving processing time series data and CPU utilization time series data in a computer system to be analyzed,
The client device;
Means for writing the inputted allowable width and the shortest period in the storage means;
Based on the allowable range in the storage unit and the shortest period, a fixed period determination unit that determines a period equal to or greater than the shortest period in a period in which the time-series data of the processing amount is within the allowable range,
An average value calculating means for calculating an average value of the time-series data of the processing amount and an average value of the time-series data of the CPU utilization rate for each determined period;
Graph display processing means for executing a graph display process in which a processing amount and a CPU usage rate are associated with each other based on the calculated average values;
Time series data analysis support program to function as
請求項1に記載の時系列データ解析支援プログラムにおいて、
前記一定期間判断手段は、
前記処理量の時系列データに代えて、前記CPU利用率の時系列データに関し、前記許容幅内に収まった期間で前記最短期間以上の期間を一定期間として判断する手段であって、且つ、
入力された外れ許容回数を前記記憶手段に書き込む手段と、
前記CPU利用率の時系列データが前記許容幅から外れたときに、当該許容幅から外れたことが連続していなければ、前記外れ許容回数までは前記許容幅から外れたことを無視する手段と、
を含んでいることを特徴とする時系列データ解析支援プログラム。
In the time series data analysis support program according to claim 1,
The fixed period determination means includes
In place of the processing amount time-series data, the CPU utilization rate time-series data is a means for determining a period that is within the allowable range and a period equal to or longer than the shortest period as a fixed period, and
Means for writing the inputted allowable number of erasures in the storage means;
Means for ignoring the deviation from the allowable range up to the allowable number of detachments if the time series data of the CPU utilization rate deviates from the allowable range and the deviation from the allowable range does not continue. ,
A time-series data analysis support program characterized by including:
請求項1に記載の時系列データ解析支援プログラムにおいて、
前記一定期間判断手段は、
入力された外れ許容回数を前記記憶手段に書き込む手段と、
前記記憶手段内の許容幅、前記最短期間及び前記外れ許容回数に基づいて、前記CPU利用率の時系列データが前記許容幅内に収まった期間で前記最短期間以上の期間を一定期間として判断する手段であって、この判断の際には、前記CPU利用率の時系列データが前記許容幅から外れたときに、当該許容幅から外れたことが連続していなければ、前記外れ許容回数までは前記許容幅から外れたことを無視する手段と、
前記処理量の時系列データについて一定期間と判断した期間と、前記CPU利用率の時系列データについて一定期間と判断した期間との両者が一致する期間を最終的に一定期間と判断する手段と、
を含んでいることを特徴とする時系列データ解析支援プログラム。
In the time series data analysis support program according to claim 1,
The fixed period determination means includes
Means for writing the inputted allowable number of erasures in the storage means;
Based on the allowable width in the storage means, the shortest period, and the allowable number of detachments, a time period in which the time series data of the CPU usage rate is within the allowable width is determined as a fixed period. In this determination, when the time series data of the CPU utilization rate deviates from the allowable range, if it is not continuously deviated from the allowable range, up to the allowable number of deviations. Means for ignoring the deviation from the allowable width;
Means for finally determining a period in which both the period determined as the fixed period for the time-series data of the processing amount and the period determined as the fixed period for the time-series data of the CPU utilization rate are the fixed period;
A time-series data analysis support program characterized by including:
解析対象の計算機システムにおける処理量の時系列データとCPU利用率の時系列データとを受信可能なクライアント装置であって、
入力された許容幅及び最短期間を記憶するための記憶手段と、
前記記憶手段内の許容幅及び前記最短期間に基づいて、前記処理量の時系列データが前記許容幅内に収まった期間で前記最短期間以上の期間を一定期間として判断する一定期間判断手段と、
前記判断された一定期間毎の、前記処理量の時系列データの平均値及び前記CPU利用率の時系列データの平均値を算出する平均値算出手段と、
前記算出された各平均値に基づいて、処理量とCPU利用率とを関連付けたグラフの表示処理を実行するグラフ表示処理手段と、
を備えたことを特徴とするクライアント装置。
A client device capable of receiving time-series data of processing amount and time-series data of CPU utilization in a computer system to be analyzed,
Storage means for storing the input tolerance and the shortest period;
Based on the allowable range in the storage unit and the shortest period, a fixed period determination unit that determines a period equal to or greater than the shortest period in a period in which the time-series data of the processing amount is within the allowable range;
Average value calculating means for calculating an average value of the time-series data of the processing amount and an average value of the time-series data of the CPU usage rate for each determined fixed period;
Graph display processing means for executing a graph display process in which a processing amount and a CPU usage rate are associated with each other based on the calculated average values;
A client device comprising:
JP2009213535A 2009-09-15 2009-09-15 Time series data analysis support program and apparatus Active JP4812867B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009213535A JP4812867B2 (en) 2009-09-15 2009-09-15 Time series data analysis support program and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009213535A JP4812867B2 (en) 2009-09-15 2009-09-15 Time series data analysis support program and apparatus

Publications (2)

Publication Number Publication Date
JP2011065269A true JP2011065269A (en) 2011-03-31
JP4812867B2 JP4812867B2 (en) 2011-11-09

Family

ID=43951475

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009213535A Active JP4812867B2 (en) 2009-09-15 2009-09-15 Time series data analysis support program and apparatus

Country Status (1)

Country Link
JP (1) JP4812867B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013145629A1 (en) * 2012-03-30 2013-10-03 日本電気株式会社 Information processing device for executing load evaluation and load evaluation method
WO2014156081A1 (en) * 2013-03-29 2014-10-02 富士フイルム株式会社 Test-data display control device, method, and program
WO2015059896A1 (en) * 2013-10-22 2015-04-30 日本電気株式会社 Information processing device and time-series data analysis method
KR102255252B1 (en) * 2020-04-21 2021-05-24 브레인즈컴퍼니 주식회사 Method and server for deciding summary value from big raw data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000347905A (en) * 1999-06-08 2000-12-15 Nec Software Kobe Ltd System and method for calculating cpu using rate and recording medium recording program for calculating cpu using rate
JP2008191849A (en) * 2007-02-02 2008-08-21 Ns Solutions Corp Operation management device, information processor, control method for operation management device, control method for information processor and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000347905A (en) * 1999-06-08 2000-12-15 Nec Software Kobe Ltd System and method for calculating cpu using rate and recording medium recording program for calculating cpu using rate
JP2008191849A (en) * 2007-02-02 2008-08-21 Ns Solutions Corp Operation management device, information processor, control method for operation management device, control method for information processor and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013145629A1 (en) * 2012-03-30 2013-10-03 日本電気株式会社 Information processing device for executing load evaluation and load evaluation method
WO2014156081A1 (en) * 2013-03-29 2014-10-02 富士フイルム株式会社 Test-data display control device, method, and program
WO2015059896A1 (en) * 2013-10-22 2015-04-30 日本電気株式会社 Information processing device and time-series data analysis method
KR102255252B1 (en) * 2020-04-21 2021-05-24 브레인즈컴퍼니 주식회사 Method and server for deciding summary value from big raw data

Also Published As

Publication number Publication date
JP4812867B2 (en) 2011-11-09

Similar Documents

Publication Publication Date Title
JP4240504B2 (en) Apparatus and method for analyzing influence of design change in product development process
JP4756675B2 (en) System, method and program for predicting computer resource capacity
JP5768834B2 (en) Plant model management apparatus and method
TWI428767B (en) Method, program and apparatus for optimizing configuration parameter set of system
JP2007035034A (en) Method and system for detecting in real-time search terms whose popularity increase rapidly
KR101816589B1 (en) Method of updating software list on software as a service and system for the same
JP2008225995A (en) Policy preparation support method, policy preparation support system, and program
JP4812867B2 (en) Time series data analysis support program and apparatus
US8555290B2 (en) Apparatus and method for dynamic control of the number of simultaneously executing tasks based on throughput
JP5747121B2 (en) Work management method and management system
JP5390227B2 (en) Information analysis apparatus and method, information analysis system, program, and storage medium
JP5621613B2 (en) Information processing apparatus, control method, and program
US20060175393A1 (en) Analysis technique of computer system
JP4498666B2 (en) Prediction device, prediction program, and recording medium
JP2008033662A (en) Software test completion determination method, information processor, program and recording medium
JP2008165412A (en) Performance-computing device
JP2008040980A (en) Information processor, predicted processing time calculation method and program
JP2006092106A (en) Prediction device, prediction method and program
JP2007128382A (en) Performance prediction method of cluster system and device
JP2013073534A (en) Customer survival rate estimation system, customer survival rate estimation method, customer survival rate estimation processing server and program for customer survival rate estimation processing server
JP2004272582A (en) Performance prediction program and design support system for computer system
JP2007265231A (en) Implementation determination support system for version upgrade or the like, implementation determination support method for version upgrade or the like, and implementation determination support program for version upgrade or the like
JP5349876B2 (en) Information processing apparatus, information processing method, and program
JP2004127136A (en) Device, method and program for supplying ruled line information
JP5215343B2 (en) Predicted value calculation device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110720

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: 20110726

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: 20110823

R150 Certificate of patent or registration of utility model

Ref document number: 4812867

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: 20140902

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350