netperf
(10 May 2012)
2.5.x is sane on Linux (valid RHEL-4.x, RHEL-5.x, and I presume 6.x). (Don't care about Solaris any more.) Available through rpmforge.
Basic run is fine.
The server side is called
netserver.
Sample run between two Gb/s systems on the same Gb/s switch:
# ./netperf -H otteng21
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to otteng21 (10.1.0.157) port 0 AF_INET
Recv Send Send
Socket Socket Message Elapsed
Size Size Size Time Throughput
bytes bytes bytes secs. 10^6bits/sec 87380 16384 16384 10.03 941.26
Other options:
- -t UDP_STREAM run test through UDP instead. Prints out sender and then receiver values so you can see if UDP is getting dropped.
- -i <number> run the test <number> times.
Legacy Information:
(22 April 2005)
http://www.netperf.org/netperf/NetperfPage.htmlAll Platforms
- Remove -DNEED_MAKEFILE_CONFIG from the CFLAGSs=
Solaris 8:
- You might have to change CC= to be gcc.
- Add -lsocket to LIBS=
Solaris 9:
- as for Solaris 8
- Add -lnsl and -lsocket to LIBS=