Hi Marcus,

double wrote:
> double schrieb:
>> With a buffersize 1024 it works.
>
> Libssh2 is slow with a 1024 byte buffer. If I transfer
> big files (~10GB) from Europe to USA, I  hardly see
> more than 100 kbit/sec. Using "sftp" the transfer-rate
> is about 2 Mbit/sec.

Yes, there is certainly opportunity for performance improvement in
libssh2. Please feel free to dig into the windowing and buffer code.

Some time ago I have also posted links to discussion on the openssh
mailing list about SFTP performance. Should also look into the hpn
patch, and the research behind that.


//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to