[PATCH} Implement SMB3/SMB3 in smbclient and smbcacls (and generic client library).

Stefan (metze) Metzmacher metze at samba.org
Tue Aug 13 12:35:21 MDT 2013


Am 13.08.2013 20:30, schrieb Jeremy Allison:
> On Tue, Aug 13, 2013 at 08:19:25PM +0200, Stefan (metze) Metzmacher wrote:
>>>
>>> I've tested put and get with a 35M file
>>>
>>> There was a next = chunk; instead of next = chunk->next; ...
>>
>> Ok, using -m SMB3 --send-buffer=0 lets smbclient use all possible credits.
>> With the default send-buffer size of 524288 it just do sequential requests.
> 
> I've been setting 'iosize 1677696'
> to test, which allows 16 simultaneous
> requests. The default send-buffer size
> is too small for SMB2. Maybe we
> should set to zero in smbclient
> if we detect we're on an SMB2+
> connection ?

Instead of using a fixed max of 256 requests we may want to use a
fixed max for the window size too.

Thinking about it a window size of 256 MByte might be a bit large
if the caller passes 0 to cli_pull/cli_push.

I'll think more about it tomorrow...

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130813/56a491b2/attachment.pgp>


More information about the samba-technical mailing list