www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples

Archive Index This month's Index

Subject: Re: [libssh2] sftp performance

Re: [libssh2] sftp performance

From: James Housley <jim_at_thehousleys.net>
Date: Mon, 30 Apr 2007 15:38:56 -0400

On Apr 30, 2007, at 3:31 PM, Peter O'Gorman wrote:

> On Mon, Apr 30, 2007 at 02:58:16PM -0400, James Housley wrote:
>> 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.
>
> libssh2-0.15-20070426 snapshot.

I know there are changes in that code related to the non-blocking
work in the sftp path. Just out of curiosity, have you compared the
older 0.14 version? Are we better or worse then that?

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
---------------------------------------------------------------------
"Eagles may soar, but weasels don't get sucked into jet engines"
     -- Anon
-------------------------------------------------------------------------
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

the libssh2 team