Bad speed on external HDD

Hi, I am not having full speed in an attached USB 3.0 external hard drive using OpenWRT 19.07.3 in a Linksys wrt3200acm, here is a measure:

root@OpenWrt:/mnt/sda4# time dd if=/dev/zero of=tempfile bs=1M count=1024
1024+0 records in
1024+0 records out
real    0m 26.26s
user    0m 0.00s
sys     0m 4.01s

Which is more or less 39MBps and according to this link my hardware is capable of 100MBps write speed on USB 3.0.

Maybe drivers are buggy?

P.D. this same external HDD on my desktop PC have 100MBps write speeds normally.

Update: I installed " kmod-usb-storage-uas" package and UASP support is failing according to dmesg:

[    1.830001] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[    1.860632] usb 3-1: USB controller f10f8000.usb3 does not support streams, which are required by the UAS driver.
[    1.870949] usb 3-1: Please try an other USB controller if you wish to use UAS.
[    1.878291] usb-storage 3-1:1.0: USB Mass Storage device detected

Any ideas why it could be failing?

https://bugs.openwrt.org/index.php?do=details&task_id=2208

Bug is not confirmed yet, so it would be nice if this is not the root cause of the issue.

1 Like