How to detect, enable and disable SMBv1, SMBv2, and SMBv3 in Windows | Microsoft Learn
Performance drop during Backup via CIFS protocol
In one of the CFD's we received, Customer is facing performance drop while taking backup to storage domain via CIFS protocol. Customer is taking backup to storage domain using Windows 2019 machine. In the tcpdump we observed SMB2 is enabled where write length is 65KB.
Is there a proven approach/method to configure the SMB2 Write Length to 1MB and TCP window size to 1MB as well on Windows Server 2019?
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.
-
Anonymous
2024-04-15T06:25:26+00:00
2 additional answers
Sort by: Most helpful
-
Anonymous
2024-04-11T09:04:58+00:00 Hello,
Thank you for posting in Microsoft Community forum.
Based on the description, I understand your question is related to performance drop during Backup via CIFS protocol.
You can try below steps to help fix:
- Open Registry Editor, locate HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
- Right-click on the right pane, select New > DWORD (32-bit) Value, and name it Smb2.
Double-click the smb2 DWORD value, set the value data to 1 in hexadecimal format.
- Right-click on the right pane, select New > DWORD (32-bit) Value, and name it FileSizeLimitInBytes or WriteLength.
Double-click the FileSizeLimitInBytes DWORD value, set the value data to 100000 in hexadecimal format.
- Restart the Server to apply the changes.
Have a nice day.
Best Regards,
Molly
-
Anonymous
2024-04-12T11:29:09+00:00 Could you please share microsoft doc link for above approach ?