Must it be a file? Else it's easy :) You specifically said "text" file, so I 
don't see the advantage of using a file as input. I needed to do something 
similar, but I had to use a compressed file to test throughput on a WAN with 
compression AIC's in the routers... Fortunately a 500MB file was enough for me. 
I would say large files (if you must use them) with a shell script that loops 
iperf "sessions". You could overlap them so it's continuous, such that if it 
takes 60 secs to xfer the file, start iperf A, wait 55 seconds, then start 
Iperf B, then wait 55 seconds and go to start. This way A and B will always be 
running.

If you're trying to kill a pipe, disable TCP slow start and/or use UDP, but I 
don't recall if UDP can read a file.

Also, perhaps use a large binary file; such as a OS update, or complete OS ISO 
image. Those are nice and big!

From: Paul Sherman [mailto:[email protected]]
Sent: Thursday, June 02, 2011 11:37 PM
To: [email protected] <[email protected]>
Subject: [Iperf-users] Continuous <designatedfile> transmission.. is it 
possible?


Hi

I’m using Iperf (2.0.2) to transmit data over fibre and would like to send a 
designated text file (-f).

I’m sending at 10 and 100 Mbps and would like the link up and active for 30 
min+ with a full pipe.  This requires more data than I can put in a text file.

Question:  I there a way to get Iperf to loop the data file or to create a 
continual send of a file I create?

Thanks

Paul







<font size="1">
<div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'>
</div>
"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."
</font>

<<inline: image001.gif>>

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Iperf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iperf-users

Reply via email to