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 PDFInfo
- 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
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
図1における仮想基盤ホスト20の仮想マシン21は、例えば、クライアント装置10によって遠隔操作される場合、ハイパーバイザ22に対して、ハードウェア23のリソースの割当てを要求する。そして、仮想マシン21は、ハイパーバイザ22によって割当てられたハードウェア23のリソースを用いて、上記遠隔操作に基づく動作を行う。例えば、仮想マシン21は、画像や音声等をクライアント装置10に出力する。
For example, when the
図1における仮想基盤ホスト20のハイパーバイザ22は、仮想マシン21からハードウェア23の使用を要求された場合、上記仮想マシン21に対して、ハードウェア23のリソースの割当てを行う。なお、ハイパーバイザ22は、複数の仮想マシン21から同時にハードウェア23の使用を要求された場合であっても、ハードウェア23のリソースの割当てを適切に行うことで、複数の仮想マシン21におけるアプリケーション等の同時処理を可能とする。
When requested to use the
仮想基盤ホスト20のハードウェア23は、例えば、グラフィックボードで実現される。この場合、仮想マシン21は、自身に割当てられているハードウェア23のリソースに、グラフィック処理を行わせることが可能となる。すなわち、仮想マシン21は、クライアント装置10によって、高いグラフィック処理性能を要するアプリケーションの実行を要求された場合であっても、これに対応することが可能となる。上記に関連して、近年、仮想環境下における仮想マシンの各々に、GPU(Graphics Processing Unit)のリソースを一対一に割当てるGPU仮想化方式が普及している。GPU仮想化方式としては、例えば、NVIDIA社のGrid GPUによるvGPUが、広く知られている。
The
さらに、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. ..
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.
(第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リソース31は、仮想マシン32に割当てられる。GPUリソースは、例えば、仮想マシン32で実行されるアプリケーションのグラフィック処理を行う。
The
仮想マシン32は、GPUリソース31のサイズ変更要求を、ハイパーバイザ33に通知する。例えば、本実施形態に係る仮想マシン32は、ユーザから、仮想マシン32上のアプリケーションに対する無効な入力操作を複数回検知した場合、仮想マシン32に割当てられたGPUリソース31が不足していると判定する。そして、仮想マシン32は、GPU31のサイズ変更要求を、ハイパーバイザ33に通知する。
The
ハイパーバイザ33は、仮想マシン32からGPUリソース31のサイズ変更要求を通知された場合、GPUリソース31のサイズを変更する。
The
次に、図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
(S102:ハイパーバイザ33の動作)
ハイパーバイザ33は、仮想マシン32からGPUリソース31のサイズ変更要求を通知された場合、GPUリソース31のサイズを変更する。
(S102: Operation of hypervisor 33)
The
以上のように、本実施形態に係る仮想基盤ホスト30におけるハイパーバイザ33は、仮想マシン32からGPUリソース31のサイズ変更要求を通知された場合、GPUリソース31のサイズを変更する。すなわち、仮想マシン32は、適切なサイズのGPUリソースを用いて動作することが可能となる。
As described above, the
以上のことから、本実施形態によれば、適切なサイズの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
(第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
本発明の第2の実施形態に係る仮想基盤ホスト200は、図5に示すように、仮想GPU211−1〜211−nを備えるGPU210と、仮想マシン220−1〜220−nと、ハイパーバイザ230と、を備える。
As shown in FIG. 5, the
以降、仮想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
ここで、仮想基盤ホスト200は、本発明の第1の実施形態における仮想基盤ホスト30の一例である。また、仮想GPU211は、本発明の第1の実施形態におけるGPUリソース31の一例である。また、仮想マシン220は、本発明の第1の実施形態における仮想マシン32の一例である。また、ハイパーバイザ230は、本発明の第1の実施形態におけるハイパーバイザ33の一例である。
Here, the
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
仮想マシン220は、自身にログインしたクライアント装置300からの指示に基づき、自身にインストールされているアプリケーションの実行等を行う。仮想マシン220は、図5に示すように、アプリケーション制御部221と、グラフィックドライバ制御部222と、検知部223と、第1通信処理部224と、を備える。
The
アプリケーション制御部221は、クライアント装置300からの指示に基づき、仮想マシン220にインストールされているアプリケーションの実行等を制御する。なお、アプリケーション制御部221は、グラフィック処理を要するアプリケーションを制御する場合、その旨をグラフィックドライバ制御部222に通知する。
The
グラフィックドライバ制御部222は、グラフィック処理を要するアプリケーションを制御する旨をアプリケーション制御部221から通知された場合、次の動作を行う。この場合、グラフィックドライバ制御部222は、仮想マシン220にインストールされているグラフィックドライバを介して、GPU210の仮想GPU211に上記グラフィック処理の実施を要求する。ここで、仮想マシン220にインストールされているグラフィックドライバは、仮想マシン220に割当てられている仮想GPU211の場所を示すアドレス情報や、サイズを示すサイズ情報を管理している。
The graphic
また、グラフィックドライバ制御部222は、仮想マシン220に割当てられている仮想GPU211のサイズを拡大した旨と、追加割当されたGPU210のリソースのアドレス情報及びサイズ情報とを、第1通信処理部224がハイパーバイザ230から受信した場合、次の動作を行う。この場合、グラフィックドライバ制御部222は、仮想マシン220にインストールされているグラフィックドライバに、上記受信したアドレス情報及びサイズ情報を、追加で管理させる。これによって、仮想マシン220は、サイズ拡大後の仮想GPU211に、グラフィック処理を行わせることができるようになる。
Further, the graphic
また、グラフィックドライバ制御部222は、仮想マシン220に割当てられている仮想GPU211のサイズを縮小した旨と、サイズ縮小後の仮想GPU211のアドレス情報及びサイズ情報とを、第1通信処理部224がハイパーバイザ230から受信した場合、次の動作を行う。この場合、グラフィックドライバ制御部222は、仮想マシン220にインストールされているグラフィックドライバに、現在管理させている仮想GPU211のアドレス情報及びサイズ情報の代わりに、上記サイズ縮小後の仮想GPU211のアドレス情報及びサイズ情報を管理させる。これによって、仮想マシン220は、サイズ縮小後の仮想GPU211にグラフィック処理を行わせることができるようになる。
In addition, the graphic
検知部223は、仮想マシン220にインストールされているアプリケーションがアプリケーション制御部221によって制御されている場合、すなわち、上記アプリケーションがクライアント装置300によって実行されている場合、次の動作を行う。この場合、検知部223は、クライアント装置300における所定の操作を検知する。ここで、上記所定の操作は、クライアント装置300のユーザが、仮想マシン220に割当てられている仮想GPU211のサイズ不足により生じる仮想マシン220に実行させているアプリケーションの処理遅延等にストレスを感じた際に行う操作である。上記所定の操作は、例えば、クライアント装置300に対して既定時間以内に同一の指示を繰り返し入力する操作や、クライアント装置300上の入力が無効化されている画面領域に指示を繰り返し入力する操作等である。そして、検知部213は、上記所定の動作を検知した場合、仮想マシン220に割当てられている仮想GPU211のサイズ拡大要求を、第1通信処理部224を介してハイパーバイザ230に通知する。
The
第1通信処理部224は、ハイパーバイザ230と各種情報のやり取りを行う。
The first
ハイパーバイザ230は、図5に示すように、第2通信処理部231と、監視部232と、割当変更部233と、を備える。
As shown in FIG. 5, the
第2通信処理部231は、仮想マシン220と各種情報のやり取りを行う。
The second
監視部232は、GPU210における仮想GPU211−1〜211−nの使用率を監視する。
The
割当変更部233は、第2通信処理部231が、仮想マシン220から、該仮想マシン220に割当てられている仮想GPU211のサイズ拡大要求を受信した場合、次のように動作する。この場合、割当変更部233は、前記サイズ拡大要求を通知した仮想マシン220以外の仮想マシン220に割当てられている仮想GPU211の使用率を監視部232を介して確認し、上記サイズ拡大要求に応じられるか否かを判定する。
The
割当変更部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
一方、割当変更部233は、上記サイズ拡大要求に応じられないと判定した場合、上記サイズ拡大要求を通知した仮想マシン220に対し、該仮想マシン220に割当てられている仮想GPU211のサイズ拡大が不可能である旨を通知する。
On the other hand, when the
ここで、割当変更部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
クライアント装置300は、例えば、PC(Personal Computer)やスマートフォン等の通信装置である。クライアント装置300は、仮想基盤ホスト200の仮想マシン220にログインする。そして、クライアント装置300は、上記仮想マシン220にインストールされているアプリケーションの実行等を、上記仮想マシン220に指示する。
The
次に、図6を参照しながら、仮想マシン220に割当てられている仮想GPU211を拡大する動作を説明する。
Next, an operation of expanding the
(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
(S202:ハイパーバイザ230における動作)
割当変更部233は、第2通信処理部231が、仮想マシン220から、該仮想マシン220に割当てられている仮想GPU211のサイズ拡大要求を受信した場合、次のように動作する。この場合、割当変更部233は、上記サイズ拡大要求を通知した仮想マシン220以外の仮想マシン220に割当てられている仮想GPU211の使用率を監視部232を介して確認し、上記サイズ拡大要求に応じられるか否かを判定する。
(S202: Operation in Hypervisor 230)
The
(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
一方、割当変更部233は、S202におけるサイズ拡大要求に応じられないと判定した場合(S202のNO)、S202においてサイズ拡大要求を通知した仮想マシン220に対して、仮想GPU211のサイズ拡大要求に応じられない旨を通知する。この場合、以降のS204は、行われない。
On the other hand, when the
(S204:仮想マシン220における動作)
グラフィックドライバ制御部222は、第1通信処理部224が、ハイパーバイザ230から、仮想マシン220に割当てられている仮想GPU211のサイズを拡大した旨と、追加割当したGPU210のアドレス情報及びサイズ情報と、を通知された場合、次の動作を行う。グラフィックドライバ制御部222は、仮想マシン220にインストールされているグラフィックドライバが管理している仮想GPU211のアドレス情報及びサイズ情報を、上記通知されたアドレス情報及びサイズ情報に基づき、更新する。具体的には、グラフィックドライバ制御部222は、上記グラフィックドライバに、上記通知されたアドレス情報及びサイズ情報を追加で管理させる。これによって、仮想マシン220は、サイズが拡大した仮想GPU211に、グラフィック処理を行わせることが可能となる。
(S204: Operation in Virtual Machine 220)
The graphic
以上のように、本実施形態において、仮想マシン220は、クライアント装置300におけるユーザのストレスに起因する操作を検知した場合、自身に割当てられている仮想GPU211のサイズ拡大要求を、ハイパーバイザ230に通知する。そして、ハイパーバイザ230は、上記サイズ拡大要求を通知した仮想マシン220以外の仮想マシン220に割当てられている仮想GPU211の使用率に基づき、上記サイズ拡大要求に対応する仮想GPU211のサイズを拡大する。
As described above, in the present embodiment, when the
以上のことから、本実施形態によれば、適切なサイズのリソースを割当てることができる。 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
また、本実施形態において、割当変更部233は、GPU210内に何れの仮想GPU211にも割当てられていないリソースが存在する場合、仮想GPU211のサイズ拡大要求を通知した仮想マシン220に対して、上記リソースを割当ててもよい。
In addition, in the present embodiment, when there is a resource that is not allocated to any
また、本実施形態において、仮想GPU211は、仮想マシン220が実行するアプリケーションのグラフィック処理を行ったが、これに限定されない。仮想GPU211は、例えば、仮想マシン220が実行する各種プログラムの汎用演算を行ってもよい。この場合、ハイパーバイザ230は、仮想GPU211による汎用演算の処理状況に応じて、仮想マシン220に割当てる仮想GPU211の拡大や縮小を行ってもよい。
Further, in the present embodiment, the
また、本実施形態において、割当変更部233は、上記S203において、割当てられている仮想GPU211にサイズの縮小があった仮想マシン220が存在した場合、次の動作を並行して行うことができる。この場合、割当変更部233は、上記仮想マシン220に対して、割当てられている仮想GPU211のサイズを縮小した旨と、サイズ縮小後の仮想GPU211のアドレス情報及びサイズ情報とを通知する。これに伴い、上記仮想マシン220のグラフィックドライバ制御部222は、上記仮想マシン220にインストールされているグラフィックドライバに、現在管理させているアドレス情報及びサイズ情報の代わりに、割当変更部233から通知されたアドレス情報及びサイズ情報を管理させる。これによって、上記仮想マシン220は、サイズ縮小後の仮想GPU211にグラフィック処理を行わせることができるようになる。
In addition, in the present embodiment, the
また、本実施形態において、割当変更部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
上記割当変更部233の動作を図7を参照しながら説明する。
The operation of the
(S301)
割当変更部233は、仮想GPU211−1〜211−nの使用率を監視部232を介して常時監視する。割当変更部233は、仮想GPU211−1〜211−nの内、使用率が既定の時間以上既定の閾値以下の仮想GPU211の存在を特定した場合、該特定した仮想GPU211のサイズを縮小する。
(S301)
The
(S302)
割当変更部233は、S301においてサイズを縮小した仮想GPU211が割当てられている仮想マシン220に対して、割当てられている仮想GPU211のサイズを縮小した旨と、サイズ縮小後の仮想GPU211のアドレス情報及びサイズ情報とを通知する。
(S302)
The
上記割当変更部233の動作によって、仮想基盤ホスト200は、GPU210のリソースの使用効率を向上させることができる。
By the operation of the
以上、本発明の各実施形態を説明したが、本発明は、上記した各実施形態に限定されるものではなく、本発明の基本的技術的思想を逸脱しない範囲で、更なる変形・置換・調整を加えることができる。また、各実施形態を適宜組み合わせて実施してもよい。 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
211 Virtual GPU
220
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.
前記ハイパーバイザは、使用率が既定の時間以上既定の閾値以下の前記第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リソースのサイズを縮小する、ことを特徴とする請求項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.
前記仮想基盤ホストと接続する情報処理装置と、を備える、
通信システム。 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リソースのサイズを変更するハイパーバイザに通知し、
前記所定の操作は、既定時間以内に同一の指示を繰り返し入力する操作及び前記情報処理装置における入力が無効化されている画面領域に指示を繰り返し入力する操作のうちの少なくともいずれかである、
ことを特徴とする仮想基盤ホストの制御方法。 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リソースのサイズを変更する処理を、
実行させ、
前記仮想マシンは、前記情報処理装置における所定の操作を検知した場合、前記サイズの拡大を要求する前記サイズの変更を要求するサイズ変更要求を前記ハイパーバイザに通知し、
前記所定の操作は、既定時間以内に同一の指示を繰り返し入力する操作及び前記情報処理装置における入力が無効化されている画面領域に指示を繰り返し入力する操作のうちの少なくともいずれかである、
ことを特徴とする仮想基盤ホストのプログラム。 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.
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)
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)
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 |
-
2015
- 2015-11-09 JP JP2015219543A patent/JP6743368B2/en active Active
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 |