Hello Wouter,<br><br>I have attached my test scripts which I'm using for testing secure (scp, sftp) and non-secure (ftp) file transfer clients on both Linux and Windows to a Linux server. All of my testing is being run over a dedicated Gigabit Ethernet between the client and server.
<br><br>I find that paramiko will run slower by a factor of 2 or 3 as compared to scp on Linux and pscp on Windows for files that are less then 1 MB. This is quite reasonable for pure python implementation compared to a C or C++ implementation that scp and pscp are. But as I tested file sizes in the 100 MB and 1 GB range, I find that paramiko will run slower by a factor of 20. I'm sure that there is some room for optimization.
<br><br>The testing is controlled by the .cfg file, so you can tailor it to change file sizes and repetitions. The script requires the ConfigObj module which you can get from the Cheese Shop. Other than that, the remaining dependencies should be standard ones.
<br><br>I would really like to use to use paramiko in my application and would if only small files were needed to be transferred.<br><br>Thanks for the help,<br><br>Bill<br><br><div><span class="gmail_quote">On 12/13/06,
<b class="gmail_sendername">Wouter van Heyst</b> <<a href="mailto:larstiq@larstiq.dyndns.org">larstiq@larstiq.dyndns.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, Dec 12, 2006 at 03:25:36PM -0500, Bill Zingler wrote:<br>> All,<br>><br>> I have been doing some benchmarks on Linux for transferring files over SSH.<br>> It appears that paramiko works relatively well for files less than 1 MB, but
<br>> for larger files the transfer time as compared to scp for 100 MB and 1 GB<br>> becomes 20 times longer. Does anyone have any ideas as to why that is?<br><br>Not yet, but in order to get a better grip on it, does that happen for
<br>individual files only, or also if you transfer 100 1MB sized files?<br><br>Wouter van Heyst<br><br><br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.6 (GNU/Linux)<br><br>iQCVAwUBRX/7SenTGucjhaP+AQLQawP+KKcdfJLkaInQ7QrzCpnepKD0y/rO8Qjv
<br>frvIBDLhYtyakeOQbRLWyrGoqxWMz4lI742O7xB/sQ5pRB5s5L1Icbhk8Hzn272s<br>mQT3+J7NzPvkJss+o+nDyyM7ZIFfeH/MVbiUNfFyDRjMlJ/IDj+Fz/h+FE5jpyZ9<br>TreImQ+pRJA=<br>=Vx+I<br>-----END PGP SIGNATURE-----<br><br><br>_______________________________________________
<br>paramiko mailing list<br><a href="mailto:paramiko@lag.net">paramiko@lag.net</a><br><a href="http://www.lag.net/mailman/listinfo/paramiko">http://www.lag.net/mailman/listinfo/paramiko</a><br><br></blockquote></div><br>
<br clear="all"><br>-- <br>Bill Zingler<br>Zingler & Associates, Inc.<br>(443) 822-4857