[netperf-talk] Problem with TCP_RR on Sun: netperf: set_sock_buffer: SO_SNDBUF option: errno 132

Rick Jones rick.jones2 at hp.com
Mon May 19 09:55:27 PDT 2008


Alexander Vinokur wrote:
> Andrew, thank you.
> 
> Do you know something of this WARNING!
> 
> ./netperf -l 300 -H snt5012 -t TCP_RR -i 10,3 -I 99,5 -- -r 4,4 -s 2M -S
> 2M
> 
>  
> 
> WARNING! getaddrinfo returned a protocol other than the
> requested protocol.  Please contact your vendor for
> a fix to this bug in getaddrinfo()

It means that while netperf may have passed getaddrinfo() IPPROTO_TCP or 
whatnot, the getaddrinfo() returns didn't have IPPROTO_TCP set.  As 
such, since netperf uses the getaddrinfo() returns to create sockets and 
such, netperf has had to "fixup" the return values.  Thus the warning 
message.

That particular area of netperf code has a number of such kludges for 
platforms beyond Solaris.  So, fans of Solaris shouldn't feel 
singled-out.  Still, getting getaddrinfo() fixed would be a Good Thing 
regardless of platform.

happy benchmarking,

rick jones


More information about the netperf-talk mailing list