[paramiko] How to improve paramiko performance

Deepak Rokade smartpawn at gmail.com
Fri Feb 15 06:24:53 PST 2008


Hi All,

With this mail I want to know "how to improve performance of paramiko for
transferring files over the internet through VPN"

*Brief about what we are doing.*

I want to transfer files of size 5MB which are compressed with gzip format
over the VPN. This experiment is being carried out between two cities
located 1000km apart ()

I am using sun soalris 10 sparc machine.

I have developed SFTP client with paramiko 1.7.1 version.

The speed I am getting is 25 seconds per file (of size 5 MB)

*My experiments *

I compared paramiko performance with standard unix SFTP command and the
speed I got with standard SFTP is no more different.

I tried using openssh 4.7 along with HPN patches available at
http://www.psc.edu/networking/projects/hpn-ssh/ still performance was no
better.

Setting TCP tuning parameters such as below (on Linux) also gave no better
improvement for SFTP with HPN.

 /proc/sys/net/core/wmem_max;

            /proc/sys/net/core/rmem_max;

            /proc/sys/net/ipv4/tcp_rmem;

            /proc/sys/net/ipv4/tcp_wmem;

 Does anybody know how the performance can be improved in such case ?


Thanx & Regards,
Deepak Rokade
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lag.net/pipermail/paramiko/attachments/20080215/4efc5afe/attachment.htm 


More information about the paramiko mailing list