|
SMB+IIS及文件服务器的设置优化
微软官方文档整理!
https://learn.microsoft.com/zh-cn/windows-server/administration/performance-tuning/role/file-server/smb-file-server
https://learn.microsoft.com/zh-cn/windows-server/administration/performance-tuning/role/file-server/
- Windows Registry Editor Version 5.00
- ;SMB+IIS及文件服务器的设置优化
- [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters]
- "EnableAuthenticateUserSharing"=dword:00000000
- "NullSessionPipes"=hex(7):00,00,00,00
- "ServiceDllUnloadOnStop"=dword:00000001
- "autodisconnect"=dword:0000000f
- "enableforcedlogoff"=dword:00000001
- "enablesecuritysignature"=dword:00000000
- "requiresecuritysignature"=dword:00000001
- "restrictnullsessaccess"=dword:00000001
- "AutoShareServer"=dword:00000000
- "AutoShareWks"=dword:00000000
- "Size"=dword:00000003
- "DisableCompression"=dword:00000001
- "MinFreeConnections"=dword:00000032
- "SMB1"=dword:00000001
- "SMB2"=dword:00000001
- "IRPStackSize"=dword:00000020
- "SizReqBuf"=dword:00004000
- "MaxMpxCt"=dword:00002fff
- "MaxMpxCount"=dword:00003fff
- "MaxWorkItems"=dword:0000cfff
- "Lmannounce"=dword:00000000
- "Hidden"=dword:00000000
- "DisableLeasing"=dword:00000001
- "Smb2CreditsMin"=dword:00000512
- "Smb2CreditsMax"=dword:00008192
- "MaxThreadsPerQueue"=dword:00000064
- "AsynchronousCredits"=dword:00000512
- "ConnectionCountPerNetworkInterface"=dword:00000001
- "ConnectionCountPerRssNetworkInterface"=dword:00000004
- "ConnectionCountPerRdmaNetworkInterface"=dword:00000002
- "MaximumConnectionCountPerServer"=dword:00000020
- "DormantDirectoryTimeout"=dword:00000258
- "FileInfoCacheLifetime"=dword:0000000a
- "DirectoryCacheLifetime"=dword:0000000a
- "DirectoryCacheEntrySizeMax"=dword:00000040
- "FileNotFoundCacheLifetime"=dword:00000005
- "CacheFileTimeout"=dword:0000000a
- "DisableBandwidthThrottling"=dword:00000001
- "DisableLargeMtu"=dword:00000000
- "FileInfoCacheEntriesMax"=dword:00008000
- "DirectoryCacheEntriesMax"=dword:00001000
- "FileNotFoundCacheEntriesMax"=dword:00008000
- "MaxCmds"=dword:00008000
- "DormantFileLimit"=dword:00000000
- [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters]
- "MaxCmds"=dword:00008000
- [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InetInfo\Parameters]
- "MaxCachedFileSize"=dword:00080000
- [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Inetinfo\Parameters]
- "DisableMemoryCache"=dword:00000000
- [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Inetinfo\Parameters]
- "DoDirMonitoringForUNC"=dword:00000000
- [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ASP\Parameters]
- "EnableChangeNotificationForUNC"=dword:00000000
- [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Inetinfo\Parameters]
- "FileAttributeCheckThreshold"=dword:00000005
- [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ASP\Parameters]
- "FileMonitoringTimeoutSeconds"=dword:00000030
- [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InetInfo\Parameters]
- "MemCacheSize"=dword:00000100
- [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InetInfo\Parameters]
- "ObjectCacheTTL"=dword:0000003C
复制代码
|
|