Using NAT increases CPU utilization to 60%

Discussions related to using VirtualBox on Linux hosts.
bandit
Posts: 10
Joined: 10. Aug 2008, 01:03

Post by bandit »

I am able to run Skype(ver. 3.5.??). Even running skype (alone) also leads to high cpu utilization. I have tried enable/disabling windows firewall as well as ubuntu firewall. But it doesnt have any effect.
bsmith1051
Posts: 17
Joined: 15. May 2007, 23:04

Post by bsmith1051 »

I have a Win2000 guest on my Ubuntu 8.04 host. I always have appr 30% cpu on the host (and on BOTH cores!) even when the guest shows "0%" in it's Task Manager. And this is with no network activity in the guest. I've had this problem forever, near as I can tell. My host is fast enough that I didn't notice it, I just happened to check my CPU usage one day. That was way back in the VirtualBox 1.4 days, and the problem has persisted through every version up to and including the new 2.0.

EDIT: I just checked and I'm running the HAL ACPI. Is that the problem? If I understand correctly, the only way to change this is to recreate the image?
Last edited by bsmith1051 on 5. Sep 2008, 17:27, edited 1 time in total.
bandit
Posts: 10
Joined: 10. Aug 2008, 01:03

Post by bandit »

bsmith1051 wrote:I have a Win2000 guest on my Ubuntu 8.04 host. I always have appr 30% cpu on the host (and on BOTH cores!) even when the guest shows "0%" in it's Task Manager. And this is with no network activity in the guest. I've had this problem forever, near as I can tell. My host is fast enough that I didn't notice it, I just happened to check my CPU usage one day. That was way back in the VirtualBox 1.4 days, and the problem has persisted through every version up to and including the new 2.0.
Do you see higher cpu utilization while running google talk/yim or the problem exist even when nothing is running.
bsmith1051
Posts: 17
Joined: 15. May 2007, 23:04

Post by bsmith1051 »

even with nothing running.

And, I just tried updating my HAL from "Advanced Computer blah blah (ACPI)" to "ACPI uniprocessor" ... and now it won't boot. Oops!
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

Is this a VDI or Raw partition? If the former, I assume that you made a snapshot before applying these changes.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

For your reference, I tested this with Windows Live Messenger and I did not have a higher CPU load on both ends (Guest and Host) while talking to someone. There must be something wrong with one of your installed systems (Host or Guest).
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
noiv
Posts: 7
Joined: 7. Sep 2008, 01:06
Location: Cologne
Contact:

Post by noiv »

I can confirm CPU load on Ubuntu Hardy with W2K guest while
no interaction with the system and no background tasks active.

Even with disabled network device (host + guest), shared folders and USB devices.
The load is constantly 38% and oscillates from one core to the other
without any (recognisable) system. The cpu fan is noisy.

What else can be checked to nail down this well - strange - behaviour? Against what resource is VB polling?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

What process on the Guest system is taking all that CPU? And don't say it's the "System Idle Process" because that is natural :P.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
adf
Posts: 2
Joined: 9. Sep 2008, 01:43

same problem here

Post by adf »

My host is mini mac core2 with Ubuntu Hardy host OS, Virtualbox 1.6.6 and several xp SP3 guests on NAT.

If I run only one vm I get more than 60% cpu load ( one core ) - when I start another vm, load drops to approx. 8% on each core.
adf
Posts: 2
Joined: 9. Sep 2008, 01:43

Post by adf »

... and yes: The first ( problematic ) virtual machine is running VTtrader demo, so network is being utilized non-stop. CPU usage in vm's task manager is about 30%.

Second vm is idle fresh XP install.

Both vms have windows updates disabled.

I understand that CPU is not supposed to stay idle, but I would like to know why CPU usage drops when another machine is started.
Post Reply