Ticket #8368 (closed defect: fixed)
"Pause" doesn't fully stop VirtualBox => Fixed in SVN
Reported by: | birdie | Owned by: | |
---|---|---|---|
Priority: | critical | Component: | VMM |
Version: | VirtualBox 4.1.6 | Keywords: | pause |
Cc: | Guest type: | Windows | |
Host type: | Linux |
Description
"Pause" functionality in VirtualBox was intended to temporarily stop VM execution so that VirtualBox process consumed zero host CPU cycles.
Unfortunately it's not the case:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ P COMMAND 12482 birdie 20 0 688m 619m 586m S 2.0 15.4 0:20.84 2 VirtualBox
I see consistent 2% CPU usage even though supposedly VirtualBox must be 100% idle.
Host OS: Fedora 14 i686, kernel 2.6.38-rc5 PAE, Intel Core i5 CPU, 4GB RAM
Guest OS: Windows XP SP3 32bit
VT-X: enabled Nested pages: enabled
Attachments
Change History
Changed 7 years ago by birdie
-
attachment
VirtualBox.stopped.strace.log.bz2
added
Complete strace of VirtualBox process and all its threads for ten seconds
comment:2 Changed 6 years ago by birdie
VirtualBox 4.1.6 has become even worse in this regard, CPU usage is over 3.3% in "Pause" mode.
comment:3 Changed 6 years ago by frank
It seems that at least a part of the CPU load is induced by the GUI updating the indicator icons. Of course this has to be fixed.
comment:4 Changed 6 years ago by frank
- Priority changed from major to critical
- Version changed from VirtualBox 4.0.4 to VirtualBox 4.1.6
comment:5 Changed 6 years ago by frank
- Summary changed from "Pause" doesn't fully stop VirtualBox to "Pause" doesn't fully stop VirtualBox => Fixed in SVN
The fix will be part of the next maintenance release.
strace system calls summary for 10 seconds: