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.

Description of the changes to the mechanism that Windows Server 2003 uses to allocate resources


View products that this article applies to.

Introduction

This article describes changes to the mechanism that Microsoft Windows Server 2003 uses to allocate resources. This article also describes new default registry values in Windows Server 2003.

↑ Back to the top


More information

A special resource task in the Windows service uses the MinFreeConnections and MaxFreeConnections registry settings to preallocate connection objects. Windows Server 2003 automatically calculates these values. The algorithm that is used by Windows Server 2003 to determine these values now considers the amount of physical RAM in Windows Server 2003. The algorithm also considers the Server service optimization settings.

For example, the algorithm considers the following optimization settings:
  • Minimize Memory Used
  • Balance
  • Maximize Throughput for File Sharing
  • Maximize Throughput for Network Applications
By default, you do not have to change the MinFreeConnections and MaxFreeConnections registry settings. However, under certain conditions, the demand for preallocated connection objects may exceed the default numbers that are automatically configured for these registry settings. In this case, event ID 2022 is usually logged in the System event log. Correct any system problem before you consider changing the MinFreeConnections and MaxFreeConnections settings. For more information about event ID 2022, click the following article numbers to view the articles in the Microsoft Knowledge Base:
245077� Computer stops responding with event ID 2022
245080� Receiving multiple instances of event ID 2022
The following list shows the default MinFreeConnections and MaxFreeConnections registry values for each Server service optimization setting in Windows Server 2003.
  • Minimize Memory Used
    • MinFreeConnections = 2
    • MaxFreeConnections = 2
  • Balance
    • MinFreeConnections = 2
    • MaxFreeConnections = 4
The MinFreeConnections and MaxFreeConnections registry values are as follows when the amount of physical RAM in Windows Server 2003 is less than 1 gigabyte (GB):
  • Maximize Throughput for File Sharing
    • MinFreeConnections = 4
    • MaxFreeConnections = 8
  • Maximize Throughput for Network Applications
    • MinFreeConnections = 4
    • MaxFreeConnections = 8
The MinFreeConnections and MaxFreeConnections registry values are as follows when the amount of physical RAM in Windows Server 2003 is between 1 GB and 16 GB:
  • Maximize Throughput for File Sharing
    • MinFreeConnections = 8
    • MaxFreeConnections = 16
  • Maximize Throughput for Network Applications
    • MinFreeConnections = 8
    • MaxFreeConnections = 16
The MinFreeConnections and MaxFreeConnections registry values are as follows when the amount of physical RAM in Windows Server 2003 is more than 16 GB:
  • Maximize Throughput for File Sharing
    • MinFreeConnections = 12
    • MaxFreeConnections = 24
  • Maximize Throughput for Network Applications
    • MinFreeConnections = 12
    • MaxFreeConnections = 24

↑ Back to the top


Keywords: kbhowto, kbinfo, KB909262

↑ Back to the top

Article Info
Article ID : 909262
Revision : 8
Created on : 10/11/2007
Published on : 10/11/2007
Exists online : False
Views : 148