Usb drive performance

I have 2x 5TB STDR5000102 usb3 hdds plugged into a usb3 powered hub then into my router; they should have a maximum read/write speed of 120 MB/s

Seems like performance should be better and it seems strange that my write speed is higher then read!

Transferring a big file [2gb] via samba
65mb/s read (transferring to client/pc)
100mb/s write (transferring to server/router)
65mb/s read (transferring to client/pc)
70mb/s write (transferring to server/router)

I executed some bonnie test on the main drive but not sure how to interpret results

hdparam output
Timing cached reads: 1604 MB in 2.00 seconds = 801.35 MB/sec
Timing buffered disk reads: 384 MB in 3.01 seconds = 127.47 MB/sec

root@GL-MT6000:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/1p, 20000M/x2
|__ Port 1: Dev 2, If 0, Class=, Driver=hub/4p, 5000M/x2
|__ Port 1: Dev 3, If 0, Class=, Driver=uas, 5000M
|__ Port 3: Dev 4, If 0, Class=, Driver=uas, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/2p, 480M
|__ Port 2: Dev 2, If 0, Class=, Driver=hub/4p, 480M

cpu during read

cpu during write

I would say that these speeds are totally fine for a router - which is not a real NAS.
Writing could be faster because of the write cache within the HDD.

It is a (admittedly embedded) Linux server using a USB3 → SATA/MSATA/NVME bridge to share storage.

Fite me.

1 Like

i would also say its not used like a “real nas”
its usually 1 user interacting with it at one time
its a home network, load is never that great

also i had better speeds on my last device (wrt3200acm)
so i know its possible

So your personal criteria of what is, is not a NAS is the 1, 5, 15 min values on the CPU/SOC? :wink:

Am I the only one out here that seems to know ARM SOCs are also used in NAS boxes?