Ralph Boehme
2023-Aug-21 13:19 UTC
[Samba] Increase data length for SMB2 write and read requests for Windows 10 clients
On 8/21/23 11:53, Jones Syue ??? via samba wrote:>> OH - that's *really* interesting ! I wonder how it is >> changing the SMB3+ redirector to do this ? > > It looks like applications could do something and give a hint to SMB3+ > redirector, so far not quite sure how to make it, > per process monitor (procmon) could show that write I/O size seems > could be pass from the application layers,well, sure, the application layer drives IO with the IO size it chooses. But when the application layer issues IOs larger then the maximum IO size allowed by SMB (8 MB iirc), the Windows SMB kernel client will segment the larger application segments into smaller ones. -slow --- Meet us at Storage Developer Conference (SDC) On 18th to 21st September 2023 in Fremont, CA More information at https://samba.plus/events Meet us at the conference storage2day 2023! 26th & 27th September, in Frankfurt am Main Event on Storage Networks & Data Management Find more info at https://samba.plus/events Ralph Boehme, Samba Team https://samba.org/ SerNet Samba Team Lead https://sernet.de/en/ SAMBA+ Samba packages https://samba.plus/ SAMBA+ Webinar https://samba.plus/samba-webinars -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20230821/5620eae8/OpenPGP_signature.sig>
Jeremy Allison
2023-Aug-21 20:55 UTC
[Samba] Increase data length for SMB2 write and read requests for Windows 10 clients
On Mon, Aug 21, 2023 at 03:19:59PM +0200, Ralph Boehme wrote:>On 8/21/23 11:53, Jones Syue ??? via samba wrote: >>>OH - that's *really* interesting ! I wonder how it is >>>changing the SMB3+ redirector to do this ? >> >>It looks like applications could do something and give a hint to SMB3+ >>redirector, so far not quite sure how to make it, >>per process monitor (procmon) could show that write I/O size seems >>could be pass from the application layers, > >well, sure, the application layer drives IO with the IO size it >chooses. But when the application layer issues IOs larger then the >maximum IO size allowed by SMB (8 MB iirc), the Windows SMB kernel >client will segment the larger application segments into smaller ones.Fastcopy is doing *something* weird :-). 1. FastCopy (FastCopy.exe), 8MB (need to revise FastCopy default setup) Process Name Operation Path Detail System TCP Send 10.19.7.63:64845 -> 10.19.250.98:445 Length: 8388724, startime: 3459115, endtime: 3459149, seqnum: 0, connid: 0 System TCP Receive 10.19.7.63:64845 -> 10.19.250.98:445 Length: 84, seqnum: 0, connid: 0 FastCopy.exe WriteFile \\10.19.250.98\Public\1GB.img Offset: 92,274,688, Length: 8,388,608, Priority: Normal I wonder if it has it's own SMB client code built in ? Either that or it knows what parameters to change in the SMB redirector to request 8MB IO. I wonder if setting a CreateOptions allows this somehow ?
Seemingly Similar Threads
- Increase data length for SMB2 write and read requests for Windows 10 clients
- Increase data length for SMB2 write and read requests for Windows 10 clients
- Increase data length for SMB2 write and read requests for Windows 10 clients
- Increase data length for SMB2 write and read requests for Windows 10 clients
- Increase data length for SMB2 write and read requests for Windows 10 clients