[netperf-talk] 回复:Re: netperf UDP RR problem

Andrew Gallatin gallatin at cs.duke.edu
Fri Jun 5 10:38:59 PDT 2009


Rick Jones wrote:

> svn co http://www.netperf.org/svn/netperf2/trunk  netperf2_trunk
> 
> and see if you get the same error when you run that on both ends rather than the 
> 2.4.4 bits.

Linux hides its errno definitions in many (9 on RHEL5) files.
I'd do:

% find /usr/include/ -name '*errno*' | xargs exec grep 14
xargs: exec: No such file or directory
<10:29am>asus1/gallatin:~>find /usr/include/ -name '*errno*' | xargs grep 14
/usr/include/asm-generic/errno.h:#define        EALREADY        114 
/* Operation already in progress */
/usr/include/asm-generic/errno-base.h:#define   EFAULT          14 
/* Bad address */


So the "14" is the "Bad Address" quoted in the original message,
and it sounds like something is really wrong.

On my RHEL5 x64 machines, svn works fine:

% build.rhel5>./src/netperf -Hasus2-m -t UDP_RR -l 20 -- -r 128,8192
UDP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 
asus2-m.sw.myri.com (10.0.130.217) port 0 AF_INET
Local /Remote
Socket Size   Request  Resp.   Elapsed  Trans.
Send   Recv   Size     Size    Time     Rate
bytes  Bytes  bytes    bytes   secs.    per sec

126976 126976 128      8192    20.00    20272.35
126976 126976

Cheers,

Drew


More information about the netperf-talk mailing list