Subject: Re: [libssh2] sftp performance

Re: [libssh2] sftp performance

From: James Housley <jim_at_thehousleys.net>
Date: Mon, 30 Apr 2007 14:58:16 -0400

On Apr 30, 2007, at 10:39 AM, Peter O'Gorman wrote:

> Hi,
> In a quick test I noticed that using libssh2 to sftp a file takes more
> than 20 times longer than using libssh2 to scp the same file from the
> same server. I haven't done any profiling (well, I tried but the
> profiling tools on my mac os x laptop consistently crashed! I should
> check that things are properly installed) but wonder if anyone has a
> clue why this would be the case.

What version of the library are you working with? There is also many
changing being done in the version that is in CVS related to blocking
calls. But this doesn't mean there aren't slowdowns written into the
code.

Jim

--
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
  X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
jeh@FreeBSD.org      http://www.FreeBSD.org     The Power to Serve
jim@TheHousleys.Net  http://www.TheHousleys.net
---------------------------------------------------------------------
Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?
-------------------------------------------------------------------------
This SF.net 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.
http://sourceforge.net/powerbar/db2/
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-04-30