LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 10-24-2019, 12:28 PM   #1
Mr. Macintosh
Member
 
Registered: Sep 2015
Distribution: Debian
Posts: 297

Rep: Reputation: 60
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?
 
Old 10-24-2019, 01:18 PM   #2
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,177

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
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.
 
Old 10-24-2019, 05:39 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,153

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
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.
 
Old 10-25-2019, 03:18 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by syg00 View Post
I would be interested to hear if it helps.
Yeah. me too.
And if it does, how to make that default for USB drives.
 
Old 10-26-2019, 02:40 PM   #5
rnturn
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,818

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by ondoho View Post
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:
Code:
elevator=deadline
No ill affects (so far) from having it set this way for all drives.

HTH...
 
Old 10-27-2019, 05:14 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by rnturn View Post
HTH...
Does it help with the speed?

I'm not OP btw.
 
  


Reply

Tags
optiplex, speed, usb, usb 3, xubuntu



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Debian 6.0 about to take flying leap off long term support cliff LXer Syndicated Linux News 0 02-16-2016 12:41 AM
LXer: Did The NVIDIA 295.40 Linux Driver Fall Off A Cliff? LXer Syndicated Linux News 2 04-17-2012 10:27 AM
LXer: Is Ubuntu running off a cliff? LXer Syndicated Linux News 0 11-16-2010 02:40 AM
LXer: Blue Cliff VOE Readiness Training May 8-11, 2007 LXer Syndicated Linux News 0 04-14-2007 06:01 AM
LXer: Blue Cliff, Inc. Announces Development Of VistA EMR Laboratory Interface LXer Syndicated Linux News 0 03-07-2007 10:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:14 PM.

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