Slow USB transfer speeds
So. I tried using my USB to transfer a 500MB file, the speed came up as 1-130 kb/s. That is pathetic. I should be getting more 25MB/s. Can anyone help me out?
Specs: Sony Vaio vpcf12jfx/b lspci Code:
00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11) Code:
Module Size Used by Code:
Bus 002 Device 003: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse |
I assume you mean a USB wireless network card.
There are lots of variables. A wireless connection is essentially a two-way radio. Your ISP might have been having a bad moment, net congestion could have spiked, there might have been something interfering with the signal. You could try speedtest.net, then plug into a wired connection and test again to establish some benchmarks; that at least would tell you whether the problem was isolated to the wireless or might lie somewhere else. Comparing my results with others, Speedtest seems to be fairly consistent. |
No. Usb as in storage. I tried using my PSP and a 4GB USB both are incredibly slow.
|
For your information USB does not mean storage. USB is a connection spec. USB is a bus interface, so adding devices to it decreases its performance. Also USB is very software dependent, so high throughput can not be done. If you want throughput use either IEEE-1394 or SATA. These are designed for high throughput and low latency thanks to DMA. USB does not have DMA, so you have to sacrifice PIO like performance.
I assuming you mean kilobytes since you do not about USB and the correct shorthand for it. The shorthand for kilobytes is KB and not Kb. An upper case B is bytes and lower case b is bits. If you want to stop the confusion, just spell it out. A few reasons why your USB is that slow is it can not handle adjusting the speed for your mouse and for your card reader. You can try using another USB port and hope it does not share the same USB hub. You try to set the max_sectors for your USB storage device and hope it does not corrupt your data. The following is how you do it. http://www.linux-usb.org/FAQ.html#i5 Do not set the USB storage with journal or any feature that optimizes Linux file systems for better retrieval like noalign, noatime. Using file systems like JFS or EXT2 is better. If you are copying from a notebook hard drive, the throughput will be low. Also if copying using GUI programs like Nautilus, Konqueror, Thunar, or Midnight Commander, will be slow for USB storage. USB is just a slow interface because it is a software dependent interface. Software gives creativity, but it is not great for very high throughput. Hardware is the only one can do that. If you are using flash memory sticks, its throughput is less than a megabyte per second. Sure some are advertise to be faster than a megabyte per second. |
Make sure this option is enabled in the kernel:
Code:
bash-4.1$ zcat /proc/config.gz | grep CONFIG_USB_EHCI_TT_NEWSCHED |
Quote:
|
I see, well get a hold of your kernel config, and check it for that option, it may be in /boot/config. Or, if you say what distro, and if it's the default kernel, we might be able to dig it up.
|
Quote:
|
Indeed, it should be high, for my corsair voyager I get 24.3 MB/s. Mine was very low like 100 kb/s (like the OP says) before I enabled that obscure option in the kernel I mentioned.
|
I have read previous posts on this issue that Electro was in, although he has valid points, I don' like his attitude and I refuse to get an esata or firewire connection as at this moment a small amount of computers actually have that connection readily available, and it isn't as convenient as USB. Also, my USB is plenty fast on my other PC's. I don't think its going the reported speed but when you move 8GB+ within a few minutes you have to think its good enough.
As for my kernel, I am running Mint. Code:
uname -a |
I can't find the kernel config for it, it seems mint doesn't care to provide it in any way. It is likely an ubuntu kernel, but that one is only in /boot/config.
|
Would it help if I installed the latest kernel from kernel.org?
|
Quote:
|
Get assembly and make your own driver , it solve your problem :) ...
|
Quote:
I do not like when people ask a question and assumes that I or others know you are talking about. I do not like when people do not use the correct units. You did not explain your problem detail enough about your problem. From the looks at your first post, it still tells me nothing what device you have problems with. You are stating bull when you can copy 8 or more gigabytes in a few minutes using USB. For me, it takes several minutes to copy a gigabyte of data. I prefer to use a NAS to store data because using 100 megabit Ethernet beats USB on terms of throughput. I even have CONFIG_USB_EHCI_TT_NEWSCHED enabled. Enabling CONFIG_USB_EHCI_TT_NEWSCHED can cause some problems, so Mint or Ubuntu did not enable it because some hardware had problems in the past when this option is enabled. Use it at your own risk. The following explains about the option. http://cateee.net/lkddb/web-lkddb/US..._NEWSCHED.html Quote:
Quote:
Sure config can also be located in /boot, but not be always be up to date. In some cases /boot is unmounted if it is stored on a separate partition. Though in order to use the present config for compiling the kernel, you have copy it into the kernel source code and use "make oldconfig". Even if you do not have the config file, it will scan the system and use its own defaults when using "make menuconfig" or "make xconfig". Quote:
|
All times are GMT -5. The time now is 08:21 PM. |