USB 3.0 hard drive write speed increase tip on Ubuntu 18.04
#1
Here is a tip for speeding up writes to a external USB 3.0 hard drive on ubuntu 18.04.
If it has already been discussed I apologize for the duplicate thread.
I however had not seen this info before.


Using the default mount format of
Code:
sudo mount -t ntfs-3g /dev/sda1 /media/USB/
I was seeing write speeds around 25-35MB/s over SMB.

However I added the bigwrite flag and my speeds rose to 40-55MB/s over SMB. This was also over wifi, so wired might be faster. I know my drive can do 100MB/s when connected directly to my laptop.
I also added automount via UUID in etc/fstab

Code:
UUID=165C922D5C92079F /media/USB ntfs-3g big_writes,rw,async,nosuid,nodev,nofail 0 0



Now the weird part is that the local hdparm tests show no significance difference between these two mounting options.
Maybe I am just not using the right flags?



Code:
sudo hdparm -tT /dev/sda
Before:
/dev/sda:
 Timing cached reads:   1106 MB in  2.00 seconds = 552.88 MB/sec
 Timing buffered disk reads: 328 MB in  3.01 seconds = 108.89 MB/sec


After:
/dev/sda:
 Timing cached reads:   1110 MB in  2.00 seconds = 554.81 MB/sec
 Timing buffered disk reads: 328 MB in  3.01 seconds = 108.83 MB/sec
  Reply
#2
(05-20-2019, 03:44 PM)Wizardknight Wrote: Now the weird part is that the local hdparm tests show no significance difference between these two mounting options.
Maybe I am just not using the right flags?
hdparm cant't see this flag.
big_writes is for fusefs
and hdparm uses real hardware...
  Reply
#3
The problem you're having is with "ntfs-3g" it's been like this for quite some time. I had this problem when downloading through Usenet to an NTFS drive. I dug deeper, changed to ext4 and it's much faster now.

NTFS-3G hasn't been updated since 2017 and is known for it's problems.
  Reply
#4
(05-24-2019, 12:12 PM)thatchunkylad1989 Wrote: The problem you're having is with "ntfs-3g" it's been like this for quite some time. I had this problem when downloading through Usenet to an NTFS drive. I dug deeper, changed to ext4 and it's much faster now.

NTFS-3G hasn't been updated since 2017 and is known for it's problems.

I didn't realize I had a problem.
Some of us run mixed OS environments, and need NTFS.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Hibernate in Ubuntu grobbs 0 1,198 01-09-2022, 05:55 PM
Last Post: grobbs
  Armbian/Ubuntu for Rockbox Wizzard 5 5,205 05-18-2021, 08:18 AM
Last Post: Wizzard
  External hard drive problem k8Va 17 24,837 03-09-2021, 02:31 PM
Last Post: calinb
  How can I update from Ubuntu 18 to Ubuntu 20? gedas07 3 4,658 10-04-2020, 10:02 PM
Last Post: tomarm
Sad Rock64 crash randomly during usb 3 copy with RAID1 drive phalae 24 39,775 09-14-2020, 10:48 AM
Last Post: BrownLuther007
  Release 0.9.14 Ubuntu Mate desktop, LXDE, OMV, Docker CE (container) Luke 1 4,483 09-19-2019, 07:00 AM
Last Post: Malmgren
  Owncloud installation on Ubuntu Bionic Count Omega 9 12,433 07-19-2019, 03:54 AM
Last Post: stuartiannaylor
  QUESTION: How do I use WPA2-AES in ubuntu with realtek rtl8188eu??? bigbertha 0 2,171 06-18-2019, 12:04 PM
Last Post: bigbertha
  USB drive powered off after reboot huberttrz 1 3,409 12-20-2018, 05:39 PM
Last Post: huberttrz
  GPU not working with Ubuntu and Debian builds kdawgpoker 10 15,294 12-19-2018, 03:53 PM
Last Post: va88

Forum Jump:


Users browsing this thread: 2 Guest(s)