[netperf-talk] Netperf network traffic generation rate
Rick Jones
rick.jones2 at hp.com
Fri Aug 19 12:39:19 PDT 2011
On 08/19/2011 05:03 AM, Kirti mahajan wrote:
> I am new to the netperf tool. After a quick scan of the manual I am not
> sure whether netperf can control the rate of packet generation to test
> netowork performance. Like generate 1000 packets of size 64bytes at a
> rate of 2KHz.
While the terminology may not match yours (eg 2KHz) I believe what you
seek is the functionality one gets when one includes
"--enable-intervals" on the ./configure command line:
./configure --enable-intervals ...
That will enable the global '-b <burst size>' and '-w <burst interval>'
options which can be used to pace the rate at which netperf does its
thing. By default, netperf will use the systems interval timer, and so
is constrained to that granularity for the burst interval. If you also
include "--enable-spin" on the ./configure netperf will instead sit and
spin until the interval is reached.
happy benchmarking,
rick jones
More information about the netperf-talk
mailing list