Historic archive of defunct list bismark-devel@lists.bufferbloat.net
 help / color / mirror / Atom feed
* [Bismark-devel] Alternate test tools
@ 2011-04-04 13:19 Dave Taht
  0 siblings, 0 replies; only message in thread
From: Dave Taht @ 2011-04-04 13:19 UTC (permalink / raw)
  To: bismark-devel

Sri tells me that iperf has issues with socket reuse.

Perhaps nttcp or netperf would be better?

http://linux.die.net/man/1/nttcp

OR

svn co http://www.netperf.org/svn/netperf2/trunk/

These were the experiments I was running with rick jones (of hp) on tcp 
window sizing using netperf:

Dave Täht wrote:
 >>Sadly, I see Linux's dynamic window sizing take the window to 4MB when
 >>128KB would do.  I'm not familiar with the behaviour of the other
 >>stacks'
 >

 > How can I replicate your results?

Grab top-of-trunk netperf with svn from:

http://www.netperf.org/svn/netperf2/trunk

cd to where you put the bits and:

./configure --enable-omni --enable-burst --enable-histogram ...
make

need to do the same on your other system, and launch netserver there.
Then back on the first system something like:

  netperf -t TCP_STREAM -H <remote> -- -O
LSS_SIZE,LSS_SIZE_END,RSR_SIZE,RSR_SIZE_END

and you should see output similar to:

raj@tardy:~/netperf2_trunk$ src/netperf -t TCP_STREAM -H localhost --
-O
LSS_SIZE,LSS_SIZE_END,RSR_SIZE,RSR_SIZE_E>
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to
localhost (127.0.0.1) port 0 AF_INET : histogram
Local       Local       Remote      Remote
Send Socket Send Socket Recv Socket Recv Socket
Size        Size        Size        Size
Initial     Final       Initial     Final
16384       237272      87380       4194304

Replace the "test specific" (in the section after the "--") -O with -o
it will be CSV output.  If you replace it with -k it will be keyval
output.  If you give it a ? as the value it will emit all the choices.
You can put a list of desired output into a file and pass that as the
option to -O, -o or -k

Here is a run between two systems on in Palo Alto, CA and the other in 
Cupertino

raj@tardy:~/netperf2_trunk$ src/netperf -t TCP_STREAM -H 16.89.247.36
-- -k
THROUGHPUT,LSS_SIZE,LSS_SIZE_END,RSR_S>
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to
16.89.247.36 (16.89.247.36) port 0 AF_INET : histogram
THROUGHPUT=189.75
LSS_SIZE=16384
LSS_SIZE_END=4194304
RSR_SIZE=87380
RSR_SIZE_END=4194304

Normally the RTT between the two is O(7ms):

10 packets transmitted, 10 received, 0% packet loss, time 9039ms
rtt min/avg/max/mdev = 6.961/7.053/7.249/0.122 ms


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-04 13:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-04 13:19 [Bismark-devel] Alternate test tools Dave Taht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox