Windows file server performance optimization

Merge this into the registry, reboot and enjoy increased performance:


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
“NtfsDisable8dot3NameCreation”=dword:00000001
“NtfsMemoryUsage”=dword:00000002

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
“NumTcbTablePartitions”=dword:00000008

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{INTERFACE NUMBER}]
“TcpAckFrequency”=dword:0000000d

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
“PagedPoolSize”=dword:ffffffff
“LargeSystemCache”=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Executive]
“AdditionalDelayedWorkerThreads”=dword:00000020
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RpcXdr\Parameters]
“DefaultNumberOfWorkerThreads”=dword:00000040

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NfsSvr\Parameters]
“OptimalReads”=dword:00000001
“RdWrHandleLifeTime”=dword:0000000a
“RdWrNfsReadHandlesLifeTime”=dword:0000000a
“RdWrNfsHandleLifeTime”=dword:0000003c
“RdWrThreadSleepTime”=dword:0000003c
“SecureHandleLevel”=dword:00000000
“NfsHandlesCacheSizeLowWatermark”=dword:003d08ce
“NfsHandlesCacheSizeMax”=dword:003d0900
“NtfsHandlesCacheSizeLowWatermark”=dword:000249be
“NtfsHandlesCacheSizeMax”=dword:000249f0
“FileHandleCacheSizeInMB”=dword:3de00000
“LockFileHandleCacheInMemory”=dword:00000001
“MaxIcbNfsReadHandlesCacheSize”=dword:00001f40


 


Also, check the NTFS log size (chkdsk /l) and increase it to 65536 KB in case it isn’t already of that size. That covers Windows CIFS and NFS and was tested on 32-bit Windows 2003 (yet I believe W2K8 and 64-bit platforms also can be optimised this way, will test). This comes from the SPEC file server benchmarking results and configuration notes for HP ProLiant DL585 G2 Storage Server.


Check out other systems and results – some interesting information there.


It is a good idea to check the performance before and after changing the system parameters. You don’t need to purchase SPEC tests to do that – there are free tools available. Stay tuned for some details, or search away (if your OS of choice is Windows, use “sqlio” as the search criteria). 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>