COPY_SIZE #define

Nicolas Williams Nicolas.Williams at ubsw.com
Thu Feb 7 02:07:48 EST 2002


NOTE: Your patch to scp.c is incorrect. It only patches the usage()
      function and SCP already has a -B option, so it can't be added
      there, unless the brilliant idea that was mentioned in the scp
      -1/-2 thread of having a generic option (-O?) for passing options
      to the backend is added.

And yes, it's in -current.

Cheers,

Nico


On Tue, Feb 05, 2002 at 11:35:07AM -0500, Michael T. Babcock wrote:
> I noticed the "XXX: what should this be?" w.r.t. COPY_SIZE in 
> sftp-client.c.  I made up the following quick patch to allow a new 
> command-line argument, "-B" (for 'buffer' size) to specify this value.
> 
> I haven't done any strict benchmarking yet, but -B65535 is faster than 
> -B8192 which is much faster than -B16.
> 
> PS again, I am not on this list, so please CC me any replies.
> -- 
> Michael T. Babcock
> CTO, FibreSpeed Ltd.     (Hosting, Security, Consultation, Database, etc)
> http://www.fibrespeed.net/~mbabcock/
-- 
-DISCLAIMER: an automatically appended disclaimer may follow. By posting-
-to a public e-mail mailing list I hereby grant permission to distribute-
-and copy this message.-

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.




More information about the openssh-unix-dev mailing list