I just got my second dgx spark and im trying to figure out networking. I asked chatgps and i manged to set it up but im not getting more thabt 55Gbit/s.
Using iperf to test speed and i see errors on lanes.
I’ve run multiple tests. DGX Spark 1 → DGX Spark 2 (both 1-1 and 2-2 ports), DGX Spark 1 → DGX Spark 1, DGX Spark 2 → DGX Spark 2
I get max ~ 55,5 Gbits/sec using iperf.
If you want a quick setup of your cluster network, use https://sparkrun.dev, it’s our community tool for cluster management. There’s a section to configure the connectX-7 network through the wizard:
# Using devices
# Rank 0 Group 0 Pid 23864 on gx10-xxx1 device 0 [000f:01:00] NVIDIA GB10
# Rank 1 Group 0 Pid 9826 on gx10-xxx2 device 0 [000f:01:00] NVIDIA GB10
#
# out-of-place in-place
# size count type redop root time algbw busbw #wrong time algbw busbw #wrong
# (B) (elements) (us) (GB/s) (GB/s) (us) (GB/s) (GB/s)
1073741824 268435456 float sum -1 84996.2 12.63 12.63 0 84811.9 12.66 12.66 0
2147483648 536870912 float sum -1 168078 12.78 12.78 0 168146 12.77 12.77 0
4294967296 1073741824 float sum -1 334706 12.83 12.83 0 333810 12.87 12.87 0
8589934592 2147483648 float sum -1 666428 12.89 12.89 0 665854 12.90 12.90 0
17179869184 4294967296 float sum -1 1330192 12.92 12.92 0 1329798 12.92 12.92 0
# Out of bounds values : 0 OK
# Avg bus bandwidth : 12.8165
#
# Collective test concluded: all_reduce_perf
after firmware update and everything, still getting only half speed and errors are till there in ethtool lanes
i also tried with one path vs both and getting 13 on one path and 6 on another and 12 on both
after setting up everything i tried iperf3 again, getting 110 on one lane and 55 on the second, errors keep growing after each test.
only conclusion is slot/cable problem (probably cable)
If you have PCIe degradation. Please try performing an AC power cycle by shutting off your Spark, disconnecting the power cable, waiting a few minutes, and then plug back in.