why does Virtualbox use 15-20% CPU when VM is paused?

laramichaels

I run VirtualBox 3.1 on Ubuntu with a Win XP guest. I have noticed to my surprise that when I pause the VM (its screen grays out) VirtualBox continues using 15-20% of the host's CPU.

Is this normal behavior?

Is there a way to avoid it? (Without saving the state of the VM and exiting VirtualBox.)

Thanks for any insights!

~lara

kmarsh

In order to lessen VirtualBox CPU usage at all times, resort to this weird hack.

Create a new virtual machine and do not install an operating system to it. Tell VirtualBox it will run DOS and give it the absolute minimum resources. Do not install an O/S. Run it, let it error out on boot and minimize it.

While running your real O/S in a second VM, you will see your idle Virtualbox CPU utilization drop to 3-5%.

Idea from jed4czar: http://ubuntuforums.org/showthread.php?s=58e862a814e65eb96f8fe8389b615366&t=838073&page=2

EDIT: To answer your questions directly

why does Virtualbox use 15-20% CPU when VM is paused?

It is a bug. It is always using 15-20% more CPU than it needs to, when any one VM is up, unless the hack provided is used.

Is there a way to avoid it?

See hack above.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Why does `vagrant up` cause the VirtualBox VM window to appear?

From Dev

Can't use VM VirtualBox "VT-x is disabled in the BIOS for all CPU modes"

From Dev

Why does RHEL use swap even when vm.swappiness = 1?

From Dev

Why does chrome use excessive amounts of CPU?

From Dev

Virtualbox VM lags after increasing #CPU

From Dev

When a VirtualBox VM's Adapter is set to Internal Network does the VM have Access to the Outside Network of the host?

From Dev

GNOME Boxes: VM gets paused when going back to home screen

From Dev

When was my VM in VirtualBox created?

From Dev

SSH reverse tunnel works except when I use a VirtualBox instance at one end. Why does VB break SSH?

From Dev

Why does my VirtualBox VM not appear in VBoxManage list vms, but re-creation fails

From Dev

Why does the CPU profile in Visual vm show the process spends all its time in a promise deref when using clojure's core async to read a kafka stream

From Dev

System slows down when creating new VM with VirtualBox but no obvious change in CPU, Memory or I/O usage in System Monitor

From Dev

Why do I run out of disk space when I attempt to update a VirtualBox VM to Windows 10?

From Java

Why does GCC generate 15-20% faster code if I optimize for size instead of speed?

From Dev

Why does ERC20 balanceof() use constant?

From Dev

Desktop is crashing when I try to use any app -Ubuntu 20.04 VM running on VirtualBox

From Dev

Why does Jupyter require an unknown password when hosted on a vagrant VM?

From Dev

Buggy display when using Ubuntu 15 on virtualbox

From Dev

Why does apt-get NOT use 100% (cpu OR disk OR net)?

From Dev

Why does my CPU not use its full capacity?

From Dev

Why does my CPU not use it's full TDP wattage potential?

From Dev

Why does apt-get NOT use 100% (cpu OR disk OR net)?

From Dev

what is python and why does it use so much cpu periodically?

From Dev

Why does my CPU only primarily use one core?

From Dev

Can virtualbox use a VM created by an earlier version?

From Dev

VirtualBox for Mac: use WiFi on Windows 10 VM

From Dev

Virtualbox: compute the time the VM was in active use

From Dev

Why are my requests being paused when they're in a loop?

From Dev

Why does CPU usage spike just when Transmission is finishing a download?

Related Related

  1. 1

    Why does `vagrant up` cause the VirtualBox VM window to appear?

  2. 2

    Can't use VM VirtualBox "VT-x is disabled in the BIOS for all CPU modes"

  3. 3

    Why does RHEL use swap even when vm.swappiness = 1?

  4. 4

    Why does chrome use excessive amounts of CPU?

  5. 5

    Virtualbox VM lags after increasing #CPU

  6. 6

    When a VirtualBox VM's Adapter is set to Internal Network does the VM have Access to the Outside Network of the host?

  7. 7

    GNOME Boxes: VM gets paused when going back to home screen

  8. 8

    When was my VM in VirtualBox created?

  9. 9

    SSH reverse tunnel works except when I use a VirtualBox instance at one end. Why does VB break SSH?

  10. 10

    Why does my VirtualBox VM not appear in VBoxManage list vms, but re-creation fails

  11. 11

    Why does the CPU profile in Visual vm show the process spends all its time in a promise deref when using clojure's core async to read a kafka stream

  12. 12

    System slows down when creating new VM with VirtualBox but no obvious change in CPU, Memory or I/O usage in System Monitor

  13. 13

    Why do I run out of disk space when I attempt to update a VirtualBox VM to Windows 10?

  14. 14

    Why does GCC generate 15-20% faster code if I optimize for size instead of speed?

  15. 15

    Why does ERC20 balanceof() use constant?

  16. 16

    Desktop is crashing when I try to use any app -Ubuntu 20.04 VM running on VirtualBox

  17. 17

    Why does Jupyter require an unknown password when hosted on a vagrant VM?

  18. 18

    Buggy display when using Ubuntu 15 on virtualbox

  19. 19

    Why does apt-get NOT use 100% (cpu OR disk OR net)?

  20. 20

    Why does my CPU not use its full capacity?

  21. 21

    Why does my CPU not use it's full TDP wattage potential?

  22. 22

    Why does apt-get NOT use 100% (cpu OR disk OR net)?

  23. 23

    what is python and why does it use so much cpu periodically?

  24. 24

    Why does my CPU only primarily use one core?

  25. 25

    Can virtualbox use a VM created by an earlier version?

  26. 26

    VirtualBox for Mac: use WiFi on Windows 10 VM

  27. 27

    Virtualbox: compute the time the VM was in active use

  28. 28

    Why are my requests being paused when they're in a loop?

  29. 29

    Why does CPU usage spike just when Transmission is finishing a download?

HotTag

Archive