High CPU with USB enabled 1.6.4

Discussions related to using VirtualBox on Linux hosts.
Post Reply
btanoue
Posts: 3
Joined: 13. Aug 2008, 03:23

High CPU with USB enabled 1.6.4

Post by btanoue »

Hello,

I've seen posts about this now and then, and I've checked the bugzilla.

I'm running a P4 w/ hyperthreading enabled.
2.6.26-1-686 #1 SMP Wed Jul 30 20:02:15 <--Stock Debian

It seems that with any guest windows 2k or Linux, if I have USB enabled, my CPU usage skyrockets. Sometimes over 100% (2 cores right)

Is this ever planned on being fixed. I've downgraded to 1.6.0 and still see the problem.

Is it perhaps my own system? I feel this maybe the more likely culprit.
What tweaks do I need on my Linux host to stop the CPU spikes if it is my system.

Thank You,
btanoue
KeyzerSuze
Posts: 88
Joined: 14. Aug 2008, 07:57
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: debian i386, debian amd64, Windows XP, Windows 2003 Server

Post by KeyzerSuze »

I think I am seeing the same problem. I turned off usb2 and its a bit more stable, but it still locks up, with high cpu usage

when i strace, it seems to be read fd 21 and 29 and failing, these are unix sockets and fifo, looks like something is broken.
btanoue
Posts: 3
Joined: 13. Aug 2008, 03:23

Post by btanoue »

KeyzerSuze,

If you can tell me how to run strace to profile virtualbox, I can also check to see if I am seeing the same thing you are.
KeyzerSuze
Posts: 88
Joined: 14. Aug 2008, 07:57
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: debian i386, debian amd64, Windows XP, Windows 2003 Server

Post by KeyzerSuze »

btanoue wrote:KeyzerSuze,

If you can tell me how to run strace to profile virtualbox, I can also check to see if I am seeing the same thing you are.
run

ps -u "$(id -u)" ww

to show you al the processes running under your userid there will be a VBox.. appplication running finds its pid and then run strace -p <pid>
Post Reply