Changing the wait time


Good day,

I'm trying to use iperf on a 2400 baud radio link but the client-server
connection is timing out (before they connect).  Is there any way I can
change the wait time (like with the '-w' option in ping) without tweaking
the software itself?  It may be a good option to have on another rev.

Regards,
Keir

-----Original Message-----
From: Marc.Herbert --at-- ens-lyon.fr [mailto:Marc.Herbert --at-- ens-lyon.fr]
Sent: Wednesday, January 22, 2003 11:17 AM
To: iperf-users --at-- dast.nlanr.net
Subject: new : iperf servers that stay alive



On most systems, iperf servers had a limited life expectancy. I think
you can bring down most TCP iperf servers using such a loop :

n=1; while (./iperf -t 1 -c server.to.crash -P 50 ) ; do  printf "\n\nn
$n\n\n\n"; let n=$n+1; date; done


The heavily commented patch "iperf165_thread.patch"
   <http://marc.herbert.free.fr/TCP/iperf/>
hopefully solves the issue. Any feedback on it is highly welcome
(further test results, congratulations, insults,...) It was tested on
debian woody  linux 2.4.18 and Solaris 2.6.


The few UDP tests I performed so far seem to show that this patch also
prevent UDP servers from crashing, but I would not guarantee it; fully
understanding the behaviour of the iperf threads in case of
unreliability and timeouts is much more complex than in the case of TCP.



Sincerely,

-- 
Marc Herbert
Ph.D Intern
SunLabs Europe / INRIA



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