• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 380
  • Last Modified:

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?
0
vanya1967
Asked:
vanya1967
  • 3
1 Solution
 
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
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now