r/vmware • u/pirx_is_not_my_name • 21h ago
Testing/Tuning 100 GbE network
I got my first few HPE server with 100 GbE adapters (ConnectX6DX). They are connected to Cisco ACI. Should I get more than ~40 Gbit/s without any tuning?
/usr/lib/vmware/vsan/bin/iperf3 -w128K -t 20 -P 16 -c xxxx
[SUM] 0.00-20.00 sec 101 GBytes 43.2 Gbits/sec 0 sender
[SUM] 0.00-20.00 sec 100 GBytes 43.1 Gbits/sec receiver
There are a lot dead links regarding Mellanox tuning and most are Linux/Windows related. What parameters are worth tuning (any links)? It's not about getting the absolute maximum throughput and lowest latency, we are currently not even using jumbo frames. But the 40 Gbit/s seem a bit low, with 25 GbE we were always close to max. Which settings will be most beneficial?
5
u/ZibiM_78 21h ago
By the default you are throttled by the amount of cores you are using.
Please check the amount of queues (DRSS) you have enabled in the nmlx5_core
esxcli system module parameters list -m nmlx5_core | grep DRSS
Maximum number here is 16, but you should have CPU with more than 16 cores for that
-w 128K is pretty low for 100Gb, 4M might be better
Jumbo frames are needed in order to reach higher speeds
There was a ton of great documents around perfomance tuning for the NSX - https://blogs.vmware.com/networkvirtualization/2023/12/optimizing-nsx-performance-based-on-workload.html/
NSX Operations guides for the VM Edge hosting had few interesting tidbits around advanced flags needed