[netperf-talk] netperf only tests sending, not receiving packets?

Rick Jones rick.jones2 at hp.com
Fri Nov 23 09:53:05 PST 2007


Tomasz Chmielewski wrote:
> Using netperf requires a couple of steps:
> 
> 1) starting netserver on HOST_A
> 2) starting netperf on HOST_B, pointing it to HOST_A.
> 
> This will test sending packets from HOST_B to HOST_A.
> 
> To test other direction of sending packets, it is necessary to repeat 
> the same procedure, but with hosts changed.
> 
> Now, wouldn't it make sense if a single netperf command (pointed at some 
> netserver) could test:
> - sending
> - receiving
> - sending and receiving at the same time?
> 
> 
> Something like:
> 
> HOST_A# netserver
> 
> 
> HOST_B# netperf --send -f M -H 10.1.1.1
> 
> HOST_B# netperf --receive -f M -H 10.1.1.1
> 
> HOST_B# netperf --send --receive -f M -H 10.1.1.1
> 
> 
> Or am I missing something, and it's possible right now?

You are missing something :)

TCP_MAERTS which is the TCP_STREAM test with "STREAM" backwards will 
have the netperf side receiving data sent by the netserver side.

The ./configure --enable-burst compilation mode which adds a 
test-specific -b option to the TCP_RR test to have multiple transactions 
in flight, which will give the effect of a bidirectional transfer.

More details in the manual.

happy benchmarking,

rick jones


More information about the netperf-talk mailing list