I have two servers, SERVER
and CLIENT
and each server has its own onboard 1 GbE ports, and its own NIC with a 10 GbE port. SERVER
and CLIENT
are interconnected on both a 1 GbE switch (administrative traffic) and a 10 GbE switch (data traffic).
I want to test the performance of the 10 gigabit connection specifically using netperf
. How I specify to use the 10 GbE NIC ports instead of the 1 GbE onboard ports for the test?
Right now this is what I'm doing:
root@SERVER:~$ netserver
Starting netserver at port 12865
Starting netserver at hostname 0.0.0.0 port 12865 and family AF_UNSPEC
root@CLIENT:~$ netperf -H SERVER -l 15
netperf
doesn't support selecting the NIC to test, you could consider changing the metric of the route you want to use.