SQL Server 2000: Negative implications of using Affinity Mask with Hyperthreading

Please explain the negative implications of using Affinity Mask with HyperThreading on a SQL 2000 box.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mark WillsTopic AdvisorCommented:
Well, this is interesting...

hyperthreading is actually not a great bedfellow for SQL - simply because SQL wants to do its own queing and threading, so what we see is the processors reckon that they can do a great job through hyperthreading and SQL server reckoning it is doing a better job, so we see heavy competition in the CPU. The giveaway is context switching and if Context Switches/sec higher than 5000 per physical processor then you have some real problems and should turn off hyperthreading.

However, not all CPU's are the exclusive use of SQL Server, and you can use the Affinity mask to help isolate / control which CPUS are available - leaving one for say the operating system and other apps... In that situation hyperthreading can help on the non-SQL processors.

There is a really good article : http://technet.microsoft.com/en-au/magazine/cc137784.aspx

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2005

From novice to tech pro — start learning today.