[netperf-talk] Problem of Netserver start on SuSe 10.0

Rick Jones rick.jones2 at hp.com
Tue Dec 19 09:39:40 PST 2006


>  >>You need to decide if you want netserver running as a stanalone daemon,
>  >>or if you want it launched via inetd.  You don't do both.  Looks like
>  >>you've configured inetd - just try a netperf test now and see if that 
> works.
> 
> Hello Rick,
> 
> I have one desktop (192.168.1.102) and one laptop (192.168.1.103).  What 
> I want to do is, to setup my desktop as a server and my laptap as a cleint.
> In such this case, which configuration should I configure? inetd or 
> standalone daemon?

Either - netperf will work find just the same.  It is a matter of 
personal preference.


> Could you please tell me more details and how to do that? The manual is 
> not clear for me for a SUSE server side :(
> 
> What I did try is use netperf on desktop 192.168.1.102. It seems that it 
> can send/recieve to itself but not to another machine.
> 
> Case 1: only netperf
> linux:/home/thitinan/netperf-2.4.2/src # netperf
> 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
> Recv   Send    Send
> Socket Socket  Message  Elapsed
> Size   Size    Size     Time     Throughput
> bytes  bytes   bytes    secs.    10^6bits/sec
>  87380  16384  16384    10.00    1434.97
> 
> Case 2: netperf with a local IP address
> linux:/home/thitinan/netperf-2.4.2/src # netperf -L 192.168.1.102
> TCP STREAM TEST from 192.168.1.102 (192.168.1.102) port 0 AF_INET to 
> localhost (127.0.0.1) port 0 AF_INET
> Recv   Send    Send
> Socket Socket  Message  Elapsed
> Size   Size    Size     Time     Throughput
> bytes  bytes   bytes    secs.    10^6bits/sec
>  87380  16384  16384    10.00    1374.53
> 
> Case 3: netperf with a local IP address and a remote IP address
> linux:/home/thitinan/netperf-2.4.2/src # netperf -L 192.168.1.102 -H 
> 192.16.1.103
> establish control: are you sure there is a netserver listening on 
> 192.16.1.103 at port 12865?
> establish_control could not establish the control connection from 
> 192.168.1.102 port 0 address family AF_UNSPEC to 192.16.1.103 port 12865 
> address family AF_UNSPEC

The netperf program communicates with a netserver.  So, if you want to 
run tests _from_ the desktop _to_ the laptop, the laptop needs to be 
running netserver.  If you want to run tests from the laptop to the 
desktop, the desktop runs netserver and the laptop runs netperf.

happy benchmarking,

rick jones

> 
> 
> Thank you very much for your help.
> 
> Best Regards,
> Thitinan
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com



More information about the netperf-talk mailing list