curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: libssh2 optimization [was: Re: Windows users! Help us test upload performance tuning?]

From: Daniel Jeliński via curl-library <curl-library_at_cool.haxx.se>
Date: Sun, 2 Sep 2018 21:07:35 +0200

niedz., 2 wrz 2018 o 13:33 Jan Ehrhardt via curl-library
<curl-library_at_cool.haxx.se> napisał(a):
>
> Do you have a compiled version somewhere?

I'm hacking this on Linux, I don't have a proper testing environment
on my Windows machine.

> I tried to build my own with the 3 patches:
>
> 1. winsock
> 2. oploadbuffer 512 KB
> 3. sftp writeback in libssh2
>
> Dissappointing results for a 274MB sftp upload against a remote CoreFTP server:
> - bash / ssh / lftp: 68 seconds
> - openssh portable sftp: 50 seconds
> - curl triple patched: 734 seconds
> ping of the remote machine: 3-4 ms.

That's like 5MB/s best case, 300KB/s worst case; what's your limiting
factor? Network?

Daniel

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-09-02