Skip to main content
NetApp Knowledge Base

What is the default, minimum, maximum, and recommended value for cifs.tcp_window_size in Data ONTAP 7-Mode?

Last Updated:

Applies to

  • Data ONTAP 8 7-Mode
  • Data ONTAP 8.1 7-Mode
  • Data ONTAP 8.2 7-Mode


Adjusting the CIFS TCP window size might be required while performing performance tuning, since the TCP window size controls the number of TCP messages that can be transmitted between the storage system and the CIFS client at one time. This article describes how to decide the optimal TCP window size and what are the limitations for the TCP window size, both on the storage system end and on the Windows clients.

  • How to view/modify the CIFS TCP window size on the storage system end?
    Run the following command to view/modify the CIFS TCP window size on the storage system operating in Data ONTAP 7-Mode:
    Filer> options cifs.tcp_window_size
    • This bedome effective with a restart of CIFS or when a new name is registered as a NetBIOS alias. If you are not restarting CIFS, only the newly registered names will have the changed window size. When registering a NetBIOS alias, CIFS looks at the controller's registry key options.cifsinternal.aliaswindowsize to get the value to use. This value is updated whenever a NetBIOS alias is created and it uses the then-current value of cifs.tcp_window_size. This registry value is maintained separately from the current value of cifs.tcp_window_size
  • What are the limitations of cifs.tcp_window_size?
    Default value = 17520 bytes
    Minimum value = 1600 bytes
    Maximum value = 8388608 bytes(8M)

Additional Information



NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.