Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.comp.os.windows-11    |    Steaming pile of horseshit Windows 11    |    4,852 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 3,722 of 4,852    |
|    Maria Sophia to All    |
|    Re: Would you double check my network op    |
|    13 Jan 26 15:37:15    |
   
   From: mariasophia@comprehension.com   
      
   T wrote:   
   > Hi All, especially Paul,   
   >   
   > Would you double check my File Sharing Network Optimization   
   > .reg for typos and if I did anything stupid.   
   >   
   > This is aimed at a Windows 11 Pro being set up as a file   
   > server, Calendar sharing based on MySQL, and QuickBooks company   
   > file sharing   
   >   
   > Many thanks,   
   > -T   
   >   
   > When we ask for advice, we are usually looking for an accomplice.   
   > -- Charles Varlet de La Grange   
   >   
   >   
   > REGEDIT4   
   > ; TCP/IP and File Sharing Network Optimizations with emphasis on Windows 11   
   >   
   > ; references:   
   > ; ChatGPT: registry settings for Windows 11 for TCP/IP Performance Tuning   
   > ;   
   > https://hstechdocs.helpsystems.com/manuals/globalscape/archive   
   secureserver3/Windows_Registry_keys_for_TCP_IP_Performance_Tuning.htm   
   >   
   >   
   > ; You MUST look up your NIC-GUID with regedit and modify the NIC-GUID below   
   > ; defaults are 0   
   > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Pa   
   ameters\Interfaces\{NIC-GUID}]   
   > "TcpAckFrequency"=dword:00000001   
   > "TCPNoDelay"=dword:00000001   
   >   
   >   
   >   
   > ; Optimize file sharing   
   > ; Default = 0   
   > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session   
   > Manager\Memory Management]   
   > "LargeSystemCache"=dword:00000001   
   >   
   > ; Default = 0   
   > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanSe   
   ver\Parameters]   
   > "Size"=dword:00000003   
   >   
   >   
   > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AFD\Parameters]   
   >   
   > ; increase the default number of pending connections that are supported   
   > by the operating system   
   > "EnableDynamicBacklog"=dword:00000001   
   > "MinimumDynamicBacklog"=dword:00000020   
   > "MaximumDynamicBacklog"=dword:00001000   
   > "DynamicBacklogGrowthDelta"=dword:00000010   
   >   
   >   
   > ; This key determines how often TCP repeats keep-alive transmissions   
   > when no response is received (seconds).   
   > "KeepAliveInterval"=dword:00000001   
   >   
   >   
   >   
   > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]   
   >   
   > ; This key determines how many times TCP retransmits an unacknowledged   
   > data segment on an existing connection (seconds).   
   > "TcpMaxDataRetransmissions"=dword:00000005   
   >   
   >   
   > ; Controls Window Scaling & Timestamps (RFC 1323).   
   > ; 0 Disable both   
   > ; 1 Enable Window Scaling   
   > ; 2 Enable Timestamps   
   > ; 3 Enable both (recommended for high-speed networks)   
   > "Tcp1323Opts"= dword:00000003   
   >   
   >   
   > ; Expands ephemeral port range (important for servers) (a.k.a.SOCKETS)   
   > ; MaxUserPort default to 4000 (sockets)   
   > ; TimesWaitDelay default is 120 (seconds)   
   > ; 30 = 0000001e   
   > "MaxUserPort"=dword:0000fffe   
   > "TcpTimedWaitDelay"=dword:0000001e   
   >   
   >   
   > ; Limit TCP receive window size   
   > ; 65535 (legacy) 0000FFFF   
   > ; 262144 00040000   
   > ; 1048576 00100000   
   > "TcpWindowSize"=dword:00100000   
   >   
   >   
   > ; Offloads TCP processing to NIC (often harmful on modern systems)   
   > ; 0 Disabled (recommended)   
   > ; 1 Enabled   
   > "EnableTCPChimney"=dword:00000000   
   >   
   >   
   > ; Receive Side Scaling (important for multi-core CPUs)   
   > ; 0 Disabled (default)   
   > ; 1 Enabled   
   > "EnableRSS"=dword:00000001   
   >   
   >   
   > ; Receive Segment Coalescing   
   > ; 0 (default)   
   > ; 1   
   > "EnableRsc"=dword:00000001   
   >   
   >   
   > ; Time-To-Live for outbound packets   
   > ; 64 (default) 00000040   
   > ; 128 00000080   
   > "DefaultTTL"=dword:00000080   
      
   As far as I can tell (which may very well be wrong though),   
   you didn't do anything catastrophically wrong from what is above   
   but a few settings may need adjustment for a Win11 environment.   
      
    a. Some no longer have any effect on Windows 10/11   
    b. Others may reduce performance instead of improving it   
    c. A few have minor formatting issues   
    d. While others are redundant with modern NIC offload features   
      
   Recommended to KEEP (these still have effects in Windows 11)   
    a. TcpAckFrequency   
    b. TCPNoDelay   
    c. EnableRSS   
    d. EnableRsc   
    e. MaxUserPort (optional)   
    f. TcpTimedWaitDelay (optional)   
      
   Safe but mostly unnecessary   
    a. LanmanServer Size   
    b. AFD backlog settings   
      
   Ignored or obsolete on Windows 10/11   
    a. LargeSystemCache   
    b. TcpWindowSize   
    c. EnableTCPChimney   
    d. Tcp1323Opts (auto-tuning overrides)   
    e. TcpMaxDataRetransmissions (default is same)   
      
   Notes   
    a. KeepAliveInterval does nothing unless KeepAliveTime is also set.   
    b. One typo in your original file: a line break inside the key path   
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory   
   Management]   
    must be on one line.   
      
   Cleaned-up .reg file (ASCII-safe)   
      
    Windows Registry Editor Version 5.00   
      
    ; NIC-specific settings (replace NIC-GUID)   
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Par   
   meters\Interfaces\{NIC-GUID}]   
    "TcpAckFrequency"=dword:00000001   
    "TCPNoDelay"=dword:00000001   
      
    ; SMB server tuning   
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory   
   Management]   
    "LargeSystemCache"=dword:00000001   
      
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters]   
    "Size"=dword:00000003   
      
    ; AFD backlog (optional)   
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AFD\Parameters]   
    "EnableDynamicBacklog"=dword:00000001   
    "MinimumDynamicBacklog"=dword:00000020   
    "MaximumDynamicBacklog"=dword:00001000   
    "DynamicBacklogGrowthDelta"=dword:00000010   
    "KeepAliveInterval"=dword:00000001   
      
    ; TCP/IP parameters   
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]   
    "TcpMaxDataRetransmissions"=dword:00000005   
    "Tcp1323Opts"=dword:00000003   
    "MaxUserPort"=dword:0000fffe   
    "TcpTimedWaitDelay"=dword:0000001e   
    "TcpWindowSize"=dword:00100000   
    "EnableTCPChimney"=dword:00000000   
    "EnableRSS"=dword:00000001   
    "EnableRsc"=dword:00000001   
    "DefaultTTL"=dword:00000080   
      
   --   
   Just one person paying it forward by helping others who later help me.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca