Subject: Re: [libssh2] How to increase performance of libssh2 SFTP Read/Write

Re: [libssh2] How to increase performance of libssh2 SFTP Read/Write

From: Daniel Stenberg <>
Date: Fri, 15 Jun 2007 11:41:44 +0200 (CEST)

On Thu, 14 Jun 2007, Gutjahr, Troy wrote:

> I'm using libssh2 on Solaris to retrieve files via sftp from a
> telecommunications network element that has (adapted) OpenSSH code embedded
> in it. As far as I know, I can't use scp with this device. Also, my
> requirements explictly force me to use sftp.
> Faster sftp would be a good thing but so far my tests indicate that libssh2
> is fast enough for my purposes, although it eats lots of CPU cycles when I'm
> getting several large files simultaneously in separate threads.

I just wanted to make this clear:

I'm fully agreeing that better SFTP performance is wanted, but since SCP is a
much simpler protocol and is suspected to also suffer from performance
problems it seems suitable to me to start with the more basic stuff and get
that up to speed first, before diving into SFTP. Without a well-performing
SCP, we won't have a well-performing SFTP.

This email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
libssh2-devel mailing list
Received on 2007-06-15