>> 1 - do updated SCP measurements on current libssh2 CVS code 
>>     and compare to recent openssh tools.
>> 
>> 2 - work on making SCP perform roughly at the same speed as 
>>     openssh - or more. We should do profiling etc to see where 
>>     time is spent and where we should focus our efforts.
>> 
>> 3 - measure SFTP performance (when large buffers are used by 
>>     the client)
>> 
>> 4 - adjust the SFTP API slightly and adapt code to improve 
>>     SFTP performance

Just a thought: 

If the libssh2 sftp API is non-blocking (including packet_require) the
application could use the non-blocking mode to send multiple requests.
It is easy to calculate the required request amount to transfer a file
of certain size and when the application knows how many packets it needs
to get the whole file transferred, it could easily send all the requests
(or a moderate amount, maybe less than 20). As the functions would not
block, the receiving can be done after the desired amount of requests
are sent.

Is the current non-blocking functionality suitable for this approach? If
yes, one could easily implement get/put operations as "atomic" from the
user's point of view and still provide access to single read/write
operations? (I have a Perl interface using libssh2 imitating Perl's
Net::FTP module, this is why I am eager to get performant versions of
get/put ;-)

br,

/jUSSi
-- 
TIMTOWTDI

____________________________________________________________________________________
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to