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



The information in this article applies to:

  • Microsoft Windows Server 2003 R2 Standard x64 Edition
  • Microsoft Windows Server 2003 R2 Datacenter x64 Edition
  • Microsoft Windows Server 2003 R2 Enterprise x64 Edition
  • Microsoft Windows Server 2003 R2 Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003 R2 Datacenter Edition (32-Bit x86)
  • Microsoft Windows Server 2003 R2 Enterprise Edition (32-Bit x86)
  • Microsoft Windows Server 2003 SP1, when used with:
    • Microsoft Windows Server 2003, Datacenter Edition for Itanium-based Systems
    • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
    • Microsoft Windows Server 2003, Standard Edition
    • Microsoft Windows Server 2003, Datacenter Edition
    • Microsoft Windows Server 2003, Enterprise Edition
    • Microsoft Windows Server 2003, Web Edition
  • Microsoft Windows Server 2003, Standard x64 Edition
  • Microsoft Windows Server 2003, Datacenter x64 Edition
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows Server 2003, Datacenter Edition for Itanium-based Systems
  • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Windows Server 2003, Standard Edition
  • Microsoft Windows Server 2003, Datacenter Edition
  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows Server 2003, Web Edition

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.

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

Modification Type:MinorLast Reviewed:4/11/2006
Keywords:kbhowto kbinfo KB909262 kbAudITPRO