[netperf-talk] problem connecting to netserver

Rick Jones rick.jones2 at hp.com
Tue Mar 7 09:47:26 PST 2006


Bahadir Balban wrote:
> Hi,
> 
> I am a newbie with netperf. Below is the command I am using and its
> output. I can ping the target from host and vice versa. Also on the
> target, netserver displays the message: "Starting netserver at port
> 12865", and ps aux lists netserver as one of running processes. What
> further action should I take to debug the below problem?
> I am using 2.6.15 kernel on target. The only issue I suspect is that
> the target is running a bit slow (20Mhz)
> 
> Thanks,
> Bahadir
> 
> netperf -d -v -h 10.1.202.155 -t TCP_STREAM -l 20 -- -m 64
> Program name: netperf
> Local send alignment: 8
> Local recv alignment: 8
> Remote send alignment: 8
> Remote recv alignment: 8
> Report local CPU 0
> Report remote CPU 0
> Verbosity: 0
> Debug: 1
> Port: 12865
> Test name: TCP_STREAM
> Test bytes: 0 Test time: 20 Test trans: 0
> Host name: localhost
> 
> installing catcher for all signals
> Could not install signal catcher for sig 9, errno 22
> Could not install signal catcher for sig 19, errno 22
> Could not install signal catcher for sig 65, errno 22
> remotehost is localhost and port 12865
> establish_control: control socket connect failed: Connection refused
> Are you sure there is a netserver running on localhost at port 12865?

Notice how it asked if there was a netserver running on localhost?  That 
implies that it didn't know you wanted the control connection to go to 
10.1.202.155.  I suspect that happened because you used "-h" rather than 
the correct "-H" option.  However, I would have expected the option 
parsing part of netperf to have hit the "-h" and emitted the help text 
and exited.

Anyway, my first suggestion would be to try "-H" rather than "-h" and 
see what you get.

happy benchmarking,

rick jones
> _______________________________________________
> 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