Linux - Hardware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
10-24-2019, 12:28 PM
|
#1
|
Member
Registered: Sep 2015
Distribution: Debian
Posts: 297
Rep:
|
USB Speed Drops Off a Cliff
I'm running Xubuntu 18.04 on a Dell Optiplex 3020. I'm having a strange issue where the USB 3.0 transfer speed starts out around the maximum speed of my hard drive (~100 MB/s) and slowly drops off. It runs at ~100 MB/s for about 30 seconds, drops to ~40 MB/S and then drops to ~22 MB/S But I'm also having this issue with USB 2.0 as well, except the starting transfer speed is around 60 MB/S. Is there a solution to this? Or is it just a weird bug of my hardware or the distro?
|
|
|
10-24-2019, 01:18 PM
|
#2
|
Senior Member
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: KDE Neon
Posts: 1,280
|
I think that is normal for USB, it has a high starting speed but then tappers off, especially if multiple things try to access it.
That is part of the reason I used eSATA on my external RAID box. It was slower then USB3 top speed, but that top speed could not be maintained for large files so eSATA was constant speed.
|
|
|
10-24-2019, 05:39 PM
|
#3
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,437
|
This is a common complaint.What I/O scheduler are you using - use this for the appropriate device
Code:
cat /sys/block/sd?/queue/scheduler
If cfq, a quick test might be to change to deadline - simply echo to the same file. This will allow the write-back throttling relief code to kick in.
I would be interested to hear if it helps.
|
|
|
10-25-2019, 03:18 AM
|
#4
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Quote:
Originally Posted by syg00
I would be interested to hear if it helps.
|
Yeah. me too.
And if it does, how to make that default for USB drives.
|
|
|
10-26-2019, 02:40 PM
|
#5
|
Senior Member
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,852
|
Quote:
Originally Posted by ondoho
And if it does, how to make that default for USB drives.
|
All of the block devices (m'board-connected SATA as well as USB) on my system report:
Code:
$ cat /sys/block/sdN/queue/scheduler
noop [deadline] cfq
Which I interpret as using the "deadline" scheduler.
My Grub boot command line includes:
No ill affects (so far) from having it set this way for all drives.
HTH...
|
|
|
10-27-2019, 05:14 AM
|
#6
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Quote:
Originally Posted by rnturn
HTH...
|
Does it help with the speed?
I'm not OP btw.
|
|
|
All times are GMT -5. The time now is 06:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|