JP5413210B2 - Information processing system, information processing apparatus, information processing method, and program - Google Patents
Information processing system, information processing apparatus, information processing method, and program Download PDFInfo
- Publication number
- JP5413210B2 JP5413210B2 JP2010006193A JP2010006193A JP5413210B2 JP 5413210 B2 JP5413210 B2 JP 5413210B2 JP 2010006193 A JP2010006193 A JP 2010006193A JP 2010006193 A JP2010006193 A JP 2010006193A JP 5413210 B2 JP5413210 B2 JP 5413210B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- resource
- frequency
- physical server
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Description
本発明は、情報処理システム、情報処理装置、情報処理方法およびプログラムに関する。 The present invention relates to an information processing system, an information processing apparatus, an information processing method, and a program.
データセンター内で多岐に渡るハードウェア・ソフトウェアを搭載した性能の異なる物理サーバが存在し、物理サーバのリソースを効率的に利用するために、リソースの仮想化(仮想CPU、仮想ストレージ、仮想ネットワーク)を支援する技術開発が、近年盛んである。今後、このような技術において、物理サーバ上で構築された仮想サーバは物理サーバ間を移動することが可能であり、移動先ではその物理サーバのリソースを利用することになる。従って、仮想サーバが物理サーバ上で効率良くリソースを利用できるように、仮想サーバの移動を管理することが有用となる。 In order to use physical server resources efficiently, there are physical servers with various performances equipped with various hardware and software in the data center (virtual CPU, virtual storage, virtual network). In recent years, there has been a thriving technological development to support this. In the future, in such a technique, a virtual server built on a physical server can move between physical servers, and resources of the physical server will be used at the movement destination. Therefore, it is useful to manage the movement of the virtual server so that the virtual server can efficiently use resources on the physical server.
この種の技術として、特許文献1(特開2009−123174号公報)には、次のような技術が記載されている。この技術は、仮想化環境におけるI/Oエミュレーションに必要なCPU負荷を、ディスク負荷又はネットワーク負荷の少なくとも一方から換算して見積もることができる。 As this type of technology, Patent Document 1 (Japanese Patent Laid-Open No. 2009-123174) describes the following technology. This technique can estimate the CPU load required for I / O emulation in a virtual environment by converting it from at least one of a disk load and a network load.
より詳細には、複数の物理サーバが、LAN(Local Area Network)を介してサイジング機能が動作するコンピュータ端末に接続されている。各々の物理サーバは、ハードウェア資源として、少なくとも1つのCPU(Central・Processing・Unit)を有するとともに、HDD(Hard・Disk・Drive)やNIC(Network・Interface・Card)を有する。また、各々の物理サーバに備えられる負荷測定部は、自機のシステム負荷を測定し、それを測定情報として出力する。システム負荷とは、例えば、CPU負荷、ディスクやネットワークのI/O(Input/Output)負荷のことである。 More specifically, a plurality of physical servers are connected to a computer terminal that operates a sizing function via a LAN (Local Area Network). Each physical server has at least one CPU (Central Processing Unit) as a hardware resource, and also has an HDD (Hard Disk Drive) and a NIC (Network Interface Card). Moreover, the load measurement part with which each physical server is equipped measures the system load of an own machine, and outputs it as measurement information. The system load is, for example, a CPU load, an I / O (Input / Output) load of a disk or a network.
物理サーバのいずれかで仮想サーバを動作させたときのCPU負荷を見積もる場合、上記コンピュータ端末は、次のように動作する。まず、コンピュータ端末は、各々の物理サーバのCPU負荷の測定値を得る。次に、コンピュータ端末は、各々の物理サーバのディスク負荷又はネットワーク負荷の少なくとも一方から、ディスク又はネットワークのI/Oに起因する測定対象の仮想サーバのCPU負荷の見積値を得る。そして、コンピュータ端末は、仮想化に起因するCPUオーバーヘッドを示す係数を得る。さらに、コンピュータ端末は、上記測定値と上記見積値と上記係数を用いて測定対象の仮想サーバのCPU負荷を見積もる。 When estimating the CPU load when the virtual server is operated on any of the physical servers, the computer terminal operates as follows. First, the computer terminal obtains a measured value of the CPU load of each physical server. Next, the computer terminal obtains an estimated value of the CPU load of the virtual server to be measured due to disk / network I / O from at least one of the disk load or network load of each physical server. Then, the computer terminal obtains a coefficient indicating the CPU overhead due to virtualization. Further, the computer terminal estimates the CPU load of the virtual server to be measured using the measured value, the estimated value, and the coefficient.
この技術の特徴は、仮想サーバで使用されている各々の資源(ディスク、ネットワーク)利用時のI/O分のCPUのオーバーヘッドを計測し、物理サーバ上でのアプリケーションが利用する各々の資源利用頻度を計測することである。そして資源利用頻度に対応するCPUのオーバーヘッドを算出し、算出されたCPUのオーバーヘッドを足し込んで、物理サーバ上で仮想サーバがアプリケーションの処理を実行したときの負荷を見積もることである。 The feature of this technology is to measure the CPU overhead for I / O when using each resource (disk, network) used in the virtual server, and to use each resource used by the application on the physical server. Is to measure. Then, the CPU overhead corresponding to the resource usage frequency is calculated, and the calculated CPU overhead is added to estimate the load when the virtual server executes the application process on the physical server.
しかしながら上記技術は、ディスク負荷やネットワーク負荷から得られえるCPU負荷の見積値と、実際のCPU負荷の計測値との差を補間するために係数を用いるが、CPU負荷はディスク負荷およびネットワーク負荷のみに依存するものではないため、その精度には限界があった。 However, the above technique uses a coefficient to interpolate the difference between the estimated value of the CPU load that can be obtained from the disk load and the network load and the actual measured value of the CPU load, but the CPU load is only the disk load and the network load. There is a limit to its accuracy because it does not depend on.
本発明は上記事情に鑑みてなされたものであり、その目的とするところは、物理サーバ上で仮想サーバがアプリケーション処理を実行するとき、リソースに与える負荷を高い精度で推測する情報処理システム、情報処理装置、情報処理方法およびプログラムを提供することにある。 The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an information processing system and information for estimating a load applied to a resource with high accuracy when a virtual server executes application processing on a physical server. To provide a processing device, an information processing method, and a program.
本発明によれば、通信網を介して仮想サーバを授受することができる複数の物理サーバと、各々の前記物理サーバと、前記物理サーバ上でシステムコールを実行した頻度を表す頻度情報と、当該システムコールを前記頻度で実行したときに使用された当該物理サーバのリソース量を表すリソース情報と、を関連付けて記憶する性能情報記憶手段と、前記仮想サーバが前記システムコールを伴うアプリケーション処理を第1物理サーバ上で実行したときに前記第1物理サーバで使用されたリソース量を示す第1リソース情報を取得する取得手段と、前記第1物理サーバに関連付けられ、かつ前記取得手段によって取得された前記第1リソース情報と最も近似する前記リソース情報を前記性能情報記憶手段から選択し、選択された前記リソース情報に関連付けられた前記頻度情報を抽出する第1抽出手段と、前記第1物理サーバとは異なる第2物理サーバに関連付けられた前記頻度情報のうち、前記第1抽出手段によって抽出された前記頻度情報と最も近似する前記頻度情報を前記性能情報記憶手段から選択し、選択された前記頻度情報に関連付けられた前記リソース情報を抽出する第2抽出手段と、前記第2抽出手段によって抽出された前記リソース情報を出力する出力手段と、を備えることを特徴とする情報処理システムが提供される。 According to the present invention, a plurality of physical servers that can exchange a virtual server via a communication network, each of the physical servers, frequency information indicating a frequency of executing a system call on the physical server, Performance information storage means for associating and storing resource information representing the resource amount of the physical server used when the system call is executed at the frequency, and the virtual server first performs application processing involving the system call. Acquisition means for acquiring first resource information indicating the amount of resources used in the first physical server when executed on the physical server; and the acquisition means associated with the first physical server and acquired by the acquisition means The resource information closest to the first resource information is selected from the performance information storage means, and the selected resource information is selected. Of the frequency information associated with a second physical server that is different from the first physical server, the frequency information extracted by the first extraction means from the first extraction means that extracts the frequency information associated with the first physical server The frequency information that is most similar to the frequency information storage unit is selected from the performance information storage unit, the resource information associated with the selected frequency information is extracted, and the resource extracted by the second extraction unit An information processing system comprising an output means for outputting information is provided.
また、本発明によれば、通信網を介して仮想サーバを授受することができる複数の物理サーバの夫々と通信可能な情報処理装置であって、各々の前記物理サーバと、前記物理サーバ上でシステムコールを実行した頻度を表す頻度情報と、当該システムコールを前記頻度で実行したときに使用された当該物理サーバのリソース量を表すリソース情報と、を関連付けて記憶する性能情報記憶手段と、前記仮想サーバが前記システムコールを伴うアプリケーション処理を第1物理サーバ上で実行したときに前記第1物理サーバで使用されたリソース量を示す第1リソース情報を取得する取得手段と、前記第1物理サーバに関連付けられ、かつ前記取得手段によって取得された前記第1リソース情報と最も近似する前記リソース情報を前記性能情報記憶手段から選択し、選択された前記リソース情報に関連付けられた前記頻度情報を抽出する第1抽出手段と、前記第1物理サーバとは異なる第2物理サーバに関連付けられた前記頻度情報のうち、前記第1抽出手段によって抽出された前記頻度情報と最も近似する前記頻度情報を前記性能情報記憶手段から選択し、選択された前記頻度情報に関連付けられた前記リソース情報を抽出する第2抽出手段と、前記第2抽出手段によって抽出された前記リソース情報を出力する出力手段と、を備えることを特徴とする情報処理装置が提供される。 Further, according to the present invention, there is provided an information processing apparatus capable of communicating with each of a plurality of physical servers that can exchange a virtual server via a communication network, and each of the physical servers and the physical servers Performance information storage means for storing the frequency information indicating the frequency of executing the system call and the resource information indicating the resource amount of the physical server used when the system call is executed at the frequency, An acquisition unit configured to acquire first resource information indicating a resource amount used in the first physical server when a virtual server executes an application process involving the system call on the first physical server; and the first physical server And the resource information closest to the first resource information acquired by the acquiring means is the performance information description. A first extraction unit that selects from the means and extracts the frequency information associated with the selected resource information; and the frequency information associated with a second physical server different from the first physical server, Selecting the frequency information that is most similar to the frequency information extracted by the first extraction means from the performance information storage means, and extracting the resource information associated with the selected frequency information; An information processing apparatus comprising: output means for outputting the resource information extracted by the second extraction means.
さらに、本発明によれば、通信網を介して仮想サーバを授受することができる複数の物理サーバの各々と、前記物理サーバ上でシステムコールを実行した頻度を表す頻度情報と、当該システムコールを前記頻度で実行したときに使用された当該物理サーバのリソース量を表すリソース情報と、を関連付けて記憶する性能情報記憶ステップと、前記仮想サーバが前記システムコールを伴うアプリケーション処理を第1物理サーバ上で実行したときに前記第1物理サーバで使用されたリソース量を示す第1リソース情報を取得する取得ステップと、前記第1物理サーバに関連付けられ、かつ前記取得ステップで取得された前記第1リソース情報と最も近似する前記リソース情報を選択し、選択された前記リソース情報に関連付けられた前記頻度情報を抽出する第1抽出ステップと、前記第1物理サーバとは異なる第2物理サーバに関連付けられた前記頻度情報のうち、前記第1抽出ステップで抽出された前記頻度情報と最も近似する前記頻度情報を選択し、選択された前記頻度情報に関連付けられた前記リソース情報を抽出する第2抽出ステップと、前記第2抽出ステップで抽出された前記リソース情報を出力する出力ステップと、を備えることを特徴とする情報処理方法が提供される。
Further, according to the present invention, each of a plurality of physical servers that can exchange a virtual server via a communication network, frequency information indicating a frequency of executing a system call on the physical server, and the system call A performance information storage step for associating and storing resource information representing the resource amount of the physical server used when executed at the frequency; and the virtual server performs application processing with the system call on the first physical server The acquisition step of acquiring the first resource information indicating the amount of resources used in the first physical server when executed in
さらに、本発明によれば、コンピュータが読み出し可能な記憶媒体に格納されるプログラムであって、通信網を介して仮想サーバを授受することができる複数の物理サーバの各々と、前記物理サーバ上でシステムコールを実行した頻度を表す頻度情報と、当該システムコールを前記頻度で実行したときに使用された当該物理サーバのリソース量を表すリソース情報と、を関連付けて記憶する性能情報記憶処理と、前記仮想サーバが前記システムコールを伴うアプリケーション処理を第1物理サーバ上で実行したときに前記第1物理サーバで使用されたリソース量を示す第1リソース情報を取得する取得処理と、前記第1物理サーバに関連付けられ、かつ前記取得処理で取得された前記第1リソース情報と最も近似する前記リソース情報を選択し、選択された前記リソース情報に関連付けられた前記頻度情報を抽出する第1抽出処理と、前記第1物理サーバとは異なる第2物理サーバに関連付けられた前記頻度情報のうち、前記第1抽出処理で抽出された前記頻度情報と最も近似する前記頻度情報を選択し、選択された前記頻度情報に関連付けられた前記リソース情報を抽出する第2抽出処理と、前記第2抽出処理で抽出された前記リソース情報を出力する出力処理と、を前記コンピュータに実行させることを特徴とするプログラムが提供される。 Furthermore, according to the present invention, a program stored in a computer-readable storage medium, each of a plurality of physical servers that can exchange a virtual server via a communication network, and on the physical server A performance information storage process for associating and storing frequency information indicating a frequency of executing a system call and resource information indicating a resource amount of the physical server used when the system call is executed at the frequency; An acquisition process for acquiring first resource information indicating a resource amount used in the first physical server when a virtual server executes an application process involving the system call on the first physical server; and the first physical server And the resource information that is most similar to the first resource information acquired in the acquisition process is selected. A first extraction process for extracting the frequency information associated with the selected resource information, and the first extraction process among the frequency information associated with a second physical server different from the first physical server. Selecting the frequency information that is most similar to the frequency information extracted in step (b), extracting the resource information associated with the selected frequency information, and extracting the resource information in the second extraction process. An output process for outputting resource information is executed by the computer.
上記発明によれば、物理サーバ上で仮想サーバがアプリケーション処理を実行するとき、リソースに与える負荷を高い精度で推測する情報処理システム、情報処理装置、情報処理方法およびプログラムが提供される。 According to the above invention, there is provided an information processing system, an information processing apparatus, an information processing method, and a program for estimating a load applied to a resource with high accuracy when a virtual server executes application processing on a physical server.
以下、本発明の実施の形態について、図面を用いて説明する。尚、すべての図面において、同様な構成要素には同様の符号を付し、適宜説明を省略する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. In all the drawings, the same reference numerals are given to the same components, and the description will be omitted as appropriate.
〔第1の実施形態〕
図1は、本発明の第1の実施形態に係る情報処理システム100の構成図である。情報処理システム100は、通信網10と、管理サーバ20(情報処理装置)と、複数の物理サーバ31〜3mと、を備える。管理サーバ20と複数の物理サーバ31〜3mとは、通信網10を介して互いに通信可能に接続されている。物理サーバ31〜3mは、通信網10を介して仮想サーバを授受することができる。また、管理サーバ20は、物理サーバ31〜3m上で仮想サーバがアプリケーション処理を実行する前に、当該アプリケーション処理によって使用されるリソース量を見積もることができる。以下、本実施形態においては、物理サーバ31でアプリケーション処理を実行した仮想サーバを、物理サーバ32上で稼動して当該アプリケーション処理を実行するときに使用されるリソース量を推測する動作について説明する。
[First Embodiment]
FIG. 1 is a configuration diagram of an
なお、通信網10は、管理サーバ20と物理サーバ31〜3mとが通信接続できるネットワークであればいずれでもよく、例えばインターネットやLANである。また、物理サーバ31〜3mの少なくとも一部は、CPU、メモリ搭載量、ネットワーク帯域、ハードディスクに関して異なるスペックであってもよい。さらに、仮想サーバは、情報処理システム100内のいずこに存在してもよい。さらに、本実施形態におけるアプリケーション処理とは、Web、メール、バックアップ等の処理を想定している。
The
管理サーバ20は、取得部21と、第1抽出部22と、第2抽出部23と、出力部24と、記憶部25と、を備える。また、記憶部25には、性能情報記憶部26が含まれている。性能情報記憶部26は、各々の物理サーバ31〜3mと、物理サーバ31〜3m上でシステムコールを実行した頻度を表す頻度情報と、当該システムコールを当該頻度で実行したときに使用された当該物理サーバ31〜3mのリソース量を表すリソース情報と、を関連付けて記憶している。なお、性能情報記憶部26は、記憶部25に含まれる記憶領域の一部であってもよいし、全部であってもよい。また、記憶部25は、以下で説明する情報以外にも、管理サーバ20内で処理される情報、プログラム、変数であれば、いずれを記憶してもよい。
The
取得部21は、仮想サーバがシステムコールを伴うアプリケーション処理を物理サーバ31上で実行したときに物理サーバ31で使用されたリソース量を示す第1リソース情報を取得する。第1抽出部22は、物理サーバ31に関連付けられ、かつ取得部21によって取得された第1リソース情報と最も近似するリソース情報を性能情報記憶部26から選択し、選択されたリソース情報に関連付けられた頻度情報を抽出する。第2抽出部23は、物理サーバ31とは異なる物理サーバ32に関連付けられた頻度情報のうち、第1抽出部22によって抽出された頻度情報と最も近似する頻度情報を性能情報記憶部26から選択し、選択された頻度情報に関連付けられたリソース情報を抽出する。出力部24は、第2抽出部23によって抽出されたリソース情報を出力する。
The
なお、ここで述べたシステムコールとは、オペレーティングシステムの機能を呼び出すことである。仮想サーバがアプリケーション処理を行うとき、物理サーバ31〜3mのハードウェアを利用するには、仮想サーバは物理サーバ31〜3mにインストールされたオペレーティングシステムに対してシステムコールを実行する必要がある。システムコールには多様な種類があり、ファイル読み書き処理を行なうシステムコール(write、pwrite、fwrite、mmap等)やネットワーク処理を行うシステムコール(socket、close等)が存在する。実行するシステムコールを複数種組み合わせることによって異なるリソース負荷を発生させることができる。また、同種のシステムコールであっても、ファイル容量を指定して実行したり、パケットサイズや通信プロトコルを指定したりすることによって、異なるリソース負荷を発生させることができる。
The system call described here is to call a function of the operating system. When the virtual server performs application processing, in order to use the hardware of the
また、ここで述べたリソース情報または第1リソース情報が表すリソース量として、本実施形態では、各々の物理サーバ31〜3mにおけるプロセッサの使用率、メモリの使用量、通信網10との通信速度、HDDの書き込み速度等を用いる。各々の物理サーバ31〜3mは、ここに挙げたリソース量を測定する手段を備えるものとする。他にも、各々の物理サーバ31〜3mが測定可能であれば、コンテキストスイッチの発生数、割り込み処理の発生数、プロセス待ち数等をリソース情報として用いてもよい。
Further, as the resource amount represented by the resource information or the first resource information described here, in this embodiment, the processor usage rate, the memory usage amount, the communication speed with the
また、ここで述べた頻度情報とは、単位時間あたりに実行されるシステムコールの実行回数とする。単位時間の大きさは固定であってもよいし、任意に変更可能であってもよい。本実施形態においては、単位時間を1秒間とする。 The frequency information described here is the number of executions of the system call executed per unit time. The size of the unit time may be fixed or may be arbitrarily changed. In the present embodiment, the unit time is 1 second.
続いて、上述した各構成要素について、より詳細に説明する。図2は、性能情報記憶部26に記憶されている情報を表す図である。当然、ここで示した表は、性能情報記憶部26に記憶されている情報の概念を示すものであり、情報を記憶する形式はこれに限られない。
Subsequently, each component described above will be described in more detail. FIG. 2 is a diagram illustrating information stored in the performance
図2に示す通り、性能情報記憶部26は、単一の種別情報と、種別情報に対応する頻度情報と、複数種のリソース情報の集合(リソース集合)と、各々の物理サーバ31〜3mとを関連付けて記憶し、それぞれに識別番号を付している。例えば、No.1には、種別情報:システムコールA、頻度情報:10(回/s)、CPU使用率:30(%)、メモリ使用量:512(MB)、HDDの書き込み速度:50(KB/s)、通信速度30(Kbps)が関連付けられている。また、性能情報記憶部26は、複数種の種別情報の集合(種別集合)と、種別集合に含まれる種別情報の夫々に対応する頻度情報の集合(頻度集合)と、複数種のリソース情報の集合(リソース集合)と、各々の物理サーバ31〜3mとを関連付けて記憶し、それぞれに識別番号を付している。例えば、No.16には、種別情報:システムコールAとシステムコールB、頻度情報:10(回/s)と1(回/s)、CPU使用率:35(%)、メモリ使用量:512(MB)、HDDの書き込み速度:60(KB/s)、通信速度10(Kbps)が関連付けられている。なお、No.16においてシステムコールAと対応する頻度情報は10(回/s)であり、システムコールBと対応する頻度情報は1(回/s)である。No.91には、種別情報:システムコールAとシステムコールBとシステムコールC、頻度情報:10(回/s)と1(回/s)と2(回/s)、CPU使用率:50(%)、メモリ使用量:512(MB)、HDDの書き込み速度:80(KB/s)、通信速度0(Kbps)が関連付けられている。なお、No.91においてシステムコールAと対応する頻度情報は10(回/s)であり、システムコールBと対応する頻度情報は1(回/s)であり、システムコールCと対応する頻度情報は2(回/s)である。
As shown in FIG. 2, the performance
取得部21は、複数種の第1リソース情報の集合である第1リソース集合を物理サーバ31から取得する。例えば、取得部21は、第1リソース集合として、CPU使用率:40(%)、メモリ使用量:512(MB)、HDDの書き込み速度:50(KB/s)、通信速度10(Kbps)を取得する。
The
なお、本実施形態において、取得部21が第1リソース集合を取得するタイミングは、所定の時刻になった時であってもよいし、管理サーバ20の運用者が操作入力した指令を受け付けた時であってもよいし、他の条件をトリガとしてもよい。
In the present embodiment, the timing at which the
また、本実施形態において、取得部21は物理サーバ31から第1リソース集合を取得しているが、取得先はこれに限らなくてもよい。例えば、管理サーバ20が物理サーバ31から第1リソース集合(第1リソース情報)を予め受信しているのであれば、記憶部25が当該第1リソース集合を記憶しておき、取得部21は記憶部25から当該第1リソース集合を取得してもよい。あるいは、物理サーバ31で使用されたリソース量を、図1に図示されない他の装置が測定可能であって第1リソース集合(第1リソース情報)を保存しているのであれば、取得部21は当該装置から当該第1リソース集合を取得してもよい。
In the present embodiment, the
第1抽出部22は、物理サーバ31に関連付けられたリソース情報のうち、取得部21によって取得された第1リソース情報との乖離度が最小であるリソース情報を性能情報記憶部26から選択し、選択されたリソース情報に関連付けられた頻度情報を抽出する。より詳細には、第1抽出部22は、物理サーバ31に関連付けられ、かつ取得部21によって取得された第1リソース集合と同種のリソース情報であるリソース集合の各々と、第1リソース集合とを比較し、互いの乖離度を夫々算出する。そして、第1抽出部22は、算出された当該乖離度が最小となるリソース集合を選択し、選択されたリソース集合に関連付けられた種別集合と頻度集合を抽出する。なお、ここで同種のリソース情報と比較するとは、リソース集合に含まれるCPU使用率同士を比較したり、メモリ使用量同士を比較したりすることを意味している。また、ここで乖離度とは、比較したリソース情報同士の差分を無次元化して得られる値の二乗をリソースの種別ごとに求め、それを合算した値である。本実施形態では、無次元化して得られる値の二乗の総和とするが、無次元化して得られる値の絶対値の総和であってもよい。
The
第1抽出部22が、上記乖離度を求める算出式は、以下の式(1)で表せる。
ただし、式(1)における各記号の意味は、以下の通りである。
n:リソース情報の種類の数
(Up1、・・・Upn):算出対象となるリソース集合
(Ut1、・・・Utn):第1リソース集合
(Umax1、・・・Umaxn):単位時間で使用されるリソース量の最大値の集合
Vu:算出対象のリソース集合と第1リソース集合との乖離度
However, the meaning of each symbol in Formula (1) is as follows.
n: Number of types of resource information (Up 1 ,... Up n ): Resource set to be calculated (Ut 1 ,... Ut n ): First resource set (Umax 1 ,... Umax n ) : A set of maximum values of resource amount used per unit time Vu: Degree of divergence between the resource set to be calculated and the first resource set
なお、単位時間で使用されるリソース量の最大値については、性能情報記憶部26に記憶されているリソース情報の中での最大値であってもよいし、予め各々の物理サーバ31〜3mで実測して定められた最大値であってもよいし、運用者によって設定された最大値であってもよい。ただし、運用者が設定した最大値である場合、各々の物理サーバ31〜3mにおいて、設定された最大値以上のリソース量が単位時間で使用できないように制限されている必要がある。
Note that the maximum value of the resource amount used per unit time may be the maximum value among the resource information stored in the performance
第2抽出部23は、物理サーバ32に関連付けられた頻度情報のうち、第1抽出部22によって抽出された頻度情報との乖離度が最小である頻度情報を性能情報記憶部26から選択し、選択された頻度情報に関連付けられたリソース情報を抽出する。より詳細には、第2抽出部23は、第1抽出部22によって抽出された種別集合と合致し、かつ物理サーバ32に関連付けられた種別集合を少なくとも一組選択し、選択された種別集合に関連付けられた頻度集合の各々と、第1抽出部22によって抽出された頻度集合とを比較し、互い乖離度を夫々算出し、当該乖離度が最小となる頻度集合を選択し、選択された頻度集合に関連付けられたリソース集合(リソース情報)を抽出する。ここで合致するとは、例えば、比較される種別集合の各々に含まれる種別情報の全部が互いに一致することであってもよいし、一部が互いに一致することであってもよい。また、ここで乖離度とは、比較した頻度情報同士の差分を無次元化して得られる値の二乗をシステムコールの種別ごとに求め、それを合算した値である。本実施形態では、無次元化して得られる値の二乗の総和とするが、無次元化して得られる値の絶対値の総和であってもよい。
The
第2抽出部23が、上記乖離度を求める算出式は、以下の式(2)で表せる。
ただし、式(2)における各記号の意味は、以下の通りである。
n:システムコールの種類の数
(Ep1、・・・Epn):算出対象となる頻度集合
(Et1、・・・Etn):第1抽出部22によって抽出された頻度集合
(Emax1、・・・Emaxn):単位時間で実行されるシステムコールの実行頻度の最大値の集合
Ve:算出対象のリソース集合と第1リソース集合との乖離度
However, the meaning of each symbol in Formula (2) is as follows.
n: number of types of system calls (Ep 1 ,... Ep n ): frequency set to be calculated (Et 1 ,... Et n ): frequency set (Emax 1 ) extracted by the
なお、単位時間で実行されるシステムコールの実行頻度の最大値については、性能情報記憶部26に記憶されている頻度情報の中での最大値であってもよいし、予め各々の物理サーバ31〜3mで実測して定められた最大値であってもよいし、運用者によって設定された最大値であってもよい。ただし、運用者が設定した最大値である場合、各々の物理サーバ31〜3mにおいて、各々のシステムコールを、設定された最大値以上の頻度で実行することができないように制限されている必要がある。
Note that the maximum value of the frequency of system calls executed in unit time may be the maximum value in the frequency information stored in the performance
出力部24は、仮想サーバがアプリケーション処理を物理サーバ32上で実行するときに物理サーバ32で使用されるリソース量の推測値として、第2抽出部23によって抽出されたリソース集合(リソース情報)を出力する。出力部24によって出力されたリソース集合によって示されるリソース量が、アプリケーション処理によって使用される物理サーバ32のリソース量の推測値となる。出力部24が出力するリソース情報の出力先やその形式は特に制限されるものではない。例えば、出力部24は、管理サーバ20に含まれる他の構成要素にリソース情報を出力してもよく、管理サーバ20とは異なる装置にリソース情報を出力してもよい。また、出力部24は、プロセッサによって可読なデータ形式でリソース情報を出力してもよく、運用者が認識可能にリソース情報を表示出力してもよく、印字出力してもよい。
The
なお、管理サーバ20に含まれる構成要素の全部または一部は、ハードウェアで実現されてもよいし、あるいは、管理サーバ20が備えるプロセッサ(図示せず)に処理を実行させるプログラム(またはプログラムコード)で実現されてもよい。
All or some of the components included in the
管理サーバ20に含まれる構成要素がプログラムによって実施される場合、当該プログラムはプロセッサ(コンピュータ)が読み出し可能な不揮発性メモリなどの記憶媒体に格納される。そして、当該プログラムは、通信網10を介して仮想サーバを授受することができる複数の物理サーバ31〜3mの各々と、物理サーバ31〜3m上でシステムコールを実行した頻度を表す頻度情報と、当該システムコールを当該頻度で実行したときに使用された当該物理サーバ31〜3mのリソース量を表すリソース情報と、を関連付けて記憶する性能情報記憶処理を、プロセッサに実行させる。また、当該プログラムは、仮想サーバがシステムコールを伴うアプリケーション処理を物理サーバ31上で実行したときに物理サーバ31で使用されたリソース量を示す第1リソース情報を取得する取得処理を、プロセッサに実行させる。また、当該プログラムは、物理サーバ31に関連付けられ、かつ取得処理で取得された第1リソース情報と最も近似するリソース情報を選択し、選択されたリソース情報に関連付けられた頻度情報を抽出する第1抽出処理を、プロセッサに実行させる。また、当該プログラムは、物理サーバ31とは異なる物理サーバ32に関連付けられた頻度情報のうち、第1抽出処理で抽出された頻度情報と最も近似する頻度情報を選択し、選択された頻度情報に関連付けられたリソース情報を抽出する第2抽出処理を、プロセッサに実行させる。また、当該プログラムは、第2抽出処理で抽出されたリソース情報を出力する出力処理を、プロセッサに実行させる。
When the components included in the
図3は、本実施形態の管理サーバ20の動作を表すフローチャートである。まず、管理サーバ20は、通信網10を介して仮想サーバを授受することができる複数の物理サーバ31〜3mの各々と、物理サーバ31〜3m上でシステムコールを実行した頻度を表す頻度情報と、当該システムコールを当該頻度で実行したときに使用された当該物理サーバ31〜3mのリソース量を表すリソース情報と、を関連付けて記憶する(ステップS1)。続いて、管理サーバ20は、仮想サーバがシステムコールを伴うアプリケーション処理を物理サーバ31上で実行したときに物理サーバ31で使用されたリソース量を示す第1リソース情報を取得する(ステップS2)。そして、管理サーバ20は、物理サーバ31に関連付けられ、かつステップS2で取得された第1リソース情報と最も近似するリソース情報を選択し、選択されたリソース情報に関連付けられた頻度情報を抽出する(ステップS3)。また、管理サーバ20は、物理サーバ31とは異なる物理サーバ32に関連付けられた頻度情報のうち、ステップS3で抽出された頻度情報と最も近似する頻度情報を選択し、選択された頻度情報に関連付けられたリソース情報を抽出する(ステップS4)。さらに、管理サーバ20は、仮想サーバがアプリケーション処理を物理サーバ32上で実行するときに物理サーバ32で使用されるリソース量の推測値として、ステップS4で抽出されたリソース情報を出力する(ステップS5)。
FIG. 3 is a flowchart showing the operation of the
ここで、本実施形態の効果について説明する。本実施形態は、仮想サーバによるアプリケーション処理によって使用される物理サーバのリソース量を推測するため、当該アプリケーション処理に伴うシステムコールに着目したことを特徴とする。仮想サーバが物理サーバ上のハードウェア資源を利用する際にはシステムコールが実行される。従って、システムコールの種別と頻度と、そのときに物理サーバで使用されているリソース量との関係性を、可能な限り網羅して予め記憶しているのであれば、非常に高い精度で当該アプリケーションに伴うシステムコールの種別と頻度とを推測することができる。また、測定対象となる物理サーバの各々について、上記関係性を予め記憶しているのであれば、推定したシステムコールの種別と頻度とに基づいて、他の物理サーバで同様のアプリケーション処理を実行したときに与えるリソースへの負荷も非常に高い精度で推測することができる。なお、本実施形態の手法を用いる場合、より多くのシステムコールの種別、より多様なシステムコールの実行頻度を予め記憶しておくことで、より推測の精度が向上する。 Here, the effect of this embodiment will be described. The present embodiment is characterized by paying attention to a system call accompanying the application process in order to estimate the resource amount of the physical server used by the application process by the virtual server. When the virtual server uses hardware resources on the physical server, a system call is executed. Therefore, if the relationship between the type and frequency of system calls and the amount of resources used in the physical server at that time is covered in advance as much as possible, the application can be recorded with very high accuracy. It is possible to infer the type and frequency of the system call associated with. In addition, if the above relationships are stored in advance for each physical server to be measured, similar application processing is executed on other physical servers based on the estimated type and frequency of the system call. Sometimes the load on resources can be estimated with very high accuracy. Note that, when the method of the present embodiment is used, the accuracy of estimation is further improved by storing in advance more system call types and more various system call execution frequencies.
また、本実施形態において、物理サーバ32で使用されるリソース量の推測値として出力されるリソース情報(リソース集合)は、複数種のリソース量を示す。従って、結果的に単一種のリソース量のみが求められる方法より、得られる情報量が多く、汎用的に利用可能である。
In the present embodiment, the resource information (resource set) output as an estimated value of the resource amount used in the
〔第2の実施形態〕
図4は、本発明の第2の実施形態に係る情報処理システム200の構成図である。通信網10には、管理サーバ40と、物理サーバ31〜3mと、管理クライアント50とが接続される。本実施形態の通信網10と物理サーバ31〜3mとは、第1の実施形態の通信網10と物理サーバ31〜3mと同等のものとする。また、本実施形態には業務用仮想サーバおよび計測用仮想サーバの二種類が登場する。業務用仮想サーバは、物理サーバ上でアプリケーション処理を実行することができ、第1の実施形態の仮想サーバと同等のものとする。計測用仮想サーバは、性能特性取得指示部41からの指令に従って、複数通りの頻度でシステムコールを実行し、システムコールを実行したときに物理サーバ上で使用されるリソース量を計測することができる。そして、計測用仮想サーバは、システムコールを実行した頻度を頻度情報とし、また計測されたリソース量をリソース情報とし、さらに頻度情報とリソース情報とを性能情報記憶部46に送出することができる。計測用仮想サーバの動作の詳細については、後述する。
[Second Embodiment]
FIG. 4 is a configuration diagram of an
管理サーバ40では、性能特性取得指示部41、仮想サーバ稼動部42、性能情報計算部43、記憶部44を備える。また、記憶部44は、仮想サーバイメージ記憶部45、性能情報記憶部46、時系列性能情報記憶部47、負荷情報記憶部48を含んでいる。なお、仮想サーバイメージ記憶部45、性能情報記憶部46、時系列性能情報記憶部47、負荷情報記憶部48は、記憶部44に含まれる記憶領域の一部である。また、記憶部44は、以下で説明する情報以外にも、管理サーバ40内で処理される情報、プログラム、変数等を記憶してもよい。
The
仮想サーバイメージ記憶部45には、計測用仮想サーバのイメージと業務用仮想サーバのイメージとが登録されている。仮想サーバ稼動部42は各々の物理サーバ31〜3m上で計測用仮想サーバを稼動させる。より詳細には、仮想サーバ稼動部42は、仮想サーバイメージ記憶部45に登録されている計測用仮想サーバのイメージを各々の物理サーバ31〜3m上にコピーし、コピーされた計測用仮想サーバを起動するように指示する。なお、仮想サーバ稼動部42は、単一の物理サーバ上で複数の計測用仮想サーバを稼動させてもよい。
In the virtual server
そして、仮想サーバ稼動部42は、各々の物理サーバ31〜3m上で業務用仮想サーバを稼動させる。より詳細には、仮想サーバ稼動部42は、仮想サーバイメージ記憶部45に登録されている業務用仮想サーバのイメージを物理サーバ31〜3m上にコピーし、コピーされた業務用仮想サーバを起動するように指示する。なお、仮想サーバ稼動部42は、単一の物理サーバ上で複数の業務用仮想サーバを稼動してもよい。また、業務用仮想サーバはクライアント処理もしくはジョブをスケジュール化された処理により、負荷を発生し、物理サーバのリソースを消費しているものとする。
Then, the virtual
物理サーバ31〜3mは、自機全体のリソース使用量、自機上で起動中の計測用仮想サーバのリソース使用量、自機上で起動中の業務用仮想サーバのリソース使用量の少なくとも一つを定期的に取得する。
The
管理クライアント50は運用者が操作する端末である。図4では図示しないが、管理クライアント50は、運用者が操作入力可能なキーボードやポインタ等を備えてもよい。また管理クライアント50は、自機内で処理する情報等を、運用者が認知可能なように表示出力したり、印字出力したりする機能を備えてもよい。
The
以下の説明において、仮想サーバ稼動部42は、仮想サーバイメージ記憶部45から物理サーバ31〜3mの夫々に少なくとも一つの計測用仮想サーバを既に稼動させており、計測用仮想サーバは管理サーバ40からの指示を受けてシステムコールを実行することができることを前提として説明する。また、仮想サーバ稼動部42は、仮想サーバイメージ記憶部45から物理サーバ31に業務用仮想サーバを既に稼動させており、業務用仮想サーバは物理サーバ31上でアプリケーション処理を実行した後であることを前提として説明する。なお、計測用仮想サーバが待機中であるとき、物理サーバ上のリソースに影響する程の負荷を発生しないものとする。
In the following description, the virtual
図5は、本実施形態の性能特性取得指示部41の動作を表すフローチャートである。まず、性能特性取得指示部41は、管理クライアント50から性能特性取得指示を受信する(ステップA1)。性能特性取得指示部41は、ステップA1で受信した性能特性指示に則った指令を、物理サーバ31〜3m上の計測用仮想サーバの夫々に対して送信する(ステップA2)。ここで、性能特性取得指示とは、具体的には、どの種別のシステムコールを計測用仮想サーバに実行させるか、または何通りの頻度でシステムコールを計測用仮想サーバに実行させるか(サンプリングポイント数)等を、運用者が設定した情報である。
FIG. 5 is a flowchart showing the operation of the performance characteristic
さらに、性能特性取得指示部41は、物理サーバ31〜3mが定期的に取得しているリソース使用量を、自機上の計測用仮想サーバへ定期的に出力する指示を、物理サーバ31〜3mに対して行う(ステップA3)。そして、性能特性取得指示部41は、ステップA2で送信した指令に対する応答として、各々の計測用仮想サーバから計測結果を受信し、受信した計測結果を性能情報記憶部46と負荷情報記憶部48に記憶する(ステップA4)。そして、性能特性取得指示部41は、ステップA4で受信した計測結果の送信元の物理サーバに対して、自機上の計測用仮想サーバへのリソース使用量の出力を停止する指示を行う(ステップA5)。物理サーバ31〜3mの全部の計測結果を性能情報記憶部46に記憶したのであれば(ステップA6のYES)、性能特性取得指示部41の動作は終了である。また、物理サーバ31〜3mの一部の計測結果を、まだ性能情報記憶部46に記憶していないのであれば(ステップA6のNO)、ステップA4とステップA5の処理を再び繰り返す。
Further, the performance characteristic
なお、ステップA3の指示に従って、物理サーバ31〜3mから計測用仮想サーバに出力されたリソース使用量は、その都度、計測用仮想サーバに記憶されるものとする。また、ステップA4で受信する計測結果は、後述するステップB13で送信される計測結果であって、性能情報記憶部46には、ステップB11で関連付けて記憶したシステムコールの種別と実行回数とリソース使用量の平均値とが記憶される。そして、負荷情報記憶部48には、ステップB4で関連付けて記憶したシステムコールの種別と実行回数とリソース使用量とが記憶される。
The resource usage output from the
図6は、本実施形態の計測用仮想サーバの動作を表すフローチャートである。計測用仮想サーバは、性能特性取得指示部41から性能特性指示に則った指令(ステップA2で送信される指令)を受信して記憶する(ステップB1)。次に、計測用仮想サーバは、ステップB1で記憶した性能特性指示の内容を読み込む(ステップB2)。そして、計測用仮想サーバは、性能特性指示で指定された種別のシステムコールを1個ずつ呼び出し続ける(ステップB3)。そして、計測用仮想サーバは、単位時間で発生可能なシステムコールの実行回数を計測し、さらに物理サーバから入力されたリソース使用量の最新値と、計測された実行回数と、当該システムコールの種別とを関連付けて記憶する(ステップB4)。性能特性指示で指定される種別のシステムコールを、全種類呼び出していないのであれば(ステップB5のNO)、ステップB3とステップB4の処理を再び繰り返す。なお、ステップB3〜ステップB5までの処理を「事前計測」と呼ぶ。 FIG. 6 is a flowchart showing the operation of the measurement virtual server of this embodiment. The measurement virtual server receives and stores a command (command transmitted in step A2) in accordance with the performance characteristic instruction from the performance characteristic acquisition instruction unit 41 (step B1). Next, the measurement virtual server reads the contents of the performance characteristic instruction stored in step B1 (step B2). Then, the measurement virtual server keeps calling system calls of the type specified by the performance characteristic instruction one by one (step B3). Then, the measurement virtual server measures the number of executions of the system call that can be generated per unit time, and further, the latest value of the resource usage input from the physical server, the measured number of executions, and the type of the system call Are stored in association with each other (step B4). If all types of system calls designated by the performance characteristic instruction have not been called (NO in step B5), the processing in step B3 and step B4 is repeated again. The process from step B3 to step B5 is referred to as “prior measurement”.
性能特性指示で指定される種別のシステムコールを、全種類呼び出したのであれば(ステップB5のYES)、計測用仮想サーバは、ステップB4で記憶されたシステムコールの実行回数を、性能特性指示で指定されたサンプリングポイント数で割って得られる値を基準実行回数として記憶し、基準実行回数を整数倍した値をサンプリングポイント数が表す個数だけ求める(ステップB6)。そして、計測用仮想サーバは、性能特性指示で指定されたシステムコールの全部の種別と、ステップB6で求めた基準実行回数を整数倍した値の全部とを組み合わせて、取り得る全ての計測パターンを求める(ステップB7)。 If all types of system calls of the type specified in the performance characteristic instruction have been called (YES in step B5), the measurement virtual server determines the number of executions of the system call stored in step B4 in the performance characteristic instruction. A value obtained by dividing by the designated sampling point number is stored as a reference execution number, and a value obtained by multiplying the reference execution number by an integer is obtained by the number represented by the sampling point number (step B6). Then, the measurement virtual server combines all the types of system calls designated by the performance characteristic instruction with all the values obtained by multiplying the reference execution number obtained in step B6 by an integer, and obtains all possible measurement patterns. Obtain (step B7).
性能特性指示で指定されたシステムコールが、システムコールA、システムコールB、システムコールCの三種類であって、性能特性指示で指定されたサンプリングポイント数が5である場合、ステップB7で求められる計測パターンの総数は次のようになる。まず、一種類のシステムコールを実行させる計測パターンは、15通り(=システムコールの組み合わせ:3通り×実行回数の組み合わせ:5通り)存在する。また、二種類のシステムコールを実行させる計測パターンは75通り(=システムコールの組み合わせ:3通り×実行回数の組み合わせ:52通り)存在する。さらに、三種類のシステムコールを実行させる計測パターンは125通り(=システムコールの組み合わせ:1通り×実行回数の組み合わせ:53通り)存在する。従って、上記のような条件であれば、計測パターンは最大で15+75+125=215通りとなる。 If there are three types of system calls designated by the performance characteristic instruction, that is, system call A, system call B, and system call C, and the number of sampling points designated by the performance characteristic instruction is 5, it is obtained in step B7. The total number of measurement patterns is as follows. First, there are 15 measurement patterns (= combinations of system calls: 3 combinations x combinations of execution times: 5 patterns) for executing one type of system call. Also, two types of measurement pattern to execute a system call types 75 (= a combination of system calls: a combination of three types × execution count: 5 2 types) exist. Furthermore, three types of system calls the measurement pattern for the run ways 125 (= combination of system calls: 1 patterns × number of executions combination: 5 triplicate) exists. Therefore, under the above conditions, the maximum number of measurement patterns is 15 + 75 + 125 = 215.
計測用仮想サーバは、ステップB7で求められた計測パターンを順次実行し、システムコールの呼び出しを行う(ステップB8)。そして、計測用仮想サーバは、計測パターンを実行中に、いずれかリソース使用量が最大値となっているかチェックを行う。最大値となっていた場合(ステップB9のYES)、ステップB8に移行して、計測用仮想サーバは新たな計測パターンを実行する。最大値となっていない場合(ステップB9のNO)、計測用仮想サーバは現在実行中の計測パターンを継続して実行する。なお、ステップB9における最大値とは、ステップB4で記憶したリソース使用量の中での最大値であってもよいし、運用者によって設定された最大値であってもよい。ただし、運用者が設定した最大値である場合、物理サーバにおいて、設定された最大値以上のリソース量が単位時間で使用できないように制限されている必要がある。 The measurement virtual server sequentially executes the measurement pattern obtained in step B7 and calls a system call (step B8). Then, the measurement virtual server checks whether any resource usage amount is the maximum value during execution of the measurement pattern. When it is the maximum value (YES in step B9), the process proceeds to step B8, and the measurement virtual server executes a new measurement pattern. If the maximum value is not reached (NO in step B9), the measurement virtual server continues to execute the measurement pattern currently being executed. The maximum value in step B9 may be the maximum value in the resource usage stored in step B4, or may be the maximum value set by the operator. However, if the maximum value is set by the operator, the physical server must be restricted so that a resource amount equal to or greater than the set maximum value cannot be used in unit time.
また、計測用仮想サーバは、ステップB8で新たな計測パターンに従ってシステムコールを呼び出してから、リソース使用量を記憶した回数を確認する。計測用仮想サーバは、確認した回数が所定の回数に到達するまで(ステップB10のNO)は待機状態であり、ステップB9のチェックを繰り返す。そして、計測用仮想サーバは、確認した回数が所定の回数に達したら(ステップB10のYES)、最新のリソース使用量と、その前のリソース使用量との平均値を求める(ステップB11)。なお、ステップB10における所定の回数とは、計測用仮想サーバにデフォルトで定められた固定値であってもよいし、運用者によって任意に変更可能な値であってもよい。また、ステップB11で平均を取るリソース使用量の個数は限定しない。 In addition, the measurement virtual server calls the system call according to the new measurement pattern in step B8, and then confirms the number of times the resource usage is stored. The measurement virtual server is in a standby state until the number of confirmed times reaches a predetermined number (NO in Step B10), and repeats the check in Step B9. Then, when the number of confirmed times reaches the predetermined number (YES in step B10), the measurement virtual server obtains an average value of the latest resource usage and the previous resource usage (step B11). The predetermined number of times in step B10 may be a fixed value determined by default in the measurement virtual server, or may be a value that can be arbitrarily changed by the operator. Further, the number of resource usages that are averaged in step B11 is not limited.
計測用仮想サーバは、ステップB8で実行したシステムコールの種別と、実行回数と、ステップB11で求めたリソース使用量の平均値とを関連付けて記憶する(ステップB12)。ステップB7で求めた計測パターンを全て実行していないのであれば(ステップB13のNO)、計測用仮想サーバは、ステップB8〜ステップB12の処理を繰り返し実行する。なお、ステップB8〜ステップB12までの処理を「組合せ計測」と呼ぶ。また、「組合せ計測」によって計測された計測結果によって、第1実施形態の図2で示したような、複数通りの頻度で、かつ複数種のシステムコールを組み合わせて実行したとき、物理サーバ上で使用されるリソース量を得ることができる。 The measurement virtual server associates and stores the type of the system call executed in step B8, the number of executions, and the average value of the resource usage obtained in step B11 (step B12). If all the measurement patterns obtained in step B7 have not been executed (NO in step B13), the measurement virtual server repeatedly executes the processes in steps B8 to B12. The process from step B8 to step B12 is referred to as “combination measurement”. In addition, when the measurement result measured by “combination measurement” is executed in combination with a plurality of types of system calls at a plurality of frequencies as shown in FIG. 2 of the first embodiment, on the physical server. The amount of resources used can be obtained.
また、ステップB7で求めた計測パターンを全て実行したのであれば(ステップB13のYES)、計測用仮想サーバは、ステップB4で関連付けて記憶したシステムコールの種別と実行回数とリソース使用量と、ステップB12で関連付けて記憶したシステムコールの種別と実行回数とリソース使用量の平均値と、を計測結果として管理サーバ40に対して送信する(ステップB14)。 If all the measurement patterns obtained in step B7 have been executed (YES in step B13), the measurement virtual server stores the type of system call, the number of executions, the resource usage, and the step stored in association with step B4. The type of system call, the number of executions, and the average value of the resource usage stored in association with B12 are transmitted as measurement results to the management server 40 (step B14).
図7は、本実施形態の性能情報計算部43の動作を表すフローチャートである。まず、性能情報計算部43は、管理クライアント50から負荷再現検証指示を受信する(ステップC1)。性能情報計算部43は、性能情報記憶部46に存在する物理サーバ31上で計測したシステムコールの実行回数とリソース使用量のペアから成る複数の情報より、そのリソース使用量を抽出する指示を行なう。さらに性能情報計算部43に対して、負荷情報記憶部48に記憶された物理サーバ31で稼動していた業務用仮想サーバのリソース使用量の抽出を行なう指示を行なう。そして、性能情報計算部43は、それらのリソース使用量との乖離度を算出する。性能情報計算部43は、上記で算出された乖離度と比較し、時系列性能情報記憶部47に乖離度が一番小さいものを格納させる。この条件により、物理サーバ31上で業務用仮想サーバのリソース使用量を出力するために一番近いシステムコールの実行回数の推定値を抽出することができる(ステップC2)。ステップC2で算出される乖離度は、第1の実施形態で説明した式(1)を用いて算出される。すなわち、性能情報計算部43は、第1の実施形態で説明した第1抽出部22と同等の処理を行う。
FIG. 7 is a flowchart showing the operation of the performance
性能情報計算部43は、性能情報記憶部46に存在する物理サーバ32上で計測したシステムコールの実行回数とリソース使用量のペアから成る複数の情報より、その実行回数と、ステップC2で抽出した実行回数の乖離度を算出する。性能情報計算部43は、上記で算出された乖離度と比較し、時系列性能情報記憶部47に乖離度が一番小さいものを格納させる。この条件により、物理サーバ32上でのリソース使用量の推定値を抽出することができる(ステップC3)。ステップC3で算出される乖離度は、第1の実施形態で説明した式(2)を用いて算出される。すなわち、性能情報計算部43は、第1の実施形態で説明した第2抽出部23と同等の処理を行う。
The performance
性能情報計算部43は、物理サーバ32上の計測用仮想サーバに対して、時系列性能情報記憶部47の時系列ごとの各システムコールの実行回数のデータを送信する。すなわち、性能情報計算部43は、第1の実施形態で説明した出力部24と同等の処理を行う。当該計測用仮想サーバは、受け付けた頻度情報が示す頻度でシステムコールを実行し、当該システムコールを実行したときに物理サーバ32上で使用されるリソース量を計測し、計測されたリソース量(第2リソース情報)を性能情報計算部43に応答する(ステップC4)。
The performance
性能情報計算部43は、ステップC3で抽出された物理サーバ32上の業務用仮想サーバのリソース使用量の推定値と、ステップC4で応答されたリソース使用量との乖離度を算出する(ステップC5)。ステップC5で算出される乖離度は、第1の実施形態で説明した式(1)を用いて算出される。なお、ステップC5の算出結果を管理クライアント50に送信し、管理クライアント50が算出結果を表示出力する等して運用者に通知すれば、運用者はこれらの見積もりが正しいかどうかの整合性を確認することができる。
The performance
ステップC5の結果、ステップC3で抽出された物理サーバ32上でのリソース使用量の推定値の整合性が確認され、さらに当該リソース使用量の推定値が物理サーバ32の各リソース使用量の最大値に達していない場合には(ステップC6のNO)、仮想サーバ稼動部42は、物理サーバ31上に存在した業務用仮想サーバを物理サーバ32で稼動させる(ステップC7)。また、各リソース使用量のいずれかが最大値に達している場合には(ステップC6のYES)、この時点で終了する。
As a result of step C5, the consistency of the estimated value of the resource usage on the
性能情報計算部43は、ステップC3で抽出された物理サーバ32上の業務用仮想サーバのリソース使用量の推定値と、物理サーバ32上で実際に業務用仮想サーバがアプリケーション処理を実行したときのリソース使用量との乖離度を算出する(ステップC8)。ステップC8で算出される乖離度は、第1の実施形態で説明した式(1)を用いて算出される。なお、ステップC8の算出結果を管理クライアント50に送信し、管理クライアント50が算出結果を表示出力する等して運用者に通知すれば、運用者はこれらの見積もりが正しいかどうかの整合性を確認することができる。
The performance
ここで、本実施形態の効果について説明する。本実施形態は、各々の物理サーバ31〜3mで稼動させた計測用仮想サーバを利用して、リソース使用量の推測に必要な情報(性能情報記憶部43に記憶する情報)を収集することができる。
Here, the effect of this embodiment will be described. In the present embodiment, information necessary for estimating resource usage (information stored in the performance information storage unit 43) can be collected using the measurement virtual servers operated on the
また、本実施形態は、求められたリソース使用量の推測値が最大値に達していないときに、業務用仮想サーバを稼動させるので、業務用仮想サーバは物理サーバで確実にアプリケーション処理を実行することができる。さらに、本実施形態では、求められたリソース使用量の推測値の整合性を検証するので、リソース使用量の最大値に達しない物理サーバを選択し、当該物理サーバ上で業務用仮想サーバを稼動させることができる。従って、業務用仮想サーバは当該物理サーバ上でより確実にアプリケーション処理を実行することができる。 Also, in this embodiment, the business virtual server is operated when the estimated value of the obtained resource usage does not reach the maximum value, so the business virtual server reliably executes application processing on the physical server be able to. Furthermore, in this embodiment, since the consistency of the estimated value of the resource usage obtained is verified, a physical server that does not reach the maximum value of the resource usage is selected, and the business virtual server is operated on the physical server. Can be made. Therefore, the business virtual server can more reliably execute application processing on the physical server.
〔第3の実施形態〕
第3の実施形態は、第2の実施形態の情報処理システム200と同等の構成である。ただし、物理サーバ31上では、第1計測用サーバと第2計測用サーバとが稼動しているものとする。また、管理サーバ40と、物理サーバ31〜3m上の計測用管理サーバの動作については、図5および図6を用いて説明した動作と同様であるので、ここでの詳細な説明は割愛する。
[Third Embodiment]
The third embodiment has a configuration equivalent to the
図8は、本実施形態の性能情報計算部43の動作を表すフローチャートである。性能情報計算部43は、管理クライアント50から、負荷情報記憶部48に記憶された物理サーバ31の空き資源検証指示を受け付ける(ステップE1)。ここで、物理サーバ31で稼動していた業務用仮想サーバのリソース使用量は負荷情報記憶部48に記憶されているものとする。
FIG. 8 is a flowchart showing the operation of the performance
性能情報計算部43は、性能情報記憶部46に存在する物理サーバ31上で計測したシステムコールの実行回数とリソース使用量のペアから成る複数の情報より、そのリソース使用量を抽出する指示を行なう。さらに、性能情報計算部43は、各リソースに関して物理サーバ31の最大リソース使用量から、負荷情報記憶部48に記憶された物理サーバ31で稼動していた業務用仮想サーバのリソース使用量を引いたリソース使用量を抽出する指示を行なう。そして、性能情報計算部43は、それらのリソース使用量との乖離度を算出する。性能情報計算部43は、上記で算出された乖離度と比較し、乖離度が一番小さいものを時系列性能情報記憶部47に格納させる。そして、この条件により、物理サーバ31上で空キャパシティ分のリソース使用量を出力するために一番近い実行回数の推定値を抽出する(ステップE2)。なお、ステップE2で算出される乖離度は、第1の実施形態で説明した式(1)を用いて算出される。
The performance
性能情報計算部43は、物理サーバ31上の第1計測用仮想サーバに対して、時系列性能情報記憶部47の時系列ごとの業務用仮想サーバのシステムコールの実行回数の推定値データを送信する。さらに、性能情報計算部43は、物理サーバ31上の第2計測用仮想サーバに対して、時系列性能情報記憶部47の時系列ごとの空キャパシティ分のシステムコールの実行回数の推定値データを送信する(ステップE3)。ステップE3で送信されたシステムコールの実行回数の推定値データに基づいて、第1計測用仮想サーバと第2計測用仮想サーバは負荷を発生させ、そのリソース使用量を測定する。測定されたリソース使用量は管理サーバ40に送出され、負荷情報記憶部48に記憶される。
The performance
性能情報計算部43は、時系列性能情報記憶部47に記憶された実際の物理サーバ31の空きリソース使用量と、負荷情報記憶部48に記憶された第2計測用仮想サーバのリソース使用量から算出した空きリソース使用量の推定値との乖離度を算出する(ステップE4)。ステップE4で算出される乖離度は、第1の実施形態で説明した式(1)を用いて算出される。なお、ステップE4の算出結果を管理クライアント50に送信し、管理クライアント50が算出結果を表示出力する等して運用者に通知すれば、運用者はこれらの見積もりが正しいかどうかの整合性を確認することができる。
The performance
ここで、本実施形態の効果について説明する。「事前計測」と「組み合わせ計測」を実行することにより、リソース使用量とシステムコールの実行回数の対応関係が判明する。アプリケーション内のシステムコールの実行処理を想定し、計測プログラム上でシステムコールの実行を行うことによって、発生する負荷のパターンを網羅するようにこの処理を行っている。この処理により、計測したデータの中に業務用仮想サーバ以外に利用可能な空きリソースと同等に近いリソース使用量を示すパターンがあるため、この中から該当するものを抽出し、実行回数に変換する。変換した実行回数でそれぞれのサーバ上で空きリソースを比較できる。このことから従来の方式では考慮されていなかった様々なレイヤーでのシステムコール間のオーバーヘッド等を含んで負荷を見積もることによって、よりアプリケーションが発生する負荷に近いパターンを選択することができるので、見積もり負荷の精度が向上する。さらに検証処理を入れることにより、負荷の見積もりが正しいかどうかの整合性を確かめることが可能となる。 Here, the effect of this embodiment will be described. By executing “preliminary measurement” and “combination measurement”, the correspondence between the resource usage and the number of executions of the system call is found. This process is performed so as to cover the pattern of the generated load by executing the system call on the measurement program assuming the execution process of the system call in the application. As a result of this processing, there is a pattern in the measured data that shows resource usage that is almost equal to the available free resources other than the business virtual server, so the corresponding one is extracted and converted into the number of executions . Free resources can be compared on each server by the number of executions converted. From this, it is possible to select a pattern closer to the load generated by the application by estimating the load including overhead between system calls at various layers, which was not considered in the conventional method. Load accuracy is improved. Furthermore, by including a verification process, it is possible to confirm the consistency of whether the load estimate is correct.
以上、図面を参照して本発明の実施形態について述べたが、これらは本発明の例示であり、上記以外の様々な構成を採用することもできる。 As mentioned above, although embodiment of this invention was described with reference to drawings, these are the illustrations of this invention, Various structures other than the above are also employable.
例えば、上記の実施形態において、リソース情報の種類は複数であることを前提に説明しているが、一種類のリソース情報のみを用いて本発明を実施しても構わない。 For example, although the above embodiment has been described on the assumption that there are a plurality of types of resource information, the present invention may be implemented using only one type of resource information.
また、第3の実施形態において、情報処理システムの構成は複数の物理サーバと管理サーバと管理クライアントとが通信網で接続される構成を用いて説明したが、これに限らなくてもよい。例えば、単一の物理サーバと管理サーバとが通信網で接続している構成であってもよいし、上記管理サーバと同等の機能が単一の物理サーバに組み込まれている単体装置であっても構わない。 In the third embodiment, the configuration of the information processing system has been described using a configuration in which a plurality of physical servers, a management server, and a management client are connected via a communication network. However, the configuration is not limited to this. For example, a configuration in which a single physical server and a management server are connected via a communication network may be used, or a single device in which functions equivalent to those of the management server are incorporated in a single physical server. It doesn't matter.
また、第1の実施形態において、第1抽出部22または第2抽出部23は、算出された乖離度が最小であるリソース情報または頻度情報を選択するように説明したが、比較した値が合致するか否かで、選択するリソース情報または頻度情報を決めてもよい。また、第1抽出部22または第2抽出部23は、算出された夫々の乖離度(指標値)と所定の判定値との差が最小となるリソース情報または頻度情報を抽出してもよい。このとき、所定の判定値とは、0であってもよいし、その他の数値であってもよい。また、第1抽出部22と第2抽出部23とは、異なる判定値を用いても構わない。
In the first embodiment, the
また、上記実施形態の説明には、複数のフローチャートを用いており、それぞれに複数のステップを順番に記載してあるが、その記載の順番は、本発明の情報処理方法のステップを実行する順番を限定するものではない。このため、本発明の情報処理方法を実行するときには、その複数のステップの順番は内容的に支障しない範囲で変更することができる。 In the description of the above embodiment, a plurality of flowcharts are used, and a plurality of steps are described in order. The order of description is the order in which the steps of the information processing method of the present invention are executed. It is not intended to limit. For this reason, when the information processing method of the present invention is executed, the order of the plurality of steps can be changed within a range that does not hinder the contents.
なお、当然ながら、上述した実施の形態および複数の変形例は、その内容が相反しない範囲で組み合わせることができる。また、上述した実施の形態および変形例では、各構成要素の機能などを具体的に説明したが、その機能などは本願発明を満足する範囲で各種に変更することができる。 Needless to say, the above-described embodiment and a plurality of modifications can be combined within a range in which the contents do not conflict with each other. Moreover, although the functions and the like of each component have been specifically described in the above-described embodiments and modifications, the functions and the like can be changed in various ways within a range that satisfies the present invention.
(付記1)通信網を介して接続される複数の物理サーバと、各々の前記物理サーバと、前記物理サーバ上でシステムコールを実行した頻度を表す頻度情報と、当該システムコールを前記頻度で実行したときに使用された当該物理サーバのリソース量を表すリソース情報と、を関連付けて記憶する性能情報記憶手段と、第1物理サーバがシステムコールを伴うアプリケーション処理を実行したときに使用したリソース量を示す第1リソース情報を前記第1物理サーバから取得する取得手段と、前記性能情報記憶手段に記憶され前記第1物理サーバに関連付けられる各リソース情報と前記第1リソース情報とのそれぞれの近似の度合いを示す各指標値と第1判定値との差が最小となるリソース情報に関連付けられた第1頻度情報を抽出する第1抽出手段と、前記性能情報記憶手段に記憶され前記第1物理サーバとは異なる第2物理サーバに関連付けられる各頻度情報と前記第1頻度情報とのそれぞれの近似の度合いを示す各指標値と第2判定値との差が最小となる頻度情報に関連付けられたリソース情報を抽出する第2抽出手段と、前記第2抽出手段によって抽出された前記リソース情報を出力する出力手段と、を備えることを特徴とする情報処理システム。 (Appendix 1) A plurality of physical servers connected via a communication network, each of the physical servers, frequency information indicating the frequency of executing a system call on the physical server, and executing the system call at the frequency The resource information indicating the resource amount of the physical server used at the time of performance is stored in association with the performance information storage means, and the resource amount used when the first physical server executes the application process involving the system call. A degree of approximation of each of the resource information and the first resource information stored in the performance information storage means and associated with the first physical server; The first extraction that extracts the first frequency information associated with the resource information that minimizes the difference between each index value indicating the first determination value Each index value indicating a degree of approximation between each frequency information and the first frequency information stored in the performance information storage unit and associated with a second physical server different from the first physical server, and a second index value A second extraction unit that extracts resource information associated with frequency information that minimizes a difference from a determination value; and an output unit that outputs the resource information extracted by the second extraction unit. Information processing system.
(付記2)物理サーバ上でシステムコールを実行した頻度を表す頻度情報と、当該システムコールを前記頻度で実行したときに使用された当該物理サーバのリソース量を表すリソース情報と、を関連付けて記憶する性能情報記憶手段と、前記物理サーバ上で仮想サーバが前記システムコールを伴うアプリケーション処理を実行したときに当該物理サーバで使用されたリソース量を示す第1リソース情報を取得する取得手段と、前記第1物理サーバに関連付けられた前記リソース情報が表すリソース量の最大値と、前記取得手段によって取得された前記第1リソース情報が表すリソース量との差分を算出し、前記第1物理サーバに関連付けられた前記リソース情報のうち、算出された差分との乖離度が最小であるリソース量を表す前記リソース情報を前記性能情報記憶手段から選択し、選択された前記リソース情報に関連付けられた前記頻度情報を抽出する第3抽出手段と、前記仮想サーバが前記アプリケーション処理を前記物理サーバ上で実行するときの前記物理サーバ上の空きリソース量を利用して実行可能な前記システムコールの頻度の推測値として、前記第3抽出手段によって抽出された前記頻度情報を出力する出力手段と、を備えることを特徴とする情報処理システム。 (Supplementary note 2) Frequency information indicating the frequency of executing system calls on a physical server and resource information indicating the amount of resources of the physical server used when the system calls are executed at the frequency are stored in association with each other. Performance information storage means, acquisition means for obtaining first resource information indicating a resource amount used in the physical server when the virtual server executes the application process involving the system call on the physical server, A difference between the maximum value of the resource amount represented by the resource information associated with the first physical server and the resource amount represented by the first resource information acquired by the acquisition unit is calculated and associated with the first physical server The resource representing the resource amount having the smallest deviation from the calculated difference among the obtained resource information Information is selected from the performance information storage means, and the third extraction means for extracting the frequency information associated with the selected resource information, and when the virtual server executes the application process on the physical server Output means for outputting the frequency information extracted by the third extraction means as an estimated value of the frequency of the system call that can be executed using the amount of free resources on the physical server, Information processing system.
(付記3)前記性能情報記憶手段は、複数種の前記リソース情報の集合であるリソース集合を前記頻度情報に関連付けて記憶し、前記取得手段は、複数種の前記第1リソース情報の集合である第1リソース集合を取得し、前記第3抽出手段は、前記第1物理サーバに関連付けられた前記リソース集合に含まれる前記リソース情報が表すリソース量の最大値を種別ごとに抽出し、抽出された前記リソース量の最大値と前記第1リソース集合に含まれる前記第1リソース情報との差分を種別ごとに算出し、前記第1物理サーバに関連付けられ、かつ前記第1リソース集合と同種の前記リソース情報である前記リソース集合の各々と、算出された前記差分の各々との乖離度を夫々算出し、当該乖離度が最小となる前記リソース集合を選択し、選択された前記リソース集合に関連付けられた前記頻度情報を抽出することを特徴とする情報処理システム。 (Supplementary Note 3) The performance information storage unit stores a resource set, which is a set of a plurality of types of resource information, in association with the frequency information, and the acquisition unit is a set of a plurality of types of the first resource information. The first resource set is acquired, and the third extracting means extracts and extracts the maximum value of the resource amount represented by the resource information included in the resource set associated with the first physical server for each type. The difference between the maximum value of the resource amount and the first resource information included in the first resource set is calculated for each type, is associated with the first physical server, and is the same type of resource as the first resource set The degree of divergence between each of the resource sets that are information and each of the calculated differences is calculated, and the resource set that minimizes the degree of divergence is selected and selected. Information processing system and extracting the frequency information associated with the resource set was.
(付記4)前記仮想サーバは、夫々の前記物理サーバ上で複数種の前記システムコールを実行可能であり、前記性能情報記憶手段は、複数種の前記種別情報の集合である種別集合と、前記種別集合に含まれる前記種別情報の夫々に対応する前記頻度情報の集合である頻度集合と、前記リソース情報と、各々の前記物理サーバとを関連付けて記憶し、前記第3抽出手段は、前記性能情報記憶手段から選択された前記リソース情報に関連付けられた前記種別集合と前記頻度集合とを抽出し、前記出力手段は、前記第3抽出手段によって抽出された前記種別集合と前記頻度集合とを出力することを特徴とする情報処理システム。 (Supplementary Note 4) The virtual server can execute a plurality of types of the system calls on each of the physical servers, and the performance information storage unit includes a type set that is a set of a plurality of types of type information, A frequency set that is a set of frequency information corresponding to each of the type information included in the type set, the resource information, and each of the physical servers are stored in association with each other, and the third extracting unit stores the performance information The type set and the frequency set associated with the resource information selected from the information storage unit are extracted, and the output unit outputs the type set and the frequency set extracted by the third extraction unit. An information processing system characterized by
100 情報処理システム
200 情報処理システム
10 通信網
20 管理サーバ
21 取得部
22 抽出部
23 抽出部
24 出力部
25 記憶部
26 性能情報記憶部
31〜3m 物理サーバ
40 管理サーバ
41 性能特性取得指示部
42 仮想サーバ稼動部
43 性能情報計算部
44 記憶部
45 仮想サーバイメージ記憶部
46 性能情報記憶部
47 時系列性能情報記憶部
48 負荷情報記憶部
50 管理クライアント
DESCRIPTION OF
Claims (10)
各々の前記物理サーバと、前記物理サーバ上でシステムコールを実行した頻度を表す頻度情報と、当該システムコールを前記頻度で実行したときに使用された当該物理サーバのリソース量を表すリソース情報と、を関連付けて記憶する性能情報記憶手段と、
前記仮想サーバが前記システムコールを伴うアプリケーション処理を第1物理サーバ上で実行したときに前記第1物理サーバで使用されたリソース量を示す第1リソース情報を取得する取得手段と、
前記第1物理サーバに関連付けられ、かつ前記取得手段によって取得された前記第1リソース情報と最も近似する前記リソース情報を前記性能情報記憶手段から選択し、選択された前記リソース情報に関連付けられた前記頻度情報を抽出する第1抽出手段と、
前記第1物理サーバとは異なる第2物理サーバに関連付けられた前記頻度情報のうち、前記第1抽出手段によって抽出された前記頻度情報と最も近似する前記頻度情報を前記性能情報記憶手段から選択し、選択された前記頻度情報に関連付けられた前記リソース情報を抽出する第2抽出手段と、
前記第2抽出手段によって抽出された前記リソース情報を出力する出力手段と、
を備えることを特徴とする情報処理システム。 A plurality of physical servers capable of sending and receiving virtual servers via a communication network;
Each of the physical servers, frequency information representing the frequency of executing the system call on the physical server, resource information representing the resource amount of the physical server used when the system call is executed at the frequency, and Performance information storage means for storing
Obtaining means for obtaining first resource information indicating a resource amount used in the first physical server when the virtual server executes an application process involving the system call on the first physical server;
The resource information associated with the first physical server and closest to the first resource information obtained by the obtaining unit is selected from the performance information storage unit, and the resource information associated with the selected resource information is selected. First extraction means for extracting frequency information;
Of the frequency information associated with a second physical server different from the first physical server, the frequency information closest to the frequency information extracted by the first extraction unit is selected from the performance information storage unit. Second extraction means for extracting the resource information associated with the selected frequency information;
Output means for outputting the resource information extracted by the second extraction means;
An information processing system comprising:
前記第1抽出手段は、前記第1物理サーバに関連付けられた前記リソース情報のうち、前記取得手段によって取得された前記第1リソース情報との乖離度が最小である前記リソース情報を前記性能情報記憶手段から選択し、選択された前記リソース情報に関連付けられた前記頻度情報を抽出し、
前記第2抽出手段は、前記第2物理サーバに関連付けられた前記頻度情報のうち、前記第1抽出手段によって抽出された前記頻度情報との乖離度が最小である前記頻度情報を前記性能情報記憶手段から選択し、選択された前記頻度情報に関連付けられた前記リソース情報を抽出することを特徴とする情報処理システム。 The information processing system according to claim 1,
The first extraction unit stores the resource information having a minimum deviation from the first resource information acquired by the acquisition unit among the resource information associated with the first physical server as the performance information storage. Selecting from the means, extracting the frequency information associated with the selected resource information;
The second extraction unit stores the frequency information having a minimum deviation from the frequency information extracted by the first extraction unit among the frequency information associated with the second physical server in the performance information storage. An information processing system characterized by selecting from the means and extracting the resource information associated with the selected frequency information.
前記仮想サーバは、夫々の前記物理サーバ上で複数種の前記システムコールを実行可能であり、
前記性能情報記憶手段は、各々のシステムコールの種別を表す種別情報の集合である種別集合と、前記種別集合に含まれる前記種別情報の夫々に対応する前記頻度情報の集合である頻度集合と、前記リソース情報と、各々の前記物理サーバとを関連付けて記憶し、
前記第1抽出手段は、前記性能情報記憶手段から選択された前記リソース情報に関連付けられた前記種別集合と前記頻度集合とを抽出し、
前記第2抽出手段は、前記第1抽出手段によって抽出された前記種別集合と合致し、かつ前記第2物理サーバに関連付けられた前記種別集合を少なくとも一組選択し、選択された前記種別集合に関連付けられた前記頻度集合の各々と、前記第1抽出手段によって抽出された前記頻度集合とを比較し、互い乖離度を夫々算出し、当該乖離度が最小となる前記頻度集合を選択し、選択された前記頻度集合に関連付けられた前記リソース情報を抽出することを特徴とする情報処理システム。 The information processing system according to claim 1 or 2,
The virtual server can execute a plurality of types of the system calls on each physical server,
The performance information storage means includes a type set that is a set of type information indicating the type of each system call, and a frequency set that is a set of frequency information corresponding to each of the type information included in the type set, Storing the resource information in association with each physical server;
The first extraction unit extracts the type set and the frequency set associated with the resource information selected from the performance information storage unit,
The second extraction unit selects at least one set of the type set that matches the type set extracted by the first extraction unit and is associated with the second physical server, and sets the selected type set to the selected type set. Each of the associated frequency sets is compared with the frequency set extracted by the first extraction unit, and the degree of divergence is calculated, and the frequency set that minimizes the degree of divergence is selected and selected. An information processing system, wherein the resource information associated with the frequency set is extracted.
前記性能情報記憶手段は、複数種の前記リソース情報の集合であるリソース集合を前記頻度情報に関連付けて記憶し、
前記取得手段は、複数種の前記第1リソース情報の集合である第1リソース集合を取得し、
前記第1抽出手段は、前記第1物理サーバに関連付けられ、かつ前記取得手段によって取得された前記第1リソース集合と同種の前記リソース情報である前記リソース集合の各々と、前記第1リソース集合とを比較し、互い乖離度を夫々算出し、当該乖離度が最小となる前記リソース集合を選択し、選択された前記リソース集合に関連付けられた前記頻度情報を抽出することを特徴とする情報処理システム。 An information processing system according to any one of claims 1 to 3,
The performance information storage means stores a resource set that is a set of a plurality of types of the resource information in association with the frequency information,
The acquisition means acquires a first resource set that is a set of a plurality of types of the first resource information,
Each of the resource sets that is associated with the first physical server and that is the resource information of the same type as the first resource set acquired by the acquiring unit, and the first resource set, , Calculating the degree of divergence from each other, selecting the resource set that minimizes the degree of divergence, and extracting the frequency information associated with the selected resource set .
各々の前記物理サーバ上で計測用仮想サーバを稼動させる仮想サーバ稼動手段を備え、
前記仮想サーバ稼動手段によって前記物理サーバ上で稼動された前記計測用仮想サーバは、複数通りの頻度で前記システムコールを実行し、前記システムコールを実行したときに当該物理サーバ上で使用されるリソース量を計測し、前記システムコールを実行した頻度を前記頻度情報とし、また計測された前記リソース量を前記リソース情報とし、さらに前記頻度情報と前記リソース情報とを前記性能情報記憶手段に送出し、
前記性能情報記憶手段は、各々の前記計測用仮想サーバから到来した前記頻度情報と前記リソース情報とを記憶することを特徴とする情報処理システム。 An information processing system according to claim 1,
Virtual server operation means for operating a measurement virtual server on each of the physical servers,
The measurement virtual server operated on the physical server by the virtual server operating unit executes the system call at a plurality of frequencies, and resources used on the physical server when the system call is executed Measuring the amount, the frequency of executing the system call as the frequency information, the measured resource amount as the resource information, further sending the frequency information and the resource information to the performance information storage means,
The information processing system, wherein the performance information storage means stores the frequency information and the resource information that have arrived from each of the measurement virtual servers.
前記出力手段は、前記第2抽出手段によって抽出された前記リソース情報と、当該リソース情報に関連付けられた前記頻度情報と、を前記第2物理サーバ上で稼動させた前記計測用仮想サーバに出力し、
当該計測用仮想サーバは、前記出力手段から受け付けた前記頻度情報が示す頻度で前記システムコールを実行し、当該システムコールを実行したときに前記第2物理サーバ上で使用されるリソース量を計測し、計測された前記リソース量を第2リソース情報として前記第1抽出手段に送出し、
前記第1抽出手段は、当該計測用仮想サーバから到来した前記第2リソース情報と、前記出力手段から受け付けた前記リソース情報との乖離度を算出することを特徴とする情報処理システム。 The information processing system according to claim 5,
The output means outputs the resource information extracted by the second extraction means and the frequency information associated with the resource information to the measurement virtual server operated on the second physical server. ,
The measurement virtual server executes the system call at a frequency indicated by the frequency information received from the output unit, and measures the amount of resources used on the second physical server when the system call is executed. The measured resource amount is sent to the first extraction means as second resource information,
The information processing system, wherein the first extraction unit calculates a divergence degree between the second resource information that has arrived from the measurement virtual server and the resource information received from the output unit.
前記出力手段から出力された前記リソース情報によって表されるリソース量が、前記第2物理サーバに関連付けられた前記リソース情報が表すリソース量の最大値より小さいとき、前記仮想サーバ稼動手段は、前記第2物理サーバ上で前記仮想サーバを稼動させることを特徴とする情報処理システム。 The information processing system according to claim 5 or 6,
When the resource amount represented by the resource information output from the output unit is smaller than the maximum value of the resource amount represented by the resource information associated with the second physical server, the virtual server operating unit 2. An information processing system in which the virtual server is operated on two physical servers.
各々の前記物理サーバと、前記物理サーバ上でシステムコールを実行した頻度を表す頻度情報と、当該システムコールを前記頻度で実行したときに使用された当該物理サーバのリソース量を表すリソース情報と、を関連付けて記憶する性能情報記憶手段と、
前記仮想サーバが前記システムコールを伴うアプリケーション処理を第1物理サーバ上で実行したときに前記第1物理サーバで使用されたリソース量を示す第1リソース情報を取得する取得手段と、
前記第1物理サーバに関連付けられ、かつ前記取得手段によって取得された前記第1リソース情報と最も近似する前記リソース情報を前記性能情報記憶手段から選択し、選択された前記リソース情報に関連付けられた前記頻度情報を抽出する第1抽出手段と、
前記第1物理サーバとは異なる第2物理サーバに関連付けられた前記頻度情報のうち、前記第1抽出手段によって抽出された前記頻度情報と最も近似する前記頻度情報を前記性能情報記憶手段から選択し、選択された前記頻度情報に関連付けられた前記リソース情報を抽出する第2抽出手段と、
前記第2抽出手段によって抽出された前記リソース情報を出力する出力手段と、
を備えることを特徴とする情報処理装置。 An information processing apparatus capable of communicating with each of a plurality of physical servers that can exchange a virtual server via a communication network,
Each of the physical servers, frequency information representing the frequency of executing the system call on the physical server, resource information representing the resource amount of the physical server used when the system call is executed at the frequency, and Performance information storage means for storing
Obtaining means for obtaining first resource information indicating a resource amount used in the first physical server when the virtual server executes an application process involving the system call on the first physical server;
The resource information associated with the first physical server and closest to the first resource information obtained by the obtaining unit is selected from the performance information storage unit, and the resource information associated with the selected resource information is selected. First extraction means for extracting frequency information;
Of the frequency information associated with a second physical server different from the first physical server, the frequency information closest to the frequency information extracted by the first extraction unit is selected from the performance information storage unit. Second extraction means for extracting the resource information associated with the selected frequency information;
Output means for outputting the resource information extracted by the second extraction means;
An information processing apparatus comprising:
前記仮想サーバが前記システムコールを伴うアプリケーション処理を第1物理サーバ上で実行したときに前記第1物理サーバで使用されたリソース量を示す第1リソース情報を取得する取得ステップと、
前記第1物理サーバに関連付けられ、かつ前記取得ステップで取得された前記第1リソース情報と最も近似する前記リソース情報を選択し、選択された前記リソース情報に関連付けられた前記頻度情報を抽出する第1抽出ステップと、
前記第1物理サーバとは異なる第2物理サーバに関連付けられた前記頻度情報のうち、前記第1抽出ステップで抽出された前記頻度情報と最も近似する前記頻度情報を選択し、選択された前記頻度情報に関連付けられた前記リソース情報を抽出する第2抽出ステップと、
前記第2抽出ステップで抽出された前記リソース情報を出力する出力ステップと、
を備えることを特徴とする情報処理方法。 Each of a plurality of physical servers that can send and receive a virtual server via a communication network, frequency information indicating the frequency of executing a system call on the physical server, and used when the system call is executed at the frequency A resource information indicating the resource amount of the physical server that has been performed, and a performance information storage step for storing the information in association with each other,
An acquisition step of acquiring first resource information indicating a resource amount used in the first physical server when the virtual server executes an application process involving the system call on the first physical server;
The resource information associated with the first physical server and closest to the first resource information obtained in the obtaining step is selected, and the frequency information associated with the selected resource information is extracted. One extraction step;
The frequency information closest to the frequency information extracted in the first extraction step is selected from the frequency information associated with a second physical server different from the first physical server, and the selected frequency A second extraction step for extracting the resource information associated with the information;
An output step of outputting the resource information extracted in the second extraction step;
An information processing method comprising:
通信網を介して仮想サーバを授受することができる複数の物理サーバの各々と、前記物理サーバ上でシステムコールを実行した頻度を表す頻度情報と、当該システムコールを前記頻度で実行したときに使用された当該物理サーバのリソース量を表すリソース情報と、を関連付けて記憶する性能情報記憶処理と、
前記仮想サーバが前記システムコールを伴うアプリケーション処理を第1物理サーバ上で実行したときに前記第1物理サーバで使用されたリソース量を示す第1リソース情報を取得する取得処理と、
前記第1物理サーバに関連付けられ、かつ前記取得処理で取得された前記第1リソース情報と最も近似する前記リソース情報を選択し、選択された前記リソース情報に関連付けられた前記頻度情報を抽出する第1抽出処理と、
前記第1物理サーバとは異なる第2物理サーバに関連付けられた前記頻度情報のうち、前記第1抽出処理で抽出された前記頻度情報と最も近似する前記頻度情報を選択し、選択された前記頻度情報に関連付けられた前記リソース情報を抽出する第2抽出処理と、
前記第2抽出処理で抽出された前記リソース情報を出力する出力処理と、
を前記コンピュータに実行させることを特徴とするプログラム。 A program stored in a computer-readable storage medium,
Each of a plurality of physical servers that can send and receive a virtual server via a communication network, frequency information indicating the frequency of executing a system call on the physical server, and used when the system call is executed at the frequency Resource information representing the resource amount of the physical server that has been performed, and a performance information storage process for storing the information in association with each other,
An acquisition process for acquiring first resource information indicating a resource amount used in the first physical server when the virtual server executes an application process involving the system call on the first physical server;
The resource information associated with the first physical server and closest to the first resource information acquired in the acquisition process is selected, and the frequency information associated with the selected resource information is extracted. 1 extraction process,
The frequency information closest to the frequency information extracted in the first extraction process is selected from the frequency information associated with a second physical server different from the first physical server, and the selected frequency A second extraction process for extracting the resource information associated with the information;
An output process for outputting the resource information extracted in the second extraction process;
That causes the computer to execute the program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010006193A JP5413210B2 (en) | 2010-01-14 | 2010-01-14 | Information processing system, information processing apparatus, information processing method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010006193A JP5413210B2 (en) | 2010-01-14 | 2010-01-14 | Information processing system, information processing apparatus, information processing method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011145894A JP2011145894A (en) | 2011-07-28 |
JP5413210B2 true JP5413210B2 (en) | 2014-02-12 |
Family
ID=44460688
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010006193A Expired - Fee Related JP5413210B2 (en) | 2010-01-14 | 2010-01-14 | Information processing system, information processing apparatus, information processing method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5413210B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2024055158A (en) | 2022-10-06 | 2024-04-18 | 富士通株式会社 | Information processing program, information processing method, and information processing device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100030877A1 (en) * | 2007-02-23 | 2010-02-04 | Mitsuru Yanagisawa | Virtual server system and physical server selecting method |
JP4906686B2 (en) * | 2007-11-19 | 2012-03-28 | 三菱電機株式会社 | Virtual machine server sizing apparatus, virtual machine server sizing method, and virtual machine server sizing program |
JP2009237859A (en) * | 2008-03-27 | 2009-10-15 | Nec Corp | Virtual machine management system |
-
2010
- 2010-01-14 JP JP2010006193A patent/JP5413210B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2011145894A (en) | 2011-07-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2011105091A1 (en) | Control device, management device, data processing method of control device, and program | |
US8505011B2 (en) | Method of optimizing job distribution process by analysis of transmission time and processing time | |
JP4677813B2 (en) | Server performance measurement method, server performance measurement system, and computer program used therefor | |
JP2008027442A (en) | Sub-task processor distribution scheduling | |
KR20160049006A (en) | Method, apparatus, and system for managing migration of virtual machine | |
JP6558374B2 (en) | Scale number estimation apparatus, scale number management system, scale number estimation method, scale number management method, and computer program | |
JP2017162257A (en) | Load monitoring program, load monitoring method, information processing device, and information processing system | |
CN109039933B (en) | Cluster network optimization method, device, equipment and medium | |
JP5577453B2 (en) | Virtual machine migration evaluation method and virtual machine system | |
US20120311600A1 (en) | Information processing apparatus and information processing method | |
CN105897865B (en) | A kind of network file service management system and method that agreement is unrelated | |
JP5413210B2 (en) | Information processing system, information processing apparatus, information processing method, and program | |
JP4207938B2 (en) | Software authentication system, software authentication program, and software authentication method | |
JP2017162059A (en) | Information processing device, control method, and program | |
CN112019630B (en) | Load balancing method and device | |
JP6891425B2 (en) | Information processing equipment, control methods and programs | |
JPWO2011080809A1 (en) | server | |
JP5751372B2 (en) | Data processing system, computer program thereof, and data processing method | |
CN114048033A (en) | Load balancing method and device for batch running task and computer equipment | |
JP2008176420A (en) | Data transfer method, data transfer device, and debugging device | |
JP2015094976A (en) | Information processing apparatus, information processing method, and program | |
US11451056B2 (en) | Processing apparatus, processing method, and program for inferring demand response | |
JP5541289B2 (en) | Virtual server system, autonomous control server thereof, data processing method thereof, and computer program | |
JP2008210110A (en) | Business system and its execution request management method | |
JPWO2015075962A1 (en) | Information collection system, server device, edge device, control method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20121205 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131004 |
|
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: 20131015 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20131028 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5413210 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |