libsmbclient SMB2 block size
Jeremy Allison
jra at samba.org
Sat Aug 2 18:03:51 MDT 2014
On Sat, Aug 02, 2014 at 04:08:43PM +0100, Ross Lagerwall wrote:
> Hi,
>
> While playing around with various block sizes used with libsmbclient, I
> noticed the following behavior:
> - when reading 2MB chunks, libsmbclient would request 64512 bytes and
> pipeline many of them at once.
> - when forced to use SMB2 (against Win7 server), libsmbclient would use
> 65536 byte requests and only send 1 at a time.
>
> The latter behavior is in contrast to what I get when using smbclient
> and forcing SMB2: smbclient requests two 1MiB requests concurrently.
What version of Samba ? The latest smbclient
does pipelines, and I believe the libsmbclient
code uses the same underlying logic.
More information about the samba-technical
mailing list