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
  Release 0.9.14 Ubuntu Mate desktop, LXDE, OMV, Docker CE (container) Luke 1 382 09-19-2019, 07:00 AM
Last Post: Malmgren
  Owncloud installation on Ubuntu Bionic Count Omega 9 360 07-19-2019, 03:54 AM
Last Post: stuartiannaylor
  QUESTION: How do I use WPA2-AES in ubuntu with realtek rtl8188eu??? bigbertha 0 70 06-18-2019, 12:04 PM
Last Post: bigbertha
  USB drive powered off after reboot huberttrz 1 200 12-20-2018, 05:39 PM
Last Post: huberttrz
  GPU not working with Ubuntu and Debian builds kdawgpoker 10 1,274 12-19-2018, 03:53 PM
Last Post: va88
  Spontaneous Reboot during scp with Ubuntu bionic 0.7.8-1061 perniciouscaffeine 0 133 10-16-2018, 05:34 PM
Last Post: perniciouscaffeine
  Newbie, Can't get Audio using Ubuntu 18.04 v0.7.9 LXDE Pajaro 4 657 09-06-2018, 03:05 PM
Last Post: Pajaro
  Tutorial How to write a image in the eMMc card without USB adaptor or serial cable gedas07 2 359 08-29-2018, 10:08 AM
Last Post: gedas07
  rock64/ubuntu start-up pas059 36 4,052 06-28-2018, 08:43 AM
Last Post: pas059
  Ubuntu Core build vivek_kaloliya 1 543 06-08-2018, 05:11 AM
Last Post: Matthew

Forum Jump:


Users browsing this thread: 1 Guest(s)