Increase Buffers with -B Option

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
hroman
Posts: 27
Joined: Thu Aug 13, 2009 10:09 am

Increase Buffers with -B Option

Post by hroman »

Does c:OZ SFTP recognize the -B option to increase the buffer size?

I executed the following: cozsftp -B 262144 -vvv u163284@tso8.whq.ual.com and it doesn't seem like it accepted the -B setting. From the -vvv I see this:

debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 2097152

So it looks like it kept the 32K default.

We are running version: Co:Z cozsftp version: 1.3.2 (5.0p1) 2009-07-14.

Jerry Roman
coz
Posts: 392
Joined: Fri Jul 30, 2004 5:29 pm

Re: Increase Buffers with -B Option

Post by coz »

cozsftp does respect the -B <buffer_size> option. However, there is no explicit debug message associated with the option. To confirm that your buffer size has changed, you can "export COZ_LOG=F" and look for messages like the following:

Code: Select all

ZosUtil[F]: <- zos_write(65535)
The value inside the parentheses should match the requested buffer size.

BTW - you are running a *very* old version of Co:Z. You might want to consider updating.
Post Reply