curl / Mailing Lists / curl-library / Single Mail


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

From: Jan Ehrhardt via curl-library <>
Date: Sun, 02 Sep 2018 13:30:46 +0200

Jan Ehrhardt via curl-library (Sun, 26 Aug 2018 16:03:16 +0200):
>Daniel Jelinski via curl-library (Sun, 26 Aug 2018 09:09:58 +0200):
>>added 100ms: original 310kB/sec, patched 9900kB/sec
>Impressive results!

Do you have a compiled version somewhere?

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. Used cipher in openssh portable sftp:
AES128-CBC. In production we have an old version of the CoreFTP server. On our
dev machine I am going to install the most recent CoreFTP server version.

Received on 2018-09-02