Hi All,
I have a Kingston 8G DataTraveler USB stick. When I plug it into one of the USB 2.0 ports on my Fedora 10 PC (x86_64), the kernel detects it, and after some magic, Gnome mounts it on my desktop - everything is honkey dorey.
When I use Nautilus to copy files to it (say a 1 GB movie file), the transfer speed begins in the 20 MBps range, but quickly drops to 1.5 MBps or less. Obviously, this increases transfer time exceptionally, essentially rendering the USB stick useless.
I've tried reformatting (as vfat) the stick, deleting and recreating the partition on it, all several times and to no avail.
The same stick works just fine on my HP Compaq nx7400 Fedora 10 laptop. I now assume something is either amiss with my PC, or there's a bug somewhere in Fedora 10 killing USB performance. I've tried searching for both, but I've come up up with nada.
My PC has an Asus P5Q-E motherboard, an Intel E8400, and 4 GB of RAM. Is there something about this combination of hardware (don't forget the USB stick) when used in conjunction with the x86_64 version of Fedora 10, leads to shitty USB performance?
Regards,
Ranbir
Kanwar Ranbir Sandhu wrote:
Hi All,
I have a Kingston 8G DataTraveler USB stick. When I plug it into one of the USB 2.0 ports on my Fedora 10 PC (x86_64), the kernel detects it, and after some magic, Gnome mounts it on my desktop - everything is honkey dorey.
When I use Nautilus to copy files to it (say a 1 GB movie file), the transfer speed begins in the 20 MBps range, but quickly drops to 1.5 MBps or less. Obviously, this increases transfer time exceptionally, essentially rendering the USB stick useless.
I've tried reformatting (as vfat) the stick, deleting and recreating the partition on it, all several times and to no avail.
The same stick works just fine on my HP Compaq nx7400 Fedora 10 laptop. I now assume something is either amiss with my PC, or there's a bug somewhere in Fedora 10 killing USB performance. I've tried searching for both, but I've come up up with nada.
My PC has an Asus P5Q-E motherboard, an Intel E8400, and 4 GB of RAM. Is there something about this combination of hardware (don't forget the USB stick) when used in conjunction with the x86_64 version of Fedora 10, leads to shitty USB performance?
Regards,
Ranbir
You may want to take a look at /var/log/messages after plugging the USB key in and see what speed the USB key is talking at. You may want to look at /proc/bus/usb/devices to check the same thing.
Mikkel
Kanwar Ranbir Sandhu wrote:
Hi All,
I have a Kingston 8G DataTraveler USB stick. When I plug it into one of the USB 2.0 ports on my Fedora 10 PC (x86_64), the kernel detects it, and after some magic, Gnome mounts it on my desktop - everything is honkey dorey.
When I use Nautilus to copy files to it (say a 1 GB movie file), the transfer speed begins in the 20 MBps range, but quickly drops to 1.5 MBps or less. Obviously, this increases transfer time exceptionally, essentially rendering the USB stick useless.
I've tried reformatting (as vfat) the stick, deleting and recreating the partition on it, all several times and to no avail.
The same stick works just fine on my HP Compaq nx7400 Fedora 10 laptop. I now assume something is either amiss with my PC, or there's a bug somewhere in Fedora 10 killing USB performance. I've tried searching for both, but I've come up up with nada.
My PC has an Asus P5Q-E motherboard, an Intel E8400, and 4 GB of RAM. Is there something about this combination of hardware (don't forget the USB stick) when used in conjunction with the x86_64 version of Fedora 10, leads to shitty USB performance?
A lot of machines have several USB controllers--some USB 1.1 and some USB 2.0. If you happen to plug the key into one of the 1.1 ports, it'll be quite a bit slower than the 2.0 ports.
Plug the key into one of your ports, then do "lsusb". In that listing, you'll see lines with "Device: 001". Those are the "hubs" and they'll tell you if it's a V1.1 or V2.0 bus.
You should also see your key. If it's on a V1.1 bus, try moving it to another port to get it on a V2.0 bus. For example, here's one of mine:
[root@bigdog ~]# lsusb Bus 001 Device 002: ID 2040:6513 Hauppauge WinTV HVR-980 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 002: ID 413c:3200 Dell Computer Corp. MouseBus 001 Device 001: Bus 002 Device 003: ID 413c:2105 Dell Computer Corp. Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Note that that device "Bus 001 Device 001" is a 2.0 hub, "Bus 002 Device 001" is a 1.1 hub. You'll also notice that my USB TV tuner card is on bus 001 (the 2.0 bus), and my keyboard and mouse are on bus 002 (the 1.1 bus).
Also note that all three devices are plugged into the back of my machine. The two USB ports next to the PCI bus slots are the 1.1 ports, while the ports next to my sound card jacks are the 2.0 ports. The two ports on the front panel (connected to the mobo by a cable) also seem to be 2.0 ports (bus 001).
I just LOVE consistency! ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer ricks@nerd.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - If at first you don't succeed, quit. No sense being a damned fool! - ----------------------------------------------------------------------
Rick Stevens wrote:
A lot of machines have several USB controllers--some USB 1.1 and some USB 2.0. If you happen to plug the key into one of the 1.1 ports, it'll be quite a bit slower than the 2.0 ports.
Plug the key into one of your ports, then do "lsusb". In that listing, you'll see lines with "Device: 001". Those are the "hubs" and they'll tell you if it's a V1.1 or V2.0 bus.
You should also see your key. If it's on a V1.1 bus, try moving it to another port to get it on a V2.0 bus. For example, here's one of mine:
[root@bigdog ~]# lsusb Bus 001 Device 002: ID 2040:6513 Hauppauge WinTV HVR-980 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 002: ID 413c:3200 Dell Computer Corp. MouseBus 001 Device 001: Bus 002 Device 003: ID 413c:2105 Dell Computer Corp. Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Note that that device "Bus 001 Device 001" is a 2.0 hub, "Bus 002 Device 001" is a 1.1 hub. You'll also notice that my USB TV tuner card is on bus 001 (the 2.0 bus), and my keyboard and mouse are on bus 002 (the 1.1 bus).
Also note that all three devices are plugged into the back of my machine. The two USB ports next to the PCI bus slots are the 1.1 ports, while the ports next to my sound card jacks are the 2.0 ports. The two ports on the front panel (connected to the mobo by a cable) also seem to be 2.0 ports (bus 001).
Your lsusb output is not telling you what you think. Any new computer, and especially the P5Q-E the OP is using, have all 2.0 ports. The mixture days are over.
OP, I have a P5Q Deluxe running several USB flash drives at full 2.0 speeds. I'd make sure your BIOS USB setting is set to "HiSpeed" and not "FullSpeed." Isn't that wording wonderful?
On Wed, 2009-01-28 at 18:32 -0600, Michael Cronenworth wrote:
Rick Stevens wrote:
A lot of machines have several USB controllers--some USB 1.1 and some USB 2.0. If you happen to plug the key into one of the 1.1 ports, it'll be quite a bit slower than the 2.0 ports.
Plug the key into one of your ports, then do "lsusb". In that listing, you'll see lines with "Device: 001". Those are the "hubs" and they'll tell you if it's a V1.1 or V2.0 bus.
You should also see your key. If it's on a V1.1 bus, try moving it to another port to get it on a V2.0 bus. For example, here's one of mine:
[root@bigdog ~]# lsusb Bus 001 Device 002: ID 2040:6513 Hauppauge WinTV HVR-980 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 002: ID 413c:3200 Dell Computer Corp. MouseBus 001 Device 001: Bus 002 Device 003: ID 413c:2105 Dell Computer Corp. Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Note that that device "Bus 001 Device 001" is a 2.0 hub, "Bus 002 Device 001" is a 1.1 hub. You'll also notice that my USB TV tuner card is on bus 001 (the 2.0 bus), and my keyboard and mouse are on bus 002 (the 1.1 bus).
Also note that all three devices are plugged into the back of my machine. The two USB ports next to the PCI bus slots are the 1.1 ports, while the ports next to my sound card jacks are the 2.0 ports. The two ports on the front panel (connected to the mobo by a cable) also seem to be 2.0 ports (bus 001).
Your lsusb output is not telling you what you think. Any new computer, and especially the P5Q-E the OP is using, have all 2.0 ports. The mixture days are over.
OP, I have a P5Q Deluxe running several USB flash drives at full 2.0 speeds. I'd make sure your BIOS USB setting is set to "HiSpeed" and not "FullSpeed." Isn't that wording wonderful?
He already said that the copy was fast under Windows. Therefore the BIOS has little to do with this situation.
I too have experienced very slow USB transferspeeds when using a Compact Flash memory card reader. I think this situation warrants further investigation.
Linuxguy123 wrote:
He already said that the copy was fast under Windows. Therefore the BIOS has little to do with this situation.
I think you are confusing threads. What the OP said was "The same stick works just fine on my HP Compaq nx7400 Fedora 10 laptop." so it works fine in another machine, but not the Asus P5Q-E motherboard. So it could be a BIOS settings problem.
Mikkel
On Wed, 2009-01-28 at 18:32 -0600, Michael Cronenworth wrote:
OP, I have a P5Q Deluxe running several USB flash drives at full 2.0 speeds. I'd make sure your BIOS USB setting is set to "HiSpeed" and not "FullSpeed." Isn't that wording wonderful?
My BIOS has the USB ports set to HiSpeed. I disabled the backwards compatibility feature, though I have no idea what that actually means.
Regards,
Ranbir
On Wed, 2009-01-28 at 17:19 -0600, Mikkel L. Ellertson wrote:
You may want to take a look at /var/log/messages after plugging the USB key in and see what speed the USB key is talking at.
Seems to me the kernel is detecting the USB key correctly and as a USB 2.0 device:
kernel: usb 1-5: new high speed USB device using ehci_hcd and address 5 kernel: usb 1-5: configuration #1 chosen from 1 choice kernel: scsi11 : SCSI emulation for USB Mass Storage devices kernel: usb 1-5: New USB device found, idVendor=13fe, idProduct=1f00 kernel: usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 kernel: usb 1-5: Product: DataTraveler 2.0 kernel: usb 1-5: Manufacturer: Kingston kernel: usb 1-5: SerialNumber: 5B850800007E kernel: scsi 11:0:0:0: Direct-Access Kingston DataTraveler 2.0 PMAP PQ: 0 ANSI: 0 CCS kernel: sd 11:0:0:0: [sdd] 15671296 512-byte hardware sectors (8024 MB) kernel: sd 11:0:0:0: [sdd] Write Protect is off kernel: sd 11:0:0:0: [sdd] Assuming drive cache: write through kernel: sd 11:0:0:0: [sdd] 15671296 512-byte hardware sectors (8024 MB) kernel: sd 11:0:0:0: [sdd] Write Protect is off kernel: sd 11:0:0:0: [sdd] Assuming drive cache: write through kernel: sdd: sdd1 kernel: sd 11:0:0:0: [sdd] Attached SCSI removable disk kernel: sd 11:0:0:0: Attached scsi generic sg4 type 0
You may want to look at /proc/bus/usb/devices to check the same thing.
And I see the speed as "480" here too:
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6
I'm starting to think something is not quite right with the USB key (or in the way it's being detected): I tested transferring files to my PSP, but didn't see any of the same speed issues. I was able to copy large files back and forth without any problems.
I should also add that after retesting the key with my HP laptop running Fedora 10, the max speed I saw was 8 MBps. The transfers would start off in the 20+ MBps range, and then drop down to 8 MBps. That's faster than my desktop, but it's still dismal performance.
I need to try the stick on a Windows machine next. I'm hoping I can eliminate the USB key as the source of the problem.
Regards,
Ranbir
On Sun, 2009-02-01 at 18:14 -0500, Kanwar Ranbir Sandhu wrote:
I'm starting to think something is not quite right with the USB key (or in the way it's being detected): I tested transferring files to my PSP, but didn't see any of the same speed issues. I was able to copy large files back and forth without any problems.
More testing with my PSP and the USB stick has revealed large file transfers (e.g. 1 GB in size or more) destroy the transfer speed. Transfers start up fast (around 20 MBps), and after a few seconds begin to drop.
The difference being the Kingston USB stick drops to 1 MBps or less, whereas the PSP is able to maintain a speed of around 6.5 MBps. Both devices connect at hi-speed (480 Mbps).
Anyone know what's going on?
Regards,
Ranbir
On Sun, 2009-02-01 at 17:58 -0500, Kanwar Ranbir Sandhu wrote:
I disabled the backwards compatibility feature, though I have no idea what that actually means.
That depends on the manufacturer, but it can mean this: The BIOS will let you plug a keyboard into the USB port, and it'll pretend it's a PS/2 keyboard, for ancient computer OSs that don't know how to use USB keyboards.
On 02/01/2009 08:36 PM, Kanwar Ranbir Sandhu wrote:
On Sun, 2009-02-01 at 18:14 -0500, Kanwar Ranbir Sandhu wrote:
I'm starting to think something is not quite right with the USB key (or in the way it's being detected): I tested transferring files to my PSP, but didn't see any of the same speed issues. I was able to copy large files back and forth without any problems.
More testing with my PSP and the USB stick has revealed large file transfers (e.g. 1 GB in size or more) destroy the transfer speed. Transfers start up fast (around 20 MBps), and after a few seconds begin to drop.
The difference being the Kingston USB stick drops to 1 MBps or less, whereas the PSP is able to maintain a speed of around 6.5 MBps. Both devices connect at hi-speed (480 Mbps).
Anyone know what's going on?
Two things (at least):
1) The initial high speed is an illusion caused by system buffering. You can see this easily by copying a smallish file, say 1MB. It will finish very quickly at an apparently high speed. Now try to unmount the stick. The light will flash as it physically moves the data over the USB connection.
2) USB sticks vary enormously in write performance, and there's often a tradeoff between capacity and speed. There's definitely a tradeoff between speed and cost. The theoretical maximum throughput of the USB bus is almost entirely irrelevant in this context (large file copies).
There may also be driver issues of course, but the above two factors need to be taken into account.
poc
On 2/2/09, Kanwar Ranbir Sandhu m3freak@thesandhufamily.ca wrote:
On Sun, 2009-02-01 at 18:14 -0500, Kanwar Ranbir Sandhu wrote:
I'm starting to think something is not quite right with the USB key (or in the way it's being detected): I tested transferring files to my PSP, but didn't see any of the same speed issues. I was able to copy large files back and forth without any problems.
More testing with my PSP and the USB stick has revealed large file transfers (e.g. 1 GB in size or more) destroy the transfer speed. Transfers start up fast (around 20 MBps), and after a few seconds begin to drop.
The difference being the Kingston USB stick drops to 1 MBps or less, whereas the PSP is able to maintain a speed of around 6.5 MBps. Both devices connect at hi-speed (480 Mbps).
Anyone know what's going on?
Do you see any error messages in /var/log/messages while tranfering? I had a USB key that was not as linux-compatible as they said in the brochure and the kernel had to reset the device continuously so I had very low transfer speeds (save the few seconds, due to buffering).
Cheers
Regards,
Ranbir
-- Kanwar Ranbir Sandhu Linux 2.6.27.12-170.2.5.fc10.x86_64 x86_64 GNU/Linux 20:00:01 up 3 days, 21:11, 2 users, load average: 2.41, 0.87, 0.47
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Kanwar Ranbir Sandhu wrote:
On Sun, 2009-02-01 at 18:14 -0500, Kanwar Ranbir Sandhu wrote:
I'm starting to think something is not quite right with the USB key (or in the way it's being detected): I tested transferring files to my PSP, but didn't see any of the same speed issues. I was able to copy large files back and forth without any problems.
More testing with my PSP and the USB stick has revealed large file transfers (e.g. 1 GB in size or more) destroy the transfer speed. Transfers start up fast (around 20 MBps), and after a few seconds begin to drop.
The difference being the Kingston USB stick drops to 1 MBps or less, whereas the PSP is able to maintain a speed of around 6.5 MBps. Both devices connect at hi-speed (480 Mbps).
Anyone know what's going on?
Regards,
Ranbir
Different standards and quality.
I have dealt with this in the past with Coursair sticks. Work great in Windows but some of them wouldn't mount normally in Linux. We have moved from Corsair to Xporter USB sticks. No issues that I have seen yet.
As others have said, the controllers on the chips may have some buffering and able to put data out at a high speed to start but then max out. Remember that the standard is for maximum speed, not sustained speeds. Each USB stick has a controller that can reach it's maximum speed quite quickly. Also, some manufacturers have their "High Speed" sticks at a premium price.