cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [SFTP] Problem: libSSH2 is slow

From: nithesh salian <nitheshsalian2006_at_gmail.com>
Date: Sun, 3 Jun 2012 13:09:02 +0530

Thank you for the information.

On Thu, May 24, 2012 at 5:46 PM, Jonas Schnelli
<jonas.schnelli_at_include7.ch>wrote:

> Hi
>
> >
> > Any idea if its faster than openssh's sftp?
>
> No. It will normally (depends on your environment) perform slower then the
> openssh's sftp client (with standard libcurl i normally stuck on 800kb/s
> while performing 5.5MB/s with sftp client from openssh).
> Quick, nasty fix for low latency high traffic networks (like 100mbit <
> 20ms ping) is to build curl with CURL_MAX_WRITE_SIZE around 512kb (try
> different variants from 256k to 2MB).
>
> Read also here:
> http://curl.haxx.se/mail/lib-2011-11/0204.html
>
> Nobody (as far as i know) has already taken actions to writes patches for
> libcurl / libssh2 to gain a better sftp performance.
> It's on my list "needs to be done in life", .. but currently not on the
> top. :)
>
>
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-- 
Regards,
Nithesh Gangadhar Salian
.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-06-03