JP2018037047A - Resource allocation device, resource allocation method and resource allocation program - Google Patents

Resource allocation device, resource allocation method and resource allocation program Download PDF

Info

Publication number
JP2018037047A
JP2018037047A JP2016172338A JP2016172338A JP2018037047A JP 2018037047 A JP2018037047 A JP 2018037047A JP 2016172338 A JP2016172338 A JP 2016172338A JP 2016172338 A JP2016172338 A JP 2016172338A JP 2018037047 A JP2018037047 A JP 2018037047A
Authority
JP
Japan
Prior art keywords
resource
cpu
allocation
virtual
usage rate
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
JP2016172338A
Other languages
Japanese (ja)
Other versions
JP6511025B2 (en
Inventor
直人 日高
Naoto Hidaka
直人 日高
俊之 森谷
Toshiyuki Moriya
俊之 森谷
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2016172338A priority Critical patent/JP6511025B2/en
Publication of JP2018037047A publication Critical patent/JP2018037047A/en
Application granted granted Critical
Publication of JP6511025B2 publication Critical patent/JP6511025B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a resource allocation device, a resource allocation method and a resource allocation program that can change a physical CPU (CPU core) allocated for each virtual resource in an automatic dispensing system of the virtual resource, and that can perform fixed allocation of the virtual resource as a portion of automatic dispensing.SOLUTION: A resource allocation device 3 of a virtual computer system according to the present invention comprises an input unit 311 to which resource request information having designation information of a CPU resource for a virtual CPU to be fixedly allocated to a CPU core unit in one-to-one relation is input, a resource extraction unit 313 that extracts an allocatable CPU resource based on the resource request information, an allocation resource selection unit 314 that selects the CPU resource to be allocated from the extracted resource, a resource fixed allocation unit 315 that fixedly allocates the selected CPU resource, and a resource multiple allocation unit 316 that performs multiple allocation of the selected CPU resource.SELECTED DRAWING: Figure 2

Description

本発明は、仮想計算機システムのリソース割当装置、リソース割当方法およびリソース割当プログラムに関する。   The present invention relates to a resource allocation device, a resource allocation method, and a resource allocation program for a virtual machine system.

仮想計算機システムにより専用サーバで実現していた網機能等の処理を仮想化(ソフトウェア化)すると、スケジューラのCPUリソースの切替え等によって、網機能等の処理の性能や品質を維持できないことがある。このため、仮想CPUを固定の物理CPU(CPUコア)に対応付けるCPUリソースの固定割当が必要となる。   If the processing of the network function or the like realized by the dedicated server by the virtual computer system is virtualized (software), the performance and quality of the processing of the network function or the like may not be maintained due to switching of the CPU resource of the scheduler or the like. For this reason, fixed allocation of CPU resources for associating a virtual CPU with a fixed physical CPU (CPU core) is required.

しかし、エンドユーザからの仮想リソース要求に対して自動で仮想リソースを払い出すシステム(仮想リソース自動払出システム)による仮想計算機システムにおいては、CPUリソースの固定割当を自動的に行うことができない。   However, in a virtual machine system based on a system (virtual resource automatic payout system) that automatically pays out virtual resources in response to a virtual resource request from an end user, fixed allocation of CPU resources cannot be performed automatically.

このため、例えば、非特許文献1には、OpenStackにおいて、仮想CPUを物理CPUに割り付ける範囲を設定ファイルのvcpu_pin_setパラメータに設定して、CPUリソースを固定割当する方法を開示している。
また、非特許文献2には、virshコマンドにより、仮想CPUを物理CPUコアに割り当てる方法を開示している
For this reason, for example, Non-Patent Document 1 discloses a method for fixedly allocating CPU resources by setting a range in which virtual CPUs are allocated to physical CPUs in the vcpu_pin_set parameter of a configuration file in OpenStack.
Non-Patent Document 2 discloses a method of assigning a virtual CPU to a physical CPU core by a virsh command.

OpenStack Foundation“Consider NUMA topology when booting instances”、[online]、UPDATED: 2016-07-7 05:25、[2016/7/7検索]、インターネット<URL:http://docs.openstack.org/admin-guide/cli-nova-numa-libvirt.html>OpenStack Foundation “Consider NUMA topology when booting instances”, [online], UPDATED: 2016-07-7 05:25, [Search 7/7/2016] Internet <URL: http://docs.openstack.org/admin -guide / cli-nova-numa-libvirt.html> redhat “Red Hat Enterprise Linux 6 仮想化のチューニングと最適化ガイド”、[online]、2013-10-31、[2016/7/7検索]、インターネット<URL:https://access.redhat.com/documentation/ja-JP/Red_Hat_Enterprise_Linux/6/html-single/Virtualization_Tuning_and_Optimization_Guide/index.html#sect-Virtualization_Tuning_Optimization_Guide-NUMA-NUMA_and_libvirt-vcpu_pinning_with_virsh>redhat “Red Hat Enterprise Linux 6 Virtualization Tuning and Optimization Guide”, [online], 2013-10-31, [2016/7/7 search], Internet <URL: https://access.redhat.com/ documentation / en-US / Red_Hat_Enterprise_Linux / 6 / html-single / Virtualization_Tuning_and_Optimization_Guide / index.html # sect-Virtualization_Tuning_Optimization_Guide-NUMA-NUMA_and_libvirt-vcpu_pinning_with_virsh>

上記の非特許文献1の先行技術によれば、CPUリソースの固定割当が可能となるが、複数の仮想リソースが共通の物理CPUに割当てられ、仮想リソース毎に割当てられる物理CPUを変えることができない問題がある。
また、上記の特許文献2の先行技術によれば、CPUリソースの固定割当が可能となるが、コマンドラインによる設定のため、仮想リソースの自動払出後の手続きとなり、環境構築の手続きが煩雑になるという問題がある。
According to the prior art of Non-Patent Document 1 described above, fixed allocation of CPU resources is possible, but a plurality of virtual resources are allocated to a common physical CPU, and the physical CPU allocated to each virtual resource cannot be changed. There's a problem.
Further, according to the prior art of the above-mentioned Patent Document 2, fixed allocation of CPU resources is possible. However, because of setting by the command line, it is a procedure after automatic allocation of virtual resources, and the environment construction procedure becomes complicated. There is a problem.

本発明の目的は、仮想リソースの自動払出システムにおいて、仮想リソース毎に割当てられる物理CPU(CPUコア)を変えることができ、かつ仮想リソースの固定割当を自動払出の一部として行えるリソース割当装置、リソース割当方法およびリソース割当プログラムを提供することにある。   An object of the present invention is to provide a resource allocation device capable of changing the physical CPU (CPU core) allocated to each virtual resource and performing fixed allocation of virtual resources as part of automatic allocation in an automatic resource allocation system for virtual resources, To provide a resource allocation method and a resource allocation program.

前記課題を解決するため、請求項1に記載の発明は、仮想計算機システムのリソース割当装置であって、仮想CPUをCPUコア単位に1対1に固定割当するCPUリソースの指定情報を有するリソース要求情報が入力される入力部と、前記リソース要求情報に基づいて割当可能なCPUリソースを抽出するリソース抽出部と、抽出されたリソースから割当てるCPUリソースを選定する割当先リソース選定部と、選定されたCPUリソースを固定割当するリソース固定割当部と、選定されたCPUリソースを多重割当するリソース多重割当部と、を備えるようにした。
このようにすることで、仮想リソース毎に割当られるCPUコアを変えることができ、かつ仮想リソースの固定割当を自動払出できるようにして環境構築を容易にする。
In order to solve the above-described problem, the invention according to claim 1 is a resource allocation device for a virtual machine system, and includes a resource request having CPU resource designation information for fixedly allocating virtual CPUs in a one-to-one correspondence in CPU core units. An input unit for inputting information, a resource extraction unit for extracting a CPU resource that can be allocated based on the resource request information, an allocation destination resource selection unit for selecting a CPU resource to be allocated from the extracted resource, A resource fixed allocation unit for fixed allocation of CPU resources and a resource multiple allocation unit for multiple allocation of selected CPU resources are provided.
By doing so, it is possible to change the CPU core assigned to each virtual resource, and to automatically pay out the fixed assignment of the virtual resource, thereby facilitating the environment construction.

請求項2に記載の発明は、請求項1に記載のリソース割当装置において、前記リソース要求情報は、割当てるCPUのCPU使用率を指定する情報、または、割当てるCPUのCPU識別番号を指定する情報、または、固定割当を指示する指示情報の少なくとも1つの固定割当するCPUリソースの指定情報を含むようにした。
ようにした。
このようにすることで、固定割当するリソースの指定を容易に行うことができる。
According to a second aspect of the present invention, in the resource allocation device according to the first aspect, the resource request information includes information that specifies a CPU usage rate of the CPU to be allocated, or information that specifies a CPU identification number of the CPU to be allocated. Alternatively, the instruction information for instructing fixed allocation includes at least one CPU resource specification information for fixed allocation.
I did it.
In this way, it is possible to easily specify a resource to be fixedly assigned.

請求項3に記載の発明は、請求項1または請求項2に記載のリソース割当装置において、さらに、割当可能なCPUリソース毎に、CPUリソースの識別番号と、割当て可能なCPU性能比率の上限を表す多重率と、割当済CPUリソースのCPU使用率と、を含むリソース管理テーブル記憶部とを備えるようにした。
このようにすることで、CPUリソースの管理を容易に行うことができる。
According to a third aspect of the present invention, in the resource allocation device according to the first or second aspect, for each CPU resource that can be allocated, an identification number of the CPU resource and an upper limit of the CPU performance ratio that can be allocated. A resource management table storage unit including a multiplexing rate to represent and a CPU usage rate of the allocated CPU resource is provided.
By doing so, the CPU resource can be easily managed.

請求項4に記載の発明は、請求項3に記載のリソース割当装置において、前記リソース要求情報は、割当てるCPUのCPU使用率を指定する情報を含み、前記リソース抽出部は、前記多重率の示す値と前記CPU使用率の示す値との差分が、前記リソース要求情報に指定されたCPU使用率以上の時に、割当可能なCPUとして抽出するようにした。
このようにすることで、CPUリソースの割当可否の判定を容易に行うことができる。
According to a fourth aspect of the present invention, in the resource allocation device according to the third aspect, the resource request information includes information specifying a CPU usage rate of the CPU to be allocated, and the resource extraction unit indicates the multiplexing rate. When the difference between the value and the value indicated by the CPU usage rate is equal to or higher than the CPU usage rate specified in the resource request information, the CPU is extracted as an assignable CPU.
In this way, it is possible to easily determine whether CPU resources can be allocated.

請求項5に記載の発明は、請求項1から請求項4のいずれかに記載のリソース割当装置において、前記リソース固定割当部は、前記リソース要求情報において、割当てるCPUのCPU使用率を指定する情報に100%の値が指定されているか、または、割当てるCPUのCPU識別番号を指定する情報に特定のCPUリソースが指定されているか、または、固定割当を指示する指示情報が指定されているときに、前記割当先リソース選定部で選定されたCPUリソースの固定割当を行うようにした。
このようにすることで、固定割当するCPUリソースの指定を容易に行うことができる。
According to a fifth aspect of the present invention, in the resource allocation device according to any one of the first to fourth aspects, the resource fixed allocation unit specifies, in the resource request information, a CPU usage rate of a CPU to be allocated. When a value of 100% is specified, or a specific CPU resource is specified in the information specifying the CPU identification number of the CPU to be allocated, or instruction information instructing fixed allocation is specified The fixed allocation of the CPU resource selected by the allocation resource selection unit is performed.
In this way, it is possible to easily specify the CPU resource to be fixedly assigned.

請求項6に記載の発明は、仮想計算機システムのリソース割当方法であって、仮想CPUをCPUコア単位に1対1に固定割当するCPUリソースの指定情報を有するリソース要求情報が入力されるステップと、前記リソース要求情報に基づいて割当可能なCPUリソースを抽出するステップと、抽出されたリソースから割当てるCPUリソースを選定するステップと、選定されたCPUリソースを固定割当するか、または、選定されたCPUリソースを多重割当するステップと、を含むようにした。
このようにすることで、仮想リソースの固定割当を自動払出できるようにする。
The invention according to claim 6 is a resource allocation method for a virtual machine system, wherein resource request information having CPU resource designation information for fixedly allocating virtual CPUs on a one-to-one basis for each CPU core is input. A step of extracting a CPU resource that can be allocated based on the resource request information; a step of selecting a CPU resource to be allocated from the extracted resource; and a fixed allocation of the selected CPU resource or a selected CPU And a step of allocating multiple resources.
In this way, it is possible to automatically issue fixed allocation of virtual resources.

請求項7に記載の発明は、請求項6に記載のリソース割当方法において、前記リソース要求情報には、割当てるCPUのCPU使用率を指定する情報、を含み、割当て可能なCPU性能比率の上限を表す多重率と、割当済CPUリソースのCPU使用率と、を割当可能なCPUリソース毎に記憶するリソース管理テーブルを参照して、前記多重率の示す値と前記CPU使用率の示す値との差分が、前記リソース要求情報に指定されたCPU使用率以上のCPUリソースを、割当可能なCPUリソースとして抽出するようにした。
このようにすることで、CPUリソースの管理を容易に行うことができ、さらに、CPUリソースの割当可否の判定を容易に行うことができる。
The invention according to claim 7 is the resource allocation method according to claim 6, wherein the resource request information includes information specifying a CPU usage rate of the CPU to be allocated, and sets an upper limit of the CPU performance ratio that can be allocated. The difference between the value indicated by the multiplexing rate and the value indicated by the CPU usage rate with reference to a resource management table that stores, for each assignable CPU resource, the indicated multiplexing rate and the CPU usage rate of the assigned CPU resource However, a CPU resource equal to or higher than the CPU usage rate specified in the resource request information is extracted as an assignable CPU resource.
By doing so, it is possible to easily manage the CPU resources, and it is possible to easily determine whether the CPU resources can be allocated.

請求項8に記載の発明は、リソース割当プログラムであって、コンピュータを、請求項1から請求項5のいずれかのリソース割当装置として機能させるためのリソース割当プログラムとした。
このようにすることで、仮想リソースの固定割当を自動払出で行うことができる。
The invention according to claim 8 is a resource allocation program, which is a resource allocation program for causing a computer to function as the resource allocation apparatus according to any one of claims 1 to 5.
In this way, fixed allocation of virtual resources can be performed automatically.

本発明によれば、仮想リソース毎に割当られるCPUコアを変えることができ、かつ仮想リソースの固定割当を自動払出で行えるので、CPUコアを有効に使うことができ、かつ仮想計算機システムの構築を容易に行うことができる。   According to the present invention, the CPU core allocated for each virtual resource can be changed, and the fixed allocation of the virtual resource can be performed automatically, so that the CPU core can be used effectively and the virtual computer system can be constructed. It can be done easily.

リソース割当装置の処理概要を説明する図である。It is a figure explaining the process outline | summary of a resource allocation apparatus. リソース割当装置のモジュール構成図である。It is a module block diagram of a resource allocation apparatus. リソース割当装置の割当処理概要フロー図である。It is an assignment processing outline flow chart of a resource assignment device. リソース割当装置のリソース要求情報の定義内容を説明する図である。It is a figure explaining the definition content of the resource request information of a resource allocation apparatus. リソース割当装置のリソース管理テーブルの構成の一例を示す図である。It is a figure which shows an example of a structure of the resource management table of a resource allocation apparatus. 割当可能リソースの抽出処理の処理フローである。It is a processing flow of the extraction process of an allocatable resource. 割当可能リソースの抽出一覧を説明する図である。It is a figure explaining the extraction list | wrist of an allocatable resource.

まず、実施形態のリソース割当装置3の処理概要を、図1により説明する。
実施形態のリソース割当装置3は、エンドユーザからの仮想リソース(VM)要求に対して自動で仮想リソースを払い出すシステム(仮想リソース自動払出システム)において、CPUコア単位でリソースの管理を行い、仮想リソース要求に対して、割当可能CPUコアの抽出、割当先リソースの選定を行い、固定割当を行った仮想リソースの払出を行う。
本明細書では、仮想CPU(仮想リソース)をCPUコア(物理リソース)単位に1対1に割当てることを固定割当と称し、1対1を含み仮想CPUをCPUコアにn対1に割当てることを多重割当と称する。
First, an outline of processing of the resource allocation device 3 of the embodiment will be described with reference to FIG.
The resource allocation device 3 according to the embodiment manages resources in units of CPU cores in a system that automatically pays out virtual resources (virtual resource automatic payout system) in response to a virtual resource (VM) request from an end user. In response to a resource request, an allocatable CPU core is extracted, an allocation destination resource is selected, and a virtual resource subjected to fixed allocation is paid out.
In this specification, assigning virtual CPUs (virtual resources) on a CPU core (physical resource) basis on a one-to-one basis is referred to as fixed assignment, and assigning virtual CPUs including a one-to-one basis to CPU cores on an n-to-one basis. This is called multiple allocation.

より詳しくは、図1の仮想リソースVM#1(1a)、仮想リソースVM#2(1b)、仮想リソースVM#3(1c)のそれぞれの3つ仮想CPUを、物理リソースHW#1(2a)、物理リソースHW#2(2b)、物理リソースHW#3(2c)のそれぞれの8CPUコアへの割当を行うものである。言うまでもないが、CPUコアの数は8に限定されるものではない。   More specifically, the three virtual CPUs of the virtual resource VM # 1 (1a), the virtual resource VM # 2 (1b), and the virtual resource VM # 3 (1c) in FIG. 1 are assigned to the physical resource HW # 1 (2a). The physical resource HW # 2 (2b) and the physical resource HW # 3 (2c) are allocated to the respective 8 CPU cores. Needless to say, the number of CPU cores is not limited to eight.

ここで、仮想リソースVM#1(1a)は、仮想化によっても性能/品質を維持するために、オーバーヘッドを低減して性能の帯域維持が可能な占有モードとなるように、仮想CPUと物理リソースCPUコアを1対1の固定割当とする。仮想リソースVM#2(1b)と仮想リソースVM#3(1c)は、複数の仮想CPU間で物理リソースのCPUコアを共用(重畳)することが可能な共用モードになるように、仮想CPUをCPUコアに割当てる(多重割当)。   Here, the virtual resource VM # 1 (1a) has a virtual CPU and a physical resource so that the virtual resource VM # 1 (1a) becomes an occupation mode in which overhead can be reduced and performance bandwidth can be maintained in order to maintain performance / quality even by virtualization. The CPU core is assigned with a one-to-one fixed assignment. The virtual resource VM # 2 (1b) and the virtual resource VM # 3 (1c) are configured so that the virtual CPU is in a shared mode in which the CPU core of the physical resource can be shared (superposed) among a plurality of virtual CPUs. Assign to CPU core (multiple assignment).

つぎに、実施形態のリソース割当装置3の構成を、図2のモジュール構成図と、図3の割当処理概要フロー図により詳細に説明する。
まず、図2によりモジュール構成を説明する。
Next, the configuration of the resource allocation device 3 of the embodiment will be described in detail with reference to the module configuration diagram of FIG. 2 and the allocation processing outline flowchart of FIG.
First, the module configuration will be described with reference to FIG.

実施形態のリソース割当装置3は、リソース払出制御部31とリソース管理テーブル32の記憶部とから構成される。そして、リソース払出制御部31は、リソース管理テーブル32を参照しながら、仮想リソースの割当てを行うリソース要求部30から入力されたリソース要求情報4の条件を満たす空きリソースがある物理リソースを物理リソース2a、2b、2c、2dから抽出し、1つの物理リソースを選定し、選定した物理リソースに要求された仮想リソースを割当て、割当結果であるリソース払出情報をリソース要求部30に通知する。   The resource allocation device 3 according to the embodiment includes a resource payout control unit 31 and a storage unit for the resource management table 32. Then, the resource payout control unit 31 refers to the resource management table 32 and assigns a physical resource having a free resource that satisfies the condition of the resource request information 4 input from the resource request unit 30 that allocates the virtual resource to the physical resource 2a. 2b, 2c, and 2d, one physical resource is selected, the requested virtual resource is allocated to the selected physical resource, and resource allocation information that is the allocation result is notified to the resource request unit 30.

リソース払出制御部31は、要求受付処理部311とリソース管理部312と割当可能リソース抽出部313と割当先リソース選定部314とリソース固定割当部315とリソース多重割当部316とから構成される。   The resource payout control unit 31 includes a request reception processing unit 311, a resource management unit 312, an allocatable resource extraction unit 313, an allocation destination resource selection unit 314, a resource fixed allocation unit 315, and a resource multiple allocation unit 316.

ここで、要求受付処理部311は、後述するリソース要求情報4とリソース払出情報の入出力を行い、以降に説明する処理モジュールの連携操作を行う。
リソース管理部312は、物理リソースのCPUコア毎のリソース状況を保持するリソース管理テーブル32に基づいて、仮想リソース生成時に、割当先リソースと固定割当したCPUコアを管理する。
Here, the request reception processing unit 311 inputs / outputs resource request information 4 and resource payout information, which will be described later, and performs a cooperative operation of processing modules described below.
Based on the resource management table 32 that holds the resource status of each physical resource CPU core, the resource management unit 312 manages the allocation-destination resource and the fixedly assigned CPU core when generating the virtual resource.

割当可能リソース抽出部313は、リソース管理部312と連携して、後述する抽出方法によりリソース要求情報4の条件を満たす割当可能リソース(割当先物理リソース候補)の一覧を求める。
割当先リソース選定部314は、割当可能リソース(割当先物理リソース候補)の一覧から、所定ルールにより、割当先物理リソースと各仮想CPUの割当先CPUコアを決める。
The allocatable resource extraction unit 313 cooperates with the resource management unit 312 to obtain a list of allocatable resources (allocation destination physical resource candidates) that satisfy the condition of the resource request information 4 by an extraction method described later.
The allocation destination resource selection unit 314 determines an allocation destination physical resource and an allocation destination CPU core of each virtual CPU from a list of allocatable resources (allocation destination physical resource candidates) according to a predetermined rule.

リソース固定割当部315は、割当先リソース選定部314により選定されたCPUの固定割当を行う処理部である。
リソース多重割当部316は、割当先リソース選定部314により選定されたCPUの多重割当を行う処理部である。
The resource fixed allocation unit 315 is a processing unit that performs fixed allocation of the CPU selected by the allocation destination resource selection unit 314.
The resource multiple allocation unit 316 is a processing unit that performs multiple allocation of CPUs selected by the allocation destination resource selection unit 314.

つぎに、図3の割当処理概要フロー図を説明しながら、より詳細に、実施形態のリソース割当装置3を説明する。
まず、リソース割当装置3の要求受付処理部311(図2参照)は、図4に一例を示すリソース要求情報4を受付ける(ステップS31)。
Next, the resource allocation device 3 according to the embodiment will be described in more detail with reference to the allocation processing outline flowchart of FIG.
First, the request reception processing unit 311 (see FIG. 2) of the resource allocation device 3 receives the resource request information 4 shown in FIG. 4 as an example (step S31).

ここで、リソース要求情報4の定義内容を図4により説明する。
図4のリソース要求情報4は、割当てる仮想CPUの割当条件(属性)を定義しており、num_vcpu属性により割当る仮想CPU数を設定する。そして、vcpu0属性、vcpu1属性、…、vcpu5属性により、それぞれの仮想CPUの割当条件を設定する。
Here, the definition content of the resource request information 4 will be described with reference to FIG.
The resource request information 4 in FIG. 4 defines the allocation condition (attribute) of the virtual CPU to be allocated, and sets the number of virtual CPUs to be allocated by the num_vcpu attribute. Then, the allocation condition of each virtual CPU is set by the vcpu0 attribute, vcpu1 attribute,..., Vcpu5 attribute.

さらに、anti-affinity属性により、同一CPUコアへの割当不可の仮想CPU関係(ペア/範囲の一覧)を設定する。図4では、vcpu0からvcpu5の仮想CPUを同じCPUコアへの割当不可としているので、仮想CPUは異なる複数(6つ)のCPUコアに割当てられる。
仮想CPUの割当条件(属性)は、仮想CPU使用率を示すloadパラメータと、割当CPUコアを指定するcoreパラメータと、割当重要度を指定するroleパラメータと、から構成される。
Furthermore, virtual CPU relations (pair / range list) that cannot be assigned to the same CPU core are set by the anti-affinity attribute. In FIG. 4, since the virtual CPUs vcpu0 to vcpu5 cannot be assigned to the same CPU core, the virtual CPUs are assigned to different (six) CPU cores.
The allocation condition (attribute) of the virtual CPU includes a load parameter indicating the virtual CPU usage rate, a core parameter specifying the allocation CPU core, and a role parameter specifying the allocation importance.

詳細は後述するが、実施形態の割当処理では、上記のリソース要求情報4のloadパラメータを100%に設定して仮想CPUの固定割当を行うようにしている。しかし、固定割当するCPUコアを指定するoccupying属性を設けて、直接指定するようにしてもよい。   Although details will be described later, in the allocation processing of the embodiment, the load parameter of the resource request information 4 is set to 100% to perform fixed allocation of virtual CPUs. However, an occupying attribute for designating a fixedly assigned CPU core may be provided and designated directly.

図3に戻り、リソース要求情報4を受けた要求受付処理部311は、割当可能リソース抽出部313を起動する。割当可能リソース抽出部313は、リソース管理テーブル32を管理するリソース管理部312と連携して、割当可能なリソースの抽出処理を行う(S32)。   Returning to FIG. 3, the request reception processing unit 311 that has received the resource request information 4 activates the allocatable resource extraction unit 313. The allocatable resource extraction unit 313 performs an allocatable resource extraction process in cooperation with the resource management unit 312 that manages the resource management table 32 (S32).

図5は、リソース管理テーブル32の構成の一例を示す図である。
リソース管理テーブル32は、ホスト名、IPアドレス等により識別される物理リソースの識別情報(アクセスID)であるHW項目321と、CPUコアの識別情報であるcore項目322と、基準となるCPU性能とCPUコアの性能の比率(CPU性能比率)であり、割当て可能なCPU使用率の上限を表す多重率323と、割当済み仮想CPU累積のCPU使用率を表す使用率324と、仮想CPUとその仮想リソースを表す割当先326とから構成される。
リソース管理部312は、HW項目321とcore項目322のペアを管理単位とする。
FIG. 5 is a diagram illustrating an example of the configuration of the resource management table 32.
The resource management table 32 includes an HW item 321 that is identification information (access ID) of a physical resource identified by a host name, an IP address, and the like, a core item 322 that is identification information of a CPU core, and a reference CPU performance. CPU core performance ratio (CPU performance ratio), a multiplexing rate 323 that represents the upper limit of the assignable CPU usage rate, a usage rate 324 that represents the accumulated CPU usage rate of the allocated virtual CPU, a virtual CPU and its virtual And an allocation destination 326 representing a resource.
The resource management unit 312 uses a pair of the HW item 321 and the core item 322 as a management unit.

また、リソース管理テーブル32は、仮想CPUが固定割当されたCPUコアが別のリソース要求情報4により多重割当されないように、割当状態を表す状態項目325をもつようにしてもよい。例えば、固定割当されたCPUコアの状態項目325には、「占有」が設定され、他の仮想CPUが割当可能なCPUコアの状態項目325には、「共有」が設定される。
この割当状態を表す状態項目325を「占有」に設定することに限らず、固有割当したCPUコアの使用率324をCPUコアのCPU使用率の上限を表す多重率323の値に変更することによっても、他のCPUリソースの多重割当を防止することができる。
Further, the resource management table 32 may have a status item 325 indicating an allocation status so that a CPU core to which a virtual CPU is fixedly allocated is not allocated by multiple resource request information 4. For example, “occupied” is set in the state item 325 of the CPU core that is fixedly assigned, and “shared” is set in the state item 325 of the CPU core to which other virtual CPUs can be assigned.
The status item 325 indicating the allocation status is not limited to “occupied”, but the CPU core usage rate 324 that is uniquely allocated is changed to a value of the multiplexing rate 323 that represents the upper limit of the CPU usage rate of the CPU core. However, multiple allocation of other CPU resources can be prevented.

図5においてリソース管理テーブル32の多重率323の値は、100%となっているが、100%が上限値ではなく、物理リソースの性能比率に応じて値を設定する。高性能な物理リソースでは、100%より大きな値を設定する。これにより、性能の異なる物理リソースで構成されるシステムにおいても、ひとつのリソース要求情報4に基づいて、リソース割当を行うことができる。
図5において、HW項目321が「#0」、core項目322が「0」の割当先326が「for Host OS」のCPUコアは、多重率323を0%にして、CPUコアに仮想リソースが割当されないようにしている。これにより、HostOSが占有する動作となる。
In FIG. 5, the value of the multiplexing rate 323 in the resource management table 32 is 100%, but 100% is not the upper limit value, and is set according to the performance ratio of the physical resource. For high-performance physical resources, a value larger than 100% is set. Thereby, even in a system composed of physical resources having different performances, resource allocation can be performed based on one resource request information 4.
In FIG. 5, the CPU core whose HW item 321 is “# 0” and the core item 322 is “0” and whose allocation destination 326 is “for Host OS” is that the multiplexing rate 323 is 0%, and the virtual resource is stored in the CPU core. It is not assigned. As a result, the operation occupied by the HostOS is performed.

図3に戻り、ステップS32の割当可能リソースの抽出処理を説明する。
図6は、割当可能リソース抽出部313で行う割当可能リソースの抽出処理の詳細な処理フローである。
図6の処理フローでは、図5に示したリソース管理テーブル32のHW項目321とcore項目322のペアで指定されるCPUコアである割当コア毎に割当の可否を判定し、図7に示す割当可能リソースの抽出一覧7を作成する。
Returning to FIG. 3, the assignable resource extraction process in step S32 will be described.
FIG. 6 is a detailed process flow of an allocatable resource extraction process performed by the allocatable resource extraction unit 313.
In the processing flow of FIG. 6, whether or not allocation is possible is determined for each allocation core that is a CPU core specified by a pair of the HW item 321 and the core item 322 of the resource management table 32 illustrated in FIG. An extraction list 7 of possible resources is created.

図7の割当可能リソースの抽出一覧7は、物理リソースの識別情報であるHW項目71と、CPUコアの識別情報であるcore項目72と、CPUコアのCPU性能比率の上限を表す多重率73と、割当済みCPUのCPU性能比率を表す使用率74と、仮想CPUの割当可否の判定結果を記録する項目であるVcpu0(75)、Vcpu1(76)、…、Vcpu5(78)をもつ。ここで、HW項目71とcore項目72と多重率73は、図5のリソース管理テーブル32に対応する。   7 includes an HW item 71 that is physical resource identification information, a core item 72 that is CPU core identification information, and a multiplexing rate 73 that represents the upper limit of the CPU performance ratio of the CPU core. , Vcpu0 (75), Vcpu1 (76),..., Vcpu5 (78), which are items for recording the determination result of whether or not the virtual CPU can be allocated. Here, the HW item 71, the core item 72, and the multiplexing rate 73 correspond to the resource management table 32 of FIG.

図6に戻り処理フローを説明する。
割当可能リソース抽出部313は、ステップS601で、リソース要求情報4のnum_vcpu属性に設定された仮想CPU数分、仮想CPU毎に繰り返す、ステップS614までの処理を開始する。
そして、割当可能リソース抽出部313は、ステップS602で、coreパラメータで指定された割当コア(割当CPUコア)毎に繰り返す、ステップS606までの処理を開始する。
Returning to FIG. 6, the processing flow will be described.
In step S601, the allocatable resource extraction unit 313 starts the processing up to step S614, which is repeated for each virtual CPU by the number of virtual CPUs set in the num_vcpu attribute of the resource request information 4.
In step S602, the allocatable resource extraction unit 313 starts the processing up to step S606, which is repeated for each allocation core (allocation CPU core) specified by the core parameter.

ステップS603では、割当コア毎に多重率323から使用率324を減算した値が、リソース要求情報4のloadパラメータに設定された要求使用率以上であるか否かを判定する。つまり、仮想CPUをCPUコアに割当てた際に、要求性能を満たすか否かを判定する。
要求使用率以上であれば(S603のYes)、ステップS604に進み、割当可能リソースの抽出一覧7に「可」を記録して、割当可設定する。さらに、使用率74に要求使用率を加算する。そして、ステップS606に進み、次の割当コアの処理を行う。要求使用率未満であれば(S603のNo)、ステップS605に進み、割当可能リソースの抽出一覧7に「不可」を記録して、割当不可設定する。そして、ステップS606に進み、次の割当コアの処理を行う。
In step S603, it is determined whether the value obtained by subtracting the usage rate 324 from the multiplexing rate 323 for each assigned core is equal to or greater than the request usage rate set in the load parameter of the resource request information 4. That is, it is determined whether or not the required performance is satisfied when a virtual CPU is assigned to a CPU core.
If it is equal to or greater than the required usage rate (Yes in S603), the process proceeds to step S604, where “permitted” is recorded in the allocatable resource extraction list 7 and allocation is set. Further, the required usage rate is added to the usage rate 74. Then, the process proceeds to step S606, and the next assigned core is processed. If it is less than the requested usage rate (No in S603), the process proceeds to step S605, where “impossible” is recorded in the assignable resource extraction list 7 and assignment is disabled. Then, the process proceeds to step S606, and the next assigned core is processed.

ステップS602からステップS606の割当コア毎の繰り返し処理を終了すると、リソース要求情報4のroleパラメータを判定し(ステップS607)、roleパラメータが、割当重要度が必須を意味する「must」であれば(ステップS607のmust)、ステップS614に進み、次の仮想CPUの処理を行う。roleパラメータが、割当重要度が可能な範囲での割当を意味する「should」であれば(ステップS607のshould)、ステップS608に進む。
ステップS608では、仮想CPUをcoreパラメータで指定された割当コア(割当CPUコア)に割当可能できたかを判定し、いずれかの割当CPUコアに割当可能であった場合には(S608のYes)、ステップS614に進み、次の仮想CPUの処理を行う。
When the iterative processing for each allocation core from step S602 to step S606 is completed, the role parameter of the resource request information 4 is determined (step S607), and if the role parameter is “must” meaning that the allocation importance is essential (step S607). In step S607, the process proceeds to step S614, where the next virtual CPU is processed. If the role parameter is “should” meaning assignment within a range where assignment importance is possible (should be step S607), the process proceeds to step S608.
In step S608, it is determined whether the virtual CPU can be assigned to the assigned core (assigned CPU core) specified by the core parameter. If the virtual CPU can be assigned to any assigned CPU core (Yes in S608), In step S614, the next virtual CPU is processed.

ステップS608で、仮想CPUをcoreパラメータで指定された割当コア(割当CPUコア)に割当できなかった場合には(S608のNo)、ステップS609からステップS613により、coreパラメータで指定された割当コア(割当CPUコア)以外への仮想CPUの割当可否を判定する。処理内容は、ステップS602からステップS606と同様のため説明は省略する。   In step S608, if the virtual CPU could not be allocated to the allocation core (allocation CPU core) specified by the core parameter (No in S608), the allocation core specified by the core parameter (No in S608) (step S613) Whether or not a virtual CPU can be allocated to other than (allocated CPU core) is determined. Since the processing contents are the same as those in steps S602 to S606, description thereof will be omitted.

ステップS614で、リソース要求情報4で指定された仮想CPUの割当が終了すると、ステップS615に進み、anti-affinity属性等のHW割当条件を満足する割当の組み合わせがあるか否かを判定する。HW割当条件を満足している場合には(S615のYes)、処理を終了する。HW割当条件を満足していない場合には(S615のNo)、物理リソースHW#2(2b)(図1参照)等の他のHWに変更する処理を行い(ステップS616)、ステップS601からの処理を繰り返す。
なお、ステップS615の判定を行わずに、全ての物理リソースHWについて、ステップS601からステップS614の割当可能なリソース抽出処理を行って、後述する割当先HWの選定処理を行ってもよい。
上述の処理により、割当可能リソース抽出部313は、割当可能リソースの抽出一覧7を作成する。
In step S614, when the allocation of the virtual CPU specified by the resource request information 4 is completed, the process proceeds to step S615, and it is determined whether there is an allocation combination that satisfies the HW allocation condition such as the anti-affinity attribute. If the HW allocation condition is satisfied (Yes in S615), the process ends. When the HW allocation condition is not satisfied (No in S615), a process of changing to another HW such as the physical resource HW # 2 (2b) (see FIG. 1) is performed (Step S616), and the process from Step S601 is performed. Repeat the process.
Instead of performing the determination in step S615, the allocatable resource extraction process in steps S601 to S614 may be performed for all physical resources HW, and the allocation destination HW selection process described later may be performed.
Through the above-described processing, the allocatable resource extraction unit 313 creates the allocatable resource extraction list 7.

また、ステップS601からステップS614の割当可能リソース抽出処理を、roleパラメータが「must」の仮想CPUについて行い、つぎに、roleパラメータが「should」の仮想CPUについて行うようにしてもよい。これにより、roleパラメータが「must」の仮想CPUの割当を優先して抽出することができる。   Further, the allocatable resource extraction processing from step S601 to step S614 may be performed for a virtual CPU whose role parameter is “must” and then for a virtual CPU whose role parameter is “should”. As a result, it is possible to extract with priority given to the allocation of the virtual CPU whose role parameter is “must”.

図3に戻り、ステップS33の割当先HWの選定処理について説明する。
割当先HWの選定処理を行う割当先リソース選定部314は、割当可能リソースの抽出一覧7を参照して、仮想CPUが複数の物理リソース(HW)に割当可であった場合には、特定の物理リソース(HW)を選定する。
Returning to FIG. 3, the assignment destination HW selection process in step S33 will be described.
The allocation destination resource selection unit 314 that performs allocation destination HW selection processing refers to the allocation list 7 of the allocatable resources, and when the virtual CPU can be allocated to a plurality of physical resources (HW), A physical resource (HW) is selected.

より詳細には、複数の仮想CPUのcoreパラメータにより割当候補として多重抽出された割当コア(割当CPUコア)がある場合には、roleパラメータが「must」の仮想CPUに優先してCPUコアを割当るように選定処理する。   More specifically, when there are allocation cores (allocation CPU cores) that are multiple extracted as allocation candidates by core parameters of a plurality of virtual CPUs, CPU cores are allocated in preference to virtual CPUs whose role parameter is “must”. The selection process is performed as follows.

この特定の物理リソース(HW)の選定は、負荷分散の観点では、割当可であるCPUコアの使用率の総和が最小の物理リソース(HW)を選定することができる。
また、物理リソースの使用効率の観点では、割当可であるCPUコアの使用率の総和が最大の物理リソース(HW)を選定してもよい。
また、ひとつの仮想CPUを複数のCPUコアに割当可能であった場合には、core項目が若い番号のCPUコアに割当する。
The selection of the specific physical resource (HW) can select a physical resource (HW) having a minimum sum of usage rates of CPU cores that can be allocated from the viewpoint of load distribution.
Further, from the viewpoint of physical resource usage efficiency, a physical resource (HW) having the maximum sum of usage rates of CPU cores that can be allocated may be selected.
If one virtual CPU can be assigned to a plurality of CPU cores, the core item is assigned to a CPU core having a lower number.

つぎに、ステップS34で、仮想CPUの割当が固定割当要求であるか否かを判定する。この判定は、coreパラメータが指定(範囲指定を含む)され、かつ、loadパラメータが100%指定されている場合、または、occupying属性が指定されている場合のいずれかひとつがリソース要求情報4に指定されているかを判定することにより行う。   Next, in step S34, it is determined whether or not the virtual CPU allocation is a fixed allocation request. This determination is specified in the resource request information 4 when the core parameter is specified (including range specification) and the load parameter is specified as 100% or when the occupying attribute is specified. This is done by determining whether it has been done.

ステップS34で、仮想CPUの割当が固定割当要求であった場合には(S34のYes)、リソース固定割当部315により固定割当処理を行う(ステップS35)。
この固定割当処理は、libvirtのコマンド(vcpupin)を発行して行う。また、仮想リソース(VM)定義ファイルを生成してもよい。
If the allocation of the virtual CPU is a fixed allocation request in step S34 (Yes in S34), the fixed resource allocation unit 315 performs a fixed allocation process (step S35).
This fixed allocation process is performed by issuing a libvirt command (vcpupin). Further, a virtual resource (VM) definition file may be generated.

ステップS34で、仮想CPUの割当が固定割当要求でなかった場合には(S34のNo)、リソース多重割当部316により多重割当処理を行う(ステップS36)。   If the allocation of the virtual CPU is not a fixed allocation request in step S34 (No in S34), the resource multiple allocation unit 316 performs multiple allocation processing (step S36).

そして、ステップS37で、固定割当されたCPUコアについては、リソース管理テーブル32の使用率324を多重率323に設定して、多重割当を防止する。
さらに、リソース管理テーブル32の割当先326に、CPUコアの割当先の仮想CPU名を設定する。
以上の処理により、リソース管理テーブル32の更新を行う。
In step S37, for the CPU cores that are fixedly allocated, the usage rate 324 of the resource management table 32 is set to the multiplexing rate 323 to prevent multiple allocation.
Furthermore, the CPU core allocation destination virtual CPU name is set in the allocation destination 326 of the resource management table 32.
The resource management table 32 is updated by the above processing.

また、ステップS37で、固定割当されたCPUコアについて、リソース管理テーブル32の状態項目325の値を「占有」に設定してもよい。
これにより、固定割当されたCPUコアについて、リソース管理テーブル32の状態項目325の値を「占有」に設定するので、他の仮想CPUの割当処理のステップS32の割当可否を判定する際に、判定対象の割当コア(割当CPUコア)から状態項目325が「占有」の割当コア(割当CPUコア)を除外することで、CPUコアに多重割当されることがない。
Further, in step S37, the value of the status item 325 of the resource management table 32 may be set to “occupied” for the fixedly assigned CPU core.
As a result, the value of the state item 325 of the resource management table 32 is set to “occupied” for the fixedly assigned CPU core, so when determining whether or not to allocate in step S32 of the allocation process of other virtual CPUs, By excluding allocation cores (allocation CPU cores) whose status item 325 is “occupied” from the target allocation cores (allocation CPU cores), multiple allocation to CPU cores is prevented.

最後に、ステップS38で、リソース払出情報をリソース要求部30(図2参照)に応答して、実施形態のリソース割当装置3のリソース割当処理を終了する。   Finally, in step S38, the resource allocation information is returned to the resource request unit 30 (see FIG. 2), and the resource allocation process of the resource allocation device 3 of the embodiment is ended.

ところで、実施形態のリソース割当装置3は、CPU(Central Processing Unit)を搭載し、プログラムやデータを記憶するハードディスクドライブやROM(Read only memory)やRAM(Random access memory)を実装する情報処理装置において、ハードディスクドライブに記録されたリソース割当プログラムを、CPUが実行することにより実施することができる。   By the way, the resource allocation device 3 of the embodiment is an information processing device that is equipped with a CPU (Central Processing Unit), and that implements a hard disk drive, ROM (Read only memory), and RAM (Random access memory) for storing programs and data. The CPU can execute the resource allocation program recorded on the hard disk drive.

3 リソース割当装置
30 リソース要求部
31 リソース払出制御部
311 要求受付処理部(入力部)
312 リソース管理部
313 割当可能リソース抽出部(リソース抽出部)
314 割当先リソース選定部
315 リソース固定割当部
316 リソース多重割当部
32 リソース管理テーブル
2a、2b、2c、2d 物理リソース
3 Resource allocation device 30 Resource request unit 31 Resource payout control unit 311 Request reception processing unit (input unit)
312 Resource management unit 313 Assignable resource extraction unit (resource extraction unit)
314 Allocation destination resource selection unit 315 Resource fixed allocation unit 316 Resource multiple allocation unit 32 Resource management table 2a, 2b, 2c, 2d Physical resource

Claims (8)

仮想計算機システムのリソース割当装置であって、
仮想CPUをCPUコア単位に1対1に固定割当するCPUリソースの指定情報を有するリソース要求情報が入力される入力部と、
前記リソース要求情報に基づいて割当可能なCPUリソースを抽出するリソース抽出部と、
抽出されたリソースから割当てるCPUリソースを選定する割当先リソース選定部と、
選定されたCPUリソースを固定割当するリソース固定割当部と、
選定されたCPUリソースを多重割当するリソース多重割当部と、
を備えたことを特徴とするリソース割当装置。
A resource allocation device for a virtual machine system,
An input unit for receiving resource request information having CPU resource designation information for fixedly assigning virtual CPUs in a one-to-one basis for each CPU core;
A resource extraction unit that extracts an assignable CPU resource based on the resource request information;
An allocation resource selection unit that selects a CPU resource to be allocated from the extracted resources;
A fixed resource allocation unit for fixed allocation of the selected CPU resource;
A resource multiplex allocation unit that multiplexly allocates the selected CPU resources;
A resource allocation device comprising:
請求項1に記載のリソース割当装置において、
前記リソース要求情報は、
割当てるCPUのCPU使用率を指定する情報、または、割当てるCPUのCPU識別番号を指定する情報、または、固定割当を指示する指示情報の少なくとも1つの固定割当するCPUリソースの指定情報を含む
ことを特徴とするリソース割当装置。
The resource allocation device according to claim 1,
The resource request information is
Information specifying the CPU usage rate of the CPU to be allocated, information specifying the CPU identification number of the CPU to be allocated, or specifying information of the CPU resource to be fixedly allocated of at least one instruction information for instructing fixed allocation Resource allocation device.
請求項1または請求項2に記載のリソース割当装置において、
さらに、割当可能なCPUリソース毎に、CPUリソースの識別番号と、割当て可能なCPU使用率の上限を表す多重率と、割当済CPUリソースのCPU使用率と、を含むリソース管理テーブル記憶部とを備える
ことを特徴とするリソース割当装置。
In the resource allocation device according to claim 1 or 2,
Further, for each assignable CPU resource, a resource management table storage unit including an identification number of the CPU resource, a multiplexing rate indicating an upper limit of the assignable CPU usage rate, and a CPU usage rate of the assigned CPU resource. A resource allocating device comprising:
請求項3に記載のリソース割当装置において、
前記リソース要求情報は、割当てるCPUのCPU使用率を指定する情報を含み、
前記リソース抽出部は、前記多重率の示す値と前記CPU使用率の示す値との差分が、前記リソース要求情報に指定されたCPU使用率以上の時に、割当可能なCPUとして抽出する
ことを特徴とするリソース割当装置。
The resource allocation device according to claim 3,
The resource request information includes information for specifying a CPU usage rate of an assigned CPU,
The resource extraction unit extracts a CPU as an assignable CPU when the difference between the value indicated by the multiplexing rate and the value indicated by the CPU usage rate is equal to or higher than the CPU usage rate specified in the resource request information. Resource allocation device.
請求項1から請求項4のいずれかに記載のリソース割当装置において、
前記リソース固定割当部は、前記リソース要求情報において、割当てるCPUのCPU使用率を指定する情報に割当てるCPUリソースのCPU使用率の上限を表す値が指定され、かつ、割当てるCPUのCPU識別番号を指定する情報に特定のCPUリソースが指定されているときか、または、固定割当を指示する指示情報が指定されているときに、前記割当先リソース選定部で選定されたCPUリソースの固定割当を行う
ことを特徴とするリソース割当装置。
In the resource allocation apparatus in any one of Claims 1-4,
In the resource request information, the resource fixed allocation unit is designated with a value indicating the upper limit of the CPU usage rate of the CPU resource to be assigned to the information for designating the CPU usage rate of the CPU to be assigned, and specifies the CPU identification number of the CPU to be assigned When a specific CPU resource is specified in the information to be performed, or when instruction information for instructing fixed allocation is specified, the CPU resource selected by the allocation destination resource selection unit is fixedly allocated. A resource allocation device characterized by the above.
仮想計算機システムのリソース割当方法であって、
仮想CPUをCPUコア単位に1対1に固定割当するCPUリソースの指定情報を有するリソース要求情報が入力されるステップと、
前記リソース要求情報に基づいて割当可能なCPUリソースを抽出するステップと、
抽出されたリソースから割当てるCPUリソースを選定するステップと、
選定されたCPUリソースを固定割当するステップと、
を含むことを特徴とするリソース割当方法。
A resource allocation method for a virtual machine system,
A step of inputting resource request information having CPU resource designation information for fixedly assigning a virtual CPU to a CPU core one-to-one;
Extracting an assignable CPU resource based on the resource request information;
Selecting a CPU resource to be allocated from the extracted resources;
Fixed allocation of selected CPU resources;
A resource allocation method comprising:
請求項6に記載のリソース割当方法において、
前記リソース要求情報には、割当てるCPUのCPU使用率を指定する情報、を含み、
割当て可能なCPU使用率の上限を表す多重率と、割当済CPUリソースのCPU使用率と、を割当可能なCPUリソース毎に記憶するリソース管理テーブルを参照して、前記多重率の示す値と前記CPU使用率の示す値との差分が、前記リソース要求情報に指定されたCPU使用率以上のCPUリソースを、割当可能なCPUリソースとして抽出する
ことを特徴とするリソース割当方法。
The resource allocation method according to claim 6,
The resource request information includes information specifying the CPU usage rate of the CPU to be allocated,
With reference to a resource management table that stores a multiplexing rate representing the upper limit of the assignable CPU usage rate and a CPU usage rate of the assigned CPU resource for each assignable CPU resource, A resource allocation method, wherein a CPU resource whose difference from a value indicated by a CPU usage rate is equal to or higher than a CPU usage rate specified in the resource request information is extracted as an allocatable CPU resource.
コンピュータを、請求項1から請求項5のいずれかのリソース割当装置として機能させるためのリソース割当プログラム。   A resource allocation program for causing a computer to function as the resource allocation device according to any one of claims 1 to 5.
JP2016172338A 2016-09-02 2016-09-02 Resource allocation apparatus, resource allocation method and resource allocation program Active JP6511025B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016172338A JP6511025B2 (en) 2016-09-02 2016-09-02 Resource allocation apparatus, resource allocation method and resource allocation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016172338A JP6511025B2 (en) 2016-09-02 2016-09-02 Resource allocation apparatus, resource allocation method and resource allocation program

Publications (2)

Publication Number Publication Date
JP2018037047A true JP2018037047A (en) 2018-03-08
JP6511025B2 JP6511025B2 (en) 2019-05-08

Family

ID=61567439

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016172338A Active JP6511025B2 (en) 2016-09-02 2016-09-02 Resource allocation apparatus, resource allocation method and resource allocation program

Country Status (1)

Country Link
JP (1) JP6511025B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111190728A (en) * 2019-12-13 2020-05-22 北京山石网科信息技术有限公司 Resource adjusting method and device
CN111831398A (en) * 2020-07-20 2020-10-27 平安科技(深圳)有限公司 Virtual machine creation and CPU resource allocation method, device and equipment
JPWO2020261514A1 (en) * 2019-06-27 2020-12-30

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009232207A (en) * 2008-03-24 2009-10-08 Hitachi Ltd Network-switching apparatus, server system, and server migration method in the server system
US20150058861A1 (en) * 2013-08-26 2015-02-26 Vmware, Inc. Cpu scheduler configured to support latency sensitive virtual machines

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009232207A (en) * 2008-03-24 2009-10-08 Hitachi Ltd Network-switching apparatus, server system, and server migration method in the server system
US20150058861A1 (en) * 2013-08-26 2015-02-26 Vmware, Inc. Cpu scheduler configured to support latency sensitive virtual machines

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
DUNCAN EPPING ほか著,小川大地 ほか訳, VMWARE VSPHERE クラスタ構築/運用の技法, vol. 第1版, JPN6018049315, 18 July 2013 (2013-07-18), JP, pages 1 - 6 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2020261514A1 (en) * 2019-06-27 2020-12-30
WO2020261514A1 (en) * 2019-06-27 2020-12-30 日本電信電話株式会社 Assignment control device, assignment control method, and assignment control program
JP7315000B2 (en) 2019-06-27 2023-07-26 日本電信電話株式会社 ALLOCATION CONTROL DEVICE, ALLOCATION CONTROL METHOD, AND ALLOCATION CONTROL PROGRAM
CN111190728A (en) * 2019-12-13 2020-05-22 北京山石网科信息技术有限公司 Resource adjusting method and device
CN111190728B (en) * 2019-12-13 2023-08-25 北京山石网科信息技术有限公司 Resource adjustment method and device
CN111831398A (en) * 2020-07-20 2020-10-27 平安科技(深圳)有限公司 Virtual machine creation and CPU resource allocation method, device and equipment

Also Published As

Publication number Publication date
JP6511025B2 (en) 2019-05-08

Similar Documents

Publication Publication Date Title
EP3761170B1 (en) Virtual machine creation method and apparatus
US11579914B2 (en) Platform independent GPU profiles for more efficient utilization of GPU resources
US8930541B2 (en) System, method and program product for cost-aware selection of templates for provisioning shared resources
CN106371894B (en) Configuration method and device and data processing server
US9858068B2 (en) Methods and systems for planning application deployment
EP3481007B1 (en) Method, apparatus and management server for processing resource pool
US9329906B2 (en) Virtual machine mobility using resource pools
JP6374845B2 (en) Computer system and container management method
CN108304260A (en) A kind of virtualization job scheduling system and its implementation based on high-performance cloud calculating
US20210089362A1 (en) Virtual resource management device, virtual resource allocation method, and virtual resource allocation program
US20210326161A1 (en) Apparatus and method for multi-cloud service platform
KR101557747B1 (en) System and method for allocating virtual machine for effective use of multi resource in cloud
US11397622B2 (en) Managed computing resource placement as a service for dedicated hosts
JP6511025B2 (en) Resource allocation apparatus, resource allocation method and resource allocation program
US20170310564A1 (en) Allocating physical nodes for processes in an execution plan
US20160094415A1 (en) Allocating physical nodes for processes in an execution plan
JP2015022385A (en) Virtual system and method for controlling virtual system
JP5988505B2 (en) Virtual resource management apparatus, selection method, and selection program
JP7037059B2 (en) Resource management system and resource allocation program
CN105718297A (en) Virtual machine establishing system and method
JP6241215B2 (en) Processing distribution method, processing distribution program, and processing distribution system
JP6973299B2 (en) Management device and management method
JP2015138385A (en) Decentralized processing system and decentralized processing method
JP6102302B2 (en) System automatic configuration apparatus, information processing system, system automatic configuration method, and system automatic configuration program
US20230176908A1 (en) Systems, methods and computer program products for job management

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180206

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181218

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190214

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190405

R150 Certificate of patent or registration of utility model

Ref document number: 6511025

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150