I have CentOS 7.x host and Centos 7.7 guest using virtualbox 6.1 I have disabled audio, USB in virtualbox but virtualbox using over 400% CPU. Guest is almost idle CPU usage around 30% in guest side.
Host
Guest
Here is VirtualBOX log1
VirtualBox burning CPU
-
- Volunteer
- Posts: 5677
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: VirtualBox burning CPU
In top, please use the 'H' command to show the threads.
Edit:
In the VM configuration, enable System > Acceleration > Nested Paging. And don't use System > Processor > Execution Cap, I haven't heard much good about it.
Edit:
In the VM configuration, enable System > Acceleration > Nested Paging. And don't use System > Processor > Execution Cap, I haven't heard much good about it.
-
- Posts: 4
- Joined: 5. Oct 2020, 03:54
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: CentOS, Windows
- Location: Ulaanbaatar, Mongolia
Re: VirtualBox burning CPU
Ok. Nested paging is enabled
here is top -H
here is top -H
-
- Volunteer
- Posts: 5677
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: VirtualBox burning CPU
It looks like you have 2 VMs (VirtualBoxVM processes) running, and only the VM with 1 vCPU is generating high CPU load now. You may notice that all threads belonging to a single process have the same %MEM, VIRT, RES, SHR values. Watch the situation in top to see if the CPU load stays with the same threads, or which threads from which process are affected.
-
- Posts: 4
- Joined: 5. Oct 2020, 03:54
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: CentOS, Windows
- Location: Ulaanbaatar, Mongolia
Re: VirtualBox burning CPU
Yeap i have 2 VM
thanks for advice finally i figured out it
thanks for advice finally i figured out it
-
- Volunteer
- Posts: 5677
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: VirtualBox burning CPU
Thanks for reporting back!
If you write what you've figured out, it may help someone else when reading this thread in the future.
If you write what you've figured out, it may help someone else when reading this thread in the future.
-
- Posts: 4
- Joined: 5. Oct 2020, 03:54
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: CentOS, Windows
- Location: Ulaanbaatar, Mongolia
Re: VirtualBox burning CPU
Issue was my fault, I had 2 VM. I have assigned 10 cores to VM1 and assigned 4 cores to VM2. VM1 configured properly but VM2 USB and Audio enabled and disabled Hardware virtualization (Nested paging). When disabled usb and audio and enabled Nested paging. Now core loads reduced to around 3-60%.