LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 01-01-2010, 05:08 PM   #1
Ansuer
LQ Newbie
 
Registered: Jun 2006
Location: NC
Distribution: Debian/Ubuntu/Gentoo
Posts: 22

Rep: Reputation: 19
Extreme USB slowness on VirtualBox


I'm running VirtualBox 3.1.x and am experiencing extreme slowness on attached USB devices. I've posted elsewhere but haven't gotten any responses.

I found that running Ubuntu as the host, both x86 and x64, I get about 500kb/s on USB drives attached to a guest. Also, I recently rebuilt the host as Fedora 12, both x86 and x64, in both cases I'm getting about 5-6MB/s at best. Not bad, but not great.

If I mount the USB drives on the host I get 20-30MB/s transfer rate.

**** Update 01.01.10
I built a host running Vista and the performance is quite a bit faster, in the realm of 8-10MB/s, which is what I would expect. So, it appears somehow the various Linux distrubtions I've tried vary in speed for some unknown reason.
********************

Anyone have thoughts on something on the host that could be throttling VirtualBox?

Last edited by Ansuer; 01-01-2010 at 09:14 PM. Reason: Update on testing
 
Old 01-02-2010, 06:19 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
hi

Could you give a little more information on exactly how you partitioned the usb?

What is the lsusb ids?

What format are you using...and if journalised, how long between access before system checks? (either in time or bootups)

Do you notice this slowness for certain types of files?

Do you notice this slowness for certain sizes of files?

2) You are aware, if you are using non-free ose, it would be faster to use shared folders?
 
Old 01-02-2010, 07:50 AM   #3
Ansuer
LQ Newbie
 
Registered: Jun 2006
Location: NC
Distribution: Debian/Ubuntu/Gentoo
Posts: 22

Original Poster
Rep: Reputation: 19
Thumbs up

Quote:
Originally Posted by aus9 View Post
Could you give a little more information on exactly how you partitioned the usb?
The drives are all NTFS, single partition.

Quote:
Originally Posted by aus9 View Post
What format are you using...and if journalised, how long between access before system checks? (either in time or bootups)
Not sure if this applies in this case, they were newly formatted when the machine was built.

Quote:
Originally Posted by aus9 View Post
Do you notice this slowness for certain types of files?

Do you notice this slowness for certain sizes of files?
Happens for all file types and sizes, the transfer rate is very consistent.

Quote:
Originally Posted by aus9 View Post
2) You are aware, if you are using non-free ose, it would be faster to use shared folders?
This is an excellent point! I may end up going that route instead at a later time. However, I'm still really curious as to the current issue.
 
Old 01-03-2010, 05:29 PM   #4
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
hi

I refuse to format to ntfs but it is journalised. Maybe your linux needs ntfs-3g module autoloaded?

2) Now that we have established the speed is slow for all things....try reformatting as ext3 (even if you need it on a ms...in which case partition it so its
ms.......format ntfs
linux....format ext3

put files onto ext3 and retest.

linux should have less trouble with its own format?

2) yep if you need speed shared folders is your anwser.....so no need to try or reply.

happy 2010
 
Old 01-14-2010, 07:21 AM   #5
Ansuer
LQ Newbie
 
Registered: Jun 2006
Location: NC
Distribution: Debian/Ubuntu/Gentoo
Posts: 22

Original Poster
Rep: Reputation: 19
Well, I'm very sad to say that I've switched back to VMWare Server 2.0 for these specific guests. I'm getting the speeds I expect and I can use truecrypt to system favorite encrypt and mount the drives with no issues. I'll just stick with that until VirtualBox gets their code cleaned up.

Thanks again to aus9 for all the feedback!
 
  


Reply

Tags
linux, usb, virtualbox



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Airport Extreme with attached USB harddrive... ryanbelv Linux - Hardware 4 01-14-2009 02:43 PM
USB Logitech Wingman Extreme joystick not recognized CJ Chitwood Linux - Hardware 4 07-10-2008 07:46 PM
snd_hda_intel + waikiki chip + hp dv8230 us = extreme extreme frustration mlfarrell Linux - Hardware 4 11-18-2007 10:19 PM
extreme modem slowness salparadise Linux - Newbie 2 12-12-2002 01:21 AM
extreme slowness returns ShawnD Linux - General 7 08-12-2002 11:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 06:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration