Subject: Re: [libssh2] How to increase performance of libssh2 SFTP Read/Write

Re: [libssh2] How to increase performance of libssh2 SFTP Read/Write

From: Mononen Jussi <Jussi.Mononen_at_comptel.com>
Date: Fri, 15 Jun 2007 10:08:10 +0300

>> I'm using libssh2 on Solaris to retrieve files via sftp from a
>> telecommunications network element that has (adapted) OpenSSH code
>> embedded in it. As far as I know, I can't use scp with this device.
>> Also, my requirements explictly force me to use sftp.

Also, SCP supports only get/put functionality, where as SFTP provides
much richer interface with moving, deletion, listing of files and so on.

>> Faster sftp would be a good thing but so far my tests indicate that
>> libssh2 is fast enough for my purposes, although it eats lots of CPU
>> cycles when I'm getting several large files simultaneously
>> in separate threads.

I have come across cases where our customers need to transfer thousands
of gigabytes of data during one day across their networks. In these
cases we've had to switch to command line SCP and SFTP in order to meet
their performance requirements.

/jUSSi

--
perl -e 'print for reverse @{[@{[@{[@{
[@{[Hacker,Perl,Another,Just]}]}]}]}]};' 
____________________________________________________________________________________
Comptel Finland is moving to new premises. 
Starting from July 9 our new visiting address is Salmisaarenaukio 1, 00180 Helsinki,
and the postal address is P.O.Box 1000, FI-00181 Helsinki
____________________________________________________________________________________
Disclaimer: This message and any attachments thereto are intended solely for
the addressed recipient(s) and may contain confidential information. If you
are not the intended recipient, please notify the sender by reply e-mail and
delete the e-mail (including any attachments thereto) without producing,
distributing or retaining any copies thereof. Any review, dissemination or
other use of, or taking of any action in reliance upon, this information by
persons or entities other than the intended recipient(s) is prohibited.
Thank you.
-------------------------------------------------------------------------
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-06-15