Connecting Tech Pros Worldwide Help | Site Map

SQL 2000 Parallelism - is it worth it?

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 23rd, 2005, 09:29 AM
kev@earlshilton.com
Guest
 
Posts: n/a
Default SQL 2000 Parallelism - is it worth it?

Hi,

I have a sql 2000 server with 8 processors, server settings are as
default. I read on Technet that it is good practise to remove the
highest no. processors from being used for parallelism, corresponding
to the no. of NICs in the server. One of our 3rd party developers has
recommended only allowing one processor to be used as there is a
performance hit by the server working out which processor to use. Does
anyone have a definitive answer to this? I suspect he's wrong but I'd
like some hard evidence if possible, thanks.

Kev.


  #2  
Old July 23rd, 2005, 09:29 AM
Stu
Guest
 
Posts: n/a
Default Re: SQL 2000 Parallelism - is it worth it?

I have no hard evidence as to this, but if you are working with
hyperthreaded processors (e.g. Xeons), then parallelism may impact you
since SQL Server will attempt to use a single physical processer as two
virtual processors sharing the same L2 cache. Kevin Kline mentioned
this in his presentation at DevTeach this year.

  #3  
Old July 23rd, 2005, 09:29 AM
Gert-Jan Strik
Guest
 
Posts: n/a
Default Re: SQL 2000 Parallelism - is it worth it?

The whole idea behind parallelism is to finish sooner by using several
CPU's, so the story that it would in fact slow down individual queries
doesn't make any sense. And the parallelism threshold should prevent
this for queries that have a "obvious" query plan.

Also, without parallelism, SQL-Server also has to decide which CPU
should execute the query plan...

Gert-Jan


kev@earlshilton.com wrote:[color=blue]
>
> Hi,
>
> I have a sql 2000 server with 8 processors, server settings are as
> default. I read on Technet that it is good practise to remove the
> highest no. processors from being used for parallelism, corresponding
> to the no. of NICs in the server. One of our 3rd party developers has
> recommended only allowing one processor to be used as there is a
> performance hit by the server working out which processor to use. Does
> anyone have a definitive answer to this? I suspect he's wrong but I'd
> like some hard evidence if possible, thanks.
>
> Kev.[/color]
  #4  
Old July 23rd, 2005, 09:29 AM
Erland Sommarskog
Guest
 
Posts: n/a
Default Re: SQL 2000 Parallelism - is it worth it?

(kev@earlshilton.com) writes:[color=blue]
> I have a sql 2000 server with 8 processors, server settings are as
> default. I read on Technet that it is good practise to remove the
> highest no. processors from being used for parallelism, corresponding
> to the no. of NICs in the server. One of our 3rd party developers has
> recommended only allowing one processor to be used as there is a
> performance hit by the server working out which processor to use. Does
> anyone have a definitive answer to this? I suspect he's wrong but I'd
> like some hard evidence if possible, thanks.[/color]

In fact, it is not uncommon to see SQL Server pick a parallel plan
which is considerably slower than a non-parallel plan. However, I don't
think turning of parallelism entirely is really a good thing. There
are probably cases where you parallelism can help you to speed up
queries as well.

However, if you processors are hyperthreaded, you set "Max degree of
parallelism" to be at most 8, that is the number of physical processors.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.