Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How To Improve Windows 2003 File Server Performance


Author: Yuval Sinay MVP

View products that this article applies to.

Tips

Overview and Implementation

Some tests allow us to find out that may be some configuration that would help youTo improve Windows 2003 file server performance.
Although, these configurations may help you, use this modification without testing them
 
First May terminate yours network.
Also, this configuration was testing with only one server in the network, and there no
Knowledgebase what is the effect of multiple servers in yours network.
Please backup the system state and the registry of all the operating systems that you
Intend to change there configuration, before make any change. Also, I dont recommend
to implement this changes on production server.
 
 
 
Windows Server 2003 Tunings
 
              Windows 2003 built 3790 (RTM) that used only for file server in the network:
 
 
Created   HKLM\System\CurrentControlSet\Control\SessionManager\MemoryManagement\PagedPoolSize set to 192,000,000.
            Windows normally calculates the paged and non paged pool memory sizes using complex algorithms based on physical memory size. These settings allow you to override and manually specify values.
Created HKLM\System\CurrentControlSet\Control\FileSystem\NtfsDisable8dot3NameCreation to 1.
 
You can increase NTFS performance if you disable 8.3 name creations.
(Some 16bit programs may have trouble finding Long File Names. Don't set this option if you wish to install Norton NT Utilities.)
 
 
Created HKLM\System\CurrentControlSet\Control\FileSystem\Disablelastaccess and set to 1.
            This will disable the last access information written to each file as it is    accessed. The result is faster hard disk file read-access. 
Created HKLM\System\CurrentControlSet\Services\tcpip\Parameters\NumTcbTablePartitions and set to 8.
 
The value of this entry can be changed to partition the TCP control block (TCB) table to avoid contention. The default is 0x4; the value should be a power of two, that is, 2, 4, 8, 16, 32, and so on. On multiprocessor systems, change the number of partitions to four times the number of processors in your system.
 
Created HKLM\System\CurrentControlSet\Services\tcpip\Parameters\TcpAckFrequency and set to 13.
 
            Frequency of TCP ACK message that send to the other side.
 
   
      
Client Operating System Tunings
 
Windows XP with Service Pack 1:
 
 
Created HKLM\System\CurrentControlSet\Services\tcpip\Parameters\TcpAckFrequency and set to 13.
 
            Frequency of TCP ACK message that send to the other side.
 
 
Created HKLM\System\CurrentControlSet\Services\Lanmanworkstation\Parameters\DisableByteRangeLockingOnReadOnlyFiles set to 1.
 
This change allow the client to work faster with SAMBA server (you don’t need
It to connection with Windows Server that isn’t SAMBA):
 
http://h71000.www7.hp.com/doc/tcpip51/documentation/v51_relnotes_002.html
 
 
Created HKLM\System\CurrentControlSet\Services\Lanmanworkstation\Parameters\DormantFileLimit set to 100.
 
Determines how many files on each share can remain open in the redirector's cache after an application has closed them. If the number of open, cached files on a share exceeds the value of this entry, the system begins to close the cached files.
The Windows redirector keeps files open in the cache after an application has closed the file. This entry prevents cached files from occupying the limited number of places available for open files. By default, LAN Manager servers permit only 60 files from remote clients and 50 files from each client workstation to remain open.
 
HKLM\System\CurrentControlSet\Services\Lanmanworkstation\Parameters\ScavengerTimeLimit set to 100.
 
            http://www.cnaf.infn.it/~ferrari/infn-grid-wp5/task-dg/task2/scavenger-tests-cern.pdf
 
 
After you finish the changes in the server/client, please reboot yours computer to allow this changes to affect yours system.
If  for some reason you want to restore yours original configuration
Before you log in, use "last known good configuration":
 
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/windowsserver2003/proddocs/server/boot_last_good.asp
 
 
References: 
 
 
http://tailorednews.com/MicrosoftSP/NI/articles/tuningasp.doc
 
http://www.mindcraft.com/whitepapers/sm461ad/sm461ad-p2.pdf
 
http://www.nwfusion.com/reviews/2000/0124revtuning.html
 
http://www.synapse.de/regcheck/ger/registry/win-2000/root/hkey_local_machine/system/currentcontrolset/services/tcpip/parameters/
 
http://www.specbench.org/osg/web99/results/res2002q1/web99-20020215-00178.html
 
http://www.microsoft.com/windows2000/docs/tcpip2000.doc
 
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/windows2000serv/reskit/serverop/part2/sopch09.asp
 
http://www.siesystems.com/w2k_registry_tcp.htm
 
http://nms.lcs.mit.edu/talks/tcp-asym/

↑ Back to the top


Community solutions content disclaimer

Microsoft corporation and/or its respective suppliers make no representations about the suitability, reliability, or accuracy of the information and related graphics contained herein. All such information and related graphics are provided "as is" without warranty of any kind. Microsoft and/or its respective suppliers hereby disclaim all warranties and conditions with regard to this information and related graphics, including all implied warranties and conditions of merchantability, fitness for a particular purpose, workmanlike effort, title and non-infringement. You specifically agree that in no event shall Microsoft and/or its suppliers be liable for any direct, indirect, punitive, incidental, special, consequential damages or any damages whatsoever including, without limitation, damages for loss of use, data or profits, arising out of or in any way connected with the use of or inability to use the information and related graphics contained herein, whether based on contract, tort, negligence, strict liability or otherwise, even if Microsoft or any of its suppliers has been advised of the possibility of damages.

↑ Back to the top


Keywords: kbpubtypecca, kbpubtypett, kbpubmvp, kbhowto, KB555041, kbpubtypecca, kbpubtypett, kbpubmvp, kbhowto, KB555041

↑ Back to the top

Article Info
Article ID : 555041
Revision : 1
Created on : 1/2/2004
Published on : 1/2/2004
Exists online : False
Views : 451