For When You Can't Have The Real Thing
[ start | index | login ]
start > netperf


Created by dave. Last edited by dave, 11 years and 204 days ago. Viewed 5,563 times. #8
[diff] [history] [edit] [rdf]


(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 ( port 0 AF_INET to otteng21 ( 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)


All Platforms

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=
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt