Opened 14 years ago
Closed 11 years ago
#7615 closed defect (obsolete)
HIGH CPU usage (between ~30/60)
Reported by: | XoK | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 3.2.10 |
Keywords: | high cpu, cpu, cpu usage | Cc: | |
Guest type: | Linux | Host type: | Windows |
Description (last modified by )
Hello,
I have installed the lastest version (3.2.10) and it does a lot of HIGH CPU usage.
See images attached.
Attachments (10)
Change History (22)
by , 14 years ago
Attachment: | task_manager.PNG added |
---|
by , 14 years ago
Attachment: | centos_svn_trac-2010-10-19-14-42-02.log added |
---|
by , 14 years ago
Attachment: | centos_svn_trac-2010-10-19-14-46-39.log added |
---|
by , 14 years ago
Attachment: | centos_svn_trac-2010-10-19-19-31-19.log added |
---|
by , 14 years ago
Attachment: | centos_svn_trac-2010-10-20-11-50-30.log added |
---|
comment:1 by , 14 years ago
priority: | critical → major |
---|
Not very useful. What are you doing inside the guest?
comment:2 by , 14 years ago
Absolutely nothing!
Standard CentOS 5.5 clean installation, 99.7% IDLE ... and consuming ~30/60 CPU usage on the host (VirtualBox.exe).
I can provide you the Virtual Machine file that I am using if you want.
comment:3 by , 14 years ago
You have of course looked at the manual before opening this ticket, right? (http://www.virtualbox.org/manual/ch12.html#id492241)
comment:4 by , 14 years ago
I dont think it is about what you are pretending to say..
I have attached more images:
- Image of boot loader (already consuming a lot of CPU, without the OS loaded)
- Image of Process Explorer - VirtualBox.exe consuming 45% avg.
by , 14 years ago
Attachment: | proc_explorer.PNG added |
---|
by , 14 years ago
Attachment: | proc_explorer_threads.PNG added |
---|
comment:5 by , 14 years ago
I have not expressed very well.
The CPU usage in the image "proc_explorer.PNG", is when we are booting see image "boot.PNG"
by , 14 years ago
comment:6 by , 14 years ago
Did you or did you not change the kernel timer frequency of the CentOS guest? If you didn't do what the link describes, then it's not a bug.
comment:7 by , 14 years ago
Yes, I have added the divider=10 instruction on the GRUB.
But if the OS is still not loaded, what difference does that instruction make? It is on the boot screen, see image "boot.PNG". IMHO, it should not be doing that amount of CPU usage.. I guess..
The prior version 3.2.8 seems "better" relating to this issue as this was not very noticed.
comment:8 by , 14 years ago
priority: | major → minor |
---|
The high cpu load at the GRUB prompt is not relevant unless you like to look at it the whole day. Most boot loaders just spin and waste cpu cycles. I doubt that was any different with 3.2.8.
So the high cpu usage in an otherwise idle CentOS guest was solved with the divider=10 option?
comment:9 by , 14 years ago
Nope.
Adding divider=10 does the same CPU usage..
This version also closes randomly the GUI.
In the installation, the VirtualBox Host Adapter in some circunstances, which I didnt figure out yet, sometimes has a conflict with an "3G Adapter" GlobeTrotter HPxPA, sometimes with the SmartCard Reader Gemalto PC Twin (USB) and it does not appear.
The 3.2.8 is a lot more stable than this version 3.2.10, I have reinstalled this versions about 4 or 5 times so that the hardware is properly detected.
I give another shot trying to recompile the kernel.. Well .. I am trying to understand what it means and what it does.. :) LOL
After that I will revert to 3.2.8 as in my case it is the better thing to do.
follow-up: 11 comment:10 by , 14 years ago
I am running into the same problem with VirtualBox 2.6.10 and CentOS 5.4. (same problem seems to appear with 3.2.8 version too)
Unfortunately its business-critital in my case since we use CentOS as default OS. I really hope there is a solution for this Problem.
In my case the CPU Usage goes up to 100%. If i use the divider=10 its at least down to 20 during the VM is in idle state. Its up to 100 if the VM boots (which takes about 5 times as long as it should)
following tests were made with version 2.6.10 on the following OS: latest Max OS 10.x (latest updates), Debian Lenny 2.6.26, Ubuntu 10.10 (2.6.35), Gentoo (2.6.34). Used the same VM image (exported it to OVF and reimported it then).
combinations of kernel parameters tested: divider=10, noapic, nolapic, acpi=off, clocksource=acpi corresponding to the VM setting (apic enabled/disabled)
Its worst on the Ubuntu Host. There i have 100% CPU and additionally a load of 1.5.
Than testing all of the parameters again with the special VM-kernel that CentOS offers in testing repository.
I found an advice that you should just run another VM on the Host, that should reduce the CPU usage magically,- cannot really say that worked for me. (tested on gentoo and debian hosts with other windows and debian VMs running)
I really dont know what to do next. If anyone has an idea please let me know, otherwise i will have to switch to xen/kvm.
comment:11 by , 14 years ago
Replying to Roomer:
I am running into the same problem with VirtualBox 2.6.10 and CentOS 5.4.
please replace every 2.6.10 by 3.2.10
comment:12 by , 11 years ago
Description: | modified (diff) |
---|---|
Resolution: | → obsolete |
Status: | new → closed |
HOST - Task Manager