On Mon, Apr 30, 2007 at 03:38:56PM -0400, James Housley wrote: > > 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?
I am afraid that I have never tried libssh2-0.14, sorry. I'll look if I get the chance. Peter ------------------------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel