JP6743368B2 - Virtual infrastructure host, virtual infrastructure host control method, virtual infrastructure host program, and communication system - Google Patents

Virtual infrastructure host, virtual infrastructure host control method, virtual infrastructure host program, and communication system Download PDF

Info

Publication number
JP6743368B2
JP6743368B2 JP2015219543A JP2015219543A JP6743368B2 JP 6743368 B2 JP6743368 B2 JP 6743368B2 JP 2015219543 A JP2015219543 A JP 2015219543A JP 2015219543 A JP2015219543 A JP 2015219543A JP 6743368 B2 JP6743368 B2 JP 6743368B2
Authority
JP
Japan
Prior art keywords
virtual
size
gpu
virtual machine
gpu resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2015219543A
Other languages
Japanese (ja)
Other versions
JP2017091154A (en
Inventor
上田 雅之
雅之 上田
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 JP2015219543A priority Critical patent/JP6743368B2/en
Publication of JP2017091154A publication Critical patent/JP2017091154A/en
Application granted granted Critical
Publication of JP6743368B2 publication Critical patent/JP6743368B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、仮想基盤ホスト、仮想基盤ホストの制御方法、仮想基盤ホストのプログラムおよび通信システムに関する。 The present invention relates to a virtual base host, a virtual base host control method, a virtual base host program, and a communication system.

1台の仮想基盤ホストと呼ばれる物理機器上で複数の仮想マシンを同時に稼働させる、仮想環境が普及している。図1は、仮想環境におけるシステムの構成例を示す。 A virtual environment in which a plurality of virtual machines are simultaneously operated on a physical device called one virtual infrastructure host has become widespread. FIG. 1 shows a configuration example of a system in a virtual environment.

図1におけるクライアント装置10は、例えば、自身に搭載されているOS(Operating System)のリモートデスクトップ接続機能を用いて、仮想基盤ホスト20上の仮想マシン21を遠隔操作する。そして、クライアント装置10は、仮想マシン21から、上記遠隔操作に基づく結果を受信する。 The client device 10 in FIG. 1 remotely controls the virtual machine 21 on the virtual base host 20, for example, using the remote desktop connection function of the OS (Operating System) installed in itself. Then, the client device 10 receives the result based on the remote operation from the virtual machine 21.

図1における仮想基盤ホスト20の仮想マシン21は、例えば、クライアント装置10によって遠隔操作される場合、ハイパーバイザ22に対して、ハードウェア23のリソースの割当てを要求する。そして、仮想マシン21は、ハイパーバイザ22によって割当てられたハードウェア23のリソースを用いて、上記遠隔操作に基づく動作を行う。例えば、仮想マシン21は、画像や音声等をクライアント装置10に出力する。 For example, when the virtual machine 21 of the virtual infrastructure host 20 in FIG. 1 is remotely operated by the client device 10, the virtual machine 21 requests the hypervisor 22 to allocate the resource of the hardware 23. Then, the virtual machine 21 uses the resource of the hardware 23 allocated by the hypervisor 22 to perform the operation based on the remote operation. For example, the virtual machine 21 outputs an image, a sound, etc. to the client device 10.

図1における仮想基盤ホスト20のハイパーバイザ22は、仮想マシン21からハードウェア23の使用を要求された場合、上記仮想マシン21に対して、ハードウェア23のリソースの割当てを行う。なお、ハイパーバイザ22は、複数の仮想マシン21から同時にハードウェア23の使用を要求された場合であっても、ハードウェア23のリソースの割当てを適切に行うことで、複数の仮想マシン21におけるアプリケーション等の同時処理を可能とする。 When requested to use the hardware 23 from the virtual machine 21, the hypervisor 22 of the virtual infrastructure host 20 in FIG. 1 allocates the resources of the hardware 23 to the virtual machine 21. Note that the hypervisor 22 appropriately allocates the resources of the hardware 23 even when the virtual machines 21 are requested to use the hardware 23 at the same time, and thereby the applications in the virtual machines 21 are It enables simultaneous processing such as.

仮想基盤ホスト20のハードウェア23は、例えば、グラフィックボードで実現される。この場合、仮想マシン21は、自身に割当てられているハードウェア23のリソースに、グラフィック処理を行わせることが可能となる。すなわち、仮想マシン21は、クライアント装置10によって、高いグラフィック処理性能を要するアプリケーションの実行を要求された場合であっても、これに対応することが可能となる。上記に関連して、近年、仮想環境下における仮想マシンの各々に、GPU(Graphics Processing Unit)のリソースを一対一に割当てるGPU仮想化方式が普及している。GPU仮想化方式としては、例えば、NVIDIA社のGrid GPUによるvGPUが、広く知られている。 The hardware 23 of the virtual base host 20 is realized by, for example, a graphic board. In this case, the virtual machine 21 can cause the resources of the hardware 23 allocated to itself to perform the graphic processing. That is, even if the client machine 10 requests the virtual machine 21 to execute an application that requires high graphic processing performance, the virtual machine 21 can handle this. In relation to the above, in recent years, a GPU virtualization method in which a resource of a GPU (Graphics Processing Unit) is allocated to each of virtual machines in a virtual environment in a one-to-one manner has become widespread. As a GPU virtualization method, for example, vGPU by Grid GPU of NVIDIA is widely known.

さらに、GPU仮想化方式に関連する技術として、特許文献1には、互換性、セキュリティ、およびデジタル著作権管理等に対して利益を提供する、仮想化されたグラフィックアーキテクチャに関する技術が開示されている。 Further, as a technique related to the GPU virtualization method, Patent Document 1 discloses a technique related to a virtualized graphic architecture that provides benefits for compatibility, security, digital rights management, and the like. ..

特開2006−190281号公報JP 2006-190281 A

GPU仮想化方式におけるGPUリソースの割当ては、例えば、事前にユーザ毎に必要なグラフィック性能をプロファイラと呼ばれる性能測定ツール等で数値化し、該数値化の結果に基づいて行われる。また、例えば、GPUリソースの割当ては、GPUリソースをユーザ毎に同サイズ割当てた後、ユーザ毎の操作感に基づき調整することで行われる。 The GPU resource allocation in the GPU virtualization method is performed based on, for example, the graphic performance required for each user in advance with a performance measurement tool called a profiler, and based on the result of the digitization. Further, for example, the allocation of the GPU resource is performed by allocating the GPU resource with the same size for each user and then adjusting the GPU resource based on the operation feeling for each user.

上記のようなGPUリソースの割当ては、主に人手で行われる。そのため、仮想マシンに適切なサイズのGPUリソースが割当てられない場合がある。例えば、仮想マシンに割当てられるGPUリソースのサイズが、仮想マシンにおいて実行されるアプリケーションの要求するサイズを満たしていない場合である。また、例えば、必要以上のサイズのGPUリソースが、仮想マシンに割当てられる場合である。 The above-mentioned GPU resource allocation is mainly performed manually. Therefore, a GPU resource having an appropriate size may not be allocated to the virtual machine. For example, this is a case where the size of the GPU resource allocated to the virtual machine does not meet the size required by the application executed in the virtual machine. Further, for example, it is a case where a GPU resource having a size larger than necessary is allocated to the virtual machine.

前者の場合、仮想マシンにログインして仮想マシンにアプリケーションを実行させるクライアント装置のユーザは、仮想マシンから転送される画像の表示遅延やマウス操作の追従性の悪さ等が原因でストレスを感じる。しかしながら、割当てられたGPUリソースが要求サイズを満たしていない場合であっても、一度割当てられたGPUリソースは、そのまま維持されるという問題がある。 In the former case, the user of the client device that logs into the virtual machine and causes the virtual machine to execute an application feels stress due to display delay of images transferred from the virtual machine, poor followability of mouse operations, and the like. However, even if the allocated GPU resource does not satisfy the required size, the GPU resource once allocated is still maintained.

一方、後者の場合、GPUリソースの使用効率が、悪くなってしまう等の問題が生じる。 On the other hand, in the latter case, there arises a problem that the utilization efficiency of the GPU resource is deteriorated.

しかしながら、特許文献1には、上記問題を解決するための方法等について、記載も示唆もない。 However, Patent Document 1 neither describes nor suggests a method for solving the above problems.

本発明は、上記問題に鑑みてなされたものであり、適切なサイズのGPUリソースを適宜割当てることができる、仮想基盤ホスト、仮想基盤ホストの制御方法、仮想基盤ホストのプログラムおよび通信システムを提供することを目的とする。 The present invention has been made in view of the above problems, and provides a virtual base host, a virtual base host control method, a virtual base host program, and a communication system that can appropriately allocate a GPU resource of an appropriate size. The purpose is to

上記目的を達成するために、本発明の一態様における仮想基盤ホストは、仮想マシンと、前記仮想マシンに割当てられるGPUリソースと、前記仮想マシンから前記GPUリソースのサイズ変更要求を通知された場合、前記GPUリソースのサイズを変更するハイパーバイザと、を備えることを特徴とする。 In order to achieve the above object, the virtual infrastructure host according to an aspect of the present invention, when a virtual machine, a GPU resource assigned to the virtual machine, and a size change request for the GPU resource are notified from the virtual machine, And a hypervisor for changing the size of the GPU resource.

上記目的を達成するために、本発明の一態様における通信システムは、仮想基盤ホストと、前記仮想基盤ホストと接続する情報処理装置と、を備え、前記仮想基盤ホストは、仮想マシンと、前記仮想マシンに割当てられるGPUリソースと、前記仮想マシンから前記GPUリソースのサイズ変更要求を通知された場合、前記GPUリソースのサイズを変更するハイパーバイザと、を備え、前記仮想マシンは、前記情報処理装置における所定の動作を検知した場合、前記サイズ変更要求を前記ハイパーバイザに通知する、ことを特徴とする。 In order to achieve the above object, a communication system according to an aspect of the present invention includes a virtual infrastructure host and an information processing device connected to the virtual infrastructure host, wherein the virtual infrastructure host includes a virtual machine and the virtual machine. The virtual machine includes a GPU resource assigned to a machine and a hypervisor that changes the size of the GPU resource when the virtual machine is notified of a request to change the size of the GPU resource. When the predetermined operation is detected, the size change request is notified to the hypervisor.

上記目的を達成するために、本発明の一態様における仮想基盤ホストの制御方法は、仮想マシンと、前記仮想マシンに割当てられるGPUリソースと、を備える仮想基盤ホストの制御方法であって、前記仮想マシンが前記GPUリソースのサイズの変更を要求した場合、前記GPUリソースのサイズを変更する、ことを特徴とする。 In order to achieve the above object, a control method of a virtual base host according to an aspect of the present invention is a control method of a virtual base host including a virtual machine and a GPU resource allocated to the virtual machine, If the machine requests a change in the size of the GPU resource, the size of the GPU resource is changed.

上記目的を達成するために、本発明の一態様における仮想基盤ホストのプログラムは、仮想マシンと、前記仮想マシンに割当てられるGPUリソースと、を備える仮想基盤ホストのコンピュータに、前記仮想マシンが前記GPUリソースのサイズの変更を要求した場合、前記GPUリソースのサイズを変更する処理を、実行させることを特徴とする。 In order to achieve the above object, a program of a virtual base host according to an aspect of the present invention is a computer of a virtual base host including a virtual machine and a GPU resource allocated to the virtual machine, and the virtual machine is the GPU. When it is requested to change the size of the resource, the processing for changing the size of the GPU resource is executed.

本発明によれば、適切なサイズのGPUリソースを適宜割当てることができる。 According to the present invention, an appropriately sized GPU resource can be appropriately allocated.

クライアント装置10と仮想基盤ホスト20とから構成される仮想環境におけるシステムの構成例を示す。1 shows an example of the configuration of a system in a virtual environment composed of a client device 10 and a virtual infrastructure host 20. 本発明の第1の実施形態に係る仮想基盤ホスト30のブロック構成図の一例である。It is an example of a block configuration diagram of a virtual base host 30 according to the first embodiment of the present invention. 本発明の第1の実施形態に係る仮想基盤ホスト30の動作の一例を示すフローチャートである。6 is a flowchart showing an example of operation of the virtual base host 30 according to the first exemplary embodiment of the present invention. 本発明の第2の実施形態に係る通信システム100のシステム構成図の一例である。It is an example of a system configuration diagram of a communication system 100 according to a second embodiment of the present invention. 本発明の第2の実施形態に係る仮想基盤ホスト200のブロック構成図の一例である。It is an example of a block configuration diagram of a virtual base host 200 according to a second embodiment of the present invention. 本発明の第2の実施形態に係る仮想マシン220及びハイパーバイザ230の動作の一例を示すフローチャートである。It is a flowchart which shows an example of operation|movement of the virtual machine 220 and the hypervisor 230 which concern on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係るハイパーバイザ230の動作の一例を示すフローチャートである。It is a flowchart which shows an example of operation|movement of the hypervisor 230 which concerns on the 2nd Embodiment of this invention.

(第1の実施形態)
本発明の第1の実施形態について説明する。
(First embodiment)
A first embodiment of the present invention will be described.

本発明の第1の実施形態に係る仮想基盤ホスト30のブロック構成図を図2に示す。仮想基盤ホスト30は、図2に示すように、GPUリソース31と、仮想マシン32と、ハイパーバイザ33と、を備える。 FIG. 2 shows a block configuration diagram of the virtual base host 30 according to the first embodiment of the present invention. As shown in FIG. 2, the virtual infrastructure host 30 includes a GPU resource 31, a virtual machine 32, and a hypervisor 33.

GPUリソース31は、仮想マシン32に割当てられる。GPUリソースは、例えば、仮想マシン32で実行されるアプリケーションのグラフィック処理を行う。 The GPU resource 31 is assigned to the virtual machine 32. The GPU resource performs graphic processing of an application executed on the virtual machine 32, for example.

仮想マシン32は、GPUリソース31のサイズ変更要求を、ハイパーバイザ33に通知する。例えば、本実施形態に係る仮想マシン32は、ユーザから、仮想マシン32上のアプリケーションに対する無効な入力操作を複数回検知した場合、仮想マシン32に割当てられたGPUリソース31が不足していると判定する。そして、仮想マシン32は、GPU31のサイズ変更要求を、ハイパーバイザ33に通知する。 The virtual machine 32 notifies the hypervisor 33 of the size change request of the GPU resource 31. For example, the virtual machine 32 according to the present embodiment determines that the GPU resource 31 allocated to the virtual machine 32 is insufficient when the user detects an invalid input operation to the application on the virtual machine 32 multiple times. To do. Then, the virtual machine 32 notifies the hypervisor 33 of the size change request of the GPU 31.

ハイパーバイザ33は、仮想マシン32からGPUリソース31のサイズ変更要求を通知された場合、GPUリソース31のサイズを変更する。 The hypervisor 33 changes the size of the GPU resource 31 when notified of the size change request of the GPU resource 31 from the virtual machine 32.

次に、図3を参照しながら仮想基盤ホスト30の動作について説明する。 Next, the operation of the virtual infrastructure host 30 will be described with reference to FIG.

(S101:仮想マシン32の動作)
仮想マシン32は、GPUリソース31のサイズ変更要求を、ハイパーバイザ33に通知する。ここで、例えば、本実施形態に係る仮想マシン32は、ユーザから、仮想マシン32上のアプリケーションに対する無効な入力操作を複数回検知した場合、仮想マシン32に割当てられたGPUリソース31が不足していると判定する。そして、仮想マシン32は、GPU31のサイズ変更要求を、ハイパーバイザ33に通知する。
(S101: Operation of Virtual Machine 32)
The virtual machine 32 notifies the hypervisor 33 of the size change request of the GPU resource 31. Here, for example, when the virtual machine 32 according to the present embodiment detects an invalid input operation to the application on the virtual machine 32 from the user a plurality of times, the GPU resource 31 allocated to the virtual machine 32 becomes insufficient. Determine that Then, the virtual machine 32 notifies the hypervisor 33 of the size change request of the GPU 31.

(S102:ハイパーバイザ33の動作)
ハイパーバイザ33は、仮想マシン32からGPUリソース31のサイズ変更要求を通知された場合、GPUリソース31のサイズを変更する。
(S102: Operation of hypervisor 33)
The hypervisor 33 changes the size of the GPU resource 31 when notified of the size change request of the GPU resource 31 from the virtual machine 32.

以上のように、本実施形態に係る仮想基盤ホスト30におけるハイパーバイザ33は、仮想マシン32からGPUリソース31のサイズ変更要求を通知された場合、GPUリソース31のサイズを変更する。すなわち、仮想マシン32は、適切なサイズのGPUリソースを用いて動作することが可能となる。 As described above, the hypervisor 33 in the virtual infrastructure host 30 according to the present embodiment changes the size of the GPU resource 31 when the virtual machine 32 is notified of the size change request of the GPU resource 31. That is, the virtual machine 32 can operate using a GPU resource having an appropriate size.

以上のことから、本実施形態によれば、適切なサイズのGPUリソースを適宜割当てることができる。 From the above, according to this embodiment, it is possible to appropriately allocate a GPU resource of an appropriate size.

また、以上のことを鑑みると、本実施形態に係る仮想基盤ホスト30は、高いグラフィック処理性能を要求される3次元CAD(Computer Aided Design)向けや、3次元CG(Computer Graphics)向けの仮想マシン32に対して、適切なサイズのリソースを割当てることができる。これにより、仮想基盤ホスト30は、自身が収容できる仮想マシン32の数を増やすことができる。 Further, in view of the above, the virtual base host 30 according to the present embodiment is a virtual machine for three-dimensional CAD (Computer Aided Design) and three-dimensional CG (Computer Graphics) that require high graphic processing performance. An appropriate size resource can be allocated to 32. As a result, the virtual infrastructure host 30 can increase the number of virtual machines 32 that it can accommodate.

(第2の実施形態)
次に、本発明の第2の実施形態について説明する。
(Second embodiment)
Next, a second embodiment of the present invention will be described.

本発明の第2の実施形態に係る通信システム100のシステム構成図を図4に示す。通信システム100は、図4に示すように、仮想基盤ホスト200と、仮想基盤ホスト200が備える後述の仮想マシン220にログインして仮想マシン220にアプリケーションを実行させるクライアント装置300と、を備える。 FIG. 4 shows a system configuration diagram of the communication system 100 according to the second embodiment of the present invention. As shown in FIG. 4, the communication system 100 includes a virtual infrastructure host 200, and a client device 300 that logs into a virtual machine 220 (described later) included in the virtual infrastructure host 200 and causes the virtual machine 220 to execute an application.

本発明の第2の実施形態に係る仮想基盤ホスト200は、図5に示すように、仮想GPU211−1〜211−nを備えるGPU210と、仮想マシン220−1〜220−nと、ハイパーバイザ230と、を備える。 As shown in FIG. 5, the virtual base host 200 according to the second embodiment of the present invention includes a GPU 210 including virtual GPUs 211-1 to 211-n, virtual machines 220-1 to 220-n, and a hypervisor 230. And

以降、仮想GPU211−1〜211−nの各々を区別して説明する必要が無い場合には、仮想GPU211−1〜211−nを仮想GPU211と呼称して説明する。また、仮想マシン220−1〜220−nの各々を区別して説明する必要が無い場合には、仮想マシン220−1〜220−nを仮想マシン220と呼称して説明する。 Hereinafter, when it is not necessary to distinguish between the virtual GPUs 211-1 to 211-n for description, the virtual GPUs 211-1 to 211-n will be referred to as virtual GPUs 211 for description. Further, when it is not necessary to distinguish between the virtual machines 220-1 to 220-n for description, the virtual machines 220-1 to 220-n are referred to as virtual machines 220 for description.

ここで、仮想基盤ホスト200は、本発明の第1の実施形態における仮想基盤ホスト30の一例である。また、仮想GPU211は、本発明の第1の実施形態におけるGPUリソース31の一例である。また、仮想マシン220は、本発明の第1の実施形態における仮想マシン32の一例である。また、ハイパーバイザ230は、本発明の第1の実施形態におけるハイパーバイザ33の一例である。 Here, the virtual infrastructure host 200 is an example of the virtual infrastructure host 30 in the first embodiment of the present invention. The virtual GPU 211 is an example of the GPU resource 31 according to the first embodiment of this invention. The virtual machine 220 is an example of the virtual machine 32 according to the first embodiment of this invention. The hypervisor 230 is an example of the hypervisor 33 in the first embodiment of the present invention.

GPU210は、仮想マシン220にログインしたクライアント装置300が仮想マシン220に実行させるアプリケーションのグラフィック処理を行うハードウェアであって、仮想GPU211−1〜211−nを備える。仮想GPU211−1〜211―nは、GPU210のリソースであり、仮想マシン220−1〜220−nに一対一に割当てられる。ここで、例えば、仮想GPU211−1は、仮想マシン220−1が実行するアプリケーションのグラフィック処理を行う。また、例えば、仮想GPU211−2は、仮想マシン220−2が実行するアプリケーションのグラフィック処理を行う。なお、仮想GPU211−1〜211−nは、後述するように、ハイパーバイザ230の割当変更部233によって、そのサイズを変更される場合がある。 The GPU 210 is hardware that performs graphic processing of an application that the client device 300 that has logged in to the virtual machine 220 causes the virtual machine 220 to execute, and includes virtual GPUs 211-1 to 211-n. The virtual GPUs 211-1 to 211-n are resources of the GPU 210 and are assigned to the virtual machines 220-1 to 220-n in a one-to-one manner. Here, for example, the virtual GPU 211-1 performs graphic processing of an application executed by the virtual machine 220-1. Further, for example, the virtual GPU 211-2 performs graphic processing of an application executed by the virtual machine 220-2. The size of the virtual GPUs 211-1 to 211-n may be changed by the allocation changing unit 233 of the hypervisor 230, as described later.

仮想マシン220は、自身にログインしたクライアント装置300からの指示に基づき、自身にインストールされているアプリケーションの実行等を行う。仮想マシン220は、図5に示すように、アプリケーション制御部221と、グラフィックドライバ制御部222と、検知部223と、第1通信処理部224と、を備える。 The virtual machine 220 executes an application installed in itself, etc., based on an instruction from the client device 300 logged in to the virtual machine 220. As illustrated in FIG. 5, the virtual machine 220 includes an application control unit 221, a graphic driver control unit 222, a detection unit 223, and a first communication processing unit 224.

アプリケーション制御部221は、クライアント装置300からの指示に基づき、仮想マシン220にインストールされているアプリケーションの実行等を制御する。なお、アプリケーション制御部221は、グラフィック処理を要するアプリケーションを制御する場合、その旨をグラフィックドライバ制御部222に通知する。 The application control unit 221 controls execution of applications installed in the virtual machine 220 based on an instruction from the client device 300. When controlling an application that requires graphic processing, the application control unit 221 notifies the graphic driver control unit 222 to that effect.

グラフィックドライバ制御部222は、グラフィック処理を要するアプリケーションを制御する旨をアプリケーション制御部221から通知された場合、次の動作を行う。この場合、グラフィックドライバ制御部222は、仮想マシン220にインストールされているグラフィックドライバを介して、GPU210の仮想GPU211に上記グラフィック処理の実施を要求する。ここで、仮想マシン220にインストールされているグラフィックドライバは、仮想マシン220に割当てられている仮想GPU211の場所を示すアドレス情報や、サイズを示すサイズ情報を管理している。 The graphic driver control unit 222 performs the following operation when notified from the application control unit 221 that the application requiring graphic processing is controlled. In this case, the graphic driver control unit 222 requests the virtual GPU 211 of the GPU 210 to perform the graphic processing via the graphic driver installed in the virtual machine 220. Here, the graphic driver installed in the virtual machine 220 manages address information indicating the location of the virtual GPU 211 assigned to the virtual machine 220 and size information indicating the size.

また、グラフィックドライバ制御部222は、仮想マシン220に割当てられている仮想GPU211のサイズを拡大した旨と、追加割当されたGPU210のリソースのアドレス情報及びサイズ情報とを、第1通信処理部224がハイパーバイザ230から受信した場合、次の動作を行う。この場合、グラフィックドライバ制御部222は、仮想マシン220にインストールされているグラフィックドライバに、上記受信したアドレス情報及びサイズ情報を、追加で管理させる。これによって、仮想マシン220は、サイズ拡大後の仮想GPU211に、グラフィック処理を行わせることができるようになる。 Further, the graphic driver control unit 222 notifies the first communication processing unit 224 of the fact that the size of the virtual GPU 211 allocated to the virtual machine 220 has been expanded and the address information and size information of the resource of the additionally allocated GPU 210. When received from the hypervisor 230, the following operation is performed. In this case, the graphic driver control unit 222 causes the graphic driver installed in the virtual machine 220 to additionally manage the received address information and size information. As a result, the virtual machine 220 can cause the virtual GPU 211 whose size has been increased to perform graphic processing.

また、グラフィックドライバ制御部222は、仮想マシン220に割当てられている仮想GPU211のサイズを縮小した旨と、サイズ縮小後の仮想GPU211のアドレス情報及びサイズ情報とを、第1通信処理部224がハイパーバイザ230から受信した場合、次の動作を行う。この場合、グラフィックドライバ制御部222は、仮想マシン220にインストールされているグラフィックドライバに、現在管理させている仮想GPU211のアドレス情報及びサイズ情報の代わりに、上記サイズ縮小後の仮想GPU211のアドレス情報及びサイズ情報を管理させる。これによって、仮想マシン220は、サイズ縮小後の仮想GPU211にグラフィック処理を行わせることができるようになる。 In addition, the graphic driver control unit 222 notifies the first communication processing unit 224 of the fact that the size of the virtual GPU 211 assigned to the virtual machine 220 is reduced and the address information and size information of the virtual GPU 211 after the size reduction. When received from the visor 230, the following operation is performed. In this case, the graphic driver control unit 222 replaces the address information and the size information of the virtual GPU 211 currently managed by the graphic driver installed in the virtual machine 220, with the address information and the size information of the virtual GPU 211 after the size reduction. Manage size information. As a result, the virtual machine 220 can cause the virtual GPU 211, which has been reduced in size, to perform graphic processing.

検知部223は、仮想マシン220にインストールされているアプリケーションがアプリケーション制御部221によって制御されている場合、すなわち、上記アプリケーションがクライアント装置300によって実行されている場合、次の動作を行う。この場合、検知部223は、クライアント装置300における所定の操作を検知する。ここで、上記所定の操作は、クライアント装置300のユーザが、仮想マシン220に割当てられている仮想GPU211のサイズ不足により生じる仮想マシン220に実行させているアプリケーションの処理遅延等にストレスを感じた際に行う操作である。上記所定の操作は、例えば、クライアント装置300に対して既定時間以内に同一の指示を繰り返し入力する操作や、クライアント装置300上の入力が無効化されている画面領域に指示を繰り返し入力する操作等である。そして、検知部213は、上記所定の動作を検知した場合、仮想マシン220に割当てられている仮想GPU211のサイズ拡大要求を、第1通信処理部224を介してハイパーバイザ230に通知する。 The detection unit 223 performs the following operation when the application installed in the virtual machine 220 is controlled by the application control unit 221, that is, when the application is executed by the client device 300. In this case, the detection unit 223 detects a predetermined operation on the client device 300. Here, the predetermined operation is performed when the user of the client device 300 feels stress due to a processing delay of an application executed by the virtual machine 220 caused by a size shortage of the virtual GPU 211 assigned to the virtual machine 220. This is the operation to be performed. The predetermined operation is, for example, an operation of repeatedly inputting the same instruction to the client apparatus 300 within a predetermined time, an operation of repeatedly inputting an instruction in a screen area in which the input on the client apparatus 300 is invalidated, or the like. Is. Then, when the detection unit 213 detects the above-described predetermined operation, the detection unit 213 notifies the hypervisor 230 via the first communication processing unit 224 of a size increase request for the virtual GPU 211 assigned to the virtual machine 220.

第1通信処理部224は、ハイパーバイザ230と各種情報のやり取りを行う。 The first communication processing unit 224 exchanges various information with the hypervisor 230.

ハイパーバイザ230は、図5に示すように、第2通信処理部231と、監視部232と、割当変更部233と、を備える。 As shown in FIG. 5, the hypervisor 230 includes a second communication processing unit 231, a monitoring unit 232, and an allocation changing unit 233.

第2通信処理部231は、仮想マシン220と各種情報のやり取りを行う。 The second communication processing unit 231 exchanges various information with the virtual machine 220.

監視部232は、GPU210における仮想GPU211−1〜211−nの使用率を監視する。 The monitoring unit 232 monitors the usage rates of the virtual GPUs 211-1 to 211-n in the GPU 210.

割当変更部233は、第2通信処理部231が、仮想マシン220から、該仮想マシン220に割当てられている仮想GPU211のサイズ拡大要求を受信した場合、次のように動作する。この場合、割当変更部233は、前記サイズ拡大要求を通知した仮想マシン220以外の仮想マシン220に割当てられている仮想GPU211の使用率を監視部232を介して確認し、上記サイズ拡大要求に応じられるか否かを判定する。 The allocation changing unit 233 operates as follows when the second communication processing unit 231 receives a size increase request for the virtual GPU 211 allocated to the virtual machine 220 from the virtual machine 220. In this case, the allocation changing unit 233 confirms the usage rate of the virtual GPU 211 allocated to the virtual machine 220 other than the virtual machine 220 that has notified the size increase request via the monitoring unit 232, and responds to the size increase request. It is determined whether or not it is possible.

割当変更部233は、上記サイズ拡大要求に応じられると判定した場合、GPU210のリソースを追加割当することで、上記サイズ拡大要求に対応する仮想GPU211のサイズを拡大する。そして、割当変更部233は、上記サイズ拡大要求を通知した仮想マシン220に対し、該仮想マシン220に割当てられている仮想GPU211のサイズを拡大した旨と、追加割当したGPU210のアドレス情報及びサイズ情報とを通知する。この際、割当変更部233は、上記サイズ拡大要求を通知した仮想マシン220以外に、割当てられている仮想GPU211にサイズの拡大があった仮想マシン220が存在した場合、該仮想マシン220に対しても、上記と同様の通知を行う。また、この際、割当変更部233は、割当てられている仮想GPU211にサイズの縮小があった仮想マシン220が存在した場合、該仮想マシン220に対して、仮想GPU211のサイズを縮小した旨と、サイズ縮小後の仮想GPU211のアドレス情報及びサイズ情報とを通知する。 When it is determined that the size expansion request can be met, the allocation changing unit 233 expands the size of the virtual GPU 211 corresponding to the size expansion request by additionally allocating the resource of the GPU 210. Then, the allocation changing unit 233 expands the size of the virtual GPU 211 allocated to the virtual machine 220 to the virtual machine 220 that has notified the size expansion request, and the address information and size information of the additionally allocated GPU 210. And notify. At this time, when there is a virtual machine 220 whose size has been expanded in the allocated virtual GPU 211, in addition to the virtual machine 220 that has notified the size expansion request, the allocation changing unit 233 sends the virtual machine 220 to the virtual machine 220. Also, the same notification as above is performed. Further, at this time, when there is a virtual machine 220 whose size has been reduced in the allocated virtual GPU 211, the allocation changing unit 233 informs the virtual machine 220 that the size of the virtual GPU 211 has been reduced. The address information and the size information of the virtual GPU 211 after the size reduction is notified.

一方、割当変更部233は、上記サイズ拡大要求に応じられないと判定した場合、上記サイズ拡大要求を通知した仮想マシン220に対し、該仮想マシン220に割当てられている仮想GPU211のサイズ拡大が不可能である旨を通知する。 On the other hand, when the allocation changing unit 233 determines that the size expansion request cannot be met, the size change of the virtual GPU 211 allocated to the virtual machine 220 is not possible with respect to the virtual machine 220 that has notified the size expansion request. Notify that it is possible.

ここで、割当変更部233は、例えば、仮想GPU211−1のサイズ拡大要求を、第2通信処理部231が仮想マシン220−1から受信した場合、仮想GPU211−2〜211−nの使用率を監視部232を介して確認する。割当変更部233は、例えば、仮想GPU211−2〜211−nの内、使用率が既定の時間以上既定の閾値以下の仮想GPU211として仮想マシン220−2に割当てられている仮想GPU211−2を特定した場合、仮想GPU211−2のサイズを縮小する。そして、割当変更部233は、上記縮小させた分のGPU210のリソースを追加割当することで、仮想GPU211−1のサイズを拡大する。その後、割当変更部233は、仮想マシン220−1に対し、仮想GPU211−1のサイズを拡大した旨と、追加割当したGPU210のリソースのアドレス情報及びサイズ情報とを通知する。また、割当変更部233は、仮想マシン220−2に対し、仮想GPU211−2のサイズを縮小した旨と、サイズ縮小後の仮想GPU211−2のアドレス情報及びサイズ情報とを通知する。なお、上記仮想GPU211−2のサイズの縮小は、仮想GPU211−2のグラフィック処理等に支障がでない範囲で行われる。 Here, when the second communication processing unit 231 receives a size increase request for the virtual GPU 211-1 from the virtual machine 220-1, the allocation changing unit 233 determines the usage rates of the virtual GPUs 211-2 to 211-n. Confirm through the monitoring unit 232. The allocation changing unit 233, for example, identifies the virtual GPU 211-2 that is allocated to the virtual machine 220-2 as the virtual GPU 211 whose usage rate is equal to or more than a predetermined time and is equal to or less than a predetermined threshold value, among the virtual GPUs 211-2 to 211-n. In that case, the size of the virtual GPU 211-2 is reduced. Then, the allocation changing unit 233 expands the size of the virtual GPU 211-1 by additionally allocating the resources of the GPU 210 that have been reduced. After that, the allocation changing unit 233 notifies the virtual machine 220-1 that the size of the virtual GPU 211-1 has been expanded, and the address information and size information of the additionally allocated resource of the GPU 210. Also, the allocation changing unit 233 notifies the virtual machine 220-2 that the size of the virtual GPU 211-2 has been reduced, and the address information and size information of the virtual GPU 211-2 after the size reduction. The size reduction of the virtual GPU 211-2 is performed within a range that does not hinder the graphic processing of the virtual GPU 211-2.

クライアント装置300は、例えば、PC(Personal Computer)やスマートフォン等の通信装置である。クライアント装置300は、仮想基盤ホスト200の仮想マシン220にログインする。そして、クライアント装置300は、上記仮想マシン220にインストールされているアプリケーションの実行等を、上記仮想マシン220に指示する。 The client device 300 is, for example, a communication device such as a PC (Personal Computer) or a smartphone. The client device 300 logs in to the virtual machine 220 of the virtual infrastructure host 200. Then, the client device 300 instructs the virtual machine 220 to execute the application installed in the virtual machine 220.

次に、図6を参照しながら、仮想マシン220に割当てられている仮想GPU211を拡大する動作を説明する。 Next, an operation of expanding the virtual GPU 211 assigned to the virtual machine 220 will be described with reference to FIG.

(S201:仮想マシン220における動作)
検知部223は、仮想マシン220にインストールされているアプリケーションがアプリケーション制御部221によって制御されている際に、クライアント装置300におけるユーザの所定の操作を検知した場合、次の動作を行う。この場合、検知部223は、仮想マシン220に割当てられている仮想GPU211のサイズ拡大要求を、第1通信処理部224を介してハイパーバイザ230に通知する。ここで、上記ユーザの所定の操作とは、例えば、クライアント装置300に対して既定時間以内に同一の指示を繰り返し入力する操作や、クライアント装置300上の入力が無効化されている画面領域に指示を繰り返し入力する操作等である。
(S201: Operation in Virtual Machine 220)
When the application installed in the virtual machine 220 is controlled by the application control unit 221, the detection unit 223 performs the following operation when a predetermined operation of the user on the client device 300 is detected. In this case, the detection unit 223 notifies the hypervisor 230 of the size increase request of the virtual GPU 211 assigned to the virtual machine 220 via the first communication processing unit 224. Here, the predetermined operation of the user is, for example, an operation of repeatedly inputting the same instruction to the client device 300 within a predetermined time, or an instruction on the screen area where the input on the client device 300 is invalidated. Is an operation of repeatedly inputting.

(S202:ハイパーバイザ230における動作)
割当変更部233は、第2通信処理部231が、仮想マシン220から、該仮想マシン220に割当てられている仮想GPU211のサイズ拡大要求を受信した場合、次のように動作する。この場合、割当変更部233は、上記サイズ拡大要求を通知した仮想マシン220以外の仮想マシン220に割当てられている仮想GPU211の使用率を監視部232を介して確認し、上記サイズ拡大要求に応じられるか否かを判定する。
(S202: Operation in Hypervisor 230)
The allocation changing unit 233 operates as follows when the second communication processing unit 231 receives a size increase request for the virtual GPU 211 allocated to the virtual machine 220 from the virtual machine 220. In this case, the allocation changing unit 233 confirms the usage rate of the virtual GPU 211 allocated to the virtual machine 220 other than the virtual machine 220 that has notified the size increase request via the monitoring unit 232, and responds to the size increase request. It is determined whether or not it is possible.

(S203:ハイパーバイザ230における動作)
割当変更部233は、S202におけるサイズ拡大要求に応じられると判定した場合(S202のYES)、GPU210のリソースを追加割当することで、S202におけるサイズ拡大要求に対応する仮想GPU211のサイズを拡大する。そして、割当変更部233は、S202においてサイズ拡大要求を通知した仮想マシン220に対して、該仮想マシン220に割当てられている仮想GPU211のサイズを拡大した旨と、追加割当したGPU210のリソースのアドレス情報及びサイズ情報とを通知する。
(S203: Operation in hypervisor 230)
When determining that the size expansion request in S202 can be met (YES in S202), the allocation changing unit 233 expands the size of the virtual GPU 211 corresponding to the size expansion request in S202 by additionally allocating the resource of the GPU 210. Then, the allocation changing unit 233 expands the size of the virtual GPU 211 allocated to the virtual machine 220 to which the virtual machine 220 has been notified of the size expansion request in S202, and indicates the resource address of the additionally allocated GPU 210. Notify information and size information.

一方、割当変更部233は、S202におけるサイズ拡大要求に応じられないと判定した場合(S202のNO)、S202においてサイズ拡大要求を通知した仮想マシン220に対して、仮想GPU211のサイズ拡大要求に応じられない旨を通知する。この場合、以降のS204は、行われない。 On the other hand, when the allocation changing unit 233 determines that the size increase request in S202 cannot be met (NO in S202), the allocation changing unit 233 responds to the size increase request of the virtual GPU 211 to the virtual machine 220 that has notified the size increase request in S202. Notify that you cannot be done. In this case, the subsequent S204 is not performed.

(S204:仮想マシン220における動作)
グラフィックドライバ制御部222は、第1通信処理部224が、ハイパーバイザ230から、仮想マシン220に割当てられている仮想GPU211のサイズを拡大した旨と、追加割当したGPU210のアドレス情報及びサイズ情報と、を通知された場合、次の動作を行う。グラフィックドライバ制御部222は、仮想マシン220にインストールされているグラフィックドライバが管理している仮想GPU211のアドレス情報及びサイズ情報を、上記通知されたアドレス情報及びサイズ情報に基づき、更新する。具体的には、グラフィックドライバ制御部222は、上記グラフィックドライバに、上記通知されたアドレス情報及びサイズ情報を追加で管理させる。これによって、仮想マシン220は、サイズが拡大した仮想GPU211に、グラフィック処理を行わせることが可能となる。
(S204: Operation in Virtual Machine 220)
The graphic driver control unit 222 informs that the first communication processing unit 224 has expanded the size of the virtual GPU 211 allocated to the virtual machine 220 from the hypervisor 230, the address information and the size information of the additionally allocated GPU 210, Is notified, the following operation is performed. The graphic driver control unit 222 updates the address information and size information of the virtual GPU 211 managed by the graphic driver installed in the virtual machine 220 based on the notified address information and size information. Specifically, the graphic driver control unit 222 causes the graphic driver to additionally manage the notified address information and size information. As a result, the virtual machine 220 can cause the expanded virtual GPU 211 to perform graphic processing.

以上のように、本実施形態において、仮想マシン220は、クライアント装置300におけるユーザのストレスに起因する操作を検知した場合、自身に割当てられている仮想GPU211のサイズ拡大要求を、ハイパーバイザ230に通知する。そして、ハイパーバイザ230は、上記サイズ拡大要求を通知した仮想マシン220以外の仮想マシン220に割当てられている仮想GPU211の使用率に基づき、上記サイズ拡大要求に対応する仮想GPU211のサイズを拡大する。 As described above, in the present embodiment, when the virtual machine 220 detects an operation caused by the user's stress on the client device 300, the virtual machine 220 notifies the hypervisor 230 of a size increase request for the virtual GPU 211 assigned to itself. To do. Then, the hypervisor 230 expands the size of the virtual GPU 211 corresponding to the size increase request based on the usage rate of the virtual GPU 211 assigned to the virtual machines 220 other than the virtual machine 220 that has notified the size increase request.

以上のことから、本実施形態によれば、適切なサイズのリソースを割当てることができる。 From the above, according to this embodiment, it is possible to allocate a resource of an appropriate size.

本実施形態において、検知部223は、クライアント装置300において、仮想GPU211のサイズの縮小を求める操作を検知した場合、仮想マシン220に割当てられている仮想GPU211のサイズ縮小要求を、第1通信処理部224を介してハイパーバイザ230に通知してもよい。ここで、仮想GPU211のサイズの縮小を求める操作は、所定のパスワードを入力する操作等、特に限定されない。 In the present embodiment, when the client unit 300 detects an operation to reduce the size of the virtual GPU 211, the detection unit 223 issues a size reduction request for the virtual GPU 211 assigned to the virtual machine 220 to the first communication processing unit. The hypervisor 230 may be notified via 224. Here, the operation for requesting the size reduction of the virtual GPU 211 is not particularly limited, such as the operation of inputting a predetermined password.

また、本実施形態において、割当変更部233は、GPU210内に何れの仮想GPU211にも割当てられていないリソースが存在する場合、仮想GPU211のサイズ拡大要求を通知した仮想マシン220に対して、上記リソースを割当ててもよい。 In addition, in the present embodiment, when there is a resource that is not allocated to any virtual GPU 211 in the GPU 210, the allocation changing unit 233 notifies the virtual machine 220 that has issued the size expansion request of the virtual GPU 211 to the resource May be assigned.

また、本実施形態において、仮想GPU211は、仮想マシン220が実行するアプリケーションのグラフィック処理を行ったが、これに限定されない。仮想GPU211は、例えば、仮想マシン220が実行する各種プログラムの汎用演算を行ってもよい。この場合、ハイパーバイザ230は、仮想GPU211による汎用演算の処理状況に応じて、仮想マシン220に割当てる仮想GPU211の拡大や縮小を行ってもよい。 Further, in the present embodiment, the virtual GPU 211 performs the graphic processing of the application executed by the virtual machine 220, but the present invention is not limited to this. The virtual GPU 211 may, for example, perform general-purpose calculation of various programs executed by the virtual machine 220. In this case, the hypervisor 230 may enlarge or reduce the virtual GPU 211 assigned to the virtual machine 220 according to the processing status of the general-purpose calculation by the virtual GPU 211.

また、本実施形態において、割当変更部233は、上記S203において、割当てられている仮想GPU211にサイズの縮小があった仮想マシン220が存在した場合、次の動作を並行して行うことができる。この場合、割当変更部233は、上記仮想マシン220に対して、割当てられている仮想GPU211のサイズを縮小した旨と、サイズ縮小後の仮想GPU211のアドレス情報及びサイズ情報とを通知する。これに伴い、上記仮想マシン220のグラフィックドライバ制御部222は、上記仮想マシン220にインストールされているグラフィックドライバに、現在管理させているアドレス情報及びサイズ情報の代わりに、割当変更部233から通知されたアドレス情報及びサイズ情報を管理させる。これによって、上記仮想マシン220は、サイズ縮小後の仮想GPU211にグラフィック処理を行わせることができるようになる。 In addition, in the present embodiment, the allocation changing unit 233 can perform the following operations in parallel when the allocated virtual GPU 211 has the virtual machine 220 whose size has been reduced in S203. In this case, the allocation changing unit 233 notifies the virtual machine 220 that the size of the allocated virtual GPU 211 has been reduced, and the address information and size information of the reduced size virtual GPU 211. Accordingly, the graphic driver control unit 222 of the virtual machine 220 is notified from the allocation changing unit 233 instead of the address information and size information currently managed by the graphic driver installed in the virtual machine 220. Address information and size information are managed. As a result, the virtual machine 220 can allow the virtual GPU 211, which has been reduced in size, to perform graphic processing.

また、本実施形態において、割当変更部233は、次の動作を並行して行うこともできる。割当変更部233は、仮想GPU211−1〜211−nの使用率を監視部232を介して常時監視する。割当変更部233は、仮想GPU211−1〜211−nの内、使用率が既定の時間以上既定の閾値以下の仮想GPU211の存在を特定した場合、次の動作を行う。この場合、割当変更部233は、特定した上記仮想GPU211には必要以上のGPU210のリソースが割当てられていると判定し、上記仮想GPU211のサイズを縮小する。そして、割当変更部233は、上記仮想GPU211が割当てられている仮想マシン220に対して、上記仮想GPU211のサイズを縮小した旨と、サイズ縮小後の上記仮想GPU211のアドレス情報及びサイズ情報とを通知する。 In addition, in the present embodiment, the allocation changing unit 233 can also perform the following operations in parallel. The allocation changing unit 233 constantly monitors the usage rates of the virtual GPUs 211-1 to 211-n via the monitoring unit 232. The allocation changing unit 233 performs the following operation when the existence of the virtual GPU 211 whose usage rate is equal to or more than a predetermined time and equal to or less than a predetermined threshold is specified among the virtual GPUs 211-1 to 211-n. In this case, the allocation changing unit 233 determines that the resources of the GPU 210 more than necessary are allocated to the specified virtual GPU 211, and reduces the size of the virtual GPU 211. Then, the allocation changing unit 233 notifies the virtual machine 220 to which the virtual GPU 211 is allocated that the size of the virtual GPU 211 has been reduced, and the address information and the size information of the virtual GPU 211 after the size reduction. To do.

上記割当変更部233の動作を図7を参照しながら説明する。 The operation of the allocation changing unit 233 will be described with reference to FIG.

(S301)
割当変更部233は、仮想GPU211−1〜211−nの使用率を監視部232を介して常時監視する。割当変更部233は、仮想GPU211−1〜211−nの内、使用率が既定の時間以上既定の閾値以下の仮想GPU211の存在を特定した場合、該特定した仮想GPU211のサイズを縮小する。
(S301)
The allocation changing unit 233 constantly monitors the usage rates of the virtual GPUs 211-1 to 211-n via the monitoring unit 232. When the allocation changing unit 233 specifies the existence of the virtual GPU 211 whose usage rate is equal to or more than a predetermined time and is equal to or less than a predetermined threshold value among the virtual GPUs 211-1 to 211-n, the allocation changing unit 233 reduces the size of the specified virtual GPU 211.

(S302)
割当変更部233は、S301においてサイズを縮小した仮想GPU211が割当てられている仮想マシン220に対して、割当てられている仮想GPU211のサイズを縮小した旨と、サイズ縮小後の仮想GPU211のアドレス情報及びサイズ情報とを通知する。
(S302)
The allocation changing unit 233 reduces the size of the allocated virtual GPU 211 with respect to the virtual machine 220 to which the virtual GPU 211 whose size has been reduced in S301 is allocated, the address information of the virtual GPU 211 after the size reduction, and Notify with size information.

上記割当変更部233の動作によって、仮想基盤ホスト200は、GPU210のリソースの使用効率を向上させることができる。 By the operation of the allocation changing unit 233, the virtual base host 200 can improve the use efficiency of the resources of the GPU 210.

以上、本発明の各実施形態を説明したが、本発明は、上記した各実施形態に限定されるものではなく、本発明の基本的技術的思想を逸脱しない範囲で、更なる変形・置換・調整を加えることができる。また、各実施形態を適宜組み合わせて実施してもよい。 Although the respective embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and further modification/replacement/replacement may be performed without departing from the basic technical idea of the present invention. Adjustments can be made. Moreover, you may implement combining each embodiment suitably.

なお、上記の特許文献の各開示を、本書に引用をもって繰り込むものとする。本発明の全開示(請求の範囲を含む)の枠内において、さらにその基本的技術思想に基づいて、実施形態の変更・調整が可能である。また、本発明の請求の範囲の枠内において種々の開示要素の多様な組み合わせ、ないし選択が可能である。すなわち、本発明は、請求の範囲を含む全開示、技術的思想にしたがって当業者であればなし得る各種変形、修正を含むことは勿論である。 It should be noted that the disclosures of the above patent documents are incorporated herein by reference. Modifications and adjustments of the exemplary embodiment are possible within the scope of the overall disclosure (including the claims) of the present invention and based on the basic technical concept of the invention. Further, various combinations or selections of various disclosed elements are possible within the scope of the claims of the present invention. That is, it goes without saying that the present invention includes various variations and modifications that can be made by those skilled in the art according to the entire disclosure including the claims and the technical idea.

10 クライアント装置
20 仮想基盤ホスト
21 仮想マシン
22 ハイパーバイザ
23 ハードウェア
30 仮想基盤ホスト
31 GPUリソース
32 仮想マシン
33 ハイパーバイザ
100 通信システム
200 仮想基盤ホスト
210 GPU
211 仮想GPU
220 仮想マシン
221 アプリケーション制御部
222 グラフィックドライバ制御部
223 検知部
224 第1通信処理部
230 ハイパーバイザ
231 第2通信処理部
232 監視部
233 割当変更部
10 Client Device 20 Virtual Infrastructure Host 21 Virtual Machine 22 Hypervisor 23 Hardware 30 Virtual Infrastructure Host 31 GPU Resource 32 Virtual Machine 33 Hypervisor 100 Communication System 200 Virtual Infrastructure Host 210 GPU
211 Virtual GPU
220 virtual machine 221 application control unit 222 graphic driver control unit 223 detection unit 224 first communication processing unit 230 hypervisor 231 second communication processing unit 232 monitoring unit 233 allocation changing unit

Claims (8)

仮想マシンと、
前記仮想マシンに割当てられるGPUリソースと、
前記仮想マシンから前記GPUリソースのサイズ変更要求を通知された場合、前記サイズ変更要求に応じて前記GPUリソースのサイズを変更するハイパーバイザと、を備え、
前記仮想マシンは、情報処理装置における所定の操作を検知した場合、前記サイズの拡大を要求する前記サイズ変更要求を前記ハイパーバイザに通知し、
前記所定の操作は、既定時間以内に同一の指示を繰り返し入力する操作及び前記情報処理装置における入力が無効化されている画面領域に指示を繰り返し入力する操作のうちの少なくともいずれかである、
ことを特徴とする仮想基盤ホスト。
A virtual machine,
GPU resources allocated to the virtual machine,
A hypervisor for changing the size of the GPU resource in response to the request for changing the size of the GPU resource from the virtual machine,
When the virtual machine detects a predetermined operation in the information processing device , the virtual machine notifies the hypervisor of the size change request for requesting expansion of the size,
The predetermined operation is at least one of an operation of repeatedly inputting the same instruction within a predetermined time and an operation of repeatedly inputting an instruction in a screen area in which the input in the information processing device is invalidated,
Virtual infrastructure host characterized by the following.
前記仮想マシンは複数あり、
前記GPUリソースは、前記仮想マシンの各々に割当てられ、
前記ハイパーバイザは、前記仮想マシンの内の第1の仮想マシンから、前記GPUリソースの内の前記第1の仮想マシンに割当てられている第1のGPUリソースに対するサイズ変更要求が通知された場合、前記仮想マシンの内の1つ以上の第2の仮想マシンに割当てられている、前記GPUリソースの内の1つ以上の第2のGPUリソースの使用率に基づき、前記第1のGPUリソースのサイズを変更する、ことを特徴とする請求項1に記載の仮想基盤ホスト。
There are multiple virtual machines,
The GPU resource is allocated to each of the virtual machines,
When the hypervisor is notified by the first virtual machine of the virtual machines of a size change request for the first GPU resource allocated to the first virtual machine of the GPU resources, A size of the first GPU resource based on a usage rate of one or more second GPU resources of the GPU resources, which is assigned to one or more second virtual machines of the virtual machine. The virtual infrastructure host according to claim 1, wherein the virtual infrastructure host is changed.
前記第1のGPUリソースに対するサイズ変更要求が前記第1のGPUリソースのサイズ拡大の要求であった場合、
前記ハイパーバイザは、使用率が既定の時間以上既定の閾値以下の前記第2のGPUリソースを特定したときには、該特定した第2のGPUリソースのサイズを縮小し、縮小した分の第2のGPUリソースを前記第1のGPUリソースに割当てる、ことを特徴とする請求項2に記載の仮想基盤ホスト。
If the size change request to the first GPU resource is a request to increase the size of the first GPU resource,
When the hypervisor specifies the second GPU resource whose usage rate is equal to or more than a predetermined time and is equal to or less than a predetermined threshold, the hypervisor reduces the size of the identified second GPU resource, and the reduced second GPU is used. The virtual infrastructure host according to claim 2, wherein a resource is allocated to the first GPU resource.
前記第1のGPUリソースに対するサイズ変更要求が前記第1のGPUリソースのサイズ縮小の要求であった場合、
前記ハイパーバイザは、前記第1のGPUリソースのサイズを縮小する、ことを特徴とする請求項2又は3に記載の仮想基盤ホスト。
When the size change request to the first GPU resource is a request to reduce the size of the first GPU resource,
The virtual base host according to claim 2 or 3, wherein the hypervisor reduces the size of the first GPU resource.
前記ハイパーバイザは、前記GPUリソースの使用率が既定の時間以上既定の閾値以下であった場合、前記GPUリソースのサイズを縮小する、ことを特徴とする請求項1乃至4のいずれか1項に記載の仮想基盤ホスト。 The hypervisor reduces the size of the GPU resource when the utilization rate of the GPU resource is equal to or more than a predetermined time and is equal to or less than a predetermined threshold value. The listed virtual infrastructure host. 請求項1乃至5のいずれか1項に記載の仮想基盤ホストと、
前記仮想基盤ホストと接続する情報処理装置と、を備える、
通信システム。
A virtual infrastructure host according to any one of claims 1 to 5,
An information processing device connected to the virtual infrastructure host,
Communications system.
仮想マシンと、前記仮想マシンに割当てられるGPUリソースと、を備える仮想基盤ホストの制御方法であって、
前記仮想マシンが前記GPUリソースのサイズの変更を要求した場合、当該要求に応じて前記GPUリソースのサイズを変更し、
前記仮想マシンは、前記情報処理装置における所定の操作を検知した場合、前記サイズの拡大を要求する前記要求を前記GPUリソースのサイズを変更するハイパーバイザに通知し、
前記所定の操作は、既定時間以内に同一の指示を繰り返し入力する操作及び前記情報処理装置における入力が無効化されている画面領域に指示を繰り返し入力する操作のうちの少なくともいずれかである、
ことを特徴とする仮想基盤ホストの制御方法。
A method for controlling a virtual infrastructure host, comprising a virtual machine and a GPU resource allocated to the virtual machine,
When the virtual machine requests to change the size of the GPU resource, the size of the GPU resource is changed according to the request,
When the virtual machine detects a predetermined operation in the information processing device, the virtual machine notifies the hypervisor that changes the size of the GPU resource of the request to request the size increase,
The predetermined operation is at least one of an operation of repeatedly inputting the same instruction within a predetermined time and an operation of repeatedly inputting an instruction in a screen area in which the input in the information processing device is invalidated,
A method for controlling a virtual infrastructure host, which is characterized by the following.
仮想マシンと、前記仮想マシンに割当てられるGPUリソースと、を備える仮想基盤ホストのコンピュータに、
前記仮想マシンが前記GPUリソースのサイズの変更を要求した場合、前記要求に応じて前記GPUリソースのサイズを変更する処理を、
実行させ、
前記仮想マシンは、前記情報処理装置における所定の操作を検知した場合、前記サイズの拡大を要求する前記サイズの変更を要求するサイズ変更要求を前記ハイパーバイザに通知し、
前記所定の操作は、既定時間以内に同一の指示を繰り返し入力する操作及び前記情報処理装置における入力が無効化されている画面領域に指示を繰り返し入力する操作のうちの少なくともいずれかである、
ことを特徴とする仮想基盤ホストのプログラム。
A computer of a virtual base host including a virtual machine and a GPU resource assigned to the virtual machine,
When the virtual machine requests a change in the size of the GPU resource, a process of changing the size of the GPU resource in response to the request,
Let it run
The virtual machine, when detecting a predetermined operation in the information processing device, notifies the hypervisor of a size change request that requests the size change requesting the size increase,
The predetermined operation is at least one of an operation of repeatedly inputting the same instruction within a predetermined time and an operation of repeatedly inputting an instruction in a screen area in which the input in the information processing device is invalidated,
A program for a virtual infrastructure host characterized by the following.
JP2015219543A 2015-11-09 2015-11-09 Virtual infrastructure host, virtual infrastructure host control method, virtual infrastructure host program, and communication system Active JP6743368B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015219543A JP6743368B2 (en) 2015-11-09 2015-11-09 Virtual infrastructure host, virtual infrastructure host control method, virtual infrastructure host program, and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015219543A JP6743368B2 (en) 2015-11-09 2015-11-09 Virtual infrastructure host, virtual infrastructure host control method, virtual infrastructure host program, and communication system

Publications (2)

Publication Number Publication Date
JP2017091154A JP2017091154A (en) 2017-05-25
JP6743368B2 true JP6743368B2 (en) 2020-08-19

Family

ID=58770550

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015219543A Active JP6743368B2 (en) 2015-11-09 2015-11-09 Virtual infrastructure host, virtual infrastructure host control method, virtual infrastructure host program, and communication system

Country Status (1)

Country Link
JP (1) JP6743368B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101960609B1 (en) * 2017-09-29 2019-07-15 건국대학교 산학협력단 A method and apparatus for managing gpu resources by task group unit
JP6946930B2 (en) * 2017-10-25 2021-10-13 富士通株式会社 State judgment method, state judgment program and state judgment device
KR102001641B1 (en) * 2017-12-19 2019-07-18 주식회사 티맥스클라우드 Method and apparatus for managing gpu resource in virtualization environment
JP6992515B2 (en) * 2018-01-05 2022-01-13 コニカミノルタ株式会社 GPU allocation program, GPU allocation method, computer-readable recording medium, and GPU allocation device
JP7084894B2 (en) * 2019-06-26 2022-06-15 株式会社日立製作所 Resource management system, resource allocation method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2011080809A1 (en) * 2009-12-29 2013-05-09 株式会社東芝 server
US8825550B2 (en) * 2012-08-23 2014-09-02 Amazon Technologies, Inc. Scaling a virtual machine instance
JP2015153325A (en) * 2014-02-18 2015-08-24 富士通フロンテック株式会社 information processing apparatus, operation support method and operation support program

Also Published As

Publication number Publication date
JP2017091154A (en) 2017-05-25

Similar Documents

Publication Publication Date Title
JP6743368B2 (en) Virtual infrastructure host, virtual infrastructure host control method, virtual infrastructure host program, and communication system
KR101690109B1 (en) Techniques for dynamic physical memory partitioning
US9672075B2 (en) Method, apparatus, and system for implementing hot migration of virtual machine
JP5969743B2 (en) Method, apparatus and program for optimizing use of virtual graphics processing unit
JP5088366B2 (en) Virtual computer control program, virtual computer control system, and virtual computer migration method
US20070300223A1 (en) Virtual machine system and method for switching hardware devices thereof
WO2021098182A1 (en) Resource management method and apparatus, electronic device and storage medium
JP2008146566A5 (en)
JP2008257572A (en) Storage system for dynamically assigning resource to logical partition and logical partitioning method for storage system
KR20150109692A (en) Apparatus and method for providing virtual machine image file
KR20140080795A (en) Load balancing method and system for hadoop MapReduce in the virtual environment
RU2705009C2 (en) Handwritten input handler with low delay time
WO2017056310A1 (en) Computer and control method for computer
KR102168994B1 (en) How to delete a cloud host in a cloud computing environment, devices, servers and storage media
JP6518087B2 (en) Program processing device
JP2010205208A (en) Host computer, multipath system, and method and program for allocating path
KR101262849B1 (en) Apparatus and method for allocating and releasing of image device in virtualization system
KR20160061726A (en) Method for handling interrupts
JP6870390B2 (en) Resource allocation method, connection management server and connection management program in a system based on a virtual infrastructure
JP2015109020A (en) Resource distribution device, resource distribution system, resource distribution method and program
JP6075882B2 (en) Distributed processing system and distributed processing method
JP6380084B2 (en) Information processing apparatus and information processing program
JP6653786B2 (en) I / O control method and I / O control system
JP6350207B2 (en) Computer system, information processing apparatus, resource allocation method, and information processing apparatus program
JP2010205207A (en) Host computer, multipath system, and method and program for allocating path

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181015

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190702

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190808

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191105

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191213

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200713

R150 Certificate of patent or registration of utility model

Ref document number: 6743368

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150