How To Improve Windows 2003 File Server Performance

Article translations Article translations
Article ID: 555041 - View products that this article applies to.
Author: Yuval Sinay MVP
Expand all | Collapse all

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/

Properties

Article ID: 555041 - Last Review: January 2, 2004 - Revision: 1.0
APPLIES TO
  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows Server 2003, Standard Edition
  • Microsoft Windows Server 2003, Web Edition
  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows Server 2003, Datacenter Edition
  • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
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.

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com