[netperf-talk] Using netperf4

Rick Jones rick.jones2 at hp.com
Thu Jul 5 12:19:30 PDT 2007


Krishna Kumar2 wrote:
> Hi all,
> 
> I just joined the group and hope this has not been asked before, otherwise
> kindly redirect me ...
> 
> I am having problems when running netperf4.
> 
> 1. On the server, netperf4 -L <local IP address> fails with :
>       establish_listen: could not resolve host '10.1.1.41' service netperf4
>     I tried with -p & --L, and now it works. But I am not sure if giving -p
> will work correctly for multi-stream netperf connections.

Is that a netperf4 command-line or a netserver4 command line you are giving?

> 2. On client, how do I run ? How do I specify the server ? Do I need to
> specify the port ?
>     I tried netperf -c default_config.xml -i default_tcp_stream.xml, but it
> failed with
>       "establish_control: could not resolve remote 'localhost' port
> 'netperf4' af 2" (again,
>     it seems to require a port number to be provided).

What happens when you add a netperf4 entry into /etc/services?

> 
> 3. How can I run 10 simultaneous threads ?

Your config file needs ten separate test pairs defined, and the command 
file then needs to initialize them and such.

rick jones

> 
> Can someone also provide their scripts, etc, which will show me how to use
> netperf4 ?
> Any help is really appreciated.
> 
> thanks,
> 
> - KK
> 
> _______________________________________________
> netperf-talk mailing list
> netperf-talk at netperf.org
> http://www.netperf.org/cgi-bin/mailman/listinfo/netperf-talk



More information about the netperf-talk mailing list