[libssh2] sftp performance

2007-04-30 Thread Peter O'Gorman
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 ar

Re: [libssh2] sftp performance

2007-04-30 Thread James Housley
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

Re: [libssh2] sftp performance

2007-04-30 Thread Peter O'Gorman
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 hav

Re: [libssh2] sftp performance

2007-04-30 Thread James Housley
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 usin

Re: [libssh2] Proposal for Non-blocking changes

2007-04-30 Thread Daniel Stenberg
On Fri, 27 Apr 2007, James Housley wrote: > I am proposing and planning to start working on the following changes, after > discussion and agreement from the other readers of this list. For the list (since James and I already discussed this before he sent his proposal here): I am all for this ap

Re: [libssh2] sftp performance

2007-04-30 Thread Peter O'Gorman
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 u