2-Node HCI Cluster (Hyper-v) not getting full network speed

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
FlashMe
Posts: 14
Joined: Wed Aug 24, 2022 8:23 pm

Fri Feb 17, 2023 12:21 pm

Hello Guys,

if you are interested in getting full speed for your sync and iscsi nics: this thread is for you:

On a fresh 2 Node Hyper-v Cluster we did some performance tests and network tuning. Hardware consists of 2x Dell R450 Server with 2x Mellanox Connectx-5 (10/25Gbe) cards for iscsi and sync traffic. All 4 Ports are direct connected to each other.
RAID Controller: Dell H755 with 8x vSAS SSD Drives in RAID-10

Operating System: Microsoft Windows Server 2022

Systems were firmware updated via lifecycle controller and all drivers are up to date.

On initial iperf tests we found out that the mellanox cards are maxing out at 4 Gbit/s with following command: Client 40Gb – networks: iperf.exe -c 172.16.10.12 -t 150 -i 15 -P 12 -w 16M.

If we deactivate tcp autotuninglevel of windows server 2022 the speed jumps to 11 Gbit/s. (netsh int tcp set global autotuninglevel=disabled)

After that we deactivate receive side scaling inside mellanox cards and then we got full speed of 24-25 Gbit/s per link.

So if you want to get the full speed on windows boxes try it out :-)

1. command: netsh int tcp show global -> to check if autotuninglevel is enabled(default)
2. command: netsh int tcp set global autotuninglevel=disabled (disable it)
3. deactivate rss in mellanox cards

After these settings full synchronization speed of starwind vsan jumps from 500 MB/s to ~ 2000 MB/s too.

best regards
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Mon Feb 20, 2023 6:00 am

Hi,

Thanks for sharing your experience. Was it iperf 3 or earlier version?
Also, did synchronization get worse after network tweaking?

What you can also do is try tweaking receive and send side buffers. Helped me sometimes to improve management network speeds. Also, SR-IOV might also cause issues. Good readout: https://community.spiceworks.com/topic/ ... erver-2019
FlashMe
Posts: 14
Joined: Wed Aug 24, 2022 8:23 pm

Mon Feb 20, 2023 8:54 pm

Hello Yaroslav,

Yes current Release of iperf3.

No sync is getting much better speeds after disabling rss and deactivating Autotuninglevel. Did some tests today on an 2 node R750 Cluster with mellanox cards and can reproduce it.On Default settings Sync and ISCSI is Limited. After disabling rss and autotuninglevel speed is very fast.

So we will implement those settings on every future Installation
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Mon Feb 20, 2023 10:21 pm

Hi,
thanks for your update. I had problems with iperf3 other day that I did not have with iperf 2.*. I ran into this article https://enterprise-support.nvidia.com/s ... f2--iperf3
FlashMe
Posts: 14
Joined: Wed Aug 24, 2022 8:23 pm

Tue Feb 21, 2023 3:17 pm

Hey,

did some testing.

Same results from iperf2 in comparison to iperf3.

best regards
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Tue Feb 21, 2023 5:32 pm

Got it. Thanks for your update. I just try not to use iperf 3 ever since I read this small notice.
Post Reply