FIX: Trace Flag -T8002 Treats an Affinity Mask Like a Process Affinity

Extended support for SQL Server 2005 ended on April 12, 2016

If you are still running SQL Server 2005, you will no longer receive security updates and technical support. We recommend upgrading to SQL Server 2014 and Azure SQL Database to achieve breakthrough performance, maintain security and compliance, and optimize your data platform infrastructure. Learn more about the options for upgrading from SQL Server 2005 to a supported version here.

This article has been archived. It is offered "as is" and will no longer be updated.
SYMPTOMS
This fix introduces a new startup trace flag, –T8002, that allows you to change the meaning of the affinity mask so that it is treated like a process affinity.
RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
290211 How to obtain the latest SQL Server 2000 service pack

Hotfix information

The English version of this hotfix has the file attributes (or later file attributes) 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.
Date         Time   Version            Size    File name--------------------------------------------------------------26-Feb-2003  03:41  2000.80.777.0      29,244  Dbmslpcn.dl25-Apr-2003  02:12                    786,432  Distmdl.ldf25-Apr-2003  02:12                  2,359,296  Distmdl.mdf30-Jan-2003  01:55                        180  Drop_repl_hotfix.sql07-Apr-2003  19:15  2000.80.801.0   1,557,052  Dtsui.dll24-Apr-2003  02:51                    747,927  Instdist.sql30-Jan-2003  01:55                      1,402  Inst_repl_hotfix.sql08-Feb-2003  06:40  2000.80.765.0      90,692  Msgprox.dll01-Apr-2003  02:07                      1,873  Odsole.sql05-Apr-2003  01:46  2000.80.800.0      62,024  Odsole70.dll02-Apr-2003  21:48  2000.80.796.0      57,904  Osql.exe02-Apr-2003  23:15  2000.80.797.0     279,104  Pfutil80.dll04-Apr-2003  21:27                  1,083,467  Replmerg.sql04-Apr-2003  21:53  2000.80.798.0     221,768  Replprov.dll08-Feb-2003  06:40  2000.80.765.0     307,784  Replrec.dll01-Apr-2003  02:23                  1,084,828  Replsys.sql16-Apr-2003  22:39                    115,892  Sp3_serv_uni.sql07-Apr-2003  17:44                     25,172  Sqldumper.exe19-Mar-2003  18:20  2000.80.789.0      28,672  Sqlevn70.rll24-Apr-2003  05:39  2000.80.811.0     176,696  Sqlmap70.dll08-Feb-2003  06:40  2000.80.765.0      57,920  Sqlrepss.dll30-Apr-2003  23:52  2000.80.816.0   7,540,817  Sqlservr.exe08-Feb-2003  06:40  2000.80.765.0      45,644  Sqlvdi.dll26-Feb-2003  03:41  2000.80.777.0      29,244  Ssmslpcn.dll26-Feb-2003  03:41  2000.80.777.0      82,492  Ssnetlib.dll30-Apr-2003  23:52  2000.80.816.0      45,132  Ums.dll28-Feb-2003  01:34  2000.80.778.0      98,872  Xpweb70.dll
Note Because of file dependencies, the most recent hotfix or feature that contains these files may also contain additional files.

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.This problem was first corrected in Microsoft SQL Server 2000 Service Pack 4.
MORE INFORMATION
By default, the affinity mask for SQL Server is set to zero, permitting the SQL Server worker threads to use any available processor. When the affinity mask is set, the SQL Server worker thread is affinitized, and the worker thread can only use one specified processor. The addition of the SQL Server startup trace flag –T8002 treats the affinity mask like a process affinity and invokes the SetThreadAffinityMask function. However, the SQL Server thread affinity is set to all bits supplied in the affinity mask when the trace flag is used.

For example, if the affinity mask is set to 0x3 (processor 0 and 1) and the trace flag –T8002 is not used, half of the worker threads are affinitized to processor 0 and the other half are affinitized to processor 1. However, when the trace flag –T8002 is enabled and the affinity mask is set to 0x3, the worker threads are affinitized to both processors. If you set the trace flag and the affinity mask, you can limit the overall processors that SQL Server uses.
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
Properties

Article ID: 818769 - Last Review: 02/27/2014 21:18:38 - Revision: 3.2

Microsoft SQL Server 2000 Service Pack 3, Microsoft SQL Server 2005 Standard Edition, Microsoft SQL Server 2005 Developer Edition, Microsoft SQL Server 2005 Enterprise Edition, Microsoft SQL Server 2005 Standard X64 Edition, Microsoft SQL Server 2005 Standard Edition for Itanium-based Systems, Microsoft SQL Server 2005 Enterprise X64 Edition, Microsoft SQL Server 2005 Enterprise Edition for Itanium-based Systems, Microsoft SQL Server 2005 Workgroup Edition, Microsoft SQL Server 2008 Standard, Microsoft SQL Server 2008 Standard Edition for Small Business, Microsoft SQL Server 2008 Developer, Microsoft SQL Server 2008 Enterprise, Microsoft SQL Server 2008 Workgroup, Microsoft SQL Server 2008 Web

  • kbnosurvey kbarchive kbhotfixserver kbqfe kbsqlserv2000presp4fix kbfix kbbug KB818769
Feedback