Re: Problems compiling iperf 2.0.2 on Mac OS 10.4.2


Hey Andy,

Thank you!!! Everything worked as expected (i.e., ./configure, make, and sudo make install) except that with version 2.0.2 I'm getting WAY slower throughput speeds when testing on the same machine (i.e., -s 127.0.0.1):

Server output:
stec70:~ sandberg$ /usr/local/bin/iperf.old -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 64.0 KByte (default)
------------------------------------------------------------
[  4] local 127.0.0.1 port 5001 connected with 127.0.0.1 port 53897
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  2.55 GBytes  2.19 Gbits/sec

stec70:~ sandberg$ /usr/local/bin/iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 64.0 KByte (default)
------------------------------------------------------------
[  4] local 127.0.0.1 port 5001 connected with 127.0.0.1 port 53898
[  4]  0.0-10.7 sec    117 MBytes  91.1 Mbits/sec

Client output:
stec70:~ sandberg$ /usr/local/bin/iperf.old -c 127.0.0.1
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 5001
TCP window size: 79.7 KByte (default)
------------------------------------------------------------
[  3] local 127.0.0.1 port 53897 connected with 127.0.0.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  2.55 GBytes  2.19 Gbits/sec

stec70:~ sandberg$ /usr/local/bin/iperf -c 127.0.0.1
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 5001
TCP window size: 79.7 KByte (default)
------------------------------------------------------------
[  3] local 127.0.0.1 port 53898 connected with 127.0.0.1 port 5001
[  3]  0.0-10.2 sec    117 MBytes  95.5 Mbits/sec

I'm seeing a pretty consistent 2.19 Gbits/sec when using iperf 1.7.0 (i.e., iperf.old) and 91.1 Mbits/sec when using iperf 2.0.2 (i.e., iperf) on my 12" PowerBook --at-- 1.33GHz w/512MB RAM, running Mac OS 10.4.2. Is there something else I need to do? Or is this some kind of feature?

Any help with this will be greatly appreciated,

Randy

On Sep 9, 2005, at 12:28 PM, McConnell Andrew (CDI) wrote:

This is a known but as-yet-unfixed bug in the posted 2.0.2 source.

Change line 205 in compat/Thread.c to:


            pthread_cancel( thread->mTID );


--Andy




Other Mailing lists | Author Index | Date Index | Subject Index | Thread Index