[netperf-talk] Netperf & iPerf

Andrew Gallatin gallatin at cs.duke.edu
Mon Jan 22 10:23:00 PST 2007


Rick Jones writes:
 > 
 > BY default netperf accepts the system's default socket buffer and thus 
 > window size.  Does iperf do that, or have its own default?

I believe that iperf also accepts the defaults.  However, iperf
defaults to an 8KB read/write size, rather than defaulting to reading
and writing the entire socket buffer, like netperf.  This leads to
iperf making many more syscalls than netperf by default.  I think the
8KB default is due to iperf's ttcp roots.  Iperf will also call
gettimeofday around each read/write operation, which can be expensive.


Drew



More information about the netperf-talk mailing list