12
1
I am facing an issue with 100% CPU usage under my system when running VirtualBox. Here are some further details:
My System Information:
CPU 1 name: Intel(R) Pentium(R) Dual CPU T2310 @ 1.46GHz
CPU 1 level 1 cache size: 32K Data cache. 32K Instruction cache.CPU 1 level 2 cache size: 1024K Unified cache.
CPU 1 Mips: 2926.20
CPU 2 name: Intel(R) Pentium(R) Dual CPU T2310 @ 1.46GHz
CPU 2 level 1 cache size: 32K Data cache. 32K Instruction cache.CPU 2 level 2 cache size: 1024K Unified cache.
CPU 2 Mips: 2925.96
64 bit CPU? Yes!
Total memory: 2.0 GB
Total swap: 6141 MBytes
My Operating System Information:
Kubuntu OS version: 11.04
Kernel version: 2.6.38-8-generic
Kernel arch: i686
Default shell: /bin/bash
My Virtual Box Settings:
OS Type: Windows XP
Video Memory: 32 MB
Acceleration: 3D
Base Memory: 512 MB
The Problem Details:
Well, each time I run Windows XP from my VirtualBox, I see the CPU usage at almost 100%. I experience a slow system even if no programs were running on my hosted Windows XP version.
I was wondering if there is a way for me to play with the settings so I can slightly enhance the performance. My PC is relatively fast under my Linux operating system. I need to know if there are some tips that I may follow when configuring the settings of my VirtualBox so i can achieve better results.
Any suggestions/ideas are highly appreciated!
So you mean your VM is running slowly, or your system altogether? The CPU you have is rather weak -- so I wouldn't wonder if it gets to 100% when you run VMs. – slhck – 2011-05-28T08:53:28.853
The CPU is slow, but I've been running XP on SUSE host on Athlon XP 2800+ with no problems and 2 GIB of RAM, and this system is many times faster than mine. It should be able to run VirtualBox and XP in neutral with no problems. Also +1 for nice list of relevant computer specifications. – AndrejaKo – 2011-05-28T08:57:23.440
I have been facing the same problem under several operating system on the same computer. Previously, I used Linux Mint, Ubuntu, Slax, Fedora and all it seems i was facing similar issues with the CPU usage. However, i believe if i can "properly" tweak the settings of my VM, i "might" be able to enhance the performance a bit. – CompilingCyborg – 2011-05-28T09:43:53.760
The temporary solution that i am using at the moment is an infinite loop that runs a bash command to free pagecache, dentries and inodes every 10 seconds. My VM was able to breath a bit after i thought of using this freaky technique though it is not a proper way of doing it but rather a "hack". – CompilingCyborg – 2011-05-28T09:49:52.333
1
Sadly the T2310 lacks Virtualization extensions VT-x (http://ark.intel.com/Product.aspx?id=32431) and as a result Virtualbox will be using software to catch all the high privilege cpu calls that the guest will make, this will mean that Virtualbox itself will be using more CPU power to cater for the guest OS. Also I'd be curious to see if giving the guest OS 1GB of RAM might help it idle better as it will not need to do Virtualbox-host-expensive page faults as often...
– Mokubai – 2011-05-28T10:06:29.160Try running a lighter weight window manager than KDE. This should give you a bit of a performance boost. – Joe Internet – 2011-05-28T11:03:04.860