Processor and I/O affinity

In SQL Server 2005, when does manually assigning processor or I/O affinity (in SSMS, server properties) actually improve performance?
vanya1967Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Aneesh RetnakaranDatabase AdministratorCommented:
Use the affinity mask option when multiple SQL Server instances run on consolidated hardware like multiple instances of SQL Server run on a single server.
The affinity mask option is represented as a binary pattern that is expressed by a decimal number. The affinity mask option settings are given below .

First processor only                      1
Second processor only      2
First and second processor only      3
First four processors                     15
First eight processors                     255


0

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
vanya1967Author Commented:
I'm increasing the question value. I don't understand why using the affinity mask option would be useful when consolidating instances of SQL Server onto one server. Why would that help performance?
0
Aneesh RetnakaranDatabase AdministratorCommented:
To carry out multitasking, Microsoft Windows 2000 and Windows Server 2003 sometimes move process threads among different processors. Although efficient from an operating system point of view, this activity can reduce Microsoft SQL Server performance under heavy system loads, as each processor cache is repeatedly reloaded with data. Assigning processors to specific threads can improve performance under these conditions by eliminating processor reloads; such an association between a thread and a processor is called processor affinity.
0
Aneesh RetnakaranDatabase AdministratorCommented:
Hope i answered it correctly.
0
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

From novice to tech pro — start learning today.