[netperf-talk] problem with netperf

Rick Jones rick.jones2 at hp.com
Tue Jan 25 11:00:37 PST 2011


[for the THIRD time... conversations initiated in netperf-talk should REMAIN in 
netperf-talk]

Md Hedayetul Islam wrote:
> Hi Jones,
> can u tell me that command bywhich i can determind data transffer up and 
> down rate?

If you mean the rate from system A to system B and then the rate from system B 
to system A, then there are two ways with classic netperf2 tests.

1) First run netperf on A and netserver on B. Then run netperf on B and 
netserver on A

or

2) Run a netperf TCP_STREAM test from A to B.  Then run a netperf TCP_MAERTS 
(stream spelled backwards) on A targetting B.

http://www.netperf.org/svn/netperf2/trunk/doc/netperf.html#Using-Netperf-to-Measure-Bulk-Data-Transfer

http://www.netperf.org/svn/netperf2/trunk/doc/netperf.html#TCP_005fSTREAM

http://www.netperf.org/svn/netperf2/trunk/doc/netperf.html#TCP_005fMAERTS

rick jones

> 
> Thanks
> Hedayetul
>  
> 
> On Thu, Jan 20, 2011 at 7:43 PM, Rick Jones <rick.jones2 at hp.com 
> <mailto:rick.jones2 at hp.com>> wrote:
> 
>     [again, please keep the conversation in netperf-talk]
> 
> 
>     Md Hedayetul Islam wrote:
> 
>         Hello Jones,
> 
>         Thanks for your mail.If i want to re ./configure
>         --enable-intervals what should i do? should i do both computer i
>         mean both client and server?
> 
> 
>     The intervals/pacing functionality is strictly on the netperf side,
>     so you don't *have* to do both systems, but it is probably a good
>     habit to do both regardless.
> 
>     I take it this means you tried limiting the socket buffer/window
>     size and that didn't help?  Or that using a fixed quantity of data
>     still failed somehow?
> 
>     happy benchmarking,
> 
>     rick jones
> 
> 
>         thanks
> 
> 
>         On Wed, Jan 19, 2011 at 7:33 PM, Rick Jones <rick.jones2 at hp.com
>         <mailto:rick.jones2 at hp.com> <mailto:rick.jones2 at hp.com
>         <mailto:rick.jones2 at hp.com>>> wrote:
> 
>            [Lets keep the discussion on list please as I suspect it may help
>            others later]
> 
> 
>            Md Hedayetul Islam wrote:
> 
>                Hello Thanks for your mail.
>                Actullay I am going to use netperf to measurement data
>         transfer
>                rate from my nerperf client.
>                I have installed netperf server on my ubuntu server and
>         netperf
>                client on ubuntu client.
>                My netperf client is connected with 3G modem(CDMA) and
>         netserver
>                is another publice ip.
>                I can ping my netserver from netclient.
>                when i using UDP_STREAM through netperf  i am getting few
>                info.but when trying to TCP_STREAM getting that error.
> 
> 
>            I'm going to take a wild guess that with the default socket
>         settings
>            and such, the stack allows netperf to queue-up so much data,
>         it has
>            the netserver's test timer expire before the test is actually
>         over.
> 
>            One way to test this hypothesis is to limit the socket buffer
>         sizes
>            with -s and -S options and disable linux's autotuning of the
>         socket
>            buffer/window.  So, something akin to
> 
>            netperf -p 4555 -H 109.123.82.189 -- -m 2048 -s 32K -S 32K
> 
>            or, since this is a TCP_STREAM test, you could control the
>         test by
>            byte count rather than by time and avoid the netserver timer:
> 
>            netperf -p 4555 -H 109.123.82.189 -l -10M -- -m 2048
> 
>            note the minus in front of the 10M - if you omit it, netperf will
>            try to run for 10 megaseconds (M == 1048576).  Use m if you want
>            powers of 10.
> 
>            If that is not sufficient, it may be necessary to re ./configure
>            with --enable-intervals and ask netperf to pace its send() calls.
> 
>            happy benchmarking,
> 
>            rick jones
> 
> 
>                please help as soon as possible
> 
>                Thanks
>                hedayetul
> 
>                On Tue, Jan 18, 2011 at 8:00 PM, Rick Jones
>         <rick.jones2 at hp.com <mailto:rick.jones2 at hp.com>
>                <mailto:rick.jones2 at hp.com <mailto:rick.jones2 at hp.com>>
>         <mailto:rick.jones2 at hp.com <mailto:rick.jones2 at hp.com>
> 
>                <mailto:rick.jones2 at hp.com <mailto:rick.jones2 at hp.com>>>>
>         wrote:
> 
>                   Md Hedayetul Islam wrote:
> 
>                       I am new in netperf.I just need to data transfer
>         rate from my
>                       netperf client to netserver.
>                       can u please send me that how to do that?
>                       when i use this command got that error.
> 
>                       netperf -p 4555 -H 109.123.82.189 -- -m 2048
>                       TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0
>         AF_INET to
>                       109.123.82.189 (109.123.82.189) port 0 AF_INET
>                       Interrupted system call
>                       netperf: remote error
>                       4oxyfi at test-laptopA:/usr/local/bin/netperf-2.4.5$
> 
> 
> 
>                   We need to know a great deal more about your
>         situation.  What
>                sort
>                   of link joins the two systems?  What sort of systems
>         are the two
>                   systems?  Any particular reason you chose to run
>         netserver on a
>                   different port number for the control connection? Etc
>         etc...
> 
>                   happy benchmarking,
> 
>                   rick jones
> 
> 
> 
> 
> 
> 



More information about the netperf-talk mailing list