Community discussions

MikroTik App
 
Tanquen
just joined
Topic Author
Posts: 8
Joined: Mon Nov 01, 2021 7:45 pm

CRS305 Windows File Transfer Speeds Stuck at 400-500MBs

Fri May 19, 2023 4:49 am

I set up 2 CRS305 switches a few years ago and I recall testing file transfers then and I was getting 800-900MBs with large VM files.

Not sure if it was the cause but a few weeks ago I upgraded to the newest RouterOS firmware.

While still in the RouterOS I also upgraded the RouterBOARD fireware to 6.49.7.

I've tried switching to the switch SwOS and updated the SwOS version to 2.13 but it did not help.
Not sure if it means anything but the main switch got stuck a few times when switching to the SwOS. Power cycle did not work. I had the same IP address in both configs but ended up using the reset button after the power was back. It did the same thing when trying to update the SwOS firmware. ???

I have a simple setup with a few workstations and a laptop. They have very fast SSDs that can copy to each other in the same workstation at around 4000-5000MBs and to themselves at around1000-2000MBs.

I used the /int bridge port print command and all the ports have HW hardware on.
 
User avatar
Buckeye
Forum Veteran
Forum Veteran
Posts: 883
Joined: Tue Sep 11, 2018 2:03 am
Location: Ohio, USA

Re: CRS305 Windows File Transfer Speeds Stuck at 400-500MBs

Fri May 19, 2023 6:08 am

MB or Mb? MegaBytes/sec or Megabits/sec

There are many variables.

You may want to review this reddit thread What should throughput speed speed for 10gbe file transfer? Jeff Geerling second to last post.
 
Tanquen
just joined
Topic Author
Posts: 8
Joined: Mon Nov 01, 2021 7:45 pm

Re: CRS305 Windows File Transfer Speeds Stuck at 400-500MBs

Fri May 19, 2023 6:31 am

I was not paying attention but did put MB and not Mb.800-900 Megabits/sec would not be all that great for a 10Gb connection.
 
Tanquen
just joined
Topic Author
Posts: 8
Joined: Mon Nov 01, 2021 7:45 pm

Re: CRS305 Windows File Transfer Speeds Stuck at 400-500MBs

Fri May 19, 2023 6:44 am

I've looked at it a bit more and with workstation1, workstation2 and the laptop all on the same CRS305 switch. Both WS1 and the Laptop get 1.00-1.02GBs and the Windows file copy graph looks flat with only very small dips. Looks really good. But if I copy from the WS1 to the Laptop or the Laptop to WS1 I get around 400-500MBs and it's all over the place.

WS1 and the Laptop are using Ethernet ports and Ethernet SFP modules on the CRS305 switch. WS2 has Fiber SFP modules. Not sure if that matters.
 
Tanquen
just joined
Topic Author
Posts: 8
Joined: Mon Nov 01, 2021 7:45 pm

Re: CRS305 Windows File Transfer Speeds Stuck at 400-500MBs

Fri May 19, 2023 6:57 am

Here is a video copying first on the laptop in the RDP window from WS2, then on WS1 from WS2.
Then from WS1 to the Laptop and then from the laptop to WS1. The last one, laptop to WS1 is always the slowest to start, it goes up slowly.

I just don't get how/why copying from WS2 is rock solid on both but then between WS1 and the laptop is so bad.

All three PCs have SSDs that can read and write over 3GBs.

https://photos.app.goo.gl/xRHZCkHBvxJyaCoN6
 
Tanquen
just joined
Topic Author
Posts: 8
Joined: Mon Nov 01, 2021 7:45 pm

Re: CRS305 Windows File Transfer Speeds Stuck at 400-500MBs

Sat May 20, 2023 8:21 pm

Testing with iPerf3. I guess there is something wrong with SMB and Windows 11?
As best I can tell they are all running SMB3 (Dialect : 3.1.1) and MultiChannel is on (EnableMultichannel=True).

I did find what looks to be a known issue with Win11.

The Problem

Users who upgraded to Windows 11 2022 have complained about slow file transfer speeds. The issue was related to the Server Message Block (SMB) protocol. It allows computers on a network to share files and communicate. It allows programs to open files, read and write to them, and request help from other computers on the web.

A Windows 11 2022 update has affected file transfers via SMB. Copying large files from a remote computer to a Windows 11 computer or within a local drive became slower than usual. Microsoft has explained the problem in an advisory for OS Build 22621.1344.

The Fix

The good news is that there's now a fix for the bug. This comes with the release of the

KB5022913 February 2023 update.


I don't see that KB5022913 has been installed and not sure if I should be force installing it.


_____________________________________

Testing with iPerf3.

With WS2 as the server. Using the command: ./iperf3.exe -c XXX.XXX.XXX.XXX

WS1

[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 5.37 GBytes 4.62 Gbits/sec sender
[ 4] 0.00-10.00 sec 5.37 GBytes 4.62 Gbits/sec receiver

With the -P 20, so 20 parallel flows?

[SUM] 0.00-10.00 sec 10.3 GBytes 8.83 Gbits/sec sender
[SUM] 0.00-10.00 sec 10.3 GBytes 8.83 Gbits/sec receiver

Laptop

[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 4.26 GBytes 3.66 Gbits/sec sender
[ 4] 0.00-10.00 sec 4.26 GBytes 3.66 Gbits/sec receiver

With the -P 20

[SUM] 0.00-10.01 sec 10.1 GBytes 8.68 Gbits/sec sender
[SUM] 0.00-10.01 sec 10.1 GBytes 8.68 Gbits/sec receiver

With WS1 as the server.

Laptop

[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 6.52 GBytes 5.60 Gbits/sec sender
[ 4] 0.00-10.00 sec 6.52 GBytes 5.60 Gbits/sec receiver

With the -P 20

[SUM] 0.00-10.01 sec 10.5 GBytes 8.99 Gbits/sec sender
[SUM] 0.00-10.01 sec 10.5 GBytes 8.99 Gbits/sec receiver

SW2

[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 5.11 GBytes 4.39 Gbits/sec sender
[ 4] 0.00-10.00 sec 5.11 GBytes 4.39 Gbits/sec receiver

With the -P 20

[SUM] 0.00-10.00 sec 10.9 GBytes 9.33 Gbits/sec sender
[SUM] 0.00-10.00 sec 10.9 GBytes 9.33 Gbits/sec receiver

With the Laptop as the server.

WS1

[ 4] 0.00-10.00 sec 7.34 GBytes 6.31 Gbits/sec sender
[ 4] 0.00-10.00 sec 7.34 GBytes 6.31 Gbits/sec receiver

With the -P 20

[SUM] 0.00-10.00 sec 11.0 GBytes 9.43 Gbits/sec sender
[SUM] 0.00-10.00 sec 11.0 GBytes 9.43 Gbits/sec receiver

WS2

[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 3.59 GBytes 3.08 Gbits/sec sender
[ 4] 0.00-10.00 sec 3.59 GBytes 3.08 Gbits/sec receiver

With the -P 20

[SUM] 0.00-10.00 sec 10.8 GBytes 9.31 Gbits/sec sender
[SUM] 0.00-10.00 sec 10.8 GBytes 9.31 Gbits/sec receiver
 
User avatar
Buckeye
Forum Veteran
Forum Veteran
Posts: 883
Joined: Tue Sep 11, 2018 2:03 am
Location: Ohio, USA

Re: CRS305 Windows File Transfer Speeds Stuck at 400-500MBs

Sat May 20, 2023 10:41 pm

Thanks for update on SMB problems on Win 11.

I would investigate why windows updates are not being applied, as there are many security patches since Jan. When was last update applied?

I thought that Windows update were supposed to now be cumulative, but there have been reports of things being missed when skipping updates. Sort of like the update from ROS v6 to v7 (where the "migration action" only occurs one time, and possibly sets a "has been migrated" flag somewhere).
 
Tanquen
just joined
Topic Author
Posts: 8
Joined: Mon Nov 01, 2021 7:45 pm

Re: CRS305 Windows File Transfer Speeds Stuck at 400-500MBs

Sat May 20, 2023 11:28 pm

Yeah, that's kind of where I'm stuck now. You can download the listed update. I'm not sure if I already have it or if it was included in update that's come out since. The one they reference isn't that old though, at least plausible. I may do a backup of my system and then try installing it.

Who is online

Users browsing this forum: ItchyAnkle, kazza, Soleous75 and 65 guests