[netperf-talk] Using netperf4
Rick Jones
rick.jones2 at hp.com
Mon Jul 9 10:43:43 PDT 2007
Krishna Kumar2 wrote:
> Hi Rick,
>
> Thanks for your reply.
>
>
>>>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?
>
> Sorry, I meant 'netserver' command. There is no netserver4 installed, right
> ?
Well, you need to run the netserver which comes with netperf4. While
the change hasn't been made to mainline yet, it will end-up being called
netperf4 and netserver4.
>
>
>>>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?
>
>
> Can I add an entry with any port number ?
I believe so. I tend to use 56821 myself (12865, netperf2's control port
number, backwards).
>
>
>>>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.
>
>
> This is where I am not sure how it should be done. Can you attach the
> config file and the command to run ? Sorry if that is a pain, if so
> I guess you are talking of default_config.xml file.
It is a bunch of cut and paste with any editor of choice. This is one
of the areas in netperf4 to which I hope to see significant improvments.
Also, since this will involve multiple systems, and the "default_mumble"
files are simply replications of the default "loopback" behaviour, the
config file needs a netserver entry for each system in the test. For a
pair of systems being benchmarked that would be two netserver entries.
I suspect one short-term thing which could be done would be to create a
few more example config files :)
rick
>
> I am trying on 8-way PPC64 systems, I guess that should be OK.
>
> thanks,
>
> - KK
More information about the netperf-talk
mailing list