Hi everyone.
I have the following setup:
Windows 10 PC with Virtualbox with Proxmox running inside. VM with Proxmox was given 6 cores (I have Ryzen 1600 with 6 physical cores). Inside Proxmox I have created an Ubuntu Server 18.04 VM (1 socket, 4 cores, 4 vCPUs, CPU limit: unlimited)
Then I try to simulate a workload on this Ubuntu VM like this: stress-ng -c 0
From inside this VM everything looks fine and if I use htop, I will see expected 100% load on every one of 4 cores. However, if I look at the summary of this VM, I will only see CPU Usage of ~25%.
For experiment's sake, I tried to give this VM only 2 cores and saw ~50% load on the CPU Usage graph. Then only 1 core - 100% load on the CPU Usage graph. So it appears like this VM only uses 1 core no matter what.
One thing to note is that I had to disable KVM Hardware Virtualization in order to make Proxmox work inside Virtualbox (official guide suggested doing so). Could that be the issue?
2nd note:
When I was installing this Ubuntu VM I think I've seen CPU usage jumping up to 70% or something.
I have the following setup:
Windows 10 PC with Virtualbox with Proxmox running inside. VM with Proxmox was given 6 cores (I have Ryzen 1600 with 6 physical cores). Inside Proxmox I have created an Ubuntu Server 18.04 VM (1 socket, 4 cores, 4 vCPUs, CPU limit: unlimited)
Then I try to simulate a workload on this Ubuntu VM like this: stress-ng -c 0
From inside this VM everything looks fine and if I use htop, I will see expected 100% load on every one of 4 cores. However, if I look at the summary of this VM, I will only see CPU Usage of ~25%.
For experiment's sake, I tried to give this VM only 2 cores and saw ~50% load on the CPU Usage graph. Then only 1 core - 100% load on the CPU Usage graph. So it appears like this VM only uses 1 core no matter what.
One thing to note is that I had to disable KVM Hardware Virtualization in order to make Proxmox work inside Virtualbox (official guide suggested doing so). Could that be the issue?
2nd note:
When I was installing this Ubuntu VM I think I've seen CPU usage jumping up to 70% or something.