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

netperf

Created by dave. Last edited by dave, 6 years and 123 days ago. Viewed 4,197 times. #8
[diff] [history] [edit] [rdf]
labels
attachments

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.html

All 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=
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:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt