On Sat, 14 Mar 2009, Daniel Stenberg wrote: > SFTP 37MB/s > SCP 40MB/s > > Using libssh2, I don't get above 600KB/s using SCP... It's so silly. There's > clearly something terribly wrong in there.
It was. My test program was stupid so it wrote all received data to stdout, but due it being all binary zeroes I didn't see them! ;-O And writing lots of these zeroes to stdout take a considerable time it seems! Right now I'm at 20MB/s speed for SCP downloads but this code has some minor regression still that I need to fix before I can commit. SFTP is at 12MB/s. The SCP speed is right now roughly twice the speed the exact same app gets with libssh2 1.0. -- / daniel.haxx.se ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ libssh2-devel mailing list libssh2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel