LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-01-2019, 07:29 PM   #1
chripy811
Member
 
Registered: Mar 2017
Posts: 31

Rep: Reputation: Disabled
transferring large files on usb 3.1 goes from super fast to super slow


i have a Samsung usb drive formatted to ex4

when i transfer large files, it's very slow,

in this test, i transferd a file of 6.5GB from an ssd to a usb 3.0 flash drive using a usb 3.1 port in the back of my computer,

its starts off super fast but then gets really slow!

i thought usb 3.1 was supposed to be fast

whats going on?

heres a video of the process

https://streamable.com/ebtrz
took about 5 to 6 minutes

Last edited by chripy811; 04-01-2019 at 07:36 PM.
 
Old 04-01-2019, 07:54 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.8.2003
Posts: 5,131

Rep: Reputation: 1876Reputation: 1876Reputation: 1876Reputation: 1876Reputation: 1876Reputation: 1876Reputation: 1876Reputation: 1876Reputation: 1876Reputation: 1876Reputation: 1876
What distro are you on?
What is the file system on the ssd drive?
How big is the usb drive?
How much free space on the usb drive before the copy? How much free after the copy?
 
Old 04-01-2019, 07:58 PM   #3
chripy811
Member
 
Registered: Mar 2017
Posts: 31

Original Poster
Rep: Reputation: Disabled
linux mint 18.1
ext4 ssd
8GB flash drive
the usb was empty before copying
there was 753MB after copying
 
Old 04-01-2019, 09:29 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,096

Rep: Reputation: 3325Reputation: 3325Reputation: 3325Reputation: 3325Reputation: 3325Reputation: 3325Reputation: 3325Reputation: 3325Reputation: 3325Reputation: 3325Reputation: 3325
Don't use a GUI filemanager - try it from a terminal. There are issues with USB buffers and the memory manager sysctls, but try it as-is from a terminal before getting into fiddling the knobs.
 
1 members found this post helpful.
Old 04-02-2019, 01:57 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 15,302
Blog Entries: 9

Rep: Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377
the file managers progress bar is probably lying.
i also find that using the cli for large files is decidedly faster than a gui fm.
 
Old 04-02-2019, 03:54 AM   #6
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,812

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Wink

Quote:
Originally Posted by syg00 View Post
Don't use a GUI filemanager - try it from a terminal. There are issues with USB buffers and the memory manager sysctls, but try it as-is from a terminal before getting into fiddling the knobs.
Agree with this, try rsync or just cp.
 
Old 04-02-2019, 03:39 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,138

Rep: Reputation: 3178Reputation: 3178Reputation: 3178Reputation: 3178Reputation: 3178Reputation: 3178Reputation: 3178Reputation: 3178Reputation: 3178Reputation: 3178Reputation: 3178
I've seen some usb flash drives that seem to have some controller issue when running ext4. Bet it you swap drives to different brand or change filesystem the problem with go away.
 
Old 04-02-2019, 08:48 PM   #8
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,812

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Question

Quote:
Originally Posted by jefro View Post
I've seen some usb flash drives that seem to have some controller issue when running ext4. Bet it you swap drives to different brand or change filesystem the problem with go away.
That's not good, not Linux friendly.
 
Old 04-03-2019, 05:25 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,138

Rep: Reputation: 3178Reputation: 3178Reputation: 3178Reputation: 3178Reputation: 3178Reputation: 3178Reputation: 3178Reputation: 3178Reputation: 3178Reputation: 3178Reputation: 3178
I fought a usb brand like what the OP is having for a few days. Upon testing it under ntfs I was kind of shocked to find that ext4 filesystem was causing the issue I had. Went back and forth on different filesystems and yet the result was that brand and model and ext4 just would not deliver the promise of speed. What the OP has I can't say. Testing would help. Some test, any test would help to prove or disprove any assumptions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] LibreOffice slow to open moderately large to pretty large files adanedhel728 Ubuntu 17 01-16-2016 03:46 PM
Ok transferring large files, but not smaller files kusanagiyang Linux - Networking 2 12-17-2015 09:24 PM
LXer: This week at LWN: Large pages, large blocks, and large problems LXer Syndicated Linux News 0 09-27-2007 11:40 AM
nfs write == super slow; read == super fast - problem? BrianK Linux - Networking 4 08-23-2007 10:59 PM
internet fast-slow-fast-slow big_and_fat_guy Mandriva 5 10-11-2003 05:44 PM

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

All times are GMT -5. The time now is 07: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