Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
FIX: Trace Flag -T8002 Treats an Affinity Mask Like a Process Affinity
Article ID: 818769 - View products that this article applies to.
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.
Service pack informationTo 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:
(http://support.microsoft.com/kb/290211/ )How to obtain the latest SQL Server 2000 service pack
Hotfix informationThe 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.
Note Because of file dependencies, the most recent hotfix or feature that contains these files may also contain additional files.
Date Time Version Size File name -------------------------------------------------------------- 26-Feb-2003 03:41 2000.80.777.0 29,244 Dbmslpcn.dl 25-Apr-2003 02:12 786,432 Distmdl.ldf 25-Apr-2003 02:12 2,359,296 Distmdl.mdf 30-Jan-2003 01:55 180 Drop_repl_hotfix.sql 07-Apr-2003 19:15 2000.80.801.0 1,557,052 Dtsui.dll 24-Apr-2003 02:51 747,927 Instdist.sql 30-Jan-2003 01:55 1,402 Inst_repl_hotfix.sql 08-Feb-2003 06:40 2000.80.765.0 90,692 Msgprox.dll 01-Apr-2003 02:07 1,873 Odsole.sql 05-Apr-2003 01:46 2000.80.800.0 62,024 Odsole70.dll 02-Apr-2003 21:48 2000.80.796.0 57,904 Osql.exe 02-Apr-2003 23:15 2000.80.797.0 279,104 Pfutil80.dll 04-Apr-2003 21:27 1,083,467 Replmerg.sql 04-Apr-2003 21:53 2000.80.798.0 221,768 Replprov.dll 08-Feb-2003 06:40 2000.80.765.0 307,784 Replrec.dll 01-Apr-2003 02:23 1,084,828 Replsys.sql 16-Apr-2003 22:39 115,892 Sp3_serv_uni.sql 07-Apr-2003 17:44 25,172 Sqldumper.exe 19-Mar-2003 18:20 2000.80.789.0 28,672 Sqlevn70.rll 24-Apr-2003 05:39 2000.80.811.0 176,696 Sqlmap70.dll 08-Feb-2003 06:40 2000.80.765.0 57,920 Sqlrepss.dll 30-Apr-2003 23:52 2000.80.816.0 7,540,817 Sqlservr.exe 08-Feb-2003 06:40 2000.80.765.0 45,644 Sqlvdi.dll 26-Feb-2003 03:41 2000.80.777.0 29,244 Ssmslpcn.dll 26-Feb-2003 03:41 2000.80.777.0 82,492 Ssnetlib.dll 30-Apr-2003 23:52 2000.80.816.0 45,132 Ums.dll 28-Feb-2003 01:34 2000.80.778.0 98,872 Xpweb70.dll
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.
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:
(http://support.microsoft.com/kb/824684/ )Description of the standard terminology that is used to describe Microsoft software updates
Article ID: 818769 - Last Review: October 25, 2005 - Revision: 3.2