poor USB speed
-
cacheflow
- Posts: 5
- Joined: 4. Apr 2011, 19:10
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP
poor USB speed
I've been battling this for a couple of days and have come to the conclusion that vbox USB speed is so bad it is a non starter.
I have two devices I have been testing. One is my android phone using PDANET as a tether app on my windows guest and the other is an E-MU 0202 high performance USB audio adapter (input and output).
Both have very poor speed when run in my windows xp s3 vbox guest but work fine on the same machine in linux and in a native (dual boot) windows XP S3 so it is not the hardware.
My android phone will connect with either enhanced USB (USB 2.0) or old usb 1. In both cases, under vbox, I get exactly the same performance which when I measure the tether speed with speedtest.net is 1/3 what I get when in native windows XP mode.
My E-MU 0202 usb audio is only 2.O compatible and will only work when I enable enhanced usb for the guest. It is so slow that it is unusable as an audio device on my guest. With a spectrum analyzer display, it takes more then 5 seconds to display a single spectrum line where in native mode (linux or xp on the same machine) it displays 500 lines per seconds. making the USB port 2500 times slower then native mode. This is a non starter for me.
I have tried all the usual. I have my user name in vboxgroup, have loaded the extension pack, have enabled the enhanced USB 2.0, Can see all my USB devices on the guest window menu bar and can connect and disconnect at will. I have all the proper drivers installed on Windows.
I have been googleing vbox usb issues and this seems to be a long running problem for vbox. Has anyone else had a different or same experience?
It is a shame that USB performance is so slow on vbox as I find vbox native network, disk speed, display speed and mouse/keyboard speed as very acceptable. Since I use many USB devices on my system, the current version of the extension pack does not meet my usb performance needs.
Thanks,
cacheflow
I have two devices I have been testing. One is my android phone using PDANET as a tether app on my windows guest and the other is an E-MU 0202 high performance USB audio adapter (input and output).
Both have very poor speed when run in my windows xp s3 vbox guest but work fine on the same machine in linux and in a native (dual boot) windows XP S3 so it is not the hardware.
My android phone will connect with either enhanced USB (USB 2.0) or old usb 1. In both cases, under vbox, I get exactly the same performance which when I measure the tether speed with speedtest.net is 1/3 what I get when in native windows XP mode.
My E-MU 0202 usb audio is only 2.O compatible and will only work when I enable enhanced usb for the guest. It is so slow that it is unusable as an audio device on my guest. With a spectrum analyzer display, it takes more then 5 seconds to display a single spectrum line where in native mode (linux or xp on the same machine) it displays 500 lines per seconds. making the USB port 2500 times slower then native mode. This is a non starter for me.
I have tried all the usual. I have my user name in vboxgroup, have loaded the extension pack, have enabled the enhanced USB 2.0, Can see all my USB devices on the guest window menu bar and can connect and disconnect at will. I have all the proper drivers installed on Windows.
I have been googleing vbox usb issues and this seems to be a long running problem for vbox. Has anyone else had a different or same experience?
It is a shame that USB performance is so slow on vbox as I find vbox native network, disk speed, display speed and mouse/keyboard speed as very acceptable. Since I use many USB devices on my system, the current version of the extension pack does not meet my usb performance needs.
Thanks,
cacheflow
-
stefan.becker
- Volunteer
- Posts: 7639
- Joined: 7. Jun 2007, 21:53
Re: poor USB speed
Dont expect native performance.
German Howto (Linux): http://www.linuxforen.de/forums/showthread.php?t=236444
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
Re: poor USB speed
Your best bet is to share the usb device from the Host, you then get Host/native speed to the Guest.
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
-
cacheflow
- Posts: 5
- Joined: 4. Apr 2011, 19:10
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP
Re: poor USB speed
Sharing with the host sounds interesting. Do you have a link towards that approach? I will definitely do some research. As far as never as good as native, overhead for virtual machines should be on the order of a few percent and certainly not more then 20% and with a dedicated resource I don't see any reason for a performance hit at all. How do I know this stuff? I worked for Amazon on their virtual technology. I'm seeing 60% to 70% reduction from native for my Android and if you read my post you would see I got the same numbers for USB1 as I did with USB2 so there is definitely something wrong with the hooks for USB 2. Further, at 1/2500 performance on my E-MU 0202 usb audio adapter we are talking a 99.96% performance hit. Not what I would call realistic and definitely something wrong here.
Thanks,
cacheflow
Thanks,
cacheflow
Re: poor USB speed
Not really, usb uses a controller that is not multitask/thread aware, unless you use a pci dedicated card with its own on-board controller you can push the system to a limit that hardly anything else will respond, on a system with nothing else todo this is not really a problem. A share however runs thru some software(OS) control so the OS can keep things more smoothly. Sharing is commonly done via Samba(linux) or simple file and print sharing(windows).
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
-
jorgensen
- Posts: 589
- Joined: 20. Oct 2009, 01:22
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows
Re: poor USB speed
Have tested the USB speed with an USB harddisk and only gets 4MB with version 3 and nearly 5MB in version 4.
On the host the speed is above 20MB.
On the host the speed is above 20MB.
-
cacheflow
- Posts: 5
- Joined: 4. Apr 2011, 19:10
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP
Re: poor USB speed
Your share approach is very useful for a disk drive or other block structure device, however, the EMU 0202 is a high performance audio interface that uses USB 2.0 as its connection. It requires reasonable performance to move sampe rates upto to 200KHz (by 16) and the current USB configuration doesn't even come close to keeping up.vbox4me2 wrote:Not really, usb uses a controller that is not multitask/thread aware, unless you use a pci dedicated card with its own on-board controller you can push the system to a limit that hardly anything else will respond, on a system with nothing else todo this is not really a problem. A share however runs thru some software(OS) control so the OS can keep things more smoothly. Sharing is commonly done via Samba(linux) or simple file and print sharing(windows).
There may be a way to map high performance audio through alsa and connect alsa to the windows sound management tools but I have not found how to do that yet.
If anyone has had success connecting a non block structured (no disk/sd/cd/dvd) device to USB 2.0 that requires high throughput, please contact me as you may have some magic that I would like to know!
-
Nessuno
- Posts: 6
- Joined: 17. Aug 2010, 16:29
- Primary OS: Mac OS X Leopard
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux 2.6.x
- Location: Palermo (IT)
Re: poor USB speed
This could be a solution only if the external device is a shareable resource and, in case of an external disk, the file system is readable by the host, but people sometimes use virtual machines just to access "foreign" filesystems (e.g. extfs on OSX)...vbox4me2 wrote:Your best bet is to share the usb device from the Host, you then get Host/native speed to the Guest.
Edit: But maybe this argument is not so relevant in the "Win Guest" forum... sorry
-
banusz.andras
- Posts: 1
- Joined: 19. Jun 2011, 09:48
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP
Re: poor USB speed
I am having the exact same issue here. Ubuntu Linux as host, Windows XP as guest, and trying to make my EMU 0202 work in XP, but all I get is random cracks and pops while playing an mp3, and what seems to be a very sluggish media player, that hangs for seconds.
I'm in the vboxusers group, installed the extension pack, enabled EHCI, installed guest additions, installed EMU driver from the original CD.
The only thing I can't do in Linux is use the "Guitar Rig" software, don't tell me I have to install windows and dual boot for 1 stupid program...
I'm in the vboxusers group, installed the extension pack, enabled EHCI, installed guest additions, installed EMU driver from the original CD.
The only thing I can't do in Linux is use the "Guitar Rig" software, don't tell me I have to install windows and dual boot for 1 stupid program...
-
stefan.becker
- Volunteer
- Posts: 7639
- Joined: 7. Jun 2007, 21:53
Re: poor USB speed
It is as it is.
With a USB HD i get only 30% of native performance.
So use Dual Boot or use linux software.
With a USB HD i get only 30% of native performance.
So use Dual Boot or use linux software.
German Howto (Linux): http://www.linuxforen.de/forums/showthread.php?t=236444
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
-
danny0085
- Posts: 3
- Joined: 3. Jul 2011, 02:37
- Primary OS: Debian Lenny
- VBox Version: OSE Fedora
- Guest OSses: windows
Re: poor USB speed
Here you can review a good collection of linux software .
-
UnMinou
- Posts: 1
- Joined: 18. Aug 2011, 04:11
- Primary OS: Other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP
Re: poor USB speed (my solution)
I had some serious speed issues with USB in Windows XP under Virtual Box. It used to work fine until I updated the system and Gnome 3 replaced my good old Gnome 2.
I hated that garbage so much that I switched to KDE. I had some work to do with IAR AVR32 debugger and discovered that what used to be a second or less for single steps almost turned into minutes(s) when the debugger didn't just time out or IAR had problems reading the USB dongle.
My Linux system is gentoo. I thought that the system was hozed and didn't feel like reinstalling at this time so I installed Centos 6.0 on another partition. I found that my IAR debugger worked perfectly there, they still have gnome 2. Centos is good but it doesn't have much of the new stuff.
A few days later I went back to gentoo and did a test. I installed XFCE and switched from KDE. Problem solved. The issue was not gentoo but KDE which is hog of resources. Just to load a console can take close to a minutes with that stupid icon flashing, kind of like the ridiculous hourglass on windows. The only issue with xfce so far is that it doesn't have my French Canadian keyboard, it's got all the Canadian keyboards I would never use. I will have to find another interface that is fast but one that supports my keyboard. KDE and gnome 3 are off my list forever.
I hated that garbage so much that I switched to KDE. I had some work to do with IAR AVR32 debugger and discovered that what used to be a second or less for single steps almost turned into minutes(s) when the debugger didn't just time out or IAR had problems reading the USB dongle.
My Linux system is gentoo. I thought that the system was hozed and didn't feel like reinstalling at this time so I installed Centos 6.0 on another partition. I found that my IAR debugger worked perfectly there, they still have gnome 2. Centos is good but it doesn't have much of the new stuff.
A few days later I went back to gentoo and did a test. I installed XFCE and switched from KDE. Problem solved. The issue was not gentoo but KDE which is hog of resources. Just to load a console can take close to a minutes with that stupid icon flashing, kind of like the ridiculous hourglass on windows. The only issue with xfce so far is that it doesn't have my French Canadian keyboard, it's got all the Canadian keyboards I would never use. I will have to find another interface that is fast but one that supports my keyboard. KDE and gnome 3 are off my list forever.