05-20-2019, 03:44 PM
(This post was last modified: 05-20-2019, 03:53 PM by Wizardknight.)
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
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
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?
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
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/
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
/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