I’m hitting a wall with a dual-port 200G NIC and could really use some help. No matter how I configure the bond, the aggregated throughput tops out at around 200G instead of the expected 400G. It almost looks like only one physical port is carrying traffic while the other sits idle.
Environment
NIC: NVIDIA ConnectX-7 dual-port 200G (NDR200)
Server: GB300 Compute Tray
Bonding: Linux bonding mode 4 (802.3ad / LACP)
Test tools:iperf2 and iperf3
Client command example:
bash
iperf3 -c <server_ip> -P 8 -t 30 -w 4M
I’ve also tried -P 16 and more threads, with basically the same result.
I’m not sure it’s actually possible to reach the rated full-duplex 400G throughput with iperf. No matter what I try, it falls far short. On the other hand, when I measure performance with RDMA, I can easily get over 760 Gb/s. At this point, I suspect the limitation may be iperf itself or the CPU.
It worth checking the bond hash policy on both hosts, set xmit_hash_policy=layer3+4 on the bond.
On the switch, set the port-channel/LAG
load-balance to include L4 ports (src/dst port). /proc/net/bonding/bond0 will confirm what the bond is using now:
You may see both, “Bonding Mode: IEEE 802.3ad Dynamic link aggregation” and “Transmit Hash Policy”.
Most likely in your case:
LACP is up, and both ports are active members of the bond.
All iperf streams have the same src/dst MAC and the same src/dst IP, so with layer2 (or layer2+3) every
stream hashes to the same slave.
On the receive side, the switch’s LAG hash makes the same kind of choice, independently.