Announcement

Collapse
No announcement yet.

#2 Some of my tweaks for SMB1 on XP pro sp3 for better performance

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #2 Some of my tweaks for SMB1 on XP pro sp3 for better performance

    Here are my lastest tunning of the networking for windows xp sp3.
    For in house networking, these are working best for me.
    you may want to change with the TCPNoDelay
    My testing model for speed is on running a terrible program that builds an index file in a very inefficient manor using windows xp as a client and a linux server running samba .
    For xp being a windows server,which I do not need, the setting in lanmanserver likely need to be adjusted.

    Code:
    Windows Registry Editor Version 5.00
    
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}]
    
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders\{59031a47-3f72-44a7-89c5-5595fe6b30ee}]
    
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{2227A280-3AEA-1069-A2DE-08002B30309D}]
    
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
    "NoRecentDocsNetHood"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib]
    "Disable Performance Counters"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters]
    "TCPNoDelay"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters\Security]
    "SecureDSCommunication"=dword:00000000
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Psched]
    "NonBestEffortLimit"=dword:00000000
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AFD\Parameters]
    "DefaultReceiveWindow"=dword:0000ffff
    "DefaultSendWindow"=dword:0000ffff
    "FastSendDatagramThreshold"=dword:000005dc
    "FastCopyReceiveThreshold"=dword:000005dc
    
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters]
    "AutoShareWks"=dword:00000000
    "EnableSecuritySignature"=dword:00000000
    "RequireSecuritySignature"=dword:00000000
    "SizReqBuf"=dword:00001104
    "SizeReqBuf"=dword:00001104
    "Size"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters]
    "EnableSecuritySignature"=dword:00000000
    "DisableByteRangeLockingOnReadOnlyFiles"=dword:00000001
    "DisableBandwidthThrottling"=dword:00000001
    "DirectoryCacheLifetime"=dword:00000000
    "FileInfoCacheLifetime"=dword:00000000
    "FileNotFoundCacheLifetime"=dword:00000000
    "MaxCollectionCount"=dword:00000064
    "MaxThreads"=dword:00000064
    "MaxCmds"=dword:00000064
    "RequireSecuritySignature"=dword:00000000
    "ScavengerTimeLimit"=dword:00000002
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MRxSmb\Parameters]
    "CscEnabled"=dword:00000000
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
    "DefaultTTL"=dword:00000040
    "DefaultWindowSize"=dword:0000ffff
    "DisableTaskOffload"=dword:00000001
    "EnablePMTUBHDetect"=dword:00000000
    "EnablePMTUDiscovery"=dword:00000001
    "GlobalMaxTcpWindowSize"=dword:0003fffc
    "MaxConnectiondelsPerServer"=dword:00000000
    "SackOpts"=dword:00000000
    "Tcp1323Opts"=dword:00000001
    "TcpMaxDupAcks"=dword:00000002
    "TcpWindowSize"=dword:0000ffff
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Performance]
    "Disable Performance Counters"=dword:00000001
    p purvis

  • #2
    You will see SizReqBuf and SizeReqBuf used in the LanmanServer Parameters.
    That is no mistake. That comes from the documentation that I found where either parameter was used at to many different places. So I am just covering the possibility one of them is wrongly used in those documentations. I would think there is no significant cost.
    p purvis

    Comment

    Working...
    X