>> * src/packet.c 1.39 - reading bigger blocks from
>> network. Significantly improves performance due to lesser syscalls
>> (and probably it influences the TCP window changes too). This is a
>> temporary measure while libssh2 is mostly synchronous.
>>
>> I made diff of vers 1.38 and 1.39 of packet.c to see what
>> specific changes are made for the above performance
>> workaround and made the same changes to packet.c of
>> libssh2-0.14 release.
>>
>> But still there was no performance boost up as such while
>> reading the file from remote SFTP server.
I have also changed the LIBSSH2_CHANNEL_WINDOW_DEFAULT to 128kb.
How much data you request with one call to libssh2_sftp_read -function?
You should read at least 32kb, ie. the max packet size.
/jUSSi
-- perl -e '$@=[[0,0112,0,0],[0,0101,0,0], [0,0120,0,0],[0,0110,0,0]];$[=256/8-0x1D; print(chr(@{$_}[+($[+1-1+1)]))for(@{$@});' ____________________________________________________________________________________ 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-develReceived on 2007-06-18