Subject: Re: sftp uploads greatly improved

Re: sftp uploads greatly improved

From: Peter Stuge <>
Date: Sun, 14 Nov 2010 03:27:43 +0100

Mark Riordan wrote:
> put took 13.765 seconds = 4.304 MB/sec
> get took 9.641 seconds = 6.145 MB/sec

These are already pretty nice numbers for libssh2!

> but I haven't tried with over a network with delays.

Loopback on Windows?

> If I remember correctly, the multiple-packets-pending optimization
> hasn't yet been applied to downloads.

And removed from uploads, because it is tricky to keep the API
working like it used to with that optimization. Maybe we should
just introduce new API to get the better performance.

> In the next few days, I'm gonna try downloads over the Internet,
> plus test on Linux and maybe even Solaris instead of Windows.

Looking forward to those test results.

Received on 2010-11-14