JP5652051B2 - Setting device, setting system, setting method and setting program - Google Patents
Setting device, setting system, setting method and setting program Download PDFInfo
- Publication number
- JP5652051B2 JP5652051B2 JP2010185396A JP2010185396A JP5652051B2 JP 5652051 B2 JP5652051 B2 JP 5652051B2 JP 2010185396 A JP2010185396 A JP 2010185396A JP 2010185396 A JP2010185396 A JP 2010185396A JP 5652051 B2 JP5652051 B2 JP 5652051B2
- Authority
- JP
- Japan
- Prior art keywords
- evaluation
- parameter
- information indicating
- information
- performance
- 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.)
- Active
Links
Images
Landscapes
- Stored Programmes (AREA)
Description
本発明は、ソフトウェア資源に対する設定値を調整する設定装置、設定システム、設定方法及び設定プログラムに関する。 The present invention relates to a setting device, a setting system, a setting method, and a setting program for adjusting setting values for software resources.
近年、システム統合やクラウドコンピューティングの発展に伴い、業務サーバのシステム統合が増加している。システム統合の際、各業務サーバの構築時にオペレーティングシステム(OS)、カーネル、及び業務アプリケーションが用いる様々なパラメタについてチューニングを行う(例えば、特許文献1〜4を参照)。 In recent years, system integration of business servers has increased with the development of system integration and cloud computing. During system integration, tuning is performed for various parameters used by the operating system (OS), kernel, and business application when each business server is constructed (see, for example, Patent Documents 1 to 4).
上記のチューニングでは、例えば、サーバにおいて、OS、カーネル、業務アプリケーションで用いる各種パラメタを設定するプロセスと、業務アプリケーションの動作確認やシステムの性能テストを行うプロセスとを繰り返すことにより、最適な設定値及びパラメタを見つけ出す作業が行われる。 In the above tuning, for example, by repeating a process for setting various parameters used in the OS, kernel, and business application in the server and a process for checking the operation of the business application and performing a system performance test, the optimum setting value and Work is done to find the parameters.
OS、カーネル、業務アプリケーションをテスト用のサーバ(テスト環境)に構築してテストした後、本番用のサーバ(本番環境)に実際に構築することを行う際に、テスト環境でチューニングを行っても、本願環境においても再度チューニングを行う必要がある。テスト環境でのチューニングにより得られたパラメタを、本番環境のOS、カーネル、業務アプリケーションに対するパラメタとして設定したとしても、テスト環境と本番環境とは厳密には同一ではないことが多いため、テスト環境のチューニングで得られたパラメタが、本番環境において最適なパラメタになることは少ない。そのため、本番環境においても所望の動作性能を得るためにパラメタのチューニングを繰り返し行うことになる。 Even if the OS, kernel, and business application are built and tested on a test server (test environment) and then actually built on the production server (production environment), tuning may be performed in the test environment. Even in this application environment, it is necessary to perform tuning again. Even if the parameters obtained by tuning in the test environment are set as parameters for the OS, kernel, and business application in the production environment, the test environment and the production environment are often not exactly the same. The parameters obtained by tuning are rarely the optimum parameters in the production environment. Therefore, parameter tuning is repeatedly performed in order to obtain desired operation performance even in a production environment.
本願の一側面では、他の環境において既にチューニングされているパラメタに関して、チューニングを繰り返し行うことの抑制を目的とする。 An object of one aspect of the present application is to suppress repeated tuning of parameters that have already been tuned in another environment.
本願に開示する設定装置は、設定されたパラメタを用いて行う処理が規定されたプログラムについての動作性能の評価を、自装置にて行う評価部と、他の装置にて行われた前記プログラムの動作性能の評価結果を示す情報と、前記他の装置における評価の後に行われた前記パラメタの修正の内容を示す情報とを関連付けた情報を取得する取得部と、取得した情報に含まれる、前記評価部の結果と同じ評価の結果を示す情報に関連付けられた前記パラメタの修正の内容を示す情報に基づいて、前記パラメタを設定する第1の設定部とを含むことを特徴とする。 The setting device disclosed in the present application includes an evaluation unit that performs an evaluation of operation performance of a program that defines processing to be performed using set parameters, and an evaluation unit that performs the program performed by another device. An acquisition unit that acquires information that associates information indicating an evaluation result of operation performance and information indicating the content of correction of the parameter performed after evaluation in the other device, and is included in the acquired information. And a first setting unit that sets the parameter based on information indicating the content of the correction of the parameter associated with information indicating the same evaluation result as the evaluation unit.
本願の一側面においては、他の環境において既にチューニングされているパラメタに関して、チューニングを繰り返し行うことを抑制する。 In one aspect of the present application, repeated tuning is suppressed with respect to a parameter that has already been tuned in another environment.
以下、本発明をその実施の形態を示す図面に基づいて具体的に説明する。
図1は本実施の形態に係るシステムの全体構成を示す模式図である。図1に示したシステムは、情報処理装置10,20、及びこれらの情報処理装置10,20に接続された管理装置30を備える。情報処理装置10,20は、例えば、業務アプリケーションが導入される業務サーバである。管理装置30は、例えば、情報処理装置10,20からの要求に応じて情報の登録処理及び出力処理を行うデータベースサーバである。
Hereinafter, the present invention will be specifically described with reference to the drawings showing embodiments thereof.
FIG. 1 is a schematic diagram showing an overall configuration of a system according to the present embodiment. The system illustrated in FIG. 1 includes
情報処理装置10は、オペレーティングシステム(OS)、ミドルウェア、アプリケーションソフトウェア等のソフトウェア資源10A、及びCPU、メモリ、HDD(Hard Disk Drive)等のハードウェア資源10Bを備える。情報処理装置10では、ソフトウェア資源10Aに対するパラメタが予めチューニングされているものとする。
The
ここで、チューニング対象のパラメタは、例えば、オペレーティングシステムのパラメタである仮想メモリサイズ、カーネルのパラメタである共有メモリ領域の最大サイズ、アプリケーションソフトウェアのパラメタである多重度(プロセス数)、ヒープメモリサイズ等である。 Here, the parameters to be tuned include, for example, the virtual memory size that is the operating system parameter, the maximum size of the shared memory area that is the kernel parameter, the multiplicity (number of processes) that is the parameter of the application software, the heap memory size, etc. It is.
情報処理装置10のソフトウェア資源10Aに対するパラメタは、アプリケーションソフトウェアの起動速度やレスポンス性能が所定の要件を満たすまで、順次変更しながら性能評価を繰り返してチューニングされたものである。情報処理装置10は、チューニングの際にパラメタの変更履歴を記憶し、パラメタの変更の都度、若しくはチューニングが完了した場合、パラメタの変更履歴情報及びハードウェア情報を管理装置30へ送信する。ここで、ハードウェア情報は、CPUのクロック数、物理メモリサイズ、HDD容量等のハードウェア資源10Bに関する情報である。
The parameters for the
管理装置30は、情報処理装置10から送信されるパラメタの変更履歴情報及びハードウェア情報を受信し、管理データベース32(図5を参照)に登録する。また、管理装置30は、情報処理装置20からの要求があれば、必要な情報を管理データベース32から読み出し、情報処理装置20へ送信する。
The
一方、情報処理装置20は、情報処理装置10と同様に、オペレーティングシステム、ミドルウェア、アプリケーションソフトウェア等のソフトウェア資源20A、及び、CPU、メモリ、HDD等のハードウェア資源20Bを備える。本実施の形態では、情報処理装置10でのチューニング結果を利用し、情報処理装置20のソフトウェア資源20Aに対するパラメタのチューニングを行う。
なお、以下の説明では、チューニング済みの情報処理装置10をテスト環境、本願の手法によりチューニングする情報処理装置20を本番環境という。
On the other hand, like the
In the following description, the
なお、本番環境でチューニングされるパラメタは、テスト環境のパラメタと同様に、オペレーティングシステムのパラメタとして設定される仮想メモリサイズ、カーネルのパラメタとして設定される共有メモリ領域の最大サイズ、アプリケーションソフトウェアのパラメタとして設定される多重度(プロセス数)、ヒープメモリサイズ等が挙げられる。 The parameters tuned in the production environment are the same as the test environment parameters, the virtual memory size set as the operating system parameter, the maximum size of the shared memory area set as the kernel parameter, and the application software parameter. Examples include the set multiplicity (number of processes), heap memory size, and the like.
本番環境においてチューニングを行う場合、情報処理装置20は、テスト環境でのチューニングに関する情報を取得するために、管理装置30に対して情報の送信要求を行う。この送信要求に対する応答として、管理装置30から送信される変更履歴情報及びハードウェア情報を受信した場合、情報処理装置20は、これらの情報に基づいて自装置のソフトウェア資源に対するパラメタのチューニングを行う。
When tuning is performed in the production environment, the
本実施の形態では、情報処理装置20がチューニングを行う場合には、管理装置30を通じて、調整済みのパラメタの変更履歴情報、及びハードウェア情報を取得する構成としたが、管理装置30を経由せずに、情報処理装置10から直接的にこれらの情報を取得する構成としてもよい。
In the present embodiment, when the
図2は情報処理装置10の機能的構成を示すブロック図である。情報処理装置10は、チューニング処理部11、チューニング履歴記録部12、及びチューニング履歴出力部13を備える。
FIG. 2 is a block diagram illustrating a functional configuration of the
チューニング処理部11は、アプリケーションソフトウェアの起動速度やレスポンス性能が所定の要件を満たすまでソフトウェア資源10Aに対するパラメタを更新しながら、各パラメタのチューニングを行う。
The
チューニング履歴記録部12は、チューニング処理部11での処理の履歴をとり、例えば、パラメタの変更毎にチューニング履歴テーブルを作成する。チューニング履歴テーブルの詳細については後述することとする。
The tuning
チューニング履歴出力部13は、チューニング履歴記録部12にて作成されたチューニング履歴テーブルを管理装置30へ送信する。チューニング履歴テーブルの送信タイミングは任意であってよい。例えば、チューニング履歴記録部12がチューニング履歴テーブルを作成する都度、送信する構成としてもよい。また、チューニング処理部11にてチューニングが完了した場合、全てのチューニング履歴テーブルを管理装置30へ送信する構成としてもよい。
The tuning
図3はチューニング履歴テーブルの一例を示す図である。チューニング履歴テーブルは、例えば、図3に示すように、チューニング情報、ハードウェア情報、OS関連のチューニングパラメタ、カーネルパラメタ、アプリケーション関連のチューニングパラメタ、性能測定結果、及び評価項目の項目を含む。チューニング履歴記録部12は、各項目に情報を記録することでチューニング履歴テーブルを作成する。
FIG. 3 is a diagram illustrating an example of the tuning history table. As shown in FIG. 3, for example, the tuning history table includes items of tuning information, hardware information, OS-related tuning parameters, kernel parameters, application-related tuning parameters, performance measurement results, and evaluation items. The tuning
チューニング情報の項目には、各チューニング履歴テーブルを識別するための識別子、チューニング履歴テーブルを表示するためのアプリケーションの名前、チューニング履歴テーブルの表示名、チューニング状態等の情報が記録される。
また、チューニング情報の項目には、チューニングパラメタを要素とする旨の情報が登録されている。すなわち、OS関連のチューニングパラメタ、アプリケーション関連のチューニングパラメタ、性能測定結果の各項目は、チューニング情報の下位項目として設定されている。
In the item of tuning information, information such as an identifier for identifying each tuning history table, an application name for displaying the tuning history table, a display name of the tuning history table, and a tuning state are recorded.
In the tuning information item, information indicating that the tuning parameter is an element is registered. That is, each item of the OS-related tuning parameter, the application-related tuning parameter, and the performance measurement result is set as a subordinate item of the tuning information.
ハードウェア情報の項目には、CPUのクロック数、物理メモリサイズ、HDD容量等の情報が記録される。なお、ハードウェア情報は、チューニングによって更新される値ではないので、チューニング履歴テーブルには含めずに、事前に管理装置30に登録する構成としてもよい。
Information such as the number of CPU clocks, physical memory size, and HDD capacity is recorded in the item of hardware information. Since the hardware information is not a value updated by tuning, the hardware information may be registered in advance in the
OS関連のチューニングパラメタ、カーネルパラメタ、アプリケーション関連のチューニングパラメタの各項目には、仮想メモリのサイズ、共有メモリ領域の最大サイズ、アプリケーションの他重度(使用するプロセス数)、ヒープメモリサイズ等のチューニング対象のパラメタの値などが記録される。パラメタの値としては、チューニング後の値が記録される。チューニングによって値が変更された場合には、変更前の値が括弧書きで記録される。図3に示した例では、パラメタAが5から10に変更されたことを表している。
なお、カーネルパラメタの項目は、OS関連のチューニングパラメタの下位項目として設定されている。
Tuning parameters such as OS-related tuning parameters, kernel parameters, and application-related tuning parameters include virtual memory size, maximum shared memory area size, other application severity (number of processes used), and heap memory size. The value of the parameter is recorded. As the parameter value, the value after tuning is recorded. When the value is changed by tuning, the value before the change is recorded in parentheses. The example shown in FIG. 3 indicates that the parameter A has been changed from 5 to 10.
The kernel parameter item is set as a subordinate item of the OS related tuning parameter.
性能測定結果の項目には、チューニング前に行われた性能測定で得られた結果が記録される。ここでは、測定結果が予め定めた最低要件を下回った場合、測定結果が予め定めた最低要件と最高要件との間にある場合、測定結果が予め定めた最高要件を上回った場合の何れかが記録される。 In the item of performance measurement result, a result obtained by performance measurement performed before tuning is recorded. Here, either the measurement result falls below a predetermined minimum requirement, the measurement result falls between a predetermined minimum requirement and a maximum requirement, or the measurement result exceeds a predetermined maximum requirement. To be recorded.
評価項目の項目では、チューニング前に行われた性能測定で評価した項目が記録される。例えば、アプリケーションソフトウェアの起動速度、レスポンス速度等の評価項目が記録される。なお、評価項目は、図示する項目に限定する必要はなく、例えば、データ転送性能の改善、画像の描画性能の改善等を含めてもよい。また、評価項目は、複数設定してもよい。
また、図示しないが、性能結果の項目に、さらにチューニング後に行われた性能測定で得られた結果が記録されてもよい。チューニング前の性能評価の結果とチューニング後の性能評価の結果とを含むため、チューニングによる性能の変化を履歴として記録しておくことができる。情報処理装置10以外の装置においても、この履歴と同様のチューニングを行うことで、履歴と同様の性能の変化が期待できる。
In the item of evaluation items, items evaluated by performance measurement performed before tuning are recorded. For example, evaluation items such as the startup speed and response speed of application software are recorded. Note that the evaluation items need not be limited to the illustrated items, and may include, for example, improvement in data transfer performance, improvement in image drawing performance, and the like. A plurality of evaluation items may be set.
Further, although not shown, a result obtained by performance measurement performed after tuning may be recorded in the performance result item. Since the result of performance evaluation before tuning and the result of performance evaluation after tuning are included, changes in performance due to tuning can be recorded as a history. In apparatuses other than the
図4はテスト環境でのチューニング処理の手順を説明するフローチャートである。情報処理装置10のチューニング処理部11は、自装置が備えるハードウェア資源10Bに係る情報を取得する(S11)。例えば、チューニング処理部11は、CPUのクロック数、物理メモリサイズ、HDD容量等の情報を取得する。また、チューニング処理部11は、OSの種別を示す情報を併せて取得する。
FIG. 4 is a flowchart for explaining the procedure of the tuning process in the test environment. The
次いで、チューニング処理部11は、現在設定されているチューニングパラメタの情報を取得する(S12)。ここで、取得するチューニングパラメタの情報は、OS関連のチューニングパラメタ、カーネルパラメタ、アプリケーション関連のチューニングパラメタであり、上述したように、仮想メモリのサイズ、共有メモリ領域の最大サイズ、アプリケーションの他重度(使用するプロセス数)、ヒープメモリサイズ等の情報が含まれる。
Next, the
次いで、チューニング履歴記録部12は、S11及びS12でチューニング処理部11が取得した情報を、チューニング履歴テーブルに記録する(S13)。
Next, the tuning
次いで、チューニング処理部11は、テストセットによる性能測定を行う(S14)。ここで、テストセットとは、アプリケーションソフトウェアの起動速度、レスポンス速度、データ転送性能、画像の描画性能等の自装置の動作性能を評価するための評価項目である。チューニング処理部11は、予め定めた評価項目に従って自装置の動作性能を評価する。
Next, the
次いで、チューニング処理部11は、全ての評価項目の測定結果が要件を満たすか否かを判断する(S15)。ここでは、全ての評価項目について、最低要件及び最高要件を定めておき、測定結果が最低要件を満たすか否か、測定結果が最低要件と最高要件との間にあるか、測定結果が最高要件を上回るか否かを判断する。この判断結果は、チューニング履歴記録部12によってチューニング履歴テーブルに記録される。判断結果が記録されるチューニング履歴テーブルは、次に行われるチューニング(再チューニング)についてのチューニング履歴テーブルでもよいし、S14の前に行ったチューニングについてのチューニング履歴テーブルと再チューニングについてのチューニング履歴テーブルとの双方でもよい。
Next, the
評価項目のうち、最低要件を満たさない評価項目が存在する場合(S15:NO)、その評価項目の改善を目的として、パラメタの再チューニングを行う(S16)。パラメタの再チューニングは、チューニングパラメタの1つを変更することによって行う。再チューニングの後、S11からS15までの処理を繰り返す。 When there is an evaluation item that does not satisfy the minimum requirement among the evaluation items (S15: NO), parameter retuning is performed for the purpose of improving the evaluation item (S16). The parameter retuning is performed by changing one of the tuning parameters. After retuning, the processing from S11 to S15 is repeated.
S15で全ての評価項目の測定結果が最低要件を満たすと判断した場合(S15:YES)、チューニング履歴出力部13は、チューニング履歴テーブルを管理装置30へ送信する(S17)。
When it is determined in S15 that the measurement results of all the evaluation items satisfy the minimum requirement (S15: YES), the tuning
なお、上記の処理手順では、パラメタのチューニングが完了した場合に、チューニング履歴テーブルを送信する構成としたが、S16の再チューニングを行ったタイミングで、その都度チューニング履歴テーブルを送信する構成としてもよい。 In the above processing procedure, the tuning history table is transmitted when parameter tuning is completed. However, the tuning history table may be transmitted each time the retuning of S16 is performed. .
図5は管理装置30の機能的構成を示す模式図である。管理装置30は、管理部31、管理データベース32及び通信部33を備える。管理装置30は、情報処理装置10から送信されるパラメタの変更履歴情報及びハードウェア情報を通信部33にて受信し、管理データベース32に登録する。また、管理装置30は、情報処理装置20からの要求を通信部33にて受信した場合、必要な情報を管理データベース32から読み出し、通信部33を通じて情報処理装置20へ送信する。管理装置30の管理部31は、管理データベース32に対する情報の登録処理、情報の読み出し処理を制御する。
FIG. 5 is a schematic diagram showing a functional configuration of the
図6は管理装置30が実行する処理の手順を説明するフローチャートである。管理装置30の管理部31は、チューニング履歴テーブルを情報処理装置10から受信したか否かを判断する(S21)。受信していない場合(S21:NO)、管理部31は、後述するS23の処理を実行する。
FIG. 6 is a flowchart for explaining a procedure of processing executed by the
チューニング履歴テーブルを情報処理装置10から受信したと判断した場合(S21:YES)、管理装置30は、受信したチューニング履歴テーブルを記憶する(S22)。このとき、管理部31は、受信したチューニング履歴テーブルを管理データベース32に登録する。
If it is determined that the tuning history table has been received from the information processing apparatus 10 (S21: YES), the
次いで、管理部31は、情報処理装置20から情報の送信要求を受信したか否かを判断する(S23)。情報の送信要求を受信していない場合には、処理をS21へ戻す。
情報の送信要求を受信したと判断した場合(S23:YES)、管理部31は、管理データベース32を検索し、チューニング履歴テーブルが登録されているか否かを判断することにより、情報処理装置20に対して送信すべき情報が存在するか否かを判断する(S24)。
Next, the
When it is determined that the information transmission request has been received (S23: YES), the
情報処理装置20に対して送信すべき情報が存在すると判断した場合(S24:YES)、通信部33は、チューニング履歴テーブルを情報処理装置20へ送信する(S25)。一方、情報処理装置20に対して送信すべき情報が存在しないと判断した場合(S24:NO)、通信部33は、チューニング履歴テーブルが登録されていない旨の情報を情報処理装置20へ送信する(S26)。
If it is determined that there is information to be transmitted to the information processing apparatus 20 (S24: YES), the communication unit 33 transmits a tuning history table to the information processing apparatus 20 (S25). On the other hand, when it is determined that there is no information to be transmitted to the information processing apparatus 20 (S24: NO), the communication unit 33 transmits information indicating that the tuning history table is not registered to the
図7は情報処理装置20の機能的構成を示すブロック図である。情報処理装置20は、第1取得部21、第2取得部22、設定部23、評価部24、及び再設定部25を備える。
FIG. 7 is a block diagram showing a functional configuration of the
第1取得部21は、自装置のハードウェア資源20Bに係る情報(ハードウェア情報)を取得する。ここで、ハードウェア資源20Bに係る情報には、CPUのクロック数、物理メモリサイズ、HDD容量等の情報が含まれる。
The
第2取得部22は、管理装置30の管理データベース32に登録されているチューニング履歴テーブルを通信により取得する。このチューニング履歴テーブルには、上述したように、情報処理装置10のハードウェア情報、OS関連のチューニングパラメタ、カーネルパラメタ、アプリケーション関連のチューニングパラメタ、性能測定結果、及び評価項目が含まれる。
The
設定部23は、チューニングパラメタを設定する。情報処理装置20の設定部23が設定するチューニングパラメタは、情報処理装置10のパラメタと同様に、OS関連のチューニングパラメタ、カーネルパラメタ、アプリケーション関連のチューニングパラメタ、より具体的には、仮想メモリのサイズ、共有メモリ領域の最大サイズ、アプリケーションの他重度(使用するプロセス数)、ヒープメモリサイズ等の値がである。
The setting
評価部24は、設定したチューニングパラメタを用いてソフトウェア資源を動作させ、自装置の動作性能の評価を行う。このとき、情報処理装置10と共通のテストセットを用いて性能測定を行い、アプリケーションソフトウェアの起動速度、レスポンス速度、データ転送性能、画像の描画性能等の評価を行う。
The
再設定部25は、評価部24にて所望の動作性能が得られなかったと判断した場合、チューニングパラメタの再設定を行う。このとき、再設定部25は、第2取得部22が取得したチューニング履歴テーブルに基づいて変更後のパラメタを算出する。
The resetting
例えば、テスト環境において起動時間を短縮するためにパラメタA(例えば、プロセス多重度)の値を5から10に変更していた場合(すなわち、5を加算した場合)、本番環境での評価で起動時間の要件を満たしていない場合に、パラメタAの再設定では、再設定前の値に5を加算した値が設定される。
また、例えば、テスト環境においてアプリケーションソフトウェアのレスポンス速度を短縮するために割り当てメモリのサイズを200Mbyteから300Mbyteに変更していた場合(すなわち、割り当てメモリサイズを1.5倍にした場合)、本番環境でのパラメタの再設定では、設定前の値を1.5倍した値が設定される。
For example, if the value of parameter A (for example, process multiplicity) has been changed from 5 to 10 in order to shorten the startup time in the test environment (that is, if 5 is added), the test will start in the evaluation in the production environment When the time requirement is not satisfied, the parameter A is reset by setting a value obtained by adding 5 to the value before the reset.
Also, for example, when the size of the allocated memory is changed from 200 Mbytes to 300 Mbytes in order to reduce the response speed of the application software in the test environment (that is, when the allocated memory size is increased 1.5 times), When the parameter is reset, a value obtained by multiplying the value before the setting by 1.5 is set.
また、設定部23は、第1取得部21が取得した自装置(情報処理装置20)のハードウェア情報と、第2取得部22が取得したチューニング履歴テーブルに含まれる情報処理装置10のハードウェア情報とに基づいて、テスト環境及び本願環境のスペック差を考慮したパラメタを設定することが考えられる。
The setting
例えば、先に説明したパラメタA(例えば、プロセス多重度)について、本番環境(情報処理装置20)のCPUクロック数が、テスト環境(情報処理装置10)のCPUクロック数の2倍であった場合に、設定部23は、テスト環境において設定された値(パラメタA=5)を2倍して、本番環境に設定する(パラメタA=10)。この設定後の本番環境での評価において、テスト環境と同様に起動時間の要件を満たさなかった場合には、再設定部25は、先に説明したように、チューニング履歴テーブルを参照して、パラメタAに5を加算して再設定する(パラメタA=15)。
For example, when the number of CPU clocks in the production environment (information processing apparatus 20) is twice the number of CPU clocks in the test environment (information processing apparatus 10) for the parameter A (for example, process multiplicity) described above In addition, the setting
また、先に説明した割り当てメモリサイズについても同様であり、本番環境の物理メモリがテスト環境の物理メモリの3倍であった場合、設定部23は、テスト環境において設定されていた割り当てメモリのサイズ(200Mbyte)を3倍して、本番環境の割り当てメモリサイズに設定する(600Mbyte)。この設定後の本番環境での評価において、テスト環境と同様にレスポンス速度の要件を満たさなかった場合には、再設定部25は、先に説明したように、チューニング履歴テーブルを参照して、割り当てメモリサイズを1.5倍して再設定する(900Mbyte)。
The same applies to the allocated memory size described above. When the physical memory in the production environment is three times the physical memory in the test environment, the setting
図8は本番環境でのチューニング処理の手順を説明するフローチャートである。情報処理装置20の第2取得部22は、チューニング履歴テーブルの送信要求を管理装置30に対して送信する(S31)。管理装置30の管理データベース32にチューニング履歴テーブルが登録されている場合、管理装置30からチューニング履歴テーブルが送信されてくるので、第2取得部22にてそのチューニング履歴テーブルを取得する(S32)。
FIG. 8 is a flowchart for explaining the procedure of the tuning process in the production environment. The
次いで、情報処理装置20の第1取得部21は、自装置のハードウェア情報を取得する(S33)。このとき、第1取得部21は、CPU、メモリ、HDD等の各ハードウェアと通信し、CPUクロック数、物理メモリサイズ、HDD容量等の情報を取得する。
Next, the
次いで、設定部23は、チューニングパラメタの初期値を設定する(S34)。このとき、S32で取得したチューニング履歴テーブルに記録されているパラメタを参考にして初期値を設定することができる。また、取得したチューニング履歴テーブルに記録されているパラメタに依らず、適宜の値を設定するようにしてもよい。
Next, the setting
次いで、評価部24は、テストセットによる性能測定を行う(S35)。ここで、性能測定に用いるテストセットはテスト環境と共通のものを用いることが望ましく、アプリケーションソフトウェアの起動速度、レスポンス速度、データ転送性能、画像の描画性能等の評価項目に従って自装置の動作性能を評価する。
Next, the
次いで、評価部24は、全ての評価項目の測定結果が要件を満たすか否かを判断する(S36)。ここでは、全ての評価項目について、最低要件及び最高要件を定めておき、測定結果が最低要件を満たすか否か、測定結果が最低要件と最高要件との間にあるか、測定結果が最高要件を上回るか否かを判断する。
Next, the
評価項目のうち、最低要件を満たさない評価項目が存在する場合(S36:NO)、その評価項目の改善を目的として、パラメタの再設定を行う(S37)。パラメタの再設定の後、S35及びS36の処理を繰り返す。 If there is an evaluation item that does not satisfy the minimum requirement among the evaluation items (S36: NO), the parameter is reset for the purpose of improving the evaluation item (S37). After resetting the parameters, the processes of S35 and S36 are repeated.
S36で全ての評価項目の測定結果が最低要件を満たすと判断した場合(S36:YES)、本フローチャートによる処理を終了する。 When it is determined in S36 that the measurement results of all the evaluation items satisfy the minimum requirement (S36: YES), the processing according to this flowchart is terminated.
なお、本実施の形態では、情報処理装置10及び情報処理装置20において共通のテストセットを用いて性能測定を行ったが、情報処理装置10が使用したテストセットを管理装置30へ送信し、情報処理装置20は性能測定を行うために管理装置30を通じてテストセットを取得する構成としてもよい。
In the present embodiment, performance measurement is performed using a common test set in the
また、本番環境(情報処理装置20)でのチューニング履歴及びチューニング結果は、更に他の情報処理装置にとって参考となる情報であるため、テスト環境と同様に、本番環境でもチューニング履歴テーブルを作成し、管理装置30の管理データベース32に登録する構成としてもよい。
In addition, since the tuning history and the tuning result in the production environment (information processing apparatus 20) are information that is useful for other information processing apparatuses, a tuning history table is created in the production environment as well as the test environment. It is good also as a structure registered into the
また、管理装置30が図7に示す情報処理装置20の構成を含み、管理装置30においてチューニングパラメタの再設定が行なわれてもよい。その場合、管理装置30は、チューニングパラメタの設定を行ない、設定したチューニングパラメタに基づいたソフトウェアの動作を情報処理装置20に指示し、情報処理装置から動作性能を示す情報を取得し、その性能情報、情報処理装置10のチューニング履歴情報及びハードウェア情報、並びに情報処理装置20のハードウェア情報などに基づいて、チューニングパラメタの再設定を行なう。
Further, the
以上のように、本実施の形態では、チューニングパラメタの人の手による修正に伴う作業ミスのリスクを軽減することができる。また、ソフトウェア資源に対するパラメタを自動的に設定できるため、例えば、業務サーバ環境の構築に必要となる作業期間を短縮することができ、導入コストの削減することができる。 As described above, in the present embodiment, it is possible to reduce the risk of work mistakes associated with the manual correction of tuning parameters. In addition, since the parameters for the software resources can be automatically set, for example, the work period necessary for constructing the business server environment can be shortened, and the introduction cost can be reduced.
10 情報処理装置
10A ソフトウェア資源
10B ハードウェア資源
20 情報処理装置
20A ソフトウェア資源
20B ハードウェア資源
21 第1取得部
22 第2取得部
23 設定部
24 評価部
25 再設定部
30 管理装置
DESCRIPTION OF
Claims (9)
他の装置にて行われた前記プログラムの動作性能の評価結果を示す情報と、前記他の装置における評価の後に行われた前記パラメタの修正の内容を示す情報とを関連付けた情報を取得する取得部と、
取得した情報に含まれる、前記評価部の結果と同じ評価の結果を示す情報に関連付けられた前記パラメタの修正の内容を示す情報に基づいて、前記パラメタを設定する第1の設定部と
を含むことを特徴とする設定装置。 An evaluation unit that performs evaluation of operation performance on a program that defines processing to be performed using set parameters, on its own device;
Acquisition that acquires information associating information indicating the evaluation result of the operation performance of the program performed in another device and information indicating the content of the correction of the parameter performed after evaluation in the other device And
A first setting unit for setting the parameter based on information indicating the content of correction of the parameter associated with information indicating the same evaluation result as the evaluation unit included in the acquired information A setting device characterized by that.
前記他の装置及び前記自装置のハードウェアに関する性能値、並びに前記他の装置における評価の前に前記パラメタに設定された値を取得し、
前記評価部が前記評価を行う前に、取得した前記他の装置における評価の前に前記パラ
メタが設定された値を、前記他の装置のハードウェアに関する性能値と自装置のハードウェアに関する性能値との関係に基づいて修正して、前記パラメタに設定する第2の設定部を更に含むことを特徴とする請求項1に記載の設定装置。 The acquisition unit
Obtain the performance value related to the hardware of the other device and the own device, and the value set in the parameter before evaluation in the other device,
Before the evaluation unit performs the evaluation, the acquired value in which the parameter is set before the evaluation in the other device is calculated as a performance value related to the hardware of the other device and a performance value related to the hardware of the own device. The setting device according to claim 1, further comprising a second setting unit that corrects the parameter based on the relationship with the parameter and sets the parameter.
他の装置において行なわれた前記パラメタの修正であって、修正後に前記プログラムの動作性能を向上させた修正の内容を示す情報を取得する取得部と、
前記評価において、前記プログラムの動作性能が前記要件を満たさない場合に、取得した前記修正の内容を示す情報に基づいて、前記パラメタを設定する設定部と
を含むことを特徴とする設定装置。 An evaluation unit that evaluates whether the operation performance of the program for which processing to be performed using the set parameters satisfies the set requirements;
An acquisition unit that acquires the information indicating the content of the correction, which is the correction of the parameter performed in another device and has improved the operation performance of the program after the correction;
A setting unit configured to set the parameter based on the acquired information indicating the content of the correction when the operation performance of the program does not satisfy the requirement in the evaluation.
第2の装置において行なわれた前記プログラムの動作性能の評価の結果を示す情報に、前記第2の装置における評価の後に行なわれた前記パラメタの修正の内容を示す情報を関連付けた情報を記憶する記憶部と、
前記評価取得部が取得した評価の結果と同じ評価の結果を示す情報に関連付けて前記記憶部に記憶された前記パラメタの修正の内容を示す情報に基づいて、前記パラメタを設定する設定部と
を含むことを特徴とする設定装置。 An evaluation acquisition unit that causes the first device to perform an evaluation of operation performance for a program in which processing to be performed using the set parameters is defined, and to acquire a result of the evaluation;
Information indicating the result of evaluation of the operation performance of the program performed in the second device is stored in association with information indicating the content of the parameter correction performed after the evaluation in the second device. A storage unit;
A setting unit for setting the parameter based on information indicating the content of the correction of the parameter stored in the storage unit in association with information indicating the same evaluation result as the evaluation result acquired by the evaluation acquisition unit; A setting device comprising:
他の装置にて行われた前記プログラムの動作性能の評価結果を示す情報と、前記他の装置における評価の後に行われた前記パラメタの修正の内容を示す情報とを関連付けた情報を取得し、
取得した情報に含まれる、自装置にて行った評価の結果と同じ評価の結果を示す情報に関連付けられた前記パラメタの修正の内容を示す情報に基づいて、前記パラメタを設定する
ことを特徴とする設定方法。 Evaluate the performance of the program that defines the processing to be performed using the set parameters on its own device,
Obtaining information associating information indicating an evaluation result of the operation performance of the program performed in another device and information indicating the content of the correction of the parameter performed after the evaluation in the other device;
The parameter is set based on the information included in the acquired information, the information indicating the content of the correction of the parameter associated with the information indicating the same evaluation result as the evaluation result performed by the own device. How to set up.
他の装置にて行われた前記プログラムの動作性能の評価結果を示す情報と、前記他の装
置における評価の後に行われた前記パラメタの修正の内容を示す情報とを関連付けた情報を取得し、
取得した情報に含まれる、前記評価の結果と同じ評価の結果を示す情報に関連付けられた前記パラメタの修正の内容を示す情報に基づいて、前記パラメタを設定する
処理をコンピュータに実行させる設定プログラム。 Evaluate the performance of the program that defines the processing to be performed using the set parameters,
Obtaining information associating information indicating an evaluation result of the operation performance of the program performed in another device and information indicating the content of the correction of the parameter performed after the evaluation in the other device;
A setting program for causing a computer to execute a process of setting the parameter based on information indicating the content of the correction of the parameter associated with information indicating the same evaluation result as the evaluation result included in the acquired information.
前記取得した情報に基づき、自装置で実行された前記プログラムの性能評価に関する第2の評価結果のうち、前記第1の評価結果と同じ評価の結果を示す情報に関連付けられたパラメタの変更を行う
処理をコンピュータに実行させる設定プログラム。 Acquires information that associates information indicating a first evaluation result related to performance evaluation of a program executed on another device and information indicating parameter change contents related to the program performed in response to the performance evaluation. ,
Based on the acquired information, a parameter associated with information indicating the same evaluation result as the first evaluation result is changed among the second evaluation results related to the performance evaluation of the program executed by the own apparatus. A setting program that causes a computer to execute processing.
前記取得した情報に基づき、自装置で実行された前記プログラムの性能評価に関する第2の評価結果のうち、前記第1の評価結果と同じ評価の結果を示す情報に関連付けられたパラメタの変更を行う設定部と
を備える設定装置。 Information that associates information indicating a first evaluation result related to performance evaluation of a program executed on another device and information indicating parameter change contents related to the program performed in response to the performance evaluation is acquired. An acquisition unit;
Based on the acquired information, a parameter associated with information indicating the same evaluation result as the first evaluation result is changed among the second evaluation results related to the performance evaluation of the program executed by the own apparatus. A setting device comprising: a setting unit.
前記取得した情報に基づき、自装置で実行された前記プログラムの性能評価に関する第2の評価結果のうち、前記第1の評価結果と同じ評価の結果を示す情報に関連付けられたパラメタの変更を行う
ことを特徴とする設定方法。 Acquires information that associates information indicating a first evaluation result related to performance evaluation of a program executed on another device and information indicating parameter change contents related to the program performed in response to the performance evaluation. ,
Based on the acquired information, a parameter associated with information indicating the same evaluation result as the first evaluation result is changed among the second evaluation results related to the performance evaluation of the program executed by the own apparatus. A setting method characterized by that.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010185396A JP5652051B2 (en) | 2010-08-20 | 2010-08-20 | Setting device, setting system, setting method and setting program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010185396A JP5652051B2 (en) | 2010-08-20 | 2010-08-20 | Setting device, setting system, setting method and setting program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012043295A JP2012043295A (en) | 2012-03-01 |
JP5652051B2 true JP5652051B2 (en) | 2015-01-14 |
Family
ID=45899493
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010185396A Active JP5652051B2 (en) | 2010-08-20 | 2010-08-20 | Setting device, setting system, setting method and setting program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5652051B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6136831B2 (en) * | 2013-10-04 | 2017-05-31 | 富士通株式会社 | Control program, control device, and control method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005063458A (en) * | 2004-10-12 | 2005-03-10 | Fujitsu Ltd | System construction device, system construction method, and recording medium storing system construction program |
JP2006244422A (en) * | 2005-03-07 | 2006-09-14 | Nec Corp | System parameter automatic tuning method using network |
-
2010
- 2010-08-20 JP JP2010185396A patent/JP5652051B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2012043295A (en) | 2012-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10506043B2 (en) | Rapid client-side component processing based on component relationships | |
US9699250B2 (en) | Method and system for building an elastic cloud web server farm | |
CN110378488B (en) | Client-side change federal training method, device, training terminal and storage medium | |
US9081618B2 (en) | Method and apparatus for the scheduling of computing tasks | |
CN105308576A (en) | Determining and monitoring performance capabilities of a computer resource service | |
US20160019300A1 (en) | Identifying Files for Data Write Operations | |
JP6083290B2 (en) | Distributed processing system | |
KR101816589B1 (en) | Method of updating software list on software as a service and system for the same | |
US20130227085A1 (en) | Terminal and method for using cloud services | |
JP2019135597A (en) | Performance adjustment program and performance adjustment method | |
EP2778962B1 (en) | Silo-aware databases | |
JP5518950B2 (en) | Virtual machine management system and management method | |
CN113632073A (en) | Scalable streaming over data sources | |
JP2014179000A (en) | Information management system and program | |
US11093350B2 (en) | Method and system for an optimized backup data transfer mechanism | |
JP5652051B2 (en) | Setting device, setting system, setting method and setting program | |
JP2013069213A (en) | Retrieval request processor | |
US20230195709A1 (en) | Data Storage System Conflict Management | |
WO2018163280A1 (en) | Early sign detection device and early sign detection method | |
WO2013145004A1 (en) | Information processing device, information processing method, and information processing system | |
US20220075830A1 (en) | Resumable ordered recursive traversal of an unordered directory tree | |
CN115480908A (en) | Memory pooling method and related device | |
US9858551B2 (en) | Ranking analysis results based on user perceived problems in a database system | |
JPWO2016067370A1 (en) | Information processing apparatus, method, and program | |
CN107851165B (en) | Key system, key client and key management method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130604 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140127 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140408 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140609 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140805 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20141002 |
|
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: 20141021 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20141103 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5652051 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |