[SOLVED] How much speed difference would it make? USB transfer

That's with NTFS right? which driver is it using?

Actually if u have a spare usb3 key. you could try a little test. Format it with NTFS and throw something on it and pull a test on it. Then wipe and redo the test with exFAT. See what you get from that. Admittedly you are only testing that device but then you would get better idea of the overheads of the filesystem.

Yes, NTFS. Using ntfs-3g driver.

I do not have usb3 key atm, but will try with exfat partition for speed testing..

well, i just tested what i could. Made a new partition exFAT.
sda1 = ntfs
sda2 = exfat
sda3 = ext4 (running extroot)

root@OpenWrt:~# hdparm -tT /dev/sda1 

/dev/sda1:
 Timing cached reads:   160 MB in  2.00 seconds =  79.84 MB/sec
 Timing buffered disk reads:  88 MB in  3.06 seconds =  28.74 MB/sec
root@OpenWrt:~# hdparm -tT /dev/sda2

/dev/sda2:
 Timing cached reads:   180 MB in  2.00 seconds =  89.80 MB/sec
 Timing buffered disk reads:  96 MB in  3.06 seconds =  31.35 MB/sec
root@OpenWrt:~# hdparm -tT /dev/sda1

/dev/sda1:
 Timing cached reads:   180 MB in  2.01 seconds =  89.38 MB/sec
 Timing buffered disk reads:  90 MB in  3.04 seconds =  29.56 MB/sec
root@OpenWrt:~# hdparm -tT /dev/sda2

/dev/sda2:
 Timing cached reads:   176 MB in  2.00 seconds =  87.88 MB/sec
 Timing buffered disk reads:  96 MB in  3.04 seconds =  31.58 MB/sec
root@OpenWrt:~# hdparm -tT /dev/sda1

/dev/sda1:
 Timing cached reads:   182 MB in  2.02 seconds =  89.94 MB/sec
 Timing buffered disk reads:  88 MB in  3.01 seconds =  29.24 MB/sec
root@OpenWrt:~# hdparm -tT /dev/sda2

/dev/sda2:
 Timing cached reads:   178 MB in  2.02 seconds =  88.09 MB/sec
 Timing buffered disk reads:  96 MB in  3.04 seconds =  31.60 MB/sec
root@OpenWrt:~# hdparm -tT /dev/sda3

/dev/sda3:
 Timing cached reads:   180 MB in  2.01 seconds =  89.76 MB/sec
 Timing buffered disk reads:  96 MB in  3.05 seconds =  31.51 MB/sec
root@OpenWrt:~# hdparm -tT /dev/sda3

/dev/sda3:
 Timing cached reads:   176 MB in  2.00 seconds =  87.83 MB/sec
 Timing buffered disk reads:  94 MB in  3.00 seconds =  31.29 MB/sec

Here results seems quite the same.

But file transfer between pc and router is a different story.
NTFS

Read/write 64MB
[Read]
Sequential 1MiB (Q=  8, T= 1):     2.096 MB/s [      2.0 IOPS] <606467.88 us>
Sequential 1MiB (Q=  1, T= 1):     7.758 MB/s [      7.4 IOPS] <132447.04 us>
    Random 4KiB (Q= 32, T=16):     1.530 MB/s [    373.5 IOPS] <877618.31 us>
    Random 4KiB (Q=  1, T= 1):     0.899 MB/s [    219.5 IOPS] <  4543.78 us>

[Write]
Sequential 1MiB (Q=  8, T= 1):     1.677 MB/s [      1.6 IOPS] <2343862.88 us>
Sequential 1MiB (Q=  1, T= 1):     6.080 MB/s [      5.8 IOPS] <170593.84 us>
    Random 4KiB (Q= 32, T=16):     1.439 MB/s [    351.3 IOPS] <1225928.69 us>
    Random 4KiB (Q=  1, T= 1):     1.389 MB/s [    339.1 IOPS] <  2942.57 us>

exFAT

[Read]
Sequential 1MiB (Q=  8, T= 1):    10.484 MB/s [     10.0 IOPS] <734417.02 us>
Sequential 1MiB (Q=  1, T= 1):    10.275 MB/s [      9.8 IOPS] <100658.31 us>
    Random 4KiB (Q= 32, T=16):     2.295 MB/s [    560.3 IOPS] <716753.42 us>
    Random 4KiB (Q=  1, T= 1):     0.831 MB/s [    202.9 IOPS] <  4922.19 us>

[Write]
Sequential 1MiB (Q=  8, T= 1):     8.389 MB/s [      8.0 IOPS] <912847.75 us>
Sequential 1MiB (Q=  1, T= 1):     8.178 MB/s [      7.8 IOPS] <127759.57 us>
    Random 4KiB (Q= 32, T=16):     1.970 MB/s [    481.0 IOPS] <916515.30 us>
    Random 4KiB (Q=  1, T= 1):     1.846 MB/s [    450.7 IOPS] <  2215.85 us>

exfat is the winner here..
Tested multiple times, similar results.

I don't think i can increase the speed any further than this even with fourth RC, since my pc's port is being bottlenecked.

My pc lan speed is 1 gbps, while router lan port speed is 100Mbps, do you think router with gigabit port may increase the speed, at least for wired transfers? I am not asking for super strong speeds like when hdd is directly connected to pc, just bearable speeds.. like 15-20 Mbps... would that be possible with router like a7?

1 Like

pretty much murders NTFS. Maybe when the new NTFS driver is in kernel it would be better but honestly exfat for media storage is pretty damn nice.

My BT Hub 5 has gigabit ports. But don't forget you will also need good set of Lan cables. I recently tested a bunch of mine and found a couple that would only sync at 100mbs rather than the full 1gbps. They have since been labelled and thrown in the cupboard. (one of them was only 4pair but oddly the 2nd was 8pair but the labelling indicates it is cat5 but will not sync at 1gbs)

In short. Your router is the weak point with its 100mbs ports. For internet this isnt a problem however as you are throwing data at the drive attached to the router... updating to a 1gbps version is a good move.

Just noticed the A7 only has USB2 port. you will max that at 30MB/s (reading) roughly. (Theoretical max is 53MB/s but that is absolute maximum) Maybe 20MB/s writing? will depend on caches and the drive you have attached.

Maybe i should wait a bit and grab router with usb3.0 instead? Nevertheless, i'm fine with even 20 MB/s read/write.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.