JP2011145894A - Information processing system, information processor, information processing method and program - Google Patents

Information processing system, information processor, information processing method and program Download PDF

Info

Publication number
JP2011145894A
JP2011145894A JP2010006193A JP2010006193A JP2011145894A JP 2011145894 A JP2011145894 A JP 2011145894A JP 2010006193 A JP2010006193 A JP 2010006193A JP 2010006193 A JP2010006193 A JP 2010006193A JP 2011145894 A JP2011145894 A JP 2011145894A
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.)
Granted
Application number
JP2010006193A
Other languages
Japanese (ja)
Other versions
JP5413210B2 (en
Inventor
Mitsuru Yanagisawa
満 柳沢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2010006193A priority Critical patent/JP5413210B2/en
Publication of JP2011145894A publication Critical patent/JP2011145894A/en
Application granted granted Critical
Publication of JP5413210B2 publication Critical patent/JP5413210B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To estimate a load to be imposed on a resource with high accuracy when a virtual server executes application processing on a physical server. <P>SOLUTION: An information processing system 100 includes: physical servers 31 to 3m; a performance information storage part 26 for storing frequency information of a system call in association with resource information showing the amount of used resource; an acquisition part 21 for acquiring first resource information showing the amount of resource used when a virtual server executes application processing on the physical server 31; a first extraction part 22 for extracting frequency information associated with the physical server 31, and associated with the resource information which is most proximate to the first resource information; a second extraction part 23 for extracting resource information associated with the physical server 32, and associated with the frequency information which is most approximate to the extracted frequency information; and an output part 24 for outputting the extracted resource information. <P>COPYRIGHT: (C)2011,JPO&INPIT

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.

特開2009−123174号公報JP 2009-123174 A

しかしながら上記技術は、ディスク負荷やネットワーク負荷から得られえる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 step 1, and the first resource associated with the first physical server and acquired in the acquisition step The resource information closest to the information is selected, and the frequency information associated with the selected resource information is selected. The frequency information closest to the frequency information extracted in the first extraction step among the frequency information associated with a second physical server different from the first physical server And a second extraction step for extracting the resource information associated with the selected frequency information, and an output step for outputting the resource information extracted in the second extraction step. An information processing method is provided.

さらに、本発明によれば、コンピュータが読み出し可能な記憶媒体に格納されるプログラムであって、通信網を介して仮想サーバを授受することができる複数の物理サーバの各々と、前記物理サーバ上でシステムコールを実行した頻度を表す頻度情報と、当該システムコールを前記頻度で実行したときに使用された当該物理サーバのリソース量を表すリソース情報と、を関連付けて記憶する性能情報記憶処理と、前記仮想サーバが前記システムコールを伴うアプリケーション処理を第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.

本発明の第1の実施形態に係る情報処理システムの構成図である。1 is a configuration diagram of an information processing system according to a first embodiment of the present invention. 性能情報記憶部に記憶されている情報を表す図である。It is a figure showing the information memorized by the performance information storage part. 第1の実施形態の管理サーバの動作を表すフローチャートである。It is a flowchart showing operation | movement of the management server of 1st Embodiment. 本発明の第2の実施形態に係る情報処理システムの構成図である。It is a block diagram of the information processing system which concerns on the 2nd Embodiment of this invention. 第2の実施形態の性能特性取得指示部の動作を表すフローチャートである。It is a flowchart showing operation | movement of the performance characteristic acquisition instruction | indication part of 2nd Embodiment. 第2の実施形態の計測用仮想サーバの動作を表すフローチャートである。It is a flowchart showing operation | movement of the virtual server for measurement of 2nd Embodiment. 第2の実施形態の性能情報計算部の動作を表すフローチャートである。It is a flowchart showing operation | movement of the performance information calculation part of 2nd Embodiment. 第3の実施形態の性能情報計算部の動作を表すフローチャートである。It is a flowchart showing operation | movement of the performance information calculation part of 3rd Embodiment.

以下、本発明の実施の形態について、図面を用いて説明する。尚、すべての図面において、同様な構成要素には同様の符号を付し、適宜説明を省略する。   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 information processing system 100 according to the first embodiment of the present invention. The information processing system 100 includes a communication network 10, a management server 20 (information processing device), and a plurality of physical servers 31 to 3m. The management server 20 and the plurality of physical servers 31 to 3 m are connected to be communicable with each other via the communication network 10. The physical servers 31 to 3 m can exchange virtual servers via the communication network 10. Further, the management server 20 can estimate the resource amount used by the application process before the virtual server executes the application process on the physical servers 31 to 3m. Hereinafter, in the present embodiment, an operation of estimating a resource amount used when a virtual server that has executed an application process on the physical server 31 is operated on the physical server 32 and the application process is executed will be described.

なお、通信網10は、管理サーバ20と物理サーバ31〜3mとが通信接続できるネットワークであればいずれでもよく、例えばインターネットやLANである。また、物理サーバ31〜3mの少なくとも一部は、CPU、メモリ搭載量、ネットワーク帯域、ハードディスクに関して異なるスペックであってもよい。さらに、仮想サーバは、情報処理システム100内のいずこに存在してもよい。さらに、本実施形態におけるアプリケーション処理とは、Web、メール、バックアップ等の処理を想定している。   The communication network 10 may be any network as long as the management server 20 and the physical servers 31 to 3m can be connected to each other, for example, the Internet or a LAN. Further, at least a part of the physical servers 31 to 3m may have different specifications with respect to the CPU, the memory mounting amount, the network bandwidth, and the hard disk. Further, the virtual server may exist anywhere in the information processing system 100. Furthermore, application processing in the present embodiment is assumed to be processing such as Web, mail, and backup.

管理サーバ20は、取得部21と、第1抽出部22と、第2抽出部23と、出力部24と、記憶部25と、を備える。また、記憶部25には、性能情報記憶部26が含まれている。性能情報記憶部26は、各々の物理サーバ31〜3mと、物理サーバ31〜3m上でシステムコールを実行した頻度を表す頻度情報と、当該システムコールを当該頻度で実行したときに使用された当該物理サーバ31〜3mのリソース量を表すリソース情報と、を関連付けて記憶している。なお、性能情報記憶部26は、記憶部25に含まれる記憶領域の一部であってもよいし、全部であってもよい。また、記憶部25は、以下で説明する情報以外にも、管理サーバ20内で処理される情報、プログラム、変数であれば、いずれを記憶してもよい。   The management server 20 includes an acquisition unit 21, a first extraction unit 22, a second extraction unit 23, an output unit 24, and a storage unit 25. The storage unit 25 includes a performance information storage unit 26. The performance information storage unit 26 includes each physical server 31 to 3m, frequency information indicating the frequency of executing the system call on the physical servers 31 to 3m, and the information used when the system call is executed at the frequency. The resource information indicating the resource amount of the physical servers 31 to 3m is stored in association with each other. The performance information storage unit 26 may be a part or all of the storage area included in the storage unit 25. In addition to the information described below, the storage unit 25 may store any information, program, or variable that is processed in the management server 20.

取得部21は、仮想サーバがシステムコールを伴うアプリケーション処理を物理サーバ31上で実行したときに物理サーバ31で使用されたリソース量を示す第1リソース情報を取得する。第1抽出部22は、物理サーバ31に関連付けられ、かつ取得部21によって取得された第1リソース情報と最も近似するリソース情報を性能情報記憶部26から選択し、選択されたリソース情報に関連付けられた頻度情報を抽出する。第2抽出部23は、物理サーバ31とは異なる物理サーバ32に関連付けられた頻度情報のうち、第1抽出部22によって抽出された頻度情報と最も近似する頻度情報を性能情報記憶部26から選択し、選択された頻度情報に関連付けられたリソース情報を抽出する。出力部24は、第2抽出部23によって抽出されたリソース情報を出力する。   The acquisition unit 21 acquires first resource information indicating the amount of resources used in the physical server 31 when the virtual server executes an application process involving a system call on the physical server 31. The first extraction unit 22 selects, from the performance information storage unit 26, resource information that is associated with the physical server 31 and that is closest to the first resource information acquired by the acquisition unit 21, and is associated with the selected resource information. Frequency information is extracted. The second extraction unit 23 selects, from the performance information storage unit 26, the frequency information that most closely approximates the frequency information extracted by the first extraction unit 22 among the frequency information associated with the physical server 32 different from the physical server 31. The resource information associated with the selected frequency information is extracted. The output unit 24 outputs the resource information extracted by the second extraction unit 23.

なお、ここで述べたシステムコールとは、オペレーティングシステムの機能を呼び出すことである。仮想サーバがアプリケーション処理を行うとき、物理サーバ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 physical servers 31 to 3m, the virtual server needs to execute a system call to the operating system installed in the physical servers 31 to 3m. There are various types of system calls, and there are system calls (write, pwrite, fwrite, mmap, etc.) that perform file read / write processing and system calls (socket, close, etc.) that perform network processing. Different resource loads can be generated by combining multiple types of system calls to be executed. Even for the same type of system call, different resource loads can be generated by specifying a file capacity and executing it, or specifying a packet size and a communication protocol.

また、ここで述べたリソース情報または第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 communication network 10 in each of the physical servers 31 to 3m, The writing speed of the HDD is used. Each of the physical servers 31 to 3m includes means for measuring the amount of resources listed here. In addition, if each of the physical servers 31 to 3m can be measured, the number of occurrences of context switches, the number of occurrences of interrupt processing, the number of waiting processes, and the like may be used as resource information.

また、ここで述べた頻度情報とは、単位時間あたりに実行されるシステムコールの実行回数とする。単位時間の大きさは固定であってもよいし、任意に変更可能であってもよい。本実施形態においては、単位時間を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 information storage unit 26. Of course, the table shown here shows the concept of the information stored in the performance information storage unit 26, and the format for storing the information is not limited to this.

図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 information storage unit 26 includes single type information, frequency information corresponding to the type information, a set of plural types of resource information (resource set), and each of the physical servers 31 to 3m. Are stored in association with each other, and an identification number is assigned to each. For example, no. 1 includes type information: system call A, frequency information: 10 (times / s), CPU usage rate: 30 (%), memory usage amount: 512 (MB), HDD writing speed: 50 (KB / s) Communication speed 30 (Kbps) is associated. The performance information storage unit 26 also includes a set of multiple types of type information (type set), a set of frequency information (frequency set) corresponding to each of the type information included in the type set, and a plurality of types of resource information. A set (resource set) and each physical server 31 to 3m are stored in association with each other, and an identification number is assigned to each. For example, no. 16 includes type information: system call A and system call B, frequency information: 10 (times / s) and 1 (times / s), CPU usage rate: 35 (%), memory usage amount: 512 (MB), The HDD writing speed is associated with 60 (KB / s) and the communication speed 10 (Kbps). In addition, No. 16, the frequency information corresponding to the system call A is 10 (times / s), and the frequency information corresponding to the system call B is 1 (times / s). No. 91 includes type information: system call A, system call B, and system call C, frequency information: 10 (times / s), 1 (times / s), and 2 (times / s), CPU usage rate: 50 (% ), Memory usage: 512 (MB), HDD writing speed: 80 (KB / s), and communication speed 0 (Kbps). In addition, No. 91, the frequency information corresponding to the system call A is 10 (times / s), the frequency information corresponding to the system call B is 1 (times / s), and the frequency information corresponding to the system call C is 2 (times). / S).

取得部21は、複数種の第1リソース情報の集合である第1リソース集合を物理サーバ31から取得する。例えば、取得部21は、第1リソース集合として、CPU使用率:40(%)、メモリ使用量:512(MB)、HDDの書き込み速度:50(KB/s)、通信速度10(Kbps)を取得する。   The acquisition unit 21 acquires from the physical server 31 a first resource set that is a set of multiple types of first resource information. For example, the acquisition unit 21 sets the CPU usage rate: 40 (%), the memory usage: 512 (MB), the HDD writing speed: 50 (KB / s), and the communication speed 10 (Kbps) as the first resource set. get.

なお、本実施形態において、取得部21が第1リソース集合を取得するタイミングは、所定の時刻になった時であってもよいし、管理サーバ20の運用者が操作入力した指令を受け付けた時であってもよいし、他の条件をトリガとしてもよい。   In the present embodiment, the timing at which the acquisition unit 21 acquires the first resource set may be a predetermined time, or when an instruction input by an operator of the management server 20 is received. Or other conditions may be used as a trigger.

また、本実施形態において、取得部21は物理サーバ31から第1リソース集合を取得しているが、取得先はこれに限らなくてもよい。例えば、管理サーバ20が物理サーバ31から第1リソース集合(第1リソース情報)を予め受信しているのであれば、記憶部25が当該第1リソース集合を記憶しておき、取得部21は記憶部25から当該第1リソース集合を取得してもよい。あるいは、物理サーバ31で使用されたリソース量を、図1に図示されない他の装置が測定可能であって第1リソース集合(第1リソース情報)を保存しているのであれば、取得部21は当該装置から当該第1リソース集合を取得してもよい。   In the present embodiment, the acquisition unit 21 acquires the first resource set from the physical server 31, but the acquisition destination is not limited to this. For example, if the management server 20 has previously received a first resource set (first resource information) from the physical server 31, the storage unit 25 stores the first resource set, and the acquisition unit 21 stores the first resource set. The first resource set may be acquired from the unit 25. Alternatively, if the amount of resources used in the physical server 31 can be measured by another device not shown in FIG. 1 and the first resource set (first resource information) is stored, the acquiring unit 21 The first resource set may be acquired from the device.

第1抽出部22は、物理サーバ31に関連付けられたリソース情報のうち、取得部21によって取得された第1リソース情報との乖離度が最小であるリソース情報を性能情報記憶部26から選択し、選択されたリソース情報に関連付けられた頻度情報を抽出する。より詳細には、第1抽出部22は、物理サーバ31に関連付けられ、かつ取得部21によって取得された第1リソース集合と同種のリソース情報であるリソース集合の各々と、第1リソース集合とを比較し、互いの乖離度を夫々算出する。そして、第1抽出部22は、算出された当該乖離度が最小となるリソース集合を選択し、選択されたリソース集合に関連付けられた種別集合と頻度集合を抽出する。なお、ここで同種のリソース情報と比較するとは、リソース集合に含まれるCPU使用率同士を比較したり、メモリ使用量同士を比較したりすることを意味している。また、ここで乖離度とは、比較したリソース情報同士の差分を無次元化して得られる値の二乗をリソースの種別ごとに求め、それを合算した値である。本実施形態では、無次元化して得られる値の二乗の総和とするが、無次元化して得られる値の絶対値の総和であってもよい。   The first extraction unit 22 selects, from the performance information storage unit 26, resource information that has a minimum deviation from the first resource information acquired by the acquisition unit 21 among the resource information associated with the physical server 31. Extract frequency information associated with the selected resource information. More specifically, the first extraction unit 22 associates each resource set that is associated with the physical server 31 and is the same type of resource information as the first resource set acquired by the acquisition unit 21, and the first resource set. Compare each other and calculate the degree of divergence between each other. Then, the first extraction unit 22 selects a resource set that minimizes the calculated degree of divergence, and extracts a type set and a frequency set associated with the selected resource set. Note that the comparison with the resource information of the same type here means comparing the CPU usage rates included in the resource sets or comparing the memory usage amounts. Here, the degree of divergence is a value obtained by obtaining the square of a value obtained by making the difference between the compared resource information non-dimensional for each resource type and adding them up. In the present embodiment, the sum of the squares of the values obtained by making dimensionless is used, but it may be the sum of the absolute values of the values obtained by making dimensionless.

第1抽出部22が、上記乖離度を求める算出式は、以下の式(1)で表せる。

Figure 2011145894
The calculation formula by which the first extraction unit 22 calculates the degree of divergence can be expressed by the following formula (1).
Figure 2011145894

ただし、式(1)における各記号の意味は、以下の通りである。
n:リソース情報の種類の数
(Up、・・・Up):算出対象となるリソース集合
(Ut、・・・Ut):第1リソース集合
(Umax、・・・Umax):単位時間で使用されるリソース量の最大値の集合
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 information storage unit 26, or may be previously set in each physical server 31 to 3m. It may be a maximum value determined by actual measurement or a maximum value set by an operator. However, when the maximum value is set by the operator, it is necessary that each physical server 31 to 3m be restricted so that a resource amount equal to or larger than the set maximum value cannot be used in unit time.

第2抽出部23は、物理サーバ32に関連付けられた頻度情報のうち、第1抽出部22によって抽出された頻度情報との乖離度が最小である頻度情報を性能情報記憶部26から選択し、選択された頻度情報に関連付けられたリソース情報を抽出する。より詳細には、第2抽出部23は、第1抽出部22によって抽出された種別集合と合致し、かつ物理サーバ32に関連付けられた種別集合を少なくとも一組選択し、選択された種別集合に関連付けられた頻度集合の各々と、第1抽出部22によって抽出された頻度集合とを比較し、互い乖離度を夫々算出し、当該乖離度が最小となる頻度集合を選択し、選択された頻度集合に関連付けられたリソース集合(リソース情報)を抽出する。ここで合致するとは、例えば、比較される種別集合の各々に含まれる種別情報の全部が互いに一致することであってもよいし、一部が互いに一致することであってもよい。また、ここで乖離度とは、比較した頻度情報同士の差分を無次元化して得られる値の二乗をシステムコールの種別ごとに求め、それを合算した値である。本実施形態では、無次元化して得られる値の二乗の総和とするが、無次元化して得られる値の絶対値の総和であってもよい。   The second extraction unit 23 selects, from the performance information storage unit 26, frequency information that has a minimum deviation from the frequency information extracted by the first extraction unit 22 among the frequency information associated with the physical server 32. Resource information associated with the selected frequency information is extracted. More specifically, the second extraction unit 23 selects at least one type set that matches the type set extracted by the first extraction unit 22 and is associated with the physical server 32, and sets the selected type set to the selected type set. Each of the associated frequency sets and the frequency set extracted by the first extraction unit 22 are compared, the degrees of divergence are calculated, the frequency set that minimizes the divergence is selected, and the selected frequency A resource set (resource information) associated with the set is extracted. Here, “matching” may be, for example, that all of the type information included in each of the type sets to be compared may match each other, or may partially match each other. Here, the degree of divergence is a value obtained by calculating the square of values obtained by making the difference between the compared frequency information non-dimensional for each type of system call and adding them up. In the present embodiment, the sum of the squares of the values obtained by making dimensionless is used, but it may be the sum of the absolute values of the values obtained by making dimensionless.

第2抽出部23が、上記乖離度を求める算出式は、以下の式(2)で表せる。

Figure 2011145894
The calculation formula used by the second extraction unit 23 to calculate the degree of divergence can be expressed by the following formula (2).
Figure 2011145894

ただし、式(2)における各記号の意味は、以下の通りである。
n:システムコールの種類の数
(Ep、・・・Ep):算出対象となる頻度集合
(Et、・・・Et):第1抽出部22によって抽出された頻度集合
(Emax、・・・Emax):単位時間で実行されるシステムコールの実行頻度の最大値の集合
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 first extraction unit 22 ,... Emax n ): set of maximum values of execution frequency of system calls executed in unit time Ve: 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 frequency of system calls executed in unit time may be the maximum value in the frequency information stored in the performance information storage unit 26, or may be set in advance for each physical server 31. It may be a maximum value determined by actual measurement at ˜3 m, or may be a maximum value set by an operator. However, when the maximum value is set by the operator, it is necessary that each physical server 31 to 3m be restricted so that each system call cannot be executed with a frequency equal to or higher than the set maximum value. is there.

出力部24は、仮想サーバがアプリケーション処理を物理サーバ32上で実行するときに物理サーバ32で使用されるリソース量の推測値として、第2抽出部23によって抽出されたリソース集合(リソース情報)を出力する。出力部24によって出力されたリソース集合によって示されるリソース量が、アプリケーション処理によって使用される物理サーバ32のリソース量の推測値となる。出力部24が出力するリソース情報の出力先やその形式は特に制限されるものではない。例えば、出力部24は、管理サーバ20に含まれる他の構成要素にリソース情報を出力してもよく、管理サーバ20とは異なる装置にリソース情報を出力してもよい。また、出力部24は、プロセッサによって可読なデータ形式でリソース情報を出力してもよく、運用者が認識可能にリソース情報を表示出力してもよく、印字出力してもよい。   The output unit 24 uses the resource set (resource information) extracted by the second extraction unit 23 as an estimated value of the amount of resources used in the physical server 32 when the virtual server executes application processing on the physical server 32. Output. The resource amount indicated by the resource set output by the output unit 24 is an estimated value of the resource amount of the physical server 32 used by the application process. The output destination and the format of the resource information output by the output unit 24 are not particularly limited. For example, the output unit 24 may output the resource information to other components included in the management server 20 or may output the resource information to a device different from the management server 20. The output unit 24 may output the resource information in a data format readable by the processor, may display and output the resource information so that the operator can recognize it, or may print it out.

なお、管理サーバ20に含まれる構成要素の全部または一部は、ハードウェアで実現されてもよいし、あるいは、管理サーバ20が備えるプロセッサ(図示せず)に処理を実行させるプログラム(またはプログラムコード)で実現されてもよい。   All or some of the components included in the management server 20 may be realized by hardware, or a program (or program code) that causes a processor (not shown) included in the management server 20 to execute processing. ).

管理サーバ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 management server 20 are implemented by a program, the program is stored in a storage medium such as a non-volatile memory that can be read by a processor (computer). The program includes each of a plurality of physical servers 31 to 3m that can send and receive a virtual server via the communication network 10, and frequency information indicating the frequency of executing a system call on the physical servers 31 to 3m. The processor is caused to execute a performance information storage process for associating and storing resource information representing the resource amount of the physical servers 31 to 3m used when the system call is executed at the frequency. In addition, the program executes, in the processor, an acquisition process for acquiring first resource information indicating the amount of resources used in the physical server 31 when the virtual server executes an application process involving a system call on the physical server 31. Let In addition, the program selects resource information that is associated with the physical server 31 and that is closest to the first resource information acquired in the acquisition process, and extracts frequency information associated with the selected resource information. The processor executes the extraction process. In addition, the program selects frequency information closest to the frequency information extracted in the first extraction process from the frequency information associated with the physical server 32 different from the physical server 31, and sets the selected frequency information. The processor executes a second extraction process for extracting the associated resource information. Further, the program causes the processor to execute an output process for outputting the resource information extracted in the second extraction process.

図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 management server 20 of this embodiment. First, the management server 20 includes each of a plurality of physical servers 31 to 3m that can send and receive virtual servers via the communication network 10, and frequency information indicating the frequency of executing system calls on the physical servers 31 to 3m. The resource information indicating the resource amount of the physical servers 31 to 3m used when the system call is executed at the frequency is stored in association with each other (step S1). Subsequently, the management server 20 acquires first resource information indicating the amount of resources used in the physical server 31 when the virtual server executes an application process involving a system call on the physical server 31 (step S2). Then, the management server 20 selects resource information that is associated with the physical server 31 and that is closest to the first resource information acquired in step S2, and extracts frequency information associated with the selected resource information ( Step S3). Also, the management server 20 selects the frequency information that is most similar to the frequency information extracted in step S3 from the frequency information associated with the physical server 32 that is different from the physical server 31, and associates it with the selected frequency information. The obtained resource information is extracted (step S4). Furthermore, the management server 20 outputs the resource information extracted in step S4 as an estimated value of the amount of resources used in the physical server 32 when the virtual server executes application processing on the physical server 32 (step S5). ).

ここで、本実施形態の効果について説明する。本実施形態は、仮想サーバによるアプリケーション処理によって使用される物理サーバのリソース量を推測するため、当該アプリケーション処理に伴うシステムコールに着目したことを特徴とする。仮想サーバが物理サーバ上のハードウェア資源を利用する際にはシステムコールが実行される。従って、システムコールの種別と頻度と、そのときに物理サーバで使用されているリソース量との関係性を、可能な限り網羅して予め記憶しているのであれば、非常に高い精度で当該アプリケーションに伴うシステムコールの種別と頻度とを推測することができる。また、測定対象となる物理サーバの各々について、上記関係性を予め記憶しているのであれば、推定したシステムコールの種別と頻度とに基づいて、他の物理サーバで同様のアプリケーション処理を実行したときに与えるリソースへの負荷も非常に高い精度で推測することができる。なお、本実施形態の手法を用いる場合、より多くのシステムコールの種別、より多様なシステムコールの実行頻度を予め記憶しておくことで、より推測の精度が向上する。   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 physical server 32 indicates a plurality of types of resource amounts. Therefore, as a result, the amount of information obtained is larger than the method in which only a single type of resource amount is required, and it can be used for general purposes.

〔第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 information processing system 200 according to the second embodiment of the present invention. A management server 40, physical servers 31 to 3m, and a management client 50 are connected to the communication network 10. The communication network 10 and the physical servers 31 to 3m of the present embodiment are equivalent to the communication network 10 and the physical servers 31 to 3m of the first embodiment. In addition, two types of business virtual servers and measurement virtual servers appear in this embodiment. The business virtual server can execute application processing on the physical server, and is equivalent to the virtual server of the first embodiment. The measurement virtual server can measure the amount of resources used on the physical server when the system call is executed in accordance with a command from the performance characteristic acquisition instruction unit 41 at a plurality of frequencies. . Then, the measurement virtual server can use the frequency of executing the system call as frequency information, can use the measured resource amount as resource information, and can send the frequency information and resource information to the performance information storage unit 46. Details of the operation of the measurement virtual server will be described later.

管理サーバ40では、性能特性取得指示部41、仮想サーバ稼動部42、性能情報計算部43、記憶部44を備える。また、記憶部44は、仮想サーバイメージ記憶部45、性能情報記憶部46、時系列性能情報記憶部47、負荷情報記憶部48を含んでいる。なお、仮想サーバイメージ記憶部45、性能情報記憶部46、時系列性能情報記憶部47、負荷情報記憶部48は、記憶部44に含まれる記憶領域の一部である。また、記憶部44は、以下で説明する情報以外にも、管理サーバ40内で処理される情報、プログラム、変数等を記憶してもよい。   The management server 40 includes a performance characteristic acquisition instruction unit 41, a virtual server operating unit 42, a performance information calculation unit 43, and a storage unit 44. The storage unit 44 includes a virtual server image storage unit 45, a performance information storage unit 46, a time-series performance information storage unit 47, and a load information storage unit 48. The virtual server image storage unit 45, the performance information storage unit 46, the time-series performance information storage unit 47, and the load information storage unit 48 are part of the storage area included in the storage unit 44. In addition to the information described below, the storage unit 44 may store information, programs, variables, and the like that are processed in the management server 40.

仮想サーバイメージ記憶部45には、計測用仮想サーバのイメージと業務用仮想サーバのイメージとが登録されている。仮想サーバ稼動部42は各々の物理サーバ31〜3m上で計測用仮想サーバを稼動させる。より詳細には、仮想サーバ稼動部42は、仮想サーバイメージ記憶部45に登録されている計測用仮想サーバのイメージを各々の物理サーバ31〜3m上にコピーし、コピーされた計測用仮想サーバを起動するように指示する。なお、仮想サーバ稼動部42は、単一の物理サーバ上で複数の計測用仮想サーバを稼動させてもよい。   In the virtual server image storage unit 45, an image of a measurement virtual server and an image of a business virtual server are registered. The virtual server operating unit 42 operates the measurement virtual server on each of the physical servers 31 to 3m. More specifically, the virtual server operating unit 42 copies the image of the measurement virtual server registered in the virtual server image storage unit 45 onto each of the physical servers 31 to 3m, and stores the copied measurement virtual server. Instruct to start. Note that the virtual server operating unit 42 may operate a plurality of measurement virtual servers on a single physical server.

そして、仮想サーバ稼動部42は、各々の物理サーバ31〜3m上で業務用仮想サーバを稼動させる。より詳細には、仮想サーバ稼動部42は、仮想サーバイメージ記憶部45に登録されている業務用仮想サーバのイメージを物理サーバ31〜3m上にコピーし、コピーされた業務用仮想サーバを起動するように指示する。なお、仮想サーバ稼動部42は、単一の物理サーバ上で複数の業務用仮想サーバを稼動してもよい。また、業務用仮想サーバはクライアント処理もしくはジョブをスケジュール化された処理により、負荷を発生し、物理サーバのリソースを消費しているものとする。   Then, the virtual server operating unit 42 operates the business virtual server on each of the physical servers 31 to 3m. More specifically, the virtual server operating unit 42 copies the business virtual server image registered in the virtual server image storage unit 45 onto the physical servers 31 to 3m, and starts the copied business virtual server. To instruct. The virtual server operating unit 42 may operate a plurality of business virtual servers on a single physical server. In addition, it is assumed that the business virtual server generates a load and consumes physical server resources by client processing or job scheduling processing.

物理サーバ31〜3mは、自機全体のリソース使用量、自機上で起動中の計測用仮想サーバのリソース使用量、自機上で起動中の業務用仮想サーバのリソース使用量の少なくとも一つを定期的に取得する。   The physical servers 31 to 3m are at least one of the resource usage of the entire own device, the resource usage of the measurement virtual server running on the own device, and the resource usage of the business virtual server running on the own device Get on a regular basis.

管理クライアント50は運用者が操作する端末である。図4では図示しないが、管理クライアント50は、運用者が操作入力可能なキーボードやポインタ等を備えてもよい。また管理クライアント50は、自機内で処理する情報等を、運用者が認知可能なように表示出力したり、印字出力したりする機能を備えてもよい。   The management client 50 is a terminal operated by an operator. Although not illustrated in FIG. 4, the management client 50 may include a keyboard, a pointer, and the like that can be input by an operator. In addition, the management client 50 may have a function of displaying and printing out information to be processed in its own device so that the operator can recognize it, or printing it out.

以下の説明において、仮想サーバ稼動部42は、仮想サーバイメージ記憶部45から物理サーバ31〜3mの夫々に少なくとも一つの計測用仮想サーバを既に稼動させており、計測用仮想サーバは管理サーバ40からの指示を受けてシステムコールを実行することができることを前提として説明する。また、仮想サーバ稼動部42は、仮想サーバイメージ記憶部45から物理サーバ31に業務用仮想サーバを既に稼動させており、業務用仮想サーバは物理サーバ31上でアプリケーション処理を実行した後であることを前提として説明する。なお、計測用仮想サーバが待機中であるとき、物理サーバ上のリソースに影響する程の負荷を発生しないものとする。   In the following description, the virtual server operating unit 42 has already operated at least one measurement virtual server from the virtual server image storage unit 45 to each of the physical servers 31 to 3m. The explanation will be made on the assumption that the system call can be executed in response to the instruction. The virtual server operating unit 42 has already operated the business virtual server from the virtual server image storage unit 45 to the physical server 31, and the business virtual server is after executing application processing on the physical server 31. It will be explained on the assumption. Note that when the measurement virtual server is on standby, a load that affects resources on the physical server is not generated.

図5は、本実施形態の性能特性取得指示部41の動作を表すフローチャートである。まず、性能特性取得指示部41は、管理クライアント50から性能特性取得指示を受信する(ステップA1)。性能特性取得指示部41は、ステップA1で受信した性能特性指示に則った指令を、物理サーバ31〜3m上の計測用仮想サーバの夫々に対して送信する(ステップA2)。ここで、性能特性取得指示とは、具体的には、どの種別のシステムコールを計測用仮想サーバに実行させるか、または何通りの頻度でシステムコールを計測用仮想サーバに実行させるか(サンプリングポイント数)等を、運用者が設定した情報である。   FIG. 5 is a flowchart showing the operation of the performance characteristic acquisition instruction unit 41 of the present embodiment. First, the performance characteristic acquisition instruction unit 41 receives a performance characteristic acquisition instruction from the management client 50 (step A1). The performance characteristic acquisition instruction unit 41 transmits a command in accordance with the performance characteristic instruction received in step A1 to each of the measurement virtual servers on the physical servers 31 to 3m (step A2). Here, the performance characteristic acquisition instruction specifically refers to which type of system call is to be executed by the measurement virtual server or how often the system call is to be executed by the measurement virtual server (sampling point). Number) etc. is information set by the operator.

さらに、性能特性取得指示部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 acquisition instructing unit 41 instructs the physical servers 31 to 3m to periodically output the resource usage acquired by the physical servers 31 to 3m to the measurement virtual server on the own machine. (Step A3). Then, the performance characteristic acquisition instructing unit 41 receives the measurement result from each measurement virtual server as a response to the command transmitted in step A2, and stores the received measurement result in the performance information storage unit 46 and the load information storage unit 48. Store (step A4). Then, the performance characteristic acquisition instruction unit 41 instructs the physical server that is the transmission source of the measurement result received in Step A4 to stop outputting the resource usage to the measurement virtual server on the own device (Step S4). A5). If all the measurement results of the physical servers 31 to 3m are stored in the performance information storage unit 46 (YES in step A6), the operation of the performance characteristic acquisition instruction unit 41 is finished. If some of the measurement results of the physical servers 31 to 3m are not yet stored in the performance information storage unit 46 (NO in step A6), the processes in step A4 and step A5 are repeated again.

なお、ステップA3の指示に従って、物理サーバ31〜3mから計測用仮想サーバに出力されたリソース使用量は、その都度、計測用仮想サーバに記憶されるものとする。また、ステップA4で受信する計測結果は、後述するステップB13で送信される計測結果であって、性能情報記憶部46には、ステップB11で関連付けて記憶したシステムコールの種別と実行回数とリソース使用量の平均値とが記憶される。そして、負荷情報記憶部48には、ステップB4で関連付けて記憶したシステムコールの種別と実行回数とリソース使用量とが記憶される。   The resource usage output from the physical servers 31 to 3m to the measurement virtual server in accordance with the instruction in step A3 is stored in the measurement virtual server each time. The measurement result received in step A4 is the measurement result transmitted in step B13, which will be described later. The type of system call, the number of executions, and the resource usage stored in the performance information storage unit 46 in association with step B11. The average value of the quantity is stored. The load information storage unit 48 stores the system call type, the number of executions, and the resource usage stored in association with each other in step B4.

図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通り×実行回数の組み合わせ:5通り)存在する。さらに、三種類のシステムコールを実行させる計測パターンは125通り(=システムコールの組み合わせ:1通り×実行回数の組み合わせ:5通り)存在する。従って、上記のような条件であれば、計測パターンは最大で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 information calculation unit 43 of this embodiment. First, the performance information calculation unit 43 receives a load reproduction verification instruction from the management client 50 (step C1). The performance information calculation unit 43 issues an instruction to extract the resource usage from a plurality of pieces of information including a pair of the number of system call executions and the resource usage measured on the physical server 31 existing in the performance information storage unit 46. . Furthermore, the performance information calculation unit 43 is instructed to extract the resource usage of the business virtual server that was running on the physical server 31 stored in the load information storage unit 48. And the performance information calculation part 43 calculates the deviation degree with those resource usage. The performance information calculation unit 43 compares the degree of divergence calculated above and causes the time series performance information storage unit 47 to store the one having the smallest divergence degree. Under this condition, it is possible to extract the estimated value of the number of executions of the closest system call in order to output the resource usage of the business virtual server on the physical server 31 (step C2). The degree of divergence calculated in step C2 is calculated using the equation (1) described in the first embodiment. That is, the performance information calculation unit 43 performs a process equivalent to the first extraction unit 22 described in the first embodiment.

性能情報計算部43は、性能情報記憶部46に存在する物理サーバ32上で計測したシステムコールの実行回数とリソース使用量のペアから成る複数の情報より、その実行回数と、ステップC2で抽出した実行回数の乖離度を算出する。性能情報計算部43は、上記で算出された乖離度と比較し、時系列性能情報記憶部47に乖離度が一番小さいものを格納させる。この条件により、物理サーバ32上でのリソース使用量の推定値を抽出することができる(ステップC3)。ステップC3で算出される乖離度は、第1の実施形態で説明した式(2)を用いて算出される。すなわち、性能情報計算部43は、第1の実施形態で説明した第2抽出部23と同等の処理を行う。   The performance information calculation unit 43 extracts the number of executions and the number of executions in step C2 from a plurality of pieces of information consisting of system call execution times and resource usage pairs measured on the physical server 32 existing in the performance information storage unit 46. Calculate the divergence of the number of executions. The performance information calculation unit 43 compares the degree of divergence calculated above and causes the time series performance information storage unit 47 to store the one having the smallest divergence degree. Under this condition, the estimated value of the resource usage on the physical server 32 can be extracted (step C3). The divergence degree calculated in step C3 is calculated using the equation (2) described in the first embodiment. That is, the performance information calculation unit 43 performs processing equivalent to that of the second extraction unit 23 described in the first embodiment.

性能情報計算部43は、物理サーバ32上の計測用仮想サーバに対して、時系列性能情報記憶部47の時系列ごとの各システムコールの実行回数のデータを送信する。すなわち、性能情報計算部43は、第1の実施形態で説明した出力部24と同等の処理を行う。当該計測用仮想サーバは、受け付けた頻度情報が示す頻度でシステムコールを実行し、当該システムコールを実行したときに物理サーバ32上で使用されるリソース量を計測し、計測されたリソース量(第2リソース情報)を性能情報計算部43に応答する(ステップC4)。   The performance information calculation unit 43 transmits the data of the number of executions of each system call for each time series in the time series performance information storage unit 47 to the measurement virtual server on the physical server 32. That is, the performance information calculation unit 43 performs a process equivalent to that of the output unit 24 described in the first embodiment. The measurement virtual server executes a system call at the frequency indicated by the received frequency information, measures the resource amount used on the physical server 32 when the system call is executed, and measures the measured resource amount (first 2 resource information) is returned to the performance information calculation unit 43 (step C4).

性能情報計算部43は、ステップC3で抽出された物理サーバ32上の業務用仮想サーバのリソース使用量の推定値と、ステップC4で応答されたリソース使用量との乖離度を算出する(ステップC5)。ステップC5で算出される乖離度は、第1の実施形態で説明した式(1)を用いて算出される。なお、ステップC5の算出結果を管理クライアント50に送信し、管理クライアント50が算出結果を表示出力する等して運用者に通知すれば、運用者はこれらの見積もりが正しいかどうかの整合性を確認することができる。   The performance information calculation unit 43 calculates the divergence between the estimated value of the resource usage of the business virtual server on the physical server 32 extracted in Step C3 and the resource usage returned in Step C4 (Step C5). ). The degree of divergence calculated in step C5 is calculated using the equation (1) described in the first embodiment. If the calculation result of step C5 is transmitted to the management client 50 and the management client 50 notifies the operator by displaying the calculation result, etc., the operator confirms the consistency of whether these estimates are correct. can do.

ステップ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 physical server 32 extracted in step C3 is confirmed, and the estimated value of the resource usage is the maximum value of each resource usage of the physical server 32. If not reached (NO in step C6), the virtual server operating unit 42 operates the business virtual server existing on the physical server 31 on the physical server 32 (step C7). If any of the resource usage amounts has reached the maximum value (YES in step C6), the process ends at this point.

性能情報計算部43は、ステップC3で抽出された物理サーバ32上の業務用仮想サーバのリソース使用量の推定値と、物理サーバ32上で実際に業務用仮想サーバがアプリケーション処理を実行したときのリソース使用量との乖離度を算出する(ステップC8)。ステップC8で算出される乖離度は、第1の実施形態で説明した式(1)を用いて算出される。なお、ステップC8の算出結果を管理クライアント50に送信し、管理クライアント50が算出結果を表示出力する等して運用者に通知すれば、運用者はこれらの見積もりが正しいかどうかの整合性を確認することができる。   The performance information calculation unit 43 uses the estimated value of the resource usage of the business virtual server on the physical server 32 extracted in step C3, and when the business virtual server actually executes the application process on the physical server 32. The degree of deviation from the resource usage is calculated (step C8). The degree of divergence calculated in step C8 is calculated using the equation (1) described in the first embodiment. If the calculation result of step C8 is sent to the management client 50 and the management client 50 notifies the operator by displaying the calculation result, etc., the operator confirms the consistency of whether these estimates are correct. can do.

ここで、本実施形態の効果について説明する。本実施形態は、各々の物理サーバ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 physical servers 31 to 3m. it can.

また、本実施形態は、求められたリソース使用量の推測値が最大値に達していないときに、業務用仮想サーバを稼動させるので、業務用仮想サーバは物理サーバで確実にアプリケーション処理を実行することができる。さらに、本実施形態では、求められたリソース使用量の推測値の整合性を検証するので、リソース使用量の最大値に達しない物理サーバを選択し、当該物理サーバ上で業務用仮想サーバを稼動させることができる。従って、業務用仮想サーバは当該物理サーバ上でより確実にアプリケーション処理を実行することができる。   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 information processing system 200 of the second embodiment. However, it is assumed that the first measurement server and the second measurement server are operating on the physical server 31. The operations of the management server 40 and the measurement management server on the physical servers 31 to 3m are the same as the operations described with reference to FIGS. 5 and 6, and thus detailed description thereof is omitted.

図8は、本実施形態の性能情報計算部43の動作を表すフローチャートである。性能情報計算部43は、管理クライアント50から、負荷情報記憶部48に記憶された物理サーバ31の空き資源検証指示を受け付ける(ステップE1)。ここで、物理サーバ31で稼動していた業務用仮想サーバのリソース使用量は負荷情報記憶部48に記憶されているものとする。   FIG. 8 is a flowchart showing the operation of the performance information calculation unit 43 of this embodiment. The performance information calculation unit 43 receives the free resource verification instruction of the physical server 31 stored in the load information storage unit 48 from the management client 50 (step E1). Here, it is assumed that the resource usage of the business virtual server operating on the physical server 31 is stored in the load information storage unit 48.

性能情報計算部43は、性能情報記憶部46に存在する物理サーバ31上で計測したシステムコールの実行回数とリソース使用量のペアから成る複数の情報より、そのリソース使用量を抽出する指示を行なう。さらに、性能情報計算部43は、各リソースに関して物理サーバ31の最大リソース使用量から、負荷情報記憶部48に記憶された物理サーバ31で稼動していた業務用仮想サーバのリソース使用量を引いたリソース使用量を抽出する指示を行なう。そして、性能情報計算部43は、それらのリソース使用量との乖離度を算出する。性能情報計算部43は、上記で算出された乖離度と比較し、乖離度が一番小さいものを時系列性能情報記憶部47に格納させる。そして、この条件により、物理サーバ31上で空キャパシティ分のリソース使用量を出力するために一番近い実行回数の推定値を抽出する(ステップE2)。なお、ステップE2で算出される乖離度は、第1の実施形態で説明した式(1)を用いて算出される。   The performance information calculation unit 43 issues an instruction to extract the resource usage from a plurality of pieces of information including a pair of the number of system call executions and the resource usage measured on the physical server 31 existing in the performance information storage unit 46. . Furthermore, the performance information calculation unit 43 subtracts the resource usage of the business virtual server that was running on the physical server 31 stored in the load information storage unit 48 from the maximum resource usage of the physical server 31 for each resource. Instructs to extract resource usage. And the performance information calculation part 43 calculates the deviation degree with those resource usage. The performance information calculation unit 43 compares the degree of divergence calculated above and causes the time series performance information storage unit 47 to store the one having the smallest degree of divergence. Under this condition, an estimated value of the nearest execution count is extracted in order to output the resource usage for the empty capacity on the physical server 31 (step E2). Note that the degree of divergence calculated in step E2 is calculated using the equation (1) described in the first embodiment.

性能情報計算部43は、物理サーバ31上の第1計測用仮想サーバに対して、時系列性能情報記憶部47の時系列ごとの業務用仮想サーバのシステムコールの実行回数の推定値データを送信する。さらに、性能情報計算部43は、物理サーバ31上の第2計測用仮想サーバに対して、時系列性能情報記憶部47の時系列ごとの空キャパシティ分のシステムコールの実行回数の推定値データを送信する(ステップE3)。ステップE3で送信されたシステムコールの実行回数の推定値データに基づいて、第1計測用仮想サーバと第2計測用仮想サーバは負荷を発生させ、そのリソース使用量を測定する。測定されたリソース使用量は管理サーバ40に送出され、負荷情報記憶部48に記憶される。   The performance information calculation unit 43 transmits estimated value data of the number of system call executions of the business virtual server for each time series in the time series performance information storage unit 47 to the first measurement virtual server on the physical server 31. To do. Further, the performance information calculation unit 43 estimates the number of execution times of system calls for the empty capacity for each time series in the time series performance information storage unit 47 for the second measurement virtual server on the physical server 31. Is transmitted (step E3). Based on the estimated value data of the number of executions of the system call transmitted in step E3, the first measurement virtual server and the second measurement virtual server generate a load and measure the resource usage. The measured resource usage is sent to the management server 40 and stored in the load information storage unit 48.

性能情報計算部43は、時系列性能情報記憶部47に記憶された実際の物理サーバ31の空きリソース使用量と、負荷情報記憶部48に記憶された第2計測用仮想サーバのリソース使用量から算出した空きリソース使用量の推定値との乖離度を算出する(ステップE4)。ステップE4で算出される乖離度は、第1の実施形態で説明した式(1)を用いて算出される。なお、ステップE4の算出結果を管理クライアント50に送信し、管理クライアント50が算出結果を表示出力する等して運用者に通知すれば、運用者はこれらの見積もりが正しいかどうかの整合性を確認することができる。   The performance information calculation unit 43 uses the actual resource usage amount of the physical server 31 stored in the time-series performance information storage unit 47 and the resource usage amount of the second measurement virtual server stored in the load information storage unit 48. The degree of deviation from the calculated estimated value of free resource usage is calculated (step E4). The degree of divergence calculated in step E4 is calculated using the equation (1) described in the first embodiment. If the calculation result of step E4 is transmitted to the management client 50 and the management client 50 notifies the operator by displaying and outputting the calculation result, the operator confirms whether or not these estimates are correct. can do.

ここで、本実施形態の効果について説明する。「事前計測」と「組み合わせ計測」を実行することにより、リソース使用量とシステムコールの実行回数の対応関係が判明する。アプリケーション内のシステムコールの実行処理を想定し、計測プログラム上でシステムコールの実行を行うことによって、発生する負荷のパターンを網羅するようにこの処理を行っている。この処理により、計測したデータの中に業務用仮想サーバ以外に利用可能な空きリソースと同等に近いリソース使用量を示すパターンがあるため、この中から該当するものを抽出し、実行回数に変換する。変換した実行回数でそれぞれのサーバ上で空きリソースを比較できる。このことから従来の方式では考慮されていなかった様々なレイヤーでのシステムコール間のオーバーヘッド等を含んで負荷を見積もることによって、よりアプリケーションが発生する負荷に近いパターンを選択することができるので、見積もり負荷の精度が向上する。さらに検証処理を入れることにより、負荷の見積もりが正しいかどうかの整合性を確かめることが可能となる。   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 first extraction unit 22 or the second extraction unit 23 has been described so as to select the resource information or the frequency information with the smallest calculated divergence, but the compared values match. Depending on whether or not, resource information or frequency information to be selected may be determined. In addition, the first extraction unit 22 or the second extraction unit 23 may extract resource information or frequency information that minimizes the difference between each calculated degree of deviation (index value) and a predetermined determination value. At this time, the predetermined determination value may be 0 or another numerical value. Further, the first extraction unit 22 and the second extraction unit 23 may use different determination values.

また、上記実施形態の説明には、複数のフローチャートを用いており、それぞれに複数のステップを順番に記載してあるが、その記載の順番は、本発明の情報処理方法のステップを実行する順番を限定するものではない。このため、本発明の情報処理方法を実行するときには、その複数のステップの順番は内容的に支障しない範囲で変更することができる。   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 SYMBOLS 100 Information processing system 200 Information processing system 10 Communication network 20 Management server 21 Acquisition part 22 Extraction part 23 Extraction part 24 Output part 25 Storage part 26 Performance information storage part 31-3m Physical server 40 Management server 41 Performance characteristic acquisition instruction part 42 Virtual Server operation unit 43 Performance information calculation unit 44 Storage unit 45 Virtual server image storage unit 46 Performance information storage unit 47 Time-series performance information storage unit 48 Load information storage unit 50 Management client

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物理サーバに関連付けられた前記リソース情報のうち、前記取得手段によって取得された前記第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抽出手段によって抽出された前記種別集合と合致し、かつ前記第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乃至3いずれかに記載の情報処理システムであって、
前記性能情報記憶手段は、複数種の前記リソース情報の集合であるリソース集合を前記頻度情報に関連付けて記憶し、
前記取得手段は、複数種の前記第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 .
請求項1乃至4いずれかに記載の情報処理システムであって、
各々の前記物理サーバ上で計測用仮想サーバを稼動させる仮想サーバ稼動手段を備え、
前記仮想サーバ稼動手段によって前記物理サーバ上で稼動された前記計測用仮想サーバは、複数通りの頻度で前記システムコールを実行し、前記システムコールを実行したときに当該物理サーバ上で使用されるリソース量を計測し、前記システムコールを実行した頻度を前記頻度情報とし、また計測された前記リソース量を前記リソース情報とし、さらに前記頻度情報と前記リソース情報とを前記性能情報記憶手段に送出し、
前記性能情報記憶手段は、各々の前記計測用仮想サーバから到来した前記頻度情報と前記リソース情報とを記憶することを特徴とする情報処理システム。
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.
請求項5に記載の情報処理システムであって、
前記出力手段は、前記第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.
請求項5または6に記載の情報処理システムであって、
前記出力手段から出力された前記リソース情報によって表されるリソース量が、前記第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.
JP2010006193A 2010-01-14 2010-01-14 Information processing system, information processing apparatus, information processing method, and program Expired - Fee Related JP5413210B2 (en)

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 true JP2011145894A (en) 2011-07-28
JP5413210B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4350499A1 (en) 2022-10-06 2024-04-10 Fujitsu Limited Information processing program, information processing method, and information processing apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008102739A1 (en) * 2007-02-23 2008-08-28 Nec Corporation Virtual server system and physical server selecting method
JP2009123174A (en) * 2007-11-19 2009-06-04 Mitsubishi Electric Corp Virtual machine server sizing system, 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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008102739A1 (en) * 2007-02-23 2008-08-28 Nec Corporation Virtual server system and physical server selecting method
JP2009123174A (en) * 2007-11-19 2009-06-04 Mitsubishi Electric Corp Virtual machine server sizing system, 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

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CSNG200801154004; 柳沢  満: '共通指標を用いた仮想マシンの性能見積もり方式の提案とその評価' 情報処理学会研究報告  Vol.2009  No.6 第2009巻 第6号, 20090121, 頁27-33, 社団法人情報処理学会 *
JPN6013050734; 柳沢  満: '共通指標を用いた仮想マシンの性能見積もり方式の提案とその評価' 情報処理学会研究報告  Vol.2009  No.6 第2009巻 第6号, 20090121, 頁27-33, 社団法人情報処理学会 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4350499A1 (en) 2022-10-06 2024-04-10 Fujitsu Limited Information processing program, information processing method, and information processing apparatus

Also Published As

Publication number Publication date
JP5413210B2 (en) 2014-02-12

Similar Documents

Publication Publication Date Title
WO2011105091A1 (en) Control device, management device, data processing method of control device, and program
CN108776934B (en) Distributed data calculation method and device, computer equipment and readable storage medium
US8505011B2 (en) Method of optimizing job distribution process by analysis of transmission time and processing time
JP2008027442A (en) Sub-task processor distribution scheduling
JP6558374B2 (en) Scale number estimation apparatus, scale number management system, scale number estimation method, scale number management method, and computer program
JP2006285316A (en) Server performance measuring method, server performance measuring system and computer program used for the method and system
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
CN113407347A (en) Resource scheduling method, device, equipment and computer storage medium
CN105897865B (en) A kind of network file service management system and method that agreement is unrelated
US20120311600A1 (en) Information processing apparatus and information processing method
JP5413210B2 (en) Information processing system, information processing apparatus, information processing method, and program
JP2017162059A (en) Information processing device, control method, and program
WO2012012131A2 (en) Image processing in a computer network
WO2011080809A1 (en) Server
JP6891425B2 (en) Information processing equipment, control methods and programs
JP5751372B2 (en) Data processing system, computer program thereof, and data processing method
CN110019372A (en) Data monitoring method, device, server and storage medium
JP2015094976A (en) Information processing apparatus, information processing method, and program
JP6341212B2 (en) Information collection system, server device, edge device, control method, and program
JP2018045493A (en) CPU dynamic allocation program, CPU dynamic allocation device and CPU dynamic allocation method
WO2020031675A1 (en) Scheduling device, scheduling system, scheduling method, program, and non-transitory computer-readable medium
JP2008210110A (en) Business system and its execution request management method
WO2013027332A1 (en) Information processing device, information processing 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