Dynamically allocation of VCPUs
Dynamically allocation of VCPUs
Hi all,
Is there any mechanism that we can allocate VCPUs to the VMs dynamically?
Thanks and Regards.
Is there any mechanism that we can allocate VCPUs to the VMs dynamically?
Thanks and Regards.
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Dynamically allocation of VCPUs
Do you mean manually add or remove vCPUs to the VM? or given some perf monitoring, add or remove CPUs?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
Re: Dynamically allocation of VCPUs
I am looking for an auto approach that we can dynamically add or remove VCPUs while VMs running. some thing like elastically up and down number of VCPUs of guest OS.noteirak wrote:Do you mean manually add or remove vCPUs to the VM? or given some perf monitoring, add or remove CPUs?
Regards.
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Dynamically allocation of VCPUs
If you want automatic, that's not implemented within Virtualbox itself. Maybe a 3rd party, but I am not aware of any.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Dynamically allocation of VCPUs
I'm not sure the guest OS would be keen on CPUs that seem to appear and then disappear. Not what your typical guest OS expects I would think.
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Dynamically allocation of VCPUs
Definitly - it requires server version of Windows (specific ones AFAIK), for Linux it requires some commands in the guest if I remember correctly, so definitly not a "out of the box" feature 
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
Re: Dynamically allocation of VCPUs
Thanks, do you have any references?noteirak wrote:Definitly - it requires server version of Windows (specific ones AFAIK), for Linux it requires some commands in the guest if I remember correctly, so definitly not a "out of the box" feature
Regards.
Re: Dynamically allocation of VCPUs
And thanks for all.
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Dynamically allocation of VCPUs
You have the Advanced Topic chapter of the user manual.
For Windows, look on Microsoft website for the feature of each Server edition. I believe you need something higher than Standard edition to support hot plug.
For Linux, you have the command line in the user manual, and you'll have to look if your kernel supports it.
Finally, quite a few things on Google with "virtualbox cpu hot plug" as search
For Windows, look on Microsoft website for the feature of each Server edition. I believe you need something higher than Standard edition to support hot plug.
For Linux, you have the command line in the user manual, and you'll have to look if your kernel supports it.
Finally, quite a few things on Google with "virtualbox cpu hot plug" as search
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
Re: Dynamically allocation of VCPUs
Thanks alot, I have checked hot plug with VMware but not with virtualbox. I will search and give you feedback.noteirak wrote:You have the of the user manual.
For Windows, look on Microsoft website for the feature of each Server edition. I believe you need something higher than Standard edition to support hot plug.
For Linux, you have the command line in the user manual, and you'll have to look if your kernel supports it.
Finally, quite a few things on Google with "virtualbox cpu hot plug" as search
Regards.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Dynamically allocation of VCPUs
CPU hot-plug works fine in Linux (that has support for hot-plug) I didn't try Windows because it can only add CPUs and not take them away unlike Linux which can do both.
Note: Guest monitoring devices are not going to like this. (system monitor)
Note: Guest monitoring devices are not going to like this. (system monitor)
Re: Dynamically allocation of VCPUs
Thank you very much.Perryg wrote:CPU hot-plug works fine in Linux (that has support for hot-plug) I didn't try Windows because it can only add CPUs and not take them away unlike Linux which can do both.
Note: Guest monitoring devices are not going to like this. (system monitor)
Re: Dynamically allocation of VCPUs
Is there any approach to allocate which jobs run under which VCPUs?noteirak wrote:You have the of the user manual.
For Windows, look on Microsoft website for the feature of each Server edition. I believe you need something higher than Standard edition to support hot plug.
For Linux, you have the command line in the user manual, and you'll have to look if your kernel supports it.
Finally, quite a few things on Google with "virtualbox cpu hot plug" as search
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Dynamically allocation of VCPUs
With Virtualbox? No. That's the OS job, so any regular system tool that can do that would.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
Re: Dynamically allocation of VCPUs
yes, and what about allocating jobs to VCPUs after adding? Is it automatically? for example consider that during VM is running, application is imported into that and one VCPU is allocated to that and after any execution finishes another application is imported and started execution.noteirak wrote:With Virtualbox? No. That's the OS job, so any regular system tool that can do that would.
Regards,
Fazel.