This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 469417 (SQL Server 8.0)
You may not be able to set the network affinity for a particular instance of SQL Server.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language. The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
Note Because of file dependencies, the most recent hotfix or feature that contains the files may also contain additional files.
With this fix, you can set the incoming Tabular Data Stream (TDS) network affinity for an instance of SQL Server by using the startup parameter -N## (the parameter is case sensitive).
SQL Server uses a high priority thread to handle incoming TDS I/O completion activities. The high priority network thread can be affinitized to a processor by providing the –N## startup parameter. The mask passed to the –N## parameter is used in a SetThreadAffinityMask call to establish the network threads affinity.
By default, the network affinity is not set. However, if you must establish network affinity for the server that is running SQL Server, Microsoft recommends that you set the mask to the last physical processor. When you set the affinity mask to the last physical processor of your computer, all incoming connection activity is automatically affinitized with the last physical processor, and the UMS scheduler associated with the last processor is correctly weighted to allow more network based activities.
For high end systems, you can combine the -N## startup parameter with the –I## command line parameter, the sp_configure stored procedure "affinity mask", and the Virtual Interface Architecture(VIA) card affinity settings to manage the SQL Server resources.
For a SQL Server 2000 Service Pack 3 version of this fix, see the following article in the Microsoft Knowledge Base:
818768 FIX: Cannot Set SQL Server Instance Specific Network Affinity
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
818772 FIX: Cannot Set the Network Affinity for an Instance of SQL Server 2000 Service Pack 3