Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
Bus 002 Device 003: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0489:e00f Foxconn / Hon Hai
Bus 001 Device 003: ID 05ca:18ba Ricoh Co., Ltd
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
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.
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.
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.
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.
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.
Just a side note: If that is so, I wonder how my Corsair Voyager GT has a read/write-throughput of ca. 25MB/15MB, and even my cheap sticks are doing read and write at least with 4-5MB.
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
Linux anthony-VPCF12JFX 2.6.35-23-generic #41-Ubuntu SMP Wed Nov 24 11:55:36 UTC 2010 x86_64 GNU/Linux
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?
You can, but you need to enable that option, and you need the original config, unless you know what to enable. I can't believe they didn't enable the /proc/config.gz option, it solves a lot of problems.
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.
Sorry that I say it that way, but USB will never reach what it advertises on throughput. The 480 megabits is theoretical which means it is possible when everything is as perfect as the engineer can make it.
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.
Would it help if I installed the latest kernel from kernel.org?
Using the latest kernel version will only help if you have problems with the present kernel that the new kernel version fixes. Compiling the same kernel version is better than upgrading the kernel version to the next stable version. The new kernel version can give you problems if your software does not support the new kernel version. When trying to re-compile the kernel, find instructions for your distribution since you are using Debian based. Debian has its own steps to compile the kernel.
Quote:
Originally Posted by H_TeXMeX_H
You can, but you need to enable that option, and you need the original config, unless you know what to enable. I can't believe they didn't enable the /proc/config.gz option, it solves a lot of problems.
Having the config output located in /proc/config.gz is an option. It is not required. It does not help for everything. It helps only the user to troubleshoot the setup and to re-compile the kernel. It also helps when using install scripts for modules or drivers. Since this file is seen by everybody that access your computer, it can be used against you. For desktops, notebooks, and workstations, it should be enabled.
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:
Originally Posted by tonguebuster
Get assembly and make your own driver , it solve your problem ...
Writing drivers in assembly might work, but only work for 80x86 processors. Using it for other processors will not work. Linus prefers writing the drivers and the kernel in C because it can be ported to other processors besides 80x86.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.