Community discussions

MikroTik App
 
bma
just joined
Topic Author
Posts: 23
Joined: Sat Feb 19, 2022 11:40 pm

rb5009 usb disk throughput

Sun Feb 20, 2022 3:28 am

I have a samsung T5 SSD hooked up to the USB port of a rb5009ug+s+in. On an otherwise idle network with a 10gb/s connection between a windows machine and the rb5009 I see 1.3 gb/s (160 MB/s) both for reads and writes over smb. This particular drive can achieve 4 gb/s read and 2.5+ gb/s write when hosted on a windows machine over smb. I looked at the rb5009 utilization and see 1-2 cpus for both read and write and irqs for writes near 100%.

A speed test from the rb5009 to the windows machine achieves the following. I know it's not ideal to run speedtest on the rb5009 since that will add overhead which limits throughput but I don't currently have another option. This is mainly to show the link and intermediate switches can achieve higher throughput.
TCP Download 3.93Gbps local-cpu-load:97%
TCP Upload 4.22Gbps local-cpu-load:98% remote-cpu-load:0%

I know it's unrealistic to expect the rb5009 to saturate the usb3 port or drive over smb since it's not designed to be a nas. However, given that all cpu cores are not used and assuming that's limiting performance, can throughput be improved with router os updates?

Download from rb5009
download_from_rb5009.PNG
Upload to rb5009
upload_to_rb5009.PNG
You do not have the required permissions to view the files attached to this post.
 
bma
just joined
Topic Author
Posts: 23
Joined: Sat Feb 19, 2022 11:40 pm

Re: rb5009 usb disk throughput

Sat Feb 26, 2022 9:54 pm

I was able to hook up another windows 10 pc (PC B) to the 2.5 gb/s port (ether1) on the rb5009. So now the network looks like the following:

PC A
|
<10>
|
QNAP Switch
|
<10>
|
rb5009 - <1+1 bonded> - MB8600 - <1.4> - Net
|
<2.5>
|
PC B

When the T5 SSD is attached to rb5009:
PC A read from rb5009 = 1.3 gb/s
PC A write to rb5009 = 1.3 gb/s
PC B read from rb5009 = 1.3 gb/s
PC B write to rb5009 = 1.3 gb/s

T5 SSD attached to PC B
PC A read from PC B = 2.3 gb/s
PC A write to PC B = 2.3 gb/s

Also, ROS 7 exfat support would be a nice addition since I may swap the drive between hosts.
 
bma
just joined
Topic Author
Posts: 23
Joined: Sat Feb 19, 2022 11:40 pm

Re: rb5009 usb disk throughput

Wed Mar 02, 2022 6:00 pm

I filed a support ticket and MT said 1.3 gb/s is expected. Multiple file transfers is supposed to increase this, but it didn't in my limited testing.

Something that may also be related: I tried 4 different 2.5 and 5.0 gbpe ethernet adapters and could not find one that enabled a new ethernet port. I was told only 1.0 gbpe adapters are currently supported. If it's limited to 1.3 gb/s that's not too surprising. I would hope a reasonably modern ARM architecture, even embedded, could support 2.2 gb/s or greater from IO, but it may require multiple cores. And it would have to handle routing duties in parallel.

I didn't have high expectations for the USB port when buying the rb5009. The port functions and has slightly low, but reasonable performance. Figured I would update this thread so others know.

Who is online

Users browsing this forum: Google [Bot] and 27 guests