Virtualbox only utilizing 25% of host CPU resources

Discussions related to using VirtualBox on Windows hosts.
Post Reply
smsimeon
Posts: 2
Joined: 5. Jun 2019, 11:24

Virtualbox only utilizing 25% of host CPU resources

Post by smsimeon »

Right, I got advised to post here with my issue in case anyone else has had it or can offer any advice.

My issue is really simple. My guest VM's can not utilize more than 25% of the CPU resources of the Host no matter what configuration I try.

I'm using an HP ProLiant DL380 G5, with two Intel Xeon x5450 @ 3GHz (4 cores each, no hyperthreading), 64 GB DDR2 memory @ 800Mhz and a ramdisk to run the VM's from in order to alleviate I/O performance issues I had with the guests prior.

I've uploaded my log from cold booting the VM, running normal GitLab operations (which is the purpose of that specific guest VM) and the powering it off.

There's also a screenshot from what I'm seeing attached as well.
Attachments
U1fqJfB.png
U1fqJfB.png (109.22 KiB) Viewed 775 times
VBoxLog.zip
(37.35 KiB) Downloaded 14 times
Martin
Volunteer
Posts: 2561
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: Virtualbox only utilizing 25% of host CPU resources

Post by Martin »

Your host has 8 physical cores. In order to run a guest with 8 vCPUs every other task on the host needs to pause, even VirtualBox handling the guest.
So you will never have a decent performance with such a configuration.
Could you please test with just 6 vCPUs in the guest? This way your host has a free core to run VirtualBox and to handle all other necessary tasks outside the guest.
smsimeon
Posts: 2
Joined: 5. Jun 2019, 11:24

Re: Virtualbox only utilizing 25% of host CPU resources

Post by smsimeon »

A little bit of a late reply, but better late than never.

I found out some really perplexing things. I tried previously the configuration that Martin suggested. My machine ran slower.
I then decided to go to the extreme. I gave the VM 16 vCPU's (which I don't actually have) and voila! My usage went up to 80-90% and after disabling nested paging, it went as high as it can get.
Now, I tried that same VM on a different machine (AMD FX-8350, 32GB DDR3 @ 1600Mhz) and that ran just fine with the configuration that was giving me trouble on my server.

Even with all this, the conclusion I came to was that I'll be getting a new workstation and delegating the current one to be my new server. Non-SLAT / NPT CPU's are apparently really old at this point.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Virtualbox only utilizing 25% of host CPU resources

Post by socratis »

smsimeon wrote:I gave the VM 16 vCPU's (which I don't actually have) and voila! My usage went up to 80-90% and after disabling nested paging, it went as high as it can get.
And just to add a little bit to this, because the discussion was taking place over the IRC... Even key-developers of VirtualBox were surprised by such a behavior. I'm talking really surprised! :o :shock:
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply