JP2021105772A - Prediction management system of resource usage amount, and prediction management method of resource usage amount - Google Patents
Prediction management system of resource usage amount, and prediction management method of resource usage amount Download PDFInfo
- Publication number
- JP2021105772A JP2021105772A JP2019235758A JP2019235758A JP2021105772A JP 2021105772 A JP2021105772 A JP 2021105772A JP 2019235758 A JP2019235758 A JP 2019235758A JP 2019235758 A JP2019235758 A JP 2019235758A JP 2021105772 A JP2021105772 A JP 2021105772A
- Authority
- JP
- Japan
- Prior art keywords
- resource usage
- containers
- application
- prediction
- container
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
本発明は、コンテナのリソース利用量の予測管理システムに関するものであり、具体的には、コンテナにおける性能安定化を効率的に実現する技術に関する。 The present invention relates to a container resource usage prediction management system, and specifically, to a technique for efficiently realizing performance stabilization in a container.
近年、情報システムにおいてコンテナ型仮想化技術が一般的となっている。コンテナ型仮想化におけるコンテナとは、物理/仮想マシンのOS(Operating System)を共有し、リソースをユーザ空間で分割する、アプリケーションの実行単位である。ここでのリソースには、CPU(Central Processing Unit)やメモリやネットワークリソースが含まれる。コンテナは、負荷に応じてスケールアップやスケールアウトといったスケーリングが行われることがある。 In recent years, container-type virtualization technology has become common in information systems. A container in container-type virtualization is an application execution unit that shares the OS (Operating System) of a physical / virtual machine and divides resources in user space. The resources here include CPU (Central Processing Unit), memory, and network resources. Containers may be scaled up or scaled out depending on the load.
コンテナを実行する物理/仮想マシンのリソースの計画を立てるためには、コンテナによって利用されるリソースを予測する必要がある。 In order to plan the resources of the physical / virtual machine that runs the container, it is necessary to predict the resources used by the container.
例えば、リソース利用量の時系列データおよびリソース予約情報を元に未来の空きリソースを予測する技術が(特許文献1参照)提案されている。 For example, a technique for predicting future free resources based on time-series data of resource usage and resource reservation information has been proposed (see Patent Document 1).
上述した特許文献1は、物理マシンの空きリソースを、その上で動く個々の仮想マシンのリソース利用量の時系列データ、および予約されたマイグレーション情報を元に予測している。
The above-mentioned
しかし、同じ技術をコンテナに当てはめる場合、コンテナのスケーリングによる影響を考慮することができない。 However, when applying the same technology to containers, the impact of container scaling cannot be considered.
本発明の一側面としては、コンテナのスケーリングによる影響を考慮してリソース利用量を予測することが可能なリソース利用量の予測管理システム、リソース利用量の予測管理方法を提供することを目的とする。 One aspect of the present invention is to provide a resource usage prediction management system capable of predicting resource usage in consideration of the influence of container scaling, and a resource usage prediction management method. ..
本発明の一態様にかかる予測管理システムは、アプリケーションを動作させるコンピュータのリソース利用量を予測する予測管理システムであって、前記コンピュータ上に設けられた1または複数のコンテナに対する負荷に応じて増減する前記アプリケーションのリソース利用量の変動値を用いて、スケーリングすべきコンテナの数を予測し、当該予測後のコンテナの数に基づいて、当該予測後におけるコンテナごとの前記アプリケーションのリソース利用量の変動値を算出する計算部、を有することを特徴とするリソース利用量の予測管理システムとして構成される。 The prediction management system according to one aspect of the present invention is a prediction management system that predicts the resource usage of a computer that operates an application, and increases or decreases according to a load on one or a plurality of containers provided on the computer. The number of containers to be scaled is predicted using the fluctuation value of the resource usage of the application, and the fluctuation value of the resource usage of the application for each container after the prediction is based on the number of containers after the prediction. It is configured as a resource usage prediction management system characterized by having a calculation unit for calculating.
本発明の一態様によれば、コンテナのスケーリングによる影響を考慮してリソース利用量を予測することができる。 According to one aspect of the present invention, the resource utilization can be predicted in consideration of the influence of the scaling of the container.
以下、図面を参照して本発明の実施形態を説明する。以下の記載および図面は、本発明を説明するための例示であって、説明の明確化のため、適宜、省略および簡略化がなされている。本発明は、他の種々の形態でも実施する事が可能である。特に限定しない限り、各構成要素は単数でも複数でも構わない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. The following description and drawings are examples for explaining the present invention, and are appropriately omitted and simplified for the sake of clarification of the description. The present invention can also be implemented in various other forms. Unless otherwise specified, each component may be singular or plural.
図面において示す各構成要素の位置、大きさ、形状、範囲などは、発明の理解を容易にするため、実際の位置、大きさ、形状、範囲などを表していない場合がある。このため、本発明は、必ずしも、図面に開示された位置、大きさ、形状、範囲などに限定されない。 The positions, sizes, shapes, ranges, etc. of each component shown in the drawings may not represent the actual positions, sizes, shapes, ranges, etc., in order to facilitate understanding of the invention. Therefore, the present invention is not necessarily limited to the position, size, shape, range and the like disclosed in the drawings.
以下の説明では、「テーブル」、「リスト」等の表現にて各種情報を説明することがあるが、各種情報は、これら以外のデータ構造で表現されていてもよい。データ構造に依存しないことを示すために「XXテーブル」、「XXリスト」等を「XX情報」と呼ぶことがある。識別情報について説明する際に、「識別情報」、「識別子」、「名」、「ID」、「番号」等の表現を用いた場合、これらについてはお互いに置換が可能である。 In the following description, various information may be described by expressions such as "table" and "list", but various information may be expressed by a data structure other than these. The "XX table", "XX list", etc. may be referred to as "XX information" to indicate that they do not depend on the data structure. When expressions such as "identification information", "identifier", "name", "ID", and "number" are used in explaining the identification information, these can be replaced with each other.
同一あるいは同様な機能を有する構成要素が複数ある場合には、同一の符号に異なる添字を付して説明する場合がある。ただし、これらの複数の構成要素を区別する必要がない場合には、添字を省略して説明する場合がある。 When there are a plurality of components having the same or similar functions, they may be described by adding different subscripts to the same reference numerals. However, when it is not necessary to distinguish between these plurality of components, the subscripts may be omitted for explanation.
また、以下の説明では、プログラムを実行して行う処理を説明する場合があるが、プログラムは、プロセッサ(例えばCPU(Central Processing Unit)、GPU(Graphics Processing Unit))によって実行されることで、定められた処理を、適宜に記憶資源(例えばメモリ)および/またはインターフェースデバイス(例えば通信ポート)等を用いながら行うため、処理の主体がプロセッサとされてもよい。同様に、プログラムを実行して行う処理の主体が、プロセッサを有するコントローラ、装置、システム、計算機、ノードであってもよい。プログラムを実行して行う処理の主体は、演算部であれば良く、特定の処理を行う専用回路(例えばFPGA(Field-Programmable Gate Array)やASIC(Application Specific Integrated Circuit))を含んでいてもよい。 Further, in the following description, a process performed by executing a program may be described, but the program is determined by being executed by a processor (for example, a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit)). Since the processed processing is appropriately performed using a storage resource (for example, memory) and / or an interface device (for example, a communication port), the main body of the processing may be a processor. Similarly, the main body of processing for executing a program may be a controller, a device, a system, a computer, or a node having a processor. The main body of the processing performed by executing the program may be an arithmetic unit, and may include a dedicated circuit (for example, FPGA (Field-Programmable Gate Array) or ASIC (Application Specific Integrated Circuit)) that performs specific processing. ..
プログラムは、プログラムソースから計算機のような装置にインストールされてもよい。プログラムソースは、例えば、プログラム配布サーバまたは計算機が読み取り可能な記憶メディアであってもよい。プログラムソースがプログラム配布サーバの場合、プログラム配布サーバはプロセッサと配布対象のプログラムを記憶する記憶資源を含み、プログラム配布サーバのプロセッサが配布対象のプログラムを他の計算機に配布してもよい。また、以下の説明において、2以上のプログラムが1つのプログラムとして実現されてもよいし、1つのプログラムが2以上のプログラムとして実現されてもよい。 The program may be installed from the program source into a device such as a calculator. The program source may be, for example, a program distribution server or a computer-readable storage medium. When the program source is a program distribution server, the program distribution server includes a processor and a storage resource for storing the program to be distributed, and the processor of the program distribution server may distribute the program to be distributed to other computers. Further, in the following description, two or more programs may be realized as one program, or one program may be realized as two or more programs.
図1は、コンテナのリソース利用量の予測を実現するコンピュータシステムである予測管理システム(以下、予測管理システム)100を含むネットワーク構成図である。 FIG. 1 is a network configuration diagram including a prediction management system (hereinafter referred to as a prediction management system) 100, which is a computer system that realizes prediction of resource usage of a container.
図1に例示するネットワーク構成図では、予測管理システム100が、ネットワーク11を介して、物理/仮想マシン200〜400と接続している。物理/仮想マシン200上には、コンテナ211、221、222が存在する。物理/仮想マシン300上には、コンテナ311、321、322が存在する。物理/仮想マシン400上には、コンテナ411、421が存在する。コンテナ211、311、411は、アプリケーション510に属する。コンテナ221、222、321、322、421は、アプリケーション520に属する。
In the network configuration diagram illustrated in FIG. 1, the
図2は、予測管理システム100のハードウェア構成である。本実施例では、予測管理システム100が1つのサーバで構成される場合を例示しているが、本システムを実現するプログラムが1または複数のサーバに分散され、互いに通信することにより同様の機能を実現してもよい。
FIG. 2 shows the hardware configuration of the
予測管理システム100はSSD(Solid State Drive)やハードディスクドライブなどの不揮発性記憶素子で構成される記憶装置101、RAM(Random Access Memory)等の揮発性記憶素子で構成されるメモリ102、記憶装置101に保持されるプログラム110をメモリ102に読み出すなどして実行し、装置自体の統括制御を行うとともに各種判定、演算及び制御処理を行う演算装置たるCPU103、およびネットワーク11と接続し他装置との通信処理を担う通信装置104、を備える。
The
上述のCPU103がプログラム110を実行することで、リソース利用量予測情報計算部111の機能を実現することとなる。実現される機能の詳細は後述する。
When the above-mentioned
なお、記憶装置101内には、本実施形態の予測管理システム100として必要な機能を実装するためのプログラム110の他、処理に用いる各種情報を格納したデータベース120が少なくとも記録されている。データベース120には、テーブル121〜126が記録されている。テーブル121〜126の構成例については後述する。
In the
なお、物理/仮想マシン200〜400も、上述の予測管理システムの構成と同様に、一般的なコンピュータ装置としてのハードウェア構成を備えるものとする。
The physical /
図3は、本実施形態におけるコンテナのリソース利用量の概念を示す図である。アプリケーション510に属するコンテナ211、311、411は、それぞれリソースを利用する。利用するリソースは、固定値と変動値とに分けられる。固定値とは、コンテナの負荷に関わらず利用されるリソース利用量である。変動値とは、コンテナの負荷に応じて増減するリソース利用量である。
FIG. 3 is a diagram showing the concept of resource usage of the container in the present embodiment.
次に、本実施形態の予測管理システム100が用いるテーブルの構成例について説明する。
Next, a configuration example of the table used by the
図4は本実施形態におけるアプリケーション基本情報テーブル121の構成例を示す図である。アプリケーション基本情報テーブル121における各レコードは、それぞれ1つのアプリケーションに対応している。フィールド「リソース利用量変動値平均値のスケールアウト閾値」は、アプリケーションに属するコンテナのスケールアウトの契機となる、コンテナのリソース利用量変動値の平均値の閾値である。フィールド「リソース利用量変動値平均値のスケールアウト目標値」は、スケールアウトの際に目標とする、コンテナのリソース利用量変動値の平均値である。フィールド「リソース利用量変動値平均値のスケールイン閾値」は、アプリケーションに属するコンテナのスケールインの契機となる、コンテナのリソース利用量変動値の平均値の閾値である。フィールド「リソース利用量変動値平均値のスケールイン目標値」は、スケールインの際に目標とする、コンテナのリソース利用量変動値の平均値である。フィールド「リソース利用量固定値」は、アプリケーションに属するコンテナのリソース利用量固定値である。 FIG. 4 is a diagram showing a configuration example of the application basic information table 121 in this embodiment. Each record in the application basic information table 121 corresponds to one application. The field "scale-out threshold value of the average value of the resource usage fluctuation value" is the threshold value of the average value of the resource usage fluctuation value of the container that triggers the scale-out of the container belonging to the application. The field "Scale-out target value of average resource usage fluctuation value" is the average value of resource usage fluctuation value of the container, which is the target at the time of scale-out. The field "scale-in threshold value of the average value of the resource usage fluctuation value" is the threshold value of the average value of the resource usage fluctuation value of the container that triggers the scale-in of the container belonging to the application. The field "Scale-in target value of average resource usage fluctuation value" is the average value of resource usage fluctuation value of the container, which is the target at the time of scale-in. The field "fixed resource usage value" is a fixed resource usage value of the container belonging to the application.
図5は本実施形態におけるコンテナ配置最新情報テーブル122の構成例を示す図である。コンテナ配置最新情報テーブル122における各レコードは、ある物理/仮想マシン上で実行されるアプリケーションが利用するコンテナの数を表している。 FIG. 5 is a diagram showing a configuration example of the container layout latest information table 122 in the present embodiment. Each record in the container placement update table 122 represents the number of containers used by an application running on a physical / virtual machine.
図6は本実施形態におけるリソース利用量変動値合計値の予測情報テーブル123の構成例を示す図である。リソース利用量変動値合計値の予測情報テーブル123における各レコードは、あるアプリケーションのある時刻におけるリソース利用量変動値の合計値の予測値を表している。 FIG. 6 is a diagram showing a configuration example of the prediction information table 123 of the total resource usage fluctuation value in the present embodiment. Prediction information of total resource usage fluctuation value Each record in Table 123 represents a predicted value of the total value of resource usage fluctuation value at a certain time of a certain application.
図7は本実施形態におけるスケールアウト予測情報テーブル124の構成例を示す図である。スケールアウト予測情報テーブル124における各レコードは、スケールアウトが予測されるアプリケーションにおける、予測される時刻とコンテナ数の増加量を表している。 FIG. 7 is a diagram showing a configuration example of the scale-out prediction information table 124 in the present embodiment. Each record in the scale-out prediction information table 124 represents the predicted time and the amount of increase in the number of containers in the application where the scale-out is predicted.
図8は本実施形態におけるスケールイン予測情報テーブル125の構成例を示す図である。スケールイン予測情報テーブル125における各レコードは、スケールインが予測されるアプリケーションにおける、予測される時刻とコンテナ数の減少量を表している。 FIG. 8 is a diagram showing a configuration example of the scale-in prediction information table 125 in the present embodiment. Each record in the scale-in prediction information table 125 represents the predicted time and the amount of decrease in the number of containers in the application where the scale-in is predicted.
図9は本実施形態におけるリソース利用量変動値平均値の予測情報テーブル126の構成例を示す図である。リソース利用量変動値平均値の予測情報テーブル126における各レコードは、あるアプリケーションのある時刻における、コンテナあたりのリソース利用量変動値を表している。 FIG. 9 is a diagram showing a configuration example of the prediction information table 126 of the average value of the resource usage fluctuation value in the present embodiment. Prediction information of average resource usage fluctuation value Each record in the information table 126 represents the resource usage fluctuation value per container at a certain time of an application.
以下、本実施形態における予測管理システム100によるリソース量予測手順について図に基づき説明する。以下で説明する手順に対応する各種動作は、予測管理システム100がメモリなどに読み出して実行するプログラムによって実現される。このプログラムは、以下に説明される各種の動作を行うためのコードから構成されている。
Hereinafter, the resource amount prediction procedure by the
図10は、本実施形態におけるリソース利用量予測情報計算部111の処理手順例を示す擬似コードである。
FIG. 10 is a pseudo code showing an example of the processing procedure of the resource usage prediction
ステップ1では、リソース利用量予測情報計算部111は、物理/仮想マシンに存在するコンテナの情報を元にアプリケーション基本情報テーブル121を最新化する。
In
ステップ2では、リソース利用量予測情報計算部111は、物理/仮想マシンに存在するコンテナの情報を元にコンテナ配置最新情報テーブル122を最新化する。
In
ステップ3では、リソース利用量予測情報計算部111は、所定の予測アルゴリズムを適用することでリソース利用量の予測値を求め、リソース利用量変動値合計値の予測情報テーブル123を最新化する。こうした予測に採用する上述のアルゴリズムとしては、例えばSARIMA(Seasonal Auto Regressive Integrated Moving Average)モデルや、Holt-Winters法など、時系列データ分析において一般的に用いられている手法に対応したアルゴリズムを用いてよい。
In
ステップ4〜28では、リソース利用量予測情報計算部111は、アプリケーション基本情報テーブル121に存在するすべてのアプリケーションに対し同様の処理を繰り返す。
In steps 4 to 28, the resource usage prediction
ステップ5では、リソース利用量予測情報計算部111は、該当アプリケーションに関するアプリケーション基本情報テーブル121の「リソース利用量変動値平均値のスケールアウト閾値」の値を変数variable_Aに格納する。
In
ステップ6では、リソース利用量予測情報計算部111は、該当アプリケーションに関するアプリケーション基本情報テーブル121の「リソース利用量変動値平均値のスケールアウト目標値」の値を変数variable_Bに格納する。
In
ステップ7では、該当アプリケーションに関するアプリケーション基本情報テーブル121の「リソース利用量変動値平均値のスケールイン閾値」の値を変数variable_Cに格納する。
In
ステップ8では、リソース利用量予測情報計算部111は、該当アプリケーションに関するアプリケーション基本情報テーブル121の「リソース利用量変動値平均値のスケールイン目標値」の値を変数variable_Dに格納する。
In step 8, the resource usage prediction
ステップ9では、リソース利用量予測情報計算部111は、コンテナ配置最新情報テーブル122における該当アプリケーションに属するコンテナ数を合計し、変数variable_Eに格納する。
In
ステップ10〜27では、リソース利用量予測情報計算部111は、リソース利用量変動値合計値の予測情報テーブル123に存在する全ての時刻について、昇順で同様の処理を繰り返す。
In
ステップ11では、リソース利用量予測情報計算部111は、リソース利用量変動値合計値の予測情報テーブル123における該当アプリケーションかつ該当時刻の予測値を参照し変数variable_Fに格納する。
In
ステップ12では、リソース利用量予測情報計算部111は、variable_F / variable_E を計算し、variable_Gに格納する。すなわち、リソース利用量予測情報計算部111は、該当アプリケーションについて、該当時刻におけるコンテナ当たりの予測値を算出する。
In
ステップ13〜18は、リソース利用量予測情報計算部111は、variable_G >= variable_A である場合にのみ実行する。すなわち、リソース利用量予測情報計算部111は、ステップ12で算出した、該当アプリケーションについての該当時刻におけるコンテナ当たりの予測値が、該当アプリケーションに関するアプリケーション基本情報テーブル121の「リソース利用量変動値平均値のスケールアウト閾値」の値以上である場合に、ステップ13〜18を実行する。
ステップ14では、リソース利用量予測情報計算部111は、variable_F / variable_B を計算し、その計算結果の小終点以下を切り上げて整数化した値を、variable_H に格納する。すなわち、リソース利用量予測情報計算部111は、ステップ6で格納した、該当アプリケーションに関するアプリケーション基本情報テーブル121の「リソース利用量変動値平均値のスケールアウト目標値」に対して、リソース利用量変動値合計値の予測情報テーブル123における該当アプリケーションかつ該当時刻の予測値が、どの程度離れているかを計算し、必要なコンテナの数を計算する。 ステップ15では、リソース利用量予測情報計算部111は、variable_H - variable_E を計算し、その計算結果の絶対値をvariable_Iに格納する。すなわち、リソース利用量予測情報計算部111は、該当アプリケーションについて、必要となるコンテナ数と該当時刻におけるコンテナ数との差分を計算し、どの程度の数のコンテナが必要である(不足する)のか、すなわちスケールアウトすべきと予測されるコンテナの数を計算する。 ステップ16では、リソース利用量予測情報計算部111は、スケールアウト予測情報テーブル124に対し、該当アプリケーションかつ該当時刻であり、「コンテナ数」がvariable_Iであるレコードを追加する。
In
ステップ17では、リソース利用量予測情報計算部111は、variable_Hをvariable_Eに格納する。すなわち、ステップ9で計算した、コンテナ配置最新情報テーブル122における該当アプリケーションに属するコンテナ数の合計に、ステップ14で計算した、必要なコンテナの数をセットする。
In
ステップ19〜24は、リソース利用量予測情報計算部111は、variable_G <= variable_C である場合にのみ実行する。すなわち、リソース利用量予測情報計算部111は、ステップ12で算出した、該当アプリケーションについての該当時刻におけるコンテナ当たりの予測値が、該当アプリケーションに関するアプリケーション基本情報テーブル121の「リソース利用量変動値平均値のスケールイン閾値」の値以下である場合に、ステップ19〜24を実行する。 ステップ20では、リソース利用量予測情報計算部111は、variable_F / variable_D を計算し、その計算結果の小終点以下を切り上げて整数化した値を、variable_J に格納する。すなわち、リソース利用量予測情報計算部111は、ステップ9で格納した、該当アプリケーションに関するアプリケーション基本情報テーブル121の「リソース利用量変動値平均値のスケールイン目標値」に対して、リソース利用量変動値合計値の予測情報テーブル123における該当アプリケーションかつ該当時刻の予測値が、どの程度離れているかを計算し、必要なコンテナの数を計算する。
ステップ21では、リソース利用量予測情報計算部111は、variable_J - variable_E を計算し、その計算結果の絶対値をvariable_Kに格納する。すなわち、リソース利用量予測情報計算部111は、該当アプリケーションについて、必要となるコンテナ数と該当時刻におけるコンテナ数との差分を計算し、どの程度の数のコンテナが必要である(余剰である)のか、すなわちスケールインすべきと予測されるコンテナの数を計算する。
In
ステップ22では、リソース利用量予測情報計算部111は、スケールイン予測情報テーブル125に対し、該当アプリケーションかつ該当時刻であり、「コンテナ数」がvariable_Kであるレコードを追加する。
In
ステップ23では、リソース利用量予測情報計算部111は、variable_Hをvariable_Eに格納する。すなわち、ステップ9で計算した、コンテナ配置最新情報テーブル122における該当アプリケーションに属するコンテナ数の合計に、ステップ20で計算した、必要なコンテナの数をセットする。
In
ステップ25では、リソース利用量予測情報計算部111は、variable_F / variable_E を計算し、その計算結果をvariable_Lに格納する。すなわち、リソース利用量予測情報計算部111は、該当アプリケーションおよび該当時刻における、ステップ17またはステップ23でセットした新たなコンテナの数の1つ当たりの予測値を算出する。
In
ステップ26では、リソース利用量予測情報計算部111は、リソース利用量変動値平均値の予測情報テーブル126に対し、該当アプリケーションかつ該当時刻であり、「予測値」がvariable_Lであるレコードを追加する。
In
このように、ステップ12、ステップ14、ステップ15、ステップ17(あるいは、ステップ12、ステップ20、ステップ21、ステップ23)等に示したように、アプリケーションを動作させるコンピュータ(例えば、物理/仮想マシン)のリソース利用量を予測する予測管理システム100において、リソース利用量予測情報計算部111は、上記コンピュータ上に設けられた1または複数のコンテナに対する負荷に応じて増減する上記アプリケーションのリソース利用量の変動値(図6)を用いて、スケーリングすべきコンテナの数を予測し、当該予測後のコンテナの数に基づいて、当該予測後におけるコンテナごとの上記アプリケーションのリソース利用量の変動値(図9)を算出する。
Thus, as shown in
また、リソース利用量予測情報計算部111は、上記コンピュータで実行される1または複数のアプリケーションについての時刻ごとの上記変動値(図6)と、上記コンピュータで実行されるアプリケーションが利用する最新のコンテナの数(図5)とを用いて、上記アプリケーションのコンテナ当たりの上記変動値を算出し、算出した上記コンテナ当たりの上記変動値が所定の条件(ステップ13あるいはステップ19)を満たす場合に、所定の目標値(スケールアウト目標値あるいはスケールイン目標値)に対する上記変動値を用いて上記予測後のコンテナの数を計算し、上記最新のコンテナの数として設定する。
In addition, the resource usage prediction
以上で述べた処理により、負荷情報による補正を含むコンテナのリソース利用量の予測管理システム100では、リソース利用量変動値平均値の予測情報テーブル126には、コンテナ1台あたりのリソース利用量変動値の予測値が格納される。また、スケールアウト予測情報テーブル124にはスケールアウトの予測情報が、スケールイン予測情報テーブル125にはスケールインの予測情報が格納される。この情報に加えて、アプリケーション基本情報テーブルテーブル121およびコンテナ配置最新情報テーブル122に格納された情報を元に、予測管理システムの利用者は、コンテナを実行する物理/仮想マシンのリソースの計画を立てることができる。すなわち、リソース利用量の時系列データを基にした予測に加え、コンテナのスケーリングによるコンテナ数増減の影響を加味することで、コンテナのリソース利用量を、リソース利用量の時系列データのみを用いて予測した場合に比べ、より正確な予測を行うことができる。
By the processing described above, in the resource usage
11 ネットワーク
100 予測管理システム
101 記憶装置
102 メモリ
103 CPU
104 通信装置
110 プログラム
111 リソース利用量予測情報計算部
120 データベース
121 アプリケーション基本情報テーブル
122 コンテナ配置最新情報テーブル
123 リソース利用量変動値合計値の予測情報テーブル
124 スケールアウト予測情報テーブル
125 スケールイン予測情報テーブル
126 リソース利用量変動値平均値の予測情報テーブル
200、300、400 物理/仮想マシン
211、221、222、311、321、322、411、421 コンテナ
510、520 アプリケーション
11 Network
100 Prediction management system
101 storage device
102 memory
103 CPU
104 Communication equipment
110 program
111 Resource Usage Forecast Information Calculation Department
120 database
121 Application basic information table
122 Container placement latest information table
123 Prediction information table for total resource usage fluctuation values
124 Scale-out forecast information table
125 Scale-in forecast information table
126 Prediction information table of average resource usage fluctuation value
200, 300, 400 physical / virtual machine
211, 221, 222, 311, 321, 322, 411, 421 containers
510, 520 applications
Claims (4)
前記コンピュータ上に設けられた1または複数のコンテナに対する負荷に応じて増減する前記アプリケーションのリソース利用量の変動値を用いて、スケーリングすべきコンテナの数を予測し、当該予測後のコンテナの数に基づいて、当該予測後におけるコンテナごとの前記アプリケーションのリソース利用量の変動値を算出する計算部、
を有することを特徴とするリソース利用量の予測管理システム。 A predictive management system that predicts the resource usage of the computer that runs the application.
The number of containers to be scaled is predicted using the fluctuation value of the resource usage of the application that increases or decreases according to the load on one or more containers provided on the computer, and the number of containers after the prediction is calculated. Based on the calculation unit, which calculates the fluctuation value of the resource usage of the application for each container after the prediction.
A resource usage forecast management system characterized by having.
ことを特徴とする請求項1に記載のリソース利用量の予測管理システム。 The calculator uses the variable value over time for one or more applications running on the computer and the number of the latest containers used by the application running on the computer to use the application. The fluctuation value per container is calculated, and when the calculated fluctuation value per container satisfies a predetermined condition, the number of the predicted containers is calculated using the fluctuation value with respect to the predetermined target value. Set as the latest number of containers,
The resource usage prediction management system according to claim 1.
計算部が、前記コンピュータ上に設けられた1または複数のコンテナに対する負荷に応じて増減する前記アプリケーションのリソース利用量の変動値を用いて、スケーリングすべきコンテナの数を予測し、
前記計算部が、前記予測後のコンテナの数に基づいて、当該予測後におけるコンテナごとの前記アプリケーションのリソース利用量の変動値を算出する、
ことを特徴とするリソース利用量の予測管理方法。 It is a predictive management method performed by a predictive management system that predicts the resource usage of the computer that runs the application.
The calculation unit predicts the number of containers to be scaled by using the fluctuation value of the resource usage of the application that increases or decreases according to the load on one or more containers provided on the computer.
The calculation unit calculates the fluctuation value of the resource usage of the application for each container after the prediction based on the number of containers after the prediction.
A method for predicting and managing resource usage.
前記計算部が、算出した前記コンテナ当たりの前記変動値が所定の条件を満たす場合に、所定の目標値に対する前記変動値を用いて前記予測後のコンテナの数を計算し、前記最新のコンテナの数として設定する、
ことを特徴とする請求項3に記載のリソース利用量の予測管理方法。 The calculator uses the variable value over time for one or more applications running on the computer and the latest number of containers used by the application running on the computer to use the application. Calculate the fluctuation value per container,
When the calculated fluctuation value per container satisfies a predetermined condition, the calculation unit calculates the number of the predicted containers using the fluctuation value with respect to the predetermined target value, and calculates the number of the predicted containers of the latest container. Set as a number,
The method for predicting and managing resource usage according to claim 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019235758A JP2021105772A (en) | 2019-12-26 | 2019-12-26 | Prediction management system of resource usage amount, and prediction management method of resource usage amount |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019235758A JP2021105772A (en) | 2019-12-26 | 2019-12-26 | Prediction management system of resource usage amount, and prediction management method of resource usage amount |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2021105772A true JP2021105772A (en) | 2021-07-26 |
Family
ID=76918876
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019235758A Pending JP2021105772A (en) | 2019-12-26 | 2019-12-26 | Prediction management system of resource usage amount, and prediction management method of resource usage amount |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2021105772A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023021582A1 (en) * | 2021-08-17 | 2023-02-23 | 日本電信電話株式会社 | Monitoring device, method, and program |
-
2019
- 2019-12-26 JP JP2019235758A patent/JP2021105772A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023021582A1 (en) * | 2021-08-17 | 2023-02-23 | 日本電信電話株式会社 | Monitoring device, method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108009016B (en) | Resource load balancing control method and cluster scheduler | |
US11321141B2 (en) | Resource management for software containers using container profiles | |
US10652327B2 (en) | Migration of virtual machines | |
EP3577558B1 (en) | Resource management for virtual machines in cloud computing systems | |
US9436516B2 (en) | Virtual machines management apparatus, virtual machines management method, and computer readable storage medium | |
US10623481B2 (en) | Balancing resources in distributed computing environments | |
JP5218390B2 (en) | Autonomous control server, virtual server control method and program | |
EP3577561A2 (en) | Resource management for virtual machines in cloud computing systems | |
JP6233413B2 (en) | Task assignment determination device, control method, and program | |
US10425470B1 (en) | Shadowed throughput provisioning | |
US20180107503A1 (en) | Computer procurement predicting device, computer procurement predicting method, and recording medium | |
CN108205469B (en) | MapReduce-based resource allocation method and server | |
CN106133693A (en) | The moving method of virtual machine, device and equipment | |
JP7234702B2 (en) | Information processing device, container placement method, and container placement program | |
CN112269661B (en) | Partition migration method and device based on Kafka cluster | |
Xue et al. | Managing data center tickets: Prediction and active sizing | |
US20200012516A1 (en) | Migration management method, migration system, and storage medium | |
CN112948279A (en) | Method, apparatus and program product for managing access requests in a storage system | |
US9563532B1 (en) | Allocation of tasks in large scale computing systems | |
JP2018018175A (en) | Virtual machine control program, virtual machine control method and virtual machine control device | |
JP2021105772A (en) | Prediction management system of resource usage amount, and prediction management method of resource usage amount | |
US11093266B2 (en) | Using a generative model to facilitate simulation of potential policies for an infrastructure as a service system | |
US11586964B2 (en) | Device component management using deep learning techniques | |
JP7239861B2 (en) | Resource allocation device, resource allocation method, and resource allocation program | |
JP2014206805A (en) | Control device |