iperf --interval broken in 2.0.2?


Whenever I try to use the --interval option with iperf 2.0.2 (on server
or client side), the output is:


[  4] -1149663107.5--1149663102.5 sec  0.00 Bytes  0.00 bits/sec
[  4] -1149663102.5--1149663097.5 sec  0.00 Bytes  0.00 bits/sec
[  4] -1149663097.5--1149663092.5 sec  0.00 Bytes  0.00 bits/sec
[  4] -1149663092.5--1149663087.5 sec  0.00 Bytes  0.00 bits/sec
[  4] -1149663087.5--1149663082.5 sec  0.00 Bytes  0.00 bits/sec
[  4] -1149663082.5--1149663077.5 sec  0.00 Bytes  0.00 bits/sec
[  4] -1149663077.5--1149663072.5 sec  0.00 Bytes  0.00 bits/sec
[  4] -1149663072.5--1149663067.5 sec  0.00 Bytes  0.00 bits/sec

ad nauseam.

Clearly, this is useless. And it definitely impacts the results. I
assume this is a bug, though not necessarily in iperf. This does not
occur with iperf 1.7.0.

Any ideas?


The environment is Gentoo Linux, with a recent 2.6 kernel, glibc 2.4
(NPTL-only) and gcc 4.1.1.

GNU C Library development release version 2.4, by Roland McGrath et al.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.1.1 (Gentoo 4.1.1).
Compiled on a Linux 2.6.11 system on 2006-06-03.
Available extensions:
        The C stubs add-on version 2.1.2.
        crypt add-on version 2.1 by Michael Glad and others
        GNU Libidn by Simon Josefsson
        GNU libio by Per Bothner
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
        Native POSIX Threads Library by Ulrich Drepper et al
        Support for some architectures added on, not maintained in glibc
core.
        BIND-8.2.3-T5B
Thread-local storage support included.



Dag B.



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