Showing posts with label hyperthreading. Show all posts
Showing posts with label hyperthreading. Show all posts

Wednesday, March 7, 2012

Hyperthreading: Negative impact on performance?

A former colleague recently notified me about some some 'benchmark'
testing he'd conducted with SQL Server and Hyperthreading - with some
interesting results. Basically the conclusion he reached was "HT gives
performance increases some of the time but most of the time it really
screws performance and you are better off disabling it.". The results
of his test queries were as follows:
HT turned on, SQL Server using all 4 logical CPUs = 2 mins 41 secs
HT turned off, SQL Server using all 2 CPUs = 21 secs
This pretty much goes against everything i've read about the perfomance
benefits of Hyperthreading, and I was wondering, before I start testing
on our own servers - Has anyone else had similar results (or opposite
for that matter)?
I've encountered issues with parallelism slowing queries down significantly.
If you can, ask your friend to try the same test, with HT turned on, but add
OPTION (MAXDOP 1) to the end of the queries. He should be able to compare
the query plans to determine if parallelism is at fault.
<lovemyalpacas@.gmail.com> wrote in message
news:1115906935.420327.32460@.z14g2000cwz.googlegro ups.com...
>A former colleague recently notified me about some some 'benchmark'
> testing he'd conducted with SQL Server and Hyperthreading - with some
> interesting results. Basically the conclusion he reached was "HT gives
> performance increases some of the time but most of the time it really
> screws performance and you are better off disabling it.". The results
> of his test queries were as follows:
> HT turned on, SQL Server using all 4 logical CPUs = 2 mins 41 secs
> HT turned off, SQL Server using all 2 CPUs = 21 secs
> This pretty much goes against everything i've read about the perfomance
> benefits of Hyperthreading, and I was wondering, before I start testing
> on our own servers - Has anyone else had similar results (or opposite
> for that matter)?
>
|||On 12 May 2005 07:08:55 -0700, lovemyalpacas@.gmail.com wrote:
>A former colleague recently notified me about some some 'benchmark'
>testing he'd conducted with SQL Server and Hyperthreading - with some
>interesting results. Basically the conclusion he reached was "HT gives
>performance increases some of the time but most of the time it really
>screws performance and you are better off disabling it.". The results
>of his test queries were as follows:
>HT turned on, SQL Server using all 4 logical CPUs = 2 mins 41 secs
>HT turned off, SQL Server using all 2 CPUs = 21 secs
>This pretty much goes against everything i've read about the perfomance
>benefits of Hyperthreading, and I was wondering, before I start testing
>on our own servers - Has anyone else had similar results (or opposite
>for that matter)?
Well, first of all, if you run benchmarks on SQLServer and publish the
results, Bill Gates will come to your house in the middle of the night
and, um, personally serve you papers for an injunction for violating
your EULA.
Second, Intel wants to sell you hyperthreading because it's new and
kewl, and you can't believe everything you read.
The problem is that running two logical threads may overload the
processor cache. So for some simple but CPU bound jobs hyperthreading
might be a big win, but for complex jobs that are already memory hogs,
hyperthreading might lose big - you only have to have a few percent
more cache misses to screw up both the threads by big factors.
So what's a boy to do?
Well, I'm going to guess that for SQLServer apps, hyperthreading is
going to hurt at least as often as it helps. Until and unless Intel
is putting humongous cache on these newer chips.
Your mileage may vary.
Josh
|||Whether you get a performance boost from HT or not depends mainly on what
you are doing. The boosts come when two threads use different parts of the
processor at the same time. If the two threads try to do the same type of
action (I/O, calculations etc) then you will most likely get a decrease.
You should almost never set the MAXDOP to greater than the # of physical
procs in the machine. In some cases you may even want to restrict
processing to only the physical processors. But it really depends on the
workload. You can not run one set or series of tests and say this is how it
is. Everyone needs to test under their specific hardware config and
application usage.
Andrew J. Kelly SQL MVP
<lovemyalpacas@.gmail.com> wrote in message
news:1115906935.420327.32460@.z14g2000cwz.googlegro ups.com...
>A former colleague recently notified me about some some 'benchmark'
> testing he'd conducted with SQL Server and Hyperthreading - with some
> interesting results. Basically the conclusion he reached was "HT gives
> performance increases some of the time but most of the time it really
> screws performance and you are better off disabling it.". The results
> of his test queries were as follows:
> HT turned on, SQL Server using all 4 logical CPUs = 2 mins 41 secs
> HT turned off, SQL Server using all 2 CPUs = 21 secs
> This pretty much goes against everything i've read about the perfomance
> benefits of Hyperthreading, and I was wondering, before I start testing
> on our own servers - Has anyone else had similar results (or opposite
> for that matter)?
>
|||Hi
Yesterday at SQL PASS conference in Munich, Gert Drapers (MS Architect)
explained the issues.
The problem with a HT CPU that the 2 simultaneous threads running on the CPU
both contend for the *same* L1, L2 and L3 processor cache. During heavy
processing, you may actually have the 2 clearing each other's cache. This
results in each having to go to main system RAM to work.
So, if you have 2 physical HT processors (looks like 4 to SQL Server and the
OS), set SQL Server to use only 2 processors for parallel query execution.
Server Properties Screen, change the Parallelism setting.
Regards
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
<lovemyalpacas@.gmail.com> wrote in message
news:1115906935.420327.32460@.z14g2000cwz.googlegro ups.com...
>A former colleague recently notified me about some some 'benchmark'
> testing he'd conducted with SQL Server and Hyperthreading - with some
> interesting results. Basically the conclusion he reached was "HT gives
> performance increases some of the time but most of the time it really
> screws performance and you are better off disabling it.". The results
> of his test queries were as follows:
> HT turned on, SQL Server using all 4 logical CPUs = 2 mins 41 secs
> HT turned off, SQL Server using all 2 CPUs = 21 secs
> This pretty much goes against everything i've read about the perfomance
> benefits of Hyperthreading, and I was wondering, before I start testing
> on our own servers - Has anyone else had similar results (or opposite
> for that matter)?
>

Hyperthreading: Negative impact on performance?

A former colleague recently notified me about some some 'benchmark'
testing he'd conducted with SQL Server and Hyperthreading - with some
interesting results. Basically the conclusion he reached was "HT gives
performance increases some of the time but most of the time it really
screws performance and you are better off disabling it.". The results
of his test queries were as follows:
HT turned on, SQL Server using all 4 logical CPUs = 2 mins 41 secs
HT turned off, SQL Server using all 2 CPUs = 21 secs
This pretty much goes against everything i've read about the perfomance
benefits of Hyperthreading, and I was wondering, before I start testing
on our own servers - Has anyone else had similar results (or opposite
for that matter)?I've encountered issues with parallelism slowing queries down significantly.
If you can, ask your friend to try the same test, with HT turned on, but add
OPTION (MAXDOP 1) to the end of the queries. He should be able to compare
the query plans to determine if parallelism is at fault.
<lovemyalpacas@.gmail.com> wrote in message
news:1115906935.420327.32460@.z14g2000cwz.googlegroups.com...
>A former colleague recently notified me about some some 'benchmark'
> testing he'd conducted with SQL Server and Hyperthreading - with some
> interesting results. Basically the conclusion he reached was "HT gives
> performance increases some of the time but most of the time it really
> screws performance and you are better off disabling it.". The results
> of his test queries were as follows:
> HT turned on, SQL Server using all 4 logical CPUs = 2 mins 41 secs
> HT turned off, SQL Server using all 2 CPUs = 21 secs
> This pretty much goes against everything i've read about the perfomance
> benefits of Hyperthreading, and I was wondering, before I start testing
> on our own servers - Has anyone else had similar results (or opposite
> for that matter)?
>|||On 12 May 2005 07:08:55 -0700, lovemyalpacas@.gmail.com wrote:
>A former colleague recently notified me about some some 'benchmark'
>testing he'd conducted with SQL Server and Hyperthreading - with some
>interesting results. Basically the conclusion he reached was "HT gives
>performance increases some of the time but most of the time it really
>screws performance and you are better off disabling it.". The results
>of his test queries were as follows:
>HT turned on, SQL Server using all 4 logical CPUs = 2 mins 41 secs
>HT turned off, SQL Server using all 2 CPUs = 21 secs
>This pretty much goes against everything i've read about the perfomance
>benefits of Hyperthreading, and I was wondering, before I start testing
>on our own servers - Has anyone else had similar results (or opposite
>for that matter)?
Well, first of all, if you run benchmarks on SQLServer and publish the
results, Bill Gates will come to your house in the middle of the night
and, um, personally serve you papers for an injunction for violating
your EULA.
Second, Intel wants to sell you hyperthreading because it's new and
kewl, and you can't believe everything you read.
The problem is that running two logical threads may overload the
processor cache. So for some simple but CPU bound jobs hyperthreading
might be a big win, but for complex jobs that are already memory hogs,
hyperthreading might lose big - you only have to have a few percent
more cache misses to screw up both the threads by big factors.
So what's a boy to do?
Well, I'm going to guess that for SQLServer apps, hyperthreading is
going to hurt at least as often as it helps. Until and unless Intel
is putting humongous cache on these newer chips.
Your mileage may vary.
Josh|||Whether you get a performance boost from HT or not depends mainly on what
you are doing. The boosts come when two threads use different parts of the
processor at the same time. If the two threads try to do the same type of
action (I/O, calculations etc) then you will most likely get a decrease.
You should almost never set the MAXDOP to greater than the # of physical
procs in the machine. In some cases you may even want to restrict
processing to only the physical processors. But it really depends on the
workload. You can not run one set or series of tests and say this is how it
is. Everyone needs to test under their specific hardware config and
application usage.
Andrew J. Kelly SQL MVP
<lovemyalpacas@.gmail.com> wrote in message
news:1115906935.420327.32460@.z14g2000cwz.googlegroups.com...
>A former colleague recently notified me about some some 'benchmark'
> testing he'd conducted with SQL Server and Hyperthreading - with some
> interesting results. Basically the conclusion he reached was "HT gives
> performance increases some of the time but most of the time it really
> screws performance and you are better off disabling it.". The results
> of his test queries were as follows:
> HT turned on, SQL Server using all 4 logical CPUs = 2 mins 41 secs
> HT turned off, SQL Server using all 2 CPUs = 21 secs
> This pretty much goes against everything i've read about the perfomance
> benefits of Hyperthreading, and I was wondering, before I start testing
> on our own servers - Has anyone else had similar results (or opposite
> for that matter)?
>|||Hi
Yesterday at SQL PASS conference in Munich, Gert Drapers (MS Architect)
explained the issues.
The problem with a HT CPU that the 2 simultaneous threads running on the CPU
both contend for the *same* L1, L2 and L3 processor cache. During heavy
processing, you may actually have the 2 clearing each other's cache. This
results in each having to go to main system RAM to work.
So, if you have 2 physical HT processors (looks like 4 to SQL Server and the
OS), set SQL Server to use only 2 processors for parallel query execution.
Server Properties Screen, change the Parallelism setting.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
<lovemyalpacas@.gmail.com> wrote in message
news:1115906935.420327.32460@.z14g2000cwz.googlegroups.com...
>A former colleague recently notified me about some some 'benchmark'
> testing he'd conducted with SQL Server and Hyperthreading - with some
> interesting results. Basically the conclusion he reached was "HT gives
> performance increases some of the time but most of the time it really
> screws performance and you are better off disabling it.". The results
> of his test queries were as follows:
> HT turned on, SQL Server using all 4 logical CPUs = 2 mins 41 secs
> HT turned off, SQL Server using all 2 CPUs = 21 secs
> This pretty much goes against everything i've read about the perfomance
> benefits of Hyperthreading, and I was wondering, before I start testing
> on our own servers - Has anyone else had similar results (or opposite
> for that matter)?
>

Hyperthreading: Negative impact on performance?

A former colleague recently notified me about some some 'benchmark'
testing he'd conducted with SQL Server and Hyperthreading - with some
interesting results. Basically the conclusion he reached was "HT gives
performance increases some of the time but most of the time it really
screws performance and you are better off disabling it.". The results
of his test queries were as follows:
HT turned on, SQL Server using all 4 logical CPUs = 2 mins 41 secs
HT turned off, SQL Server using all 2 CPUs = 21 secs
This pretty much goes against everything i've read about the perfomance
benefits of Hyperthreading, and I was wondering, before I start testing
on our own servers - Has anyone else had similar results (or opposite
for that matter)?I've encountered issues with parallelism slowing queries down significantly.
If you can, ask your friend to try the same test, with HT turned on, but add
OPTION (MAXDOP 1) to the end of the queries. He should be able to compare
the query plans to determine if parallelism is at fault.
<lovemyalpacas@.gmail.com> wrote in message
news:1115906935.420327.32460@.z14g2000cwz.googlegroups.com...
>A former colleague recently notified me about some some 'benchmark'
> testing he'd conducted with SQL Server and Hyperthreading - with some
> interesting results. Basically the conclusion he reached was "HT gives
> performance increases some of the time but most of the time it really
> screws performance and you are better off disabling it.". The results
> of his test queries were as follows:
> HT turned on, SQL Server using all 4 logical CPUs = 2 mins 41 secs
> HT turned off, SQL Server using all 2 CPUs = 21 secs
> This pretty much goes against everything i've read about the perfomance
> benefits of Hyperthreading, and I was wondering, before I start testing
> on our own servers - Has anyone else had similar results (or opposite
> for that matter)?
>|||On 12 May 2005 07:08:55 -0700, lovemyalpacas@.gmail.com wrote:
>A former colleague recently notified me about some some 'benchmark'
>testing he'd conducted with SQL Server and Hyperthreading - with some
>interesting results. Basically the conclusion he reached was "HT gives
>performance increases some of the time but most of the time it really
>screws performance and you are better off disabling it.". The results
>of his test queries were as follows:
>HT turned on, SQL Server using all 4 logical CPUs = 2 mins 41 secs
>HT turned off, SQL Server using all 2 CPUs = 21 secs
>This pretty much goes against everything i've read about the perfomance
>benefits of Hyperthreading, and I was wondering, before I start testing
>on our own servers - Has anyone else had similar results (or opposite
>for that matter)?
Well, first of all, if you run benchmarks on SQLServer and publish the
results, Bill Gates will come to your house in the middle of the night
and, um, personally serve you papers for an injunction for violating
your EULA.
Second, Intel wants to sell you hyperthreading because it's new and
kewl, and you can't believe everything you read.
The problem is that running two logical threads may overload the
processor cache. So for some simple but CPU bound jobs hyperthreading
might be a big win, but for complex jobs that are already memory hogs,
hyperthreading might lose big - you only have to have a few percent
more cache misses to screw up both the threads by big factors.
So what's a boy to do?
Well, I'm going to guess that for SQLServer apps, hyperthreading is
going to hurt at least as often as it helps. Until and unless Intel
is putting humongous cache on these newer chips.
Your mileage may vary.
Josh|||Whether you get a performance boost from HT or not depends mainly on what
you are doing. The boosts come when two threads use different parts of the
processor at the same time. If the two threads try to do the same type of
action (I/O, calculations etc) then you will most likely get a decrease.
You should almost never set the MAXDOP to greater than the # of physical
procs in the machine. In some cases you may even want to restrict
processing to only the physical processors. But it really depends on the
workload. You can not run one set or series of tests and say this is how it
is. Everyone needs to test under their specific hardware config and
application usage.
--
Andrew J. Kelly SQL MVP
<lovemyalpacas@.gmail.com> wrote in message
news:1115906935.420327.32460@.z14g2000cwz.googlegroups.com...
>A former colleague recently notified me about some some 'benchmark'
> testing he'd conducted with SQL Server and Hyperthreading - with some
> interesting results. Basically the conclusion he reached was "HT gives
> performance increases some of the time but most of the time it really
> screws performance and you are better off disabling it.". The results
> of his test queries were as follows:
> HT turned on, SQL Server using all 4 logical CPUs = 2 mins 41 secs
> HT turned off, SQL Server using all 2 CPUs = 21 secs
> This pretty much goes against everything i've read about the perfomance
> benefits of Hyperthreading, and I was wondering, before I start testing
> on our own servers - Has anyone else had similar results (or opposite
> for that matter)?
>|||Hi
Yesterday at SQL PASS conference in Munich, Gert Drapers (MS Architect)
explained the issues.
The problem with a HT CPU that the 2 simultaneous threads running on the CPU
both contend for the *same* L1, L2 and L3 processor cache. During heavy
processing, you may actually have the 2 clearing each other's cache. This
results in each having to go to main system RAM to work.
So, if you have 2 physical HT processors (looks like 4 to SQL Server and the
OS), set SQL Server to use only 2 processors for parallel query execution.
Server Properties Screen, change the Parallelism setting.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
<lovemyalpacas@.gmail.com> wrote in message
news:1115906935.420327.32460@.z14g2000cwz.googlegroups.com...
>A former colleague recently notified me about some some 'benchmark'
> testing he'd conducted with SQL Server and Hyperthreading - with some
> interesting results. Basically the conclusion he reached was "HT gives
> performance increases some of the time but most of the time it really
> screws performance and you are better off disabling it.". The results
> of his test queries were as follows:
> HT turned on, SQL Server using all 4 logical CPUs = 2 mins 41 secs
> HT turned off, SQL Server using all 2 CPUs = 21 secs
> This pretty much goes against everything i've read about the perfomance
> benefits of Hyperthreading, and I was wondering, before I start testing
> on our own servers - Has anyone else had similar results (or opposite
> for that matter)?
>

HyperThreading with SQL Server 2000

Hi:

I have a server with 4 processors with hyperthreading, so my Windows Server 2003 Enterprise Edition see 8 processors. I have installed SQL Server 2000 Enterprise Edition and see 8 processors. The question is : if i install SQL Server 2000 Standard Edition, how many processors see and use 4 or 8 ?

I know that i have to license only 4 processors according to the Microsoft License, but,really, how many processors see and use?.sqlserver will see all logical processsors (i.e. 8) but you should limit the paralellism to only to 4 (physical) to avoid possible internal para blocking (i.e. max degree of paralellism).

Leaving HT on is a good thing but it's useless to allow all 8 schedulers to work on a single query.|||Why did you enable hyper-threading?

Even M$ admits that you probably are better off w/out it|||Because my server have this property by default then the operating system use this, i did think that use that was better for perfomance...i'm confuse. :confused:|||Rob is an MVP and does a lot of sql server work

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=55887

Also, it's a lot of excess for a 10-20% (10 more likely) Perf gain...Plus you have a quad...I don't even think they list a quad

http://support.microsoft.com/default.aspx/kb/322385|||Please take a look at Kevin's article , Bare Metal Tuning (will require sqlmag sub to access the article).
http://www.windowsitpro.com/SQLServer/Article/ArticleID/46492/SQLServer_46492.html

In general, HT does give a boost in SQL perf (20-30% gain according to the TPC-C he and a Performance Engr from HP did). If you have an app that pushes L1/L2 cache heavily, turning off HT would only then be a good idea.

Hyperthreading SQL Server 7 - HELP!

Could you clarify the following.
We are looking to buy a quad xeon box (ie 8 virtual processors). From
reading MS documentation it looks like W2K Server won't cut it - we
will need to move to W2K Advanced Server, correct?
Secondly, will Sql Server 7 support 8 virtual processors under such a
scenario?
Thirdly, based on our proposed box 4 x 2.0 GHz Xeon + 2 Gb RAM - for
more performance would you increase the processor speed (eg to 2.5GHz)
or add more RAM (eg to 4 Gb, or more)?
Many Thanks,
StewartI think win2k server ONLY supports 2 physical procs, so you'll neet Advanced
Server...I think you'll also need sql 7 Enterprise to support 4 procs...
Please make sure SQL 7 Enterprise will run on W2k Advanced Server... ( I
think it will, but be safe and double check..)
"Stewart" <windsurfin_stew@.yahoo.com.au> wrote in message
news:9373ee00.0308112138.1cb2f916@.posting.google.com...
> Could you clarify the following.
> We are looking to buy a quad xeon box (ie 8 virtual processors). From
> reading MS documentation it looks like W2K Server won't cut it - we
> will need to move to W2K Advanced Server, correct?
> Secondly, will Sql Server 7 support 8 virtual processors under such a
> scenario?
> Thirdly, based on our proposed box 4 x 2.0 GHz Xeon + 2 Gb RAM - for
> more performance would you increase the processor speed (eg to 2.5GHz)
> or add more RAM (eg to 4 Gb, or more)?
> Many Thanks,
> Stewart|||Win 2K server supports 4 Procs.
Here is a good doc on Microsoft , Win2K and hyperthreading
http://www.microsoft.com/windows2000/docs/hyperthreading.doc
--
--
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org
"Wayne Snyder" <wsnyder@.computeredservices.com> wrote in message
news:ue9wXLLYDHA.1640@.TK2MSFTNGP10.phx.gbl...
> I think win2k server ONLY supports 2 physical procs, so you'll neet
Advanced
> Server...I think you'll also need sql 7 Enterprise to support 4 procs...
> Please make sure SQL 7 Enterprise will run on W2k Advanced Server... ( I
> think it will, but be safe and double check..)
> "Stewart" <windsurfin_stew@.yahoo.com.au> wrote in message
> news:9373ee00.0308112138.1cb2f916@.posting.google.com...
> > Could you clarify the following.
> >
> > We are looking to buy a quad xeon box (ie 8 virtual processors). From
> > reading MS documentation it looks like W2K Server won't cut it - we
> > will need to move to W2K Advanced Server, correct?
> >
> > Secondly, will Sql Server 7 support 8 virtual processors under such a
> > scenario?
> >
> > Thirdly, based on our proposed box 4 x 2.0 GHz Xeon + 2 Gb RAM - for
> > more performance would you increase the processor speed (eg to 2.5GHz)
> > or add more RAM (eg to 4 Gb, or more)?
> >
> > Many Thanks,
> >
> > Stewart
>|||As for your performance question. You will definitely buy more power by
adding memory instead of CPU here. Go with 4GB RAM.
"Allan Mitchell" <allan@.no-spam.sqldts.com> wrote in message
news:e3GbgjLYDHA.1280@.tk2msftngp13.phx.gbl...
> Win 2K server supports 4 Procs.
> Here is a good doc on Microsoft , Win2K and hyperthreading
> http://www.microsoft.com/windows2000/docs/hyperthreading.doc
> --
> --
> Allan Mitchell (Microsoft SQL Server MVP)
> MCSE,MCDBA
> www.SQLDTS.com
> I support PASS - the definitive, global community
> for SQL Server professionals - http://www.sqlpass.org
>
> "Wayne Snyder" <wsnyder@.computeredservices.com> wrote in message
> news:ue9wXLLYDHA.1640@.TK2MSFTNGP10.phx.gbl...
> > I think win2k server ONLY supports 2 physical procs, so you'll neet
> Advanced
> > Server...I think you'll also need sql 7 Enterprise to support 4
procs...
> > Please make sure SQL 7 Enterprise will run on W2k Advanced Server... ( I
> > think it will, but be safe and double check..)
> > "Stewart" <windsurfin_stew@.yahoo.com.au> wrote in message
> > news:9373ee00.0308112138.1cb2f916@.posting.google.com...
> > > Could you clarify the following.
> > >
> > > We are looking to buy a quad xeon box (ie 8 virtual processors). From
> > > reading MS documentation it looks like W2K Server won't cut it - we
> > > will need to move to W2K Advanced Server, correct?
> > >
> > > Secondly, will Sql Server 7 support 8 virtual processors under such a
> > > scenario?
> > >
> > > Thirdly, based on our proposed box 4 x 2.0 GHz Xeon + 2 Gb RAM - for
> > > more performance would you increase the processor speed (eg to 2.5GHz)
> > > or add more RAM (eg to 4 Gb, or more)?
> > >
> > > Many Thanks,
> > >
> > > Stewart
> >
> >
>|||SQL Server 7.0 Standard Edition will only support 4 processors, and it can't
tell the difference between physical and logical processors. So, if you
want it to use all 8 logical processors on your proposed configuration
you'll want to purchase Enterprise Edition. In addition, 2GB of memory is
marginal for this sized configuration if you are really worried about
maximum performance. So you'll want more memory and Enterprise Edition to
support that additional memory. With 7.0 the best you can do for memory is
the /3GB switch. So the maximum useful memory on the system is going to be
4GB.
An alternative is to stick with Standard Edition and just have it use one
logical processor on each physical processor. Background tasks (Windows
processes, SQL Agent, etc.) will make some use of the additional logical
processors. Keep in mind that the additional logical processors don't
double system performance anyway, most of the data I've heard suggests
they'll give you about a 20% boost. And if you make heavy use of parallel
query then they might actually lead to some pathological conditions that
degrade performance. Finally, with Standard Edition you'd still be limited
to 2GB of memory, which in the long run is your most likely bottleneck.
--
Hal Berenson, SQL Server MVP
True Mountain Group LLC
"Stewart" <windsurfin_stew@.yahoo.com.au> wrote in message
news:9373ee00.0308112138.1cb2f916@.posting.google.com...
> Could you clarify the following.
> We are looking to buy a quad xeon box (ie 8 virtual processors). From
> reading MS documentation it looks like W2K Server won't cut it - we
> will need to move to W2K Advanced Server, correct?
> Secondly, will Sql Server 7 support 8 virtual processors under such a
> scenario?
> Thirdly, based on our proposed box 4 x 2.0 GHz Xeon + 2 Gb RAM - for
> more performance would you increase the processor speed (eg to 2.5GHz)
> or add more RAM (eg to 4 Gb, or more)?
> Many Thanks,
> Stewart

Hyperthreading killing performance of simple query?

We have a new server, 4 physical dual core processors, with hyperthreading,
so it shows up as 16 logical processors.
A simple query joining 3 tables, a distinct, an order by, with maxdop set to
0, takes over 2 seconds. With maxdop set to 1, it takes 200 milliseconds.
setting maxdop between 1 and 15, pretty linear time progression.
Does this sound sane? Is there some magic matrix where under load a higher
maxdop will result in this simple query running faster than where there is
no load (the current case)
Thanks in advance!
Derrick
Derrick,
It is true: Parallelism does not alway help. In fact, for some queries it
may make them perform abysmally.
Although I do not do this personally, several posters recommend setting an
OLTP server to a maximum degree of parallelism of 1. They indicate good
success and few discernable problems because of the setting.
I do follow the guideline to limit the server's maximum degree of
parallelism to the number of physical chips, which in your case would be 4.
Then, if a query is troubled we can specifically run it at MAXDOP 1.
FWIW,
RLF
"Derrick" <derrick1298@.excite.com> wrote in message
news:%23E%23LO250HHA.5644@.TK2MSFTNGP05.phx.gbl...
> We have a new server, 4 physical dual core processors, with
> hyperthreading, so it shows up as 16 logical processors.
> A simple query joining 3 tables, a distinct, an order by, with maxdop set
> to 0, takes over 2 seconds. With maxdop set to 1, it takes 200
> milliseconds. setting maxdop between 1 and 15, pretty linear time
> progression.
> Does this sound sane? Is there some magic matrix where under load a
> higher maxdop will result in this simple query running faster than where
> there is no load (the current case)
> Thanks in advance!
> Derrick
>
|||Russell,
Thanks for the info, one more q, so would you reccomend hyperthreading be
enabled, or disabled?
We ran tests both ways and turning hyperthreading off does not seem the way
to go based on our results, does that match up with what you have seen/read?
Thanks again,
Derrick
"Russell Fields" <russellfields@.nomail.com> wrote in message
news:eJddSQ60HHA.3788@.TK2MSFTNGP02.phx.gbl...
> Derrick,
> It is true: Parallelism does not alway help. In fact, for some queries it
> may make them perform abysmally.
> Although I do not do this personally, several posters recommend setting an
> OLTP server to a maximum degree of parallelism of 1. They indicate good
> success and few discernable problems because of the setting.
> I do follow the guideline to limit the server's maximum degree of
> parallelism to the number of physical chips, which in your case would be
> 4. Then, if a query is troubled we can specifically run it at MAXDOP 1.
> FWIW,
> RLF
> "Derrick" <derrick1298@.excite.com> wrote in message
> news:%23E%23LO250HHA.5644@.TK2MSFTNGP05.phx.gbl...
>
|||Derrick,
Lara Rubbelke made these comments:
http://blogs.digineer.com/blogs/larar/archive/2006/11/13/maximum-degree-of-parallelism-and-hyperthreading.aspx
He links to Slava Ok's
http://blogs.msdn.com/slavao/archive/2005/11/12/492119.aspx
Their bottom seems to be, do not enable hyperthreading unless you have
proved it will help you.
RLF
"Derrick" <derrick1298@.excite.com> wrote in message
news:u1F0WU60HHA.464@.TK2MSFTNGP02.phx.gbl...
> Russell,
> Thanks for the info, one more q, so would you reccomend hyperthreading be
> enabled, or disabled?
> We ran tests both ways and turning hyperthreading off does not seem the
> way to go based on our results, does that match up with what you have
> seen/read?
> Thanks again,
> Derrick
>
> "Russell Fields" <russellfields@.nomail.com> wrote in message
> news:eJddSQ60HHA.3788@.TK2MSFTNGP02.phx.gbl...
>

Hyperthreading killing performance of simple query?

We have a new server, 4 physical dual core processors, with hyperthreading,
so it shows up as 16 logical processors.
A simple query joining 3 tables, a distinct, an order by, with maxdop set to
0, takes over 2 seconds. With maxdop set to 1, it takes 200 milliseconds.
setting maxdop between 1 and 15, pretty linear time progression.
Does this sound sane? Is there some magic matrix where under load a higher
maxdop will result in this simple query running faster than where there is
no load (the current case)
Thanks in advance!
DerrickDerrick,
It is true: Parallelism does not alway help. In fact, for some queries it
may make them perform abysmally.
Although I do not do this personally, several posters recommend setting an
OLTP server to a maximum degree of parallelism of 1. They indicate good
success and few discernable problems because of the setting.
I do follow the guideline to limit the server's maximum degree of
parallelism to the number of physical chips, which in your case would be 4.
Then, if a query is troubled we can specifically run it at MAXDOP 1.
FWIW,
RLF
"Derrick" <derrick1298@.excite.com> wrote in message
news:%23E%23LO250HHA.5644@.TK2MSFTNGP05.phx.gbl...
> We have a new server, 4 physical dual core processors, with
> hyperthreading, so it shows up as 16 logical processors.
> A simple query joining 3 tables, a distinct, an order by, with maxdop set
> to 0, takes over 2 seconds. With maxdop set to 1, it takes 200
> milliseconds. setting maxdop between 1 and 15, pretty linear time
> progression.
> Does this sound sane? Is there some magic matrix where under load a
> higher maxdop will result in this simple query running faster than where
> there is no load (the current case)
> Thanks in advance!
> Derrick
>|||Russell,
Thanks for the info, one more q, so would you reccomend hyperthreading be
enabled, or disabled?
We ran tests both ways and turning hyperthreading off does not seem the way
to go based on our results, does that match up with what you have seen/read?
Thanks again,
Derrick
"Russell Fields" <russellfields@.nomail.com> wrote in message
news:eJddSQ60HHA.3788@.TK2MSFTNGP02.phx.gbl...
> Derrick,
> It is true: Parallelism does not alway help. In fact, for some queries it
> may make them perform abysmally.
> Although I do not do this personally, several posters recommend setting an
> OLTP server to a maximum degree of parallelism of 1. They indicate good
> success and few discernable problems because of the setting.
> I do follow the guideline to limit the server's maximum degree of
> parallelism to the number of physical chips, which in your case would be
> 4. Then, if a query is troubled we can specifically run it at MAXDOP 1.
> FWIW,
> RLF
> "Derrick" <derrick1298@.excite.com> wrote in message
> news:%23E%23LO250HHA.5644@.TK2MSFTNGP05.phx.gbl...
>> We have a new server, 4 physical dual core processors, with
>> hyperthreading, so it shows up as 16 logical processors.
>> A simple query joining 3 tables, a distinct, an order by, with maxdop set
>> to 0, takes over 2 seconds. With maxdop set to 1, it takes 200
>> milliseconds. setting maxdop between 1 and 15, pretty linear time
>> progression.
>> Does this sound sane? Is there some magic matrix where under load a
>> higher maxdop will result in this simple query running faster than where
>> there is no load (the current case)
>> Thanks in advance!
>> Derrick
>|||Derrick,
Lara Rubbelke made these comments:
http://blogs.digineer.com/blogs/larar/archive/2006/11/13/maximum-degree-of-parallelism-and-hyperthreading.aspx
He links to Slava Ok's
http://blogs.msdn.com/slavao/archive/2005/11/12/492119.aspx
Their bottom seems to be, do not enable hyperthreading unless you have
proved it will help you.
RLF
"Derrick" <derrick1298@.excite.com> wrote in message
news:u1F0WU60HHA.464@.TK2MSFTNGP02.phx.gbl...
> Russell,
> Thanks for the info, one more q, so would you reccomend hyperthreading be
> enabled, or disabled?
> We ran tests both ways and turning hyperthreading off does not seem the
> way to go based on our results, does that match up with what you have
> seen/read?
> Thanks again,
> Derrick
>
> "Russell Fields" <russellfields@.nomail.com> wrote in message
> news:eJddSQ60HHA.3788@.TK2MSFTNGP02.phx.gbl...
>> Derrick,
>> It is true: Parallelism does not alway help. In fact, for some queries it
>> may make them perform abysmally.
>> Although I do not do this personally, several posters recommend setting
>> an OLTP server to a maximum degree of parallelism of 1. They indicate
>> good success and few discernable problems because of the setting.
>> I do follow the guideline to limit the server's maximum degree of
>> parallelism to the number of physical chips, which in your case would be
>> 4. Then, if a query is troubled we can specifically run it at MAXDOP 1.
>> FWIW,
>> RLF
>> "Derrick" <derrick1298@.excite.com> wrote in message
>> news:%23E%23LO250HHA.5644@.TK2MSFTNGP05.phx.gbl...
>> We have a new server, 4 physical dual core processors, with
>> hyperthreading, so it shows up as 16 logical processors.
>> A simple query joining 3 tables, a distinct, an order by, with maxdop
>> set to 0, takes over 2 seconds. With maxdop set to 1, it takes 200
>> milliseconds. setting maxdop between 1 and 15, pretty linear time
>> progression.
>> Does this sound sane? Is there some magic matrix where under load a
>> higher maxdop will result in this simple query running faster than where
>> there is no load (the current case)
>> Thanks in advance!
>> Derrick
>>
>

Hyperthreading killing performance of simple query?

We have a new server, 4 physical dual core processors, with hyperthreading,
so it shows up as 16 logical processors.
A simple query joining 3 tables, a distinct, an order by, with maxdop set to
0, takes over 2 seconds. With maxdop set to 1, it takes 200 milliseconds.
setting maxdop between 1 and 15, pretty linear time progression.
Does this sound sane? Is there some magic matrix where under load a higher
maxdop will result in this simple query running faster than where there is
no load (the current case)
Thanks in advance!
DerrickDerrick,
It is true: Parallelism does not alway help. In fact, for some queries it
may make them perform abysmally.
Although I do not do this personally, several posters recommend setting an
OLTP server to a maximum degree of parallelism of 1. They indicate good
success and few discernable problems because of the setting.
I do follow the guideline to limit the server's maximum degree of
parallelism to the number of physical chips, which in your case would be 4.
Then, if a query is troubled we can specifically run it at MAXDOP 1.
FWIW,
RLF
"Derrick" <derrick1298@.excite.com> wrote in message
news:%23E%23LO250HHA.5644@.TK2MSFTNGP05.phx.gbl...
> We have a new server, 4 physical dual core processors, with
> hyperthreading, so it shows up as 16 logical processors.
> A simple query joining 3 tables, a distinct, an order by, with maxdop set
> to 0, takes over 2 seconds. With maxdop set to 1, it takes 200
> milliseconds. setting maxdop between 1 and 15, pretty linear time
> progression.
> Does this sound sane? Is there some magic matrix where under load a
> higher maxdop will result in this simple query running faster than where
> there is no load (the current case)
> Thanks in advance!
> Derrick
>|||Russell,
Thanks for the info, one more q, so would you reccomend hyperthreading be
enabled, or disabled?
We ran tests both ways and turning hyperthreading off does not seem the way
to go based on our results, does that match up with what you have seen/read?
Thanks again,
Derrick
"Russell Fields" <russellfields@.nomail.com> wrote in message
news:eJddSQ60HHA.3788@.TK2MSFTNGP02.phx.gbl...
> Derrick,
> It is true: Parallelism does not alway help. In fact, for some queries it
> may make them perform abysmally.
> Although I do not do this personally, several posters recommend setting an
> OLTP server to a maximum degree of parallelism of 1. They indicate good
> success and few discernable problems because of the setting.
> I do follow the guideline to limit the server's maximum degree of
> parallelism to the number of physical chips, which in your case would be
> 4. Then, if a query is troubled we can specifically run it at MAXDOP 1.
> FWIW,
> RLF
> "Derrick" <derrick1298@.excite.com> wrote in message
> news:%23E%23LO250HHA.5644@.TK2MSFTNGP05.phx.gbl...
>|||Derrick,
Lara Rubbelke made these comments:
http://blogs.digineer.com/blogs/lar...rthreading.aspx
He links to Slava Ok's
http://blogs.msdn.com/slavao/archiv.../12/492119.aspx
Their bottom seems to be, do not enable hyperthreading unless you have
proved it will help you.
RLF
"Derrick" <derrick1298@.excite.com> wrote in message
news:u1F0WU60HHA.464@.TK2MSFTNGP02.phx.gbl...
> Russell,
> Thanks for the info, one more q, so would you reccomend hyperthreading be
> enabled, or disabled?
> We ran tests both ways and turning hyperthreading off does not seem the
> way to go based on our results, does that match up with what you have
> seen/read?
> Thanks again,
> Derrick
>
> "Russell Fields" <russellfields@.nomail.com> wrote in message
> news:eJddSQ60HHA.3788@.TK2MSFTNGP02.phx.gbl...
>

Hyperthreading info for SQL and Citrix

Just got this email from someone in Ops:
http://news.zdnet.co.uk/0,39020330,39237341,00.htm
http://blogs.msdn.com/slavao/archive...12/492119.aspx
Synopsis - Hyperthreading (Intel specific technology) can seriously impedes
performance in SQL and Citrix especially under heavy load.
Is this correct? Any ideas from the SQL peanut gallery here? We only run SQL
clusters, 25-30 of them all on at least dual Xeon's with Hyperthreading.
Cheers,
Rod
MVP - Windows Server - Clustering
http://www.nw-america.com - Clustering Website
http://msmvps.com/clustering - Blog
http://www.clusterhelp.com - Cluster Training
There is no way to make an accurate blanket statement that HT helps or hurts
performance. I have certainly seen it do both depending on the type of
workload. The only way to know for sure is to do extensive testing in your
exact environment with it on and then again with it off.
Andrew J. Kelly SQL MVP
"Rodney R. Fournier [MVP]" <rod@.die.spam.die.nw-america.com> wrote in
message news:OgI%23x%2337FHA.1020@.TK2MSFTNGP15.phx.gbl...
> Just got this email from someone in Ops:
> http://news.zdnet.co.uk/0,39020330,39237341,00.htm
> http://blogs.msdn.com/slavao/archive...12/492119.aspx
> Synopsis - Hyperthreading (Intel specific technology) can seriously
> impedes performance in SQL and Citrix especially under heavy load.
> Is this correct? Any ideas from the SQL peanut gallery here? We only run
> SQL clusters, 25-30 of them all on at least dual Xeon's with
> Hyperthreading.
> Cheers,
> Rod
> MVP - Windows Server - Clustering
> http://www.nw-america.com - Clustering Website
> http://msmvps.com/clustering - Blog
> http://www.clusterhelp.com - Cluster Training
>
|||I agree with Andrew. The only way to tell if Hyperthreading is good in your environment is do testing. It may be good for
some environments and may not be good for others.
There is a nice blog from Slava Oks on hyperthreading that you may find useful
Be aware: To Hyper or not to Hyper
http://blogs.msdn.com/slavao/archive...12/492119.aspx
HTH,
Best Regards,
Uttam Parui
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Are you secure? For information about the Strategic Technology Protection Program and to order your FREE Security
Tool Kit, please visit http://www.microsoft.com/security.
Microsoft highly recommends that users with Internet access update their Microsoft software to better protect against
viruses and security vulnerabilities. The easiest way to do this is to visit the following websites:
http://www.microsoft.com/protect
http://www.microsoft.com/security/guidance/default.mspx

hyperthreading disabled?

Hi, can anyone tell me if it's possible to see the current hyperthreading value without going into the bios? registry key perhaps?

We have a very crooked system here and I do not have full access to the system. Thank you all for you all your help in the past! and the future!!

You could use 'Task Manager', and look at the [Performace] tab. (On the [View] menu, select [CPU History] and make sure the [One Graph per CPU] is checked.

If Hyperthreading is enabled, there will be 2 CPU Usage History graphs per physical CPU in the box.

|||what if there were two physical chips in there? wouldn't that still show 2 graphs?|||

i'm trying to determine how many actual chips there are.. is this doable without rebooting?

|||

With Hyperthreading enabled, two physical chips will display four CPU History graphs.

The [CPU History] graph displays for 'logical' chips. Hyperthreading makes two 'logical' chips from one physical chip.

|||

Which version of SQL Server are you using? If you are using SQL Server 2005 then you can query sys.dm_os_sys_info to find if you have a hyperthreaded or multi-code CPU. See the blog article below for the details:

http://blogs.msdn.com/sqltips/archive/2005/09/14/466387.aspx

Or download and install Process Explorer from the link below. You can then go to System information dialog, hover over the CPU usage graphs on top and they will show you if the processor is in the same core or not. See the utility for more details.

http://www.microsoft.com/technet/sysinternals/SystemInformation/ProcessExplorer.mspx

These are the easy methods. You can also type SYSTEMINFO in the command-line and use the processor description from their to figure it out. But this will require looking at Intel/AMD documentation for example to figure out the family of processors etc.

|||

Umachandar,

As I recall, the method descibed can't discern between Hyperthreading and Multi-core.

|||Yes, I mentioned it is for multi-core or hyperthreaded CPUs. Best is to install Process Explorer.

HyperThreading and SQL

This will be my first post in the forum since a long time ago sorry if
this was asked before but ... what is your experience/recommendations
about using Hyperthreading on SQL 2000 and Win 2003? Any thoughts?
Thanks for your help,
PabloTake a look at the following document in Microsoft's web site:
http://www.microsoft.com/sql/howtobuy/hyperthreading.asp
--
Carlos E. Rojas
SQL Server MVP
Co-Author SQL Server 2000 Programming by Example
"PAblo E. Colazurdo" <rael@.singularidad.com.ar> wrote in message
news:e128DAz5DHA.2404@.TK2MSFTNGP11.phx.gbl...
> This will be my first post in the forum since a long time ago sorry if
> this was asked before but ... what is your experience/recommendations
> about using Hyperthreading on SQL 2000 and Win 2003? Any thoughts?
> Thanks for your help,
> Pablo|||Carlos Eduardo Rojas wrote:
> Take a look at the following document in Microsoft's web site:
> http://www.microsoft.com/sql/howtobuy/hyperthreading.asp
Thanks a lot ... good stuff|||Carlos Eduardo Rojas wrote:
> Take a look at the following document in Microsoft's web site:
> http://www.microsoft.com/sql/howtobuy/hyperthreading.asp
Thanks a lot, but will be useful to have something more technical ...
like how it performs in terms of performance enhancement, and if it
always recommendable to use HT or if in some situation is better to
turn it off (i.e. because cache level 1 contention)
Thanks again|||There is no document as such that I have seen. It really depends a LOT on
your particular situation. How you use the data, what type of queries, how
much activity etc. etc. The bottom line is you would have to test it under
your specific conditions to see how well it will perform.
--
Andrew J. Kelly
SQL Server MVP
"PAblo E. Colazurdo" <rael@.singularidad.com.ar> wrote in message
news:Oc6YoX15DHA.2432@.TK2MSFTNGP10.phx.gbl...
> Carlos Eduardo Rojas wrote:
> > Take a look at the following document in Microsoft's web site:
> > http://www.microsoft.com/sql/howtobuy/hyperthreading.asp
> Thanks a lot, but will be useful to have something more technical ...
> like how it performs in terms of performance enhancement, and if it
> always recommendable to use HT or if in some situation is better to
> turn it off (i.e. because cache level 1 contention)
> Thanks again|||we have several HP servers with HTT
here's what we see so far
HP DL580s = 4 phys CPU -- W2KAS with SQL2KEE sees 8 proccessors
HP DL760 == 8 phys CPU -- Win 2003 Enterprise server -- only sees 8
processor as does SQL2K EE
I was expected the DL760 with win 2003 Ent with SQL2000 EE to see 16 CPU --
but it does not
HTT is enable in the bios
anyone know with this is the expected result
"PAblo E. Colazurdo" <rael@.singularidad.com.ar> wrote in message
news:e128DAz5DHA.2404@.TK2MSFTNGP11.phx.gbl...
> This will be my first post in the forum since a long time ago sorry if
> this was asked before but ... what is your experience/recommendations
> about using Hyperthreading on SQL 2000 and Win 2003? Any thoughts?
> Thanks for your help,
> Pablo|||Steven,
I think this is due to the fact Win2003 EE will only support 8 processors.
Have a look at these:
http://www.microsoft.com/sql/howtobuy/hyperthreading.asp
http://www.microsoft.com/windows2000/docs/hyperthreading.doc
Andrew J. Kelly
SQL Server MVP
"Steven Toney" <toneys@.ibm.net> wrote in message
news:eZ%23LiW38DHA.2640@.TK2MSFTNGP10.phx.gbl...
> we have several HP servers with HTT
> here's what we see so far
> HP DL580s = 4 phys CPU -- W2KAS with SQL2KEE sees 8 proccessors
> HP DL760 == 8 phys CPU -- Win 2003 Enterprise server -- only sees 8
> processor as does SQL2K EE
> I was expected the DL760 with win 2003 Ent with SQL2000 EE to see 16
CPU --
> but it does not
> HTT is enable in the bios
> anyone know with this is the expected result
>
> "PAblo E. Colazurdo" <rael@.singularidad.com.ar> wrote in message
> news:e128DAz5DHA.2404@.TK2MSFTNGP11.phx.gbl...
> > This will be my first post in the forum since a long time ago sorry if
> > this was asked before but ... what is your experience/recommendations
> > about using Hyperthreading on SQL 2000 and Win 2003? Any thoughts?
> >
> > Thanks for your help,
> > Pablo
>|||You need to change the expected OS in the BIOS. Most likely this is set to
Win2K. If it is, then it will only see 8 processors.

HyperThreading and SQL

This will be my first post in the forum since a long time ago sorry if
this was asked before but ... what is your experience/recommendations
about using Hyperthreading on SQL 2000 and Win 2003? Any thoughts?
Thanks for your help,
PabloTake a look at the following document in Microsoft's web site:
http://www.microsoft.com/sql/howtob...erthreading.asp
Carlos E. Rojas
SQL Server MVP
Co-Author SQL Server 2000 programming by Example
"PAblo E. Colazurdo" <rael@.singularidad.com.ar> wrote in message
news:e128DAz5DHA.2404@.TK2MSFTNGP11.phx.gbl...
quote:

> This will be my first post in the forum since a long time ago sorry if
> this was asked before but ... what is your experience/recommendations
> about using Hyperthreading on SQL 2000 and Win 2003? Any thoughts?
> Thanks for your help,
> Pablo
|||Carlos Eduardo Rojas wrote:
quote:

> Take a look at the following document in Microsoft's web site:
> http://www.microsoft.com/sql/howtob...erthreading.asp

Thanks a lot ... good stuff|||Carlos Eduardo Rojas wrote:
quote:

> Take a look at the following document in Microsoft's web site:
> http://www.microsoft.com/sql/howtob...erthreading.asp

Thanks a lot, but will be useful to have something more technical ...
like how it performs in terms of performance enhancement, and if it
always recommendable to use HT or if in some situation is better to
turn it off (i.e. because cache level 1 contention)
Thanks again|||There is no document as such that I have seen. It really depends a LOT on
your particular situation. How you use the data, what type of queries, how
much activity etc. etc. The bottom line is you would have to test it under
your specific conditions to see how well it will perform.
Andrew J. Kelly
SQL Server MVP
"PAblo E. Colazurdo" <rael@.singularidad.com.ar> wrote in message
news:Oc6YoX15DHA.2432@.TK2MSFTNGP10.phx.gbl...
quote:

> Carlos Eduardo Rojas wrote:
>
> Thanks a lot, but will be useful to have something more technical ...
> like how it performs in terms of performance enhancement, and if it
> always recommendable to use HT or if in some situation is better to
> turn it off (i.e. because cache level 1 contention)
> Thanks again
|||we have several HP servers with HTT
here's what we see so far
HP DL580s = 4 phys CPU -- W2KAS with SQL2KEE sees 8 proccessors
HP DL760 == 8 phys CPU -- Win 2003 Enterprise server -- only sees 8
processor as does SQL2K EE
I was expected the DL760 with win 2003 Ent with SQL2000 EE to see 16 CPU --
but it does not
HTT is enable in the bios
anyone know with this is the expected result
"PAblo E. Colazurdo" <rael@.singularidad.com.ar> wrote in message
news:e128DAz5DHA.2404@.TK2MSFTNGP11.phx.gbl...
> This will be my first post in the forum since a long time ago sorry if
> this was asked before but ... what is your experience/recommendations
> about using Hyperthreading on SQL 2000 and Win 2003? Any thoughts?
> Thanks for your help,
> Pablo|||Steven,
I think this is due to the fact Win2003 EE will only support 8 processors.
Have a look at these:
http://www.microsoft.com/sql/howtob...erthreading.asp
http://www.microsoft.com/windows200...erthreading.doc
Andrew J. Kelly
SQL Server MVP
"Steven Toney" <toneys@.ibm.net> wrote in message
news:eZ%23LiW38DHA.2640@.TK2MSFTNGP10.phx.gbl...
> we have several HP servers with HTT
> here's what we see so far
> HP DL580s = 4 phys CPU -- W2KAS with SQL2KEE sees 8 proccessors
> HP DL760 == 8 phys CPU -- Win 2003 Enterprise server -- only sees 8
> processor as does SQL2K EE
> I was expected the DL760 with win 2003 Ent with SQL2000 EE to see 16
CPU --
> but it does not
> HTT is enable in the bios
> anyone know with this is the expected result
>
> "PAblo E. Colazurdo" <rael@.singularidad.com.ar> wrote in message
> news:e128DAz5DHA.2404@.TK2MSFTNGP11.phx.gbl...
>|||You need to change the expected OS in the BIOS. Most likely this is set to
Win2K. If it is, then it will only see 8 processors.

HyperThreading and NT Fibers

We've got a customer whose system is performing below average. Example, a billing calculation that takes 13 minutes on my laptop (XP PRO, 2.2 GHz, 1GB RAM, 4200RPM HD, SQL 2000 SP3) takes 28 minutes on their server (WIN2000, 2-1.5GHz, 2GB RAM, RAID5 array
, SQL 2000 SP3). We turned on the performance monitors recently and watched a bill run. The hard drives and RAM were barely used while the 4 processor instances (2 physical = 4 logical with hyperthread) were all consistently above 90%.
We deduced that the processors were the obvious bottleneck but we are unsure why a less powerful machine (my laptop) out-performs the more powerful server. The only thing I can think is that the hyper-threading or NT Fiber setting is adversely affecting t
he processors.
Has anyone had any problems with hyperthreading or NT fibers or have any ideas as to where I might start looking?
Thanks in advance,
Dean
Does the calculation use the same query plan on both systems?
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"Dean" <anonymous@.discussions.microsoft.com> wrote in message
news:EE7A4018-48E7-405C-90F2-2CF0FD54F256@.microsoft.com...
> We've got a customer whose system is performing below average. Example, a
billing calculation that takes 13 minutes on my laptop (XP PRO, 2.2 GHz, 1GB
RAM, 4200RPM HD, SQL 2000 SP3) takes 28 minutes on their server (WIN2000,
2-1.5GHz, 2GB RAM, RAID5 array, SQL 2000 SP3). We turned on the performance
monitors recently and watched a bill run. The hard drives and RAM were
barely used while the 4 processor instances (2 physical = 4 logical with
hyperthread) were all consistently above 90%.
> We deduced that the processors were the obvious bottleneck but we are
unsure why a less powerful machine (my laptop) out-performs the more
powerful server. The only thing I can think is that the hyper-threading or
NT Fiber setting is adversely affecting the processors.
> Has anyone had any problems with hyperthreading or NT fibers or have any
ideas as to where I might start looking?
> Thanks in advance,
> Dean
>
|||You can't compare these two systems side by side. For instance your laptop
has a faster processor (even though it only has one) and most likely has
more level 1 cache. The disk in the laptop probably has more cache as well
which can make a big difference over a Raid 5. That said you can still be
running into a multi-processor issue but it is hard to say for sure. Try
running the process with MAXDOP set to 1 and see if that makes a difference.
Are you sure the disk queues are fine? Is there just one RAID 5 and is
everything (data, tempdb, logs) on the same array?
Andrew J. Kelly
SQL Server MVP
"Dean" <anonymous@.discussions.microsoft.com> wrote in message
news:EE7A4018-48E7-405C-90F2-2CF0FD54F256@.microsoft.com...
> We've got a customer whose system is performing below average. Example, a
billing calculation that takes 13 minutes on my laptop (XP PRO, 2.2 GHz, 1GB
RAM, 4200RPM HD, SQL 2000 SP3) takes 28 minutes on their server (WIN2000,
2-1.5GHz, 2GB RAM, RAID5 array, SQL 2000 SP3). We turned on the performance
monitors recently and watched a bill run. The hard drives and RAM were
barely used while the 4 processor instances (2 physical = 4 logical with
hyperthread) were all consistently above 90%.
> We deduced that the processors were the obvious bottleneck but we are
unsure why a less powerful machine (my laptop) out-performs the more
powerful server. The only thing I can think is that the hyper-threading or
NT Fiber setting is adversely affecting the processors.
> Has anyone had any problems with hyperthreading or NT fibers or have any
ideas as to where I might start looking?
> Thanks in advance,
> Dean
>
|||I expect so. On my laptop I just took a copy of their database and re-ran the process.
|||We monitored the server with performance counters on the processors, RAM and drives. Yes, it is one big RAID partition but the monitors showed almost no activity on the disks and very little on the RAM while the processors were very high.
|||Look at the estimated query execution plan on both systems. Also, check the
disk queue length on our data drives. A long queue length may indicate a
bottleneck at the hardware layer.
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"Dean" <anonymous@.discussions.microsoft.com> wrote in message
news:601177D1-D700-441B-9607-A15EA29855B4@.microsoft.com...
> I expect so. On my laptop I just took a copy of their database and re-ran
the process.
|||I just resolved a performance issue related to the fact that the execution plan was different between my development & production.
It was directly related to differences in hardware, specifically the environments you describe. I wouldn't assume that the execution
plans are the same. I'd run an execution plan in both environments to confirm.
If you find that the execution plans are different (and parallelism is involved), I would suggest looking up the query hint OPTION
(MAXDOP 1) in BOL.
ChrisG
|||I would still change the MAXDOP and see what happens.
Andrew J. Kelly
SQL Server MVP
"Dean" <anonymous@.discussions.microsoft.com> wrote in message
news:827EF5AF-5FC0-43FD-BFD5-BD7D7A89C3D8@.microsoft.com...
> We monitored the server with performance counters on the processors, RAM
and drives. Yes, it is one big RAID partition but the monitors showed almost
no activity on the disks and very little on the RAM while the processors
were very high.
|||Exactly, I had this issue when we were doing the migration, taking half time when we turned that off. Is that a Dell machine?
Yes, you should turn that off.
|||I'll try it and see what happens...

HyperThreading and NT Fibers

We've got a customer whose system is performing below average. Example, a bi
lling calculation that takes 13 minutes on my laptop (XP PRO, 2.2 GHz, 1GB R
AM, 4200RPM HD, SQL 2000 SP3) takes 28 minutes on their server (WIN2000, 2-1
.5GHz, 2GB RAM, RAID5 array
, SQL 2000 SP3). We turned on the performance monitors recently and watched
a bill run. The hard drives and RAM were barely used while the 4 processor i
nstances (2 physical = 4 logical with hyperthread) were all consistently abo
ve 90%.
We deduced that the processors were the obvious bottleneck but we are unsure
why a less powerful machine (my laptop) out-performs the more powerful serv
er. The only thing I can think is that the hyper-threading or NT Fiber setti
ng is adversely affecting t
he processors.
Has anyone had any problems with hyperthreading or NT fibers or have any ide
as as to where I might start looking?
Thanks in advance,
DeanDoes the calculation use the same query plan on both systems?
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"Dean" <anonymous@.discussions.microsoft.com> wrote in message
news:EE7A4018-48E7-405C-90F2-2CF0FD54F256@.microsoft.com...
> We've got a customer whose system is performing below average. Example, a
billing calculation that takes 13 minutes on my laptop (XP PRO, 2.2 GHz, 1GB
RAM, 4200RPM HD, SQL 2000 SP3) takes 28 minutes on their server (WIN2000,
2-1.5GHz, 2GB RAM, RAID5 array, SQL 2000 SP3). We turned on the performance
monitors recently and watched a bill run. The hard drives and RAM were
barely used while the 4 processor instances (2 physical = 4 logical with
hyperthread) were all consistently above 90%.
> We deduced that the processors were the obvious bottleneck but we are
unsure why a less powerful machine (my laptop) out-performs the more
powerful server. The only thing I can think is that the hyper-threading or
NT Fiber setting is adversely affecting the processors.
> Has anyone had any problems with hyperthreading or NT fibers or have any
ideas as to where I might start looking?
> Thanks in advance,
> Dean
>|||You can't compare these two systems side by side. For instance your laptop
has a faster processor (even though it only has one) and most likely has
more level 1 cache. The disk in the laptop probably has more cache as well
which can make a big difference over a Raid 5. That said you can still be
running into a multi-processor issue but it is hard to say for sure. Try
running the process with MAXDOP set to 1 and see if that makes a difference.
Are you sure the disk queues are fine? Is there just one RAID 5 and is
everything (data, tempdb, logs) on the same array?
Andrew J. Kelly
SQL Server MVP
"Dean" <anonymous@.discussions.microsoft.com> wrote in message
news:EE7A4018-48E7-405C-90F2-2CF0FD54F256@.microsoft.com...
> We've got a customer whose system is performing below average. Example, a
billing calculation that takes 13 minutes on my laptop (XP PRO, 2.2 GHz, 1GB
RAM, 4200RPM HD, SQL 2000 SP3) takes 28 minutes on their server (WIN2000,
2-1.5GHz, 2GB RAM, RAID5 array, SQL 2000 SP3). We turned on the performance
monitors recently and watched a bill run. The hard drives and RAM were
barely used while the 4 processor instances (2 physical = 4 logical with
hyperthread) were all consistently above 90%.
> We deduced that the processors were the obvious bottleneck but we are
unsure why a less powerful machine (my laptop) out-performs the more
powerful server. The only thing I can think is that the hyper-threading or
NT Fiber setting is adversely affecting the processors.
> Has anyone had any problems with hyperthreading or NT fibers or have any
ideas as to where I might start looking?
> Thanks in advance,
> Dean
>|||I expect so. On my laptop I just took a copy of their database and re-ran th
e process.|||We monitored the server with performance counters on the processors, RAM and
drives. Yes, it is one big RAID partition but the monitors showed almost no
activity on the disks and very little on the RAM while the processors were
very high.|||Look at the estimated query execution plan on both systems. Also, check the
disk queue length on our data drives. A long queue length may indicate a
bottleneck at the hardware layer.
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"Dean" <anonymous@.discussions.microsoft.com> wrote in message
news:601177D1-D700-441B-9607-A15EA29855B4@.microsoft.com...
> I expect so. On my laptop I just took a copy of their database and re-ran
the process.|||I just resolved a performance issue related to the fact that the execution p
lan was different between my development & production.
It was directly related to differences in hardware, specifically the environ
ments you describe. I wouldn't assume that the execution
plans are the same. I'd run an execution plan in both environments to confir
m.
If you find that the execution plans are different (and parallelism is invol
ved), I would suggest looking up the query hint OPTION
(MAXDOP 1) in BOL.
ChrisG|||I would still change the MAXDOP and see what happens.
Andrew J. Kelly
SQL Server MVP
"Dean" <anonymous@.discussions.microsoft.com> wrote in message
news:827EF5AF-5FC0-43FD-BFD5-BD7D7A89C3D8@.microsoft.com...
> We monitored the server with performance counters on the processors, RAM
and drives. Yes, it is one big RAID partition but the monitors showed almost
no activity on the disks and very little on the RAM while the processors
were very high.|||Exactly, I had this issue when we were doing the migration, taking half time
when we turned that off. Is that a Dell machine?
Yes, you should turn that off.|||I'll try it and see what happens...

Hyperthreading and Licensing

I like to know how many licenses are needed for a single processor machine
that has hyperthreading on and shows 2 CPU.
You only need to license the physical processors :-
www.microsoft.com/sql/howtobuy/SQLonHTT.doc
"SB138" <SB138@.discussions.microsoft.com> wrote in message
news:7FACC10E-BD3E-4F75-B0FD-7B99973512AD@.microsoft.com...
>I like to know how many licenses are needed for a single processor machine
> that has hyperthreading on and shows 2 CPU.
|||Assuming you use per processor licecing:
On license per physical processor that the OS can utilize.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"SB138" <SB138@.discussions.microsoft.com> wrote in message
news:7FACC10E-BD3E-4F75-B0FD-7B99973512AD@.microsoft.com...
> I like to know how many licenses are needed for a single processor machine
> that has hyperthreading on and shows 2 CPU.

Hyperthreading and Licensing

I like to know how many licenses are needed for a single processor machine
that has hyperthreading on and shows 2 CPU.You only need to license the physical processors :-
www.microsoft.com/sql/howtobuy/SQLonHTT.doc
"SB138" <SB138@.discussions.microsoft.com> wrote in message
news:7FACC10E-BD3E-4F75-B0FD-7B99973512AD@.microsoft.com...
>I like to know how many licenses are needed for a single processor machine
> that has hyperthreading on and shows 2 CPU.|||Assuming you use per processor licecing:
On license per physical processor that the OS can utilize.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"SB138" <SB138@.discussions.microsoft.com> wrote in message
news:7FACC10E-BD3E-4F75-B0FD-7B99973512AD@.microsoft.com...
> I like to know how many licenses are needed for a single processor machine
> that has hyperthreading on and shows 2 CPU.

Hyperthreading and Licensing

I like to know how many licenses are needed for a single processor machine
that has hyperthreading on and shows 2 CPU.You only need to license the physical processors :-
www.microsoft.com/sql/howtobuy/SQLonHTT.doc
"SB138" <SB138@.discussions.microsoft.com> wrote in message
news:7FACC10E-BD3E-4F75-B0FD-7B99973512AD@.microsoft.com...
>I like to know how many licenses are needed for a single processor machine
> that has hyperthreading on and shows 2 CPU.|||Assuming you use per processor licecing:
On license per physical processor that the OS can utilize.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"SB138" <SB138@.discussions.microsoft.com> wrote in message
news:7FACC10E-BD3E-4F75-B0FD-7B99973512AD@.microsoft.com...
> I like to know how many licenses are needed for a single processor machine
> that has hyperthreading on and shows 2 CPU.

Hyperthreading an issue?

Hi!
Has anyone experienced troubles with machines that have hyperthreading
enabled? Troubles concerning speed and data consistency issues?
We have three machines (one for testing, one at a client and another one
at a friend's place who agreed to try it as well) with hyperthreading and
all machines suffer from performance problems with MSDE (but not only with
MSDE).
They are all running WinXP Professional.
Any pointers appreciated.
Stefan
On Mon, 12 Jul 2004 12:05:14 +0200, Stefan M. Huber <looseleaf@.gmx.net>
wrote:

> Hi!
> Has anyone experienced troubles with machines that have
> hyperthreading enabled? Troubles concerning speed and data consistency
> issues?
> We have three machines (one for testing, one at a client and another one
> at a friend's place who agreed to try it as well) with hyperthreading
> and all machines suffer from performance problems with MSDE (but not
> only with MSDE).
> They are all running WinXP Professional.
...with only one CPU, I should mention.
Stefan
|||I have heard rumors about hyper-threading, but I have an Intel 875 P4
motherboard and have not experienced any issues--that I'm aware of. MSDE can
use multiple processors (up to two) and hyperthreading exposes the same
processor as a second thread so it should be able to help. Are you getting
errors in the event log to indicate that the governor is kicking in? I can
see how some applications written on a single processor might not be
prepared for operations on dual processor boxes where race conditions can
cause operations to occur out of the usual serialized order.
hth
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
"Stefan M. Huber" <looseleaf@.gmx.net> wrote in message
news:opsa0r3kscs9ddfw@.news.individual.de...
> On Mon, 12 Jul 2004 12:05:14 +0200, Stefan M. Huber <looseleaf@.gmx.net>
> wrote:
>
> ...with only one CPU, I should mention.
> Stefan
|||On Mon, 12 Jul 2004 11:14:09 -0700, William (Bill) Vaughn
<billvaRemoveThis@.nwlink.com> wrote:

> processor as a second thread so it should be able to help. Are you
> getting errors in the event log to indicate that the governor is kicking
> in? I can
> see how some applications written on a single processor might not be
> prepared for operations on dual processor boxes where race conditions can
> cause operations to occur out of the usual serialized order.
I haven't yet seen any event log entries. Or other log file entries that
indicate troubles. It's just slow :/ But thanks for your reply.
Stefan
|||There are a dozen dozen reasons that an application can be slow. Blaming
MSDE is like blaming your car's engine when you're hauling a ton of sand up
and towing a horse trailer up Mt. Rainer. If you're not seeing events, then
it's likely your database configuration, the amount of RAM in your system
(consider that SQL Server builds its performance model around cached pages),
or the what your application is asking the engine to do...
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
"Stefan M. Huber" <looseleaf@.gmx.net> wrote in message
news:opsa4h2fhjs9ddfw@.news.individual.de...[vbcol=seagreen]
> On Mon, 12 Jul 2004 11:14:09 -0700, William (Bill) Vaughn
> <billvaRemoveThis@.nwlink.com> wrote:
can
> I haven't yet seen any event log entries. Or other log file entries that
> indicate troubles. It's just slow :/ But thanks for your reply.
> Stefan
|||On Wed, 14 Jul 2004 12:25:53 -0700, William (Bill) Vaughn
<billvaRemoveThis@.nwlink.com> wrote:

> There are a dozen dozen reasons that an application can be slow. Blaming
> MSDE is like blaming your car's engine when you're hauling a ton of sand
> up and towing a horse trailer up Mt. Rainer. If you're not seeing
> events, then
> it's likely your database configuration, the amount of RAM in your system
> (consider that SQL Server builds its performance model around cached
> pages),
> or the what your application is asking the engine to do...
I am not directly blaming MSDE, I just hoped that somebody else has
troubles. Alas, we'll have to look elsewhere. The problem is that we don't
know where to start :/
The DB configuration is identical on (nearly) all our customers' places.
At least as identical as it can be.
We'll be trying our setup on a real dual processor machine shortly and see
if we can find similar issues. If so, I'd say Delphi or we ourselves are
to blame.
Thanks for your time,
Stefan

Hyperthreading

We just had this posted on www.sql-server-performance.com . I was wondering
if a Microsoft engineer or SQL Server expert would mind commenting on it.
The Question: Parallelism Must Be Set To Automatic to get full advantage of
SQL Server 2000.
SQL Server 2000 cannot use Parallel Query Processing, this is an unofficial
bug, not confirmed and by doing this the queries (transactions) proceeds
without any delay or errors will not occur.
So the recommendation is to run the Transact SQL script below or use the
Enterprise Manager.
sp_configure 'show advanced options', 1
GO
RECONFIGURE
GO
sp_configure 'max degree of parallelism', 1
GO
RECONFIGURE
GO
Please post if this solved your problem?
BooksOnline:
Parallel Query Processing
max degree of parallelism Option
Setting Configuration Options
How to configure the cost threshold for parallelism
Best Regards
- Member of The Professional Association for SQL Server, SQLPASS Denmark -
- Stability instead of incremental improvements -
Can you please post a link to the article / discussion so I can read the
original posting, this seems either not to contain enough information to
make any recommendation or it is taken out of context. It sounds really
weird to me, we are using hyperthreaded machines at lots of places without a
problem, as long as you are using Windows Server 2003 and not Windows 2000
or even worse NT 4.0
GertD@.SQLDev.Net
Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright SQLDev.Net 1991-2004 All rights reserved.
"MeanOldDBA (derrickleggett@.hotmail.com)" <MeanOldDBA
(derrickleggett@.hotmail.com)@.discussions.microsoft .com> wrote in message
news:5F72525E-C851-4B8E-9404-F745FC07A690@.microsoft.com...
> We just had this posted on www.sql-server-performance.com . I was
> wondering
> if a Microsoft engineer or SQL Server expert would mind commenting on it.
> The Question: Parallelism Must Be Set To Automatic to get full advantage
> of
> SQL Server 2000.
> SQL Server 2000 cannot use Parallel Query Processing, this is an
> unofficial
> bug, not confirmed and by doing this the queries (transactions) proceeds
> without any delay or errors will not occur.
> So the recommendation is to run the Transact SQL script below or use the
> Enterprise Manager.
> sp_configure 'show advanced options', 1
> GO
> RECONFIGURE
> GO
> sp_configure 'max degree of parallelism', 1
> GO
> RECONFIGURE
> GO
>
> Please post if this solved your problem?
>
> BooksOnline:
> Parallel Query Processing
> max degree of parallelism Option
> Setting Configuration Options
> How to configure the cost threshold for parallelism
> Best Regards
> - Member of The Professional Association for SQL Server, SQLPASS Denmark -
> - Stability instead of incremental improvements -
|||Here's the link:
http://www.sql-server-performance.co...?TOPIC_ID=5306
"Gert E.R. Drapers" wrote:

> Can you please post a link to the article / discussion so I can read the
> original posting, this seems either not to contain enough information to
> make any recommendation or it is taken out of context. It sounds really
> weird to me, we are using hyperthreaded machines at lots of places without a
> problem, as long as you are using Windows Server 2003 and not Windows 2000
> or even worse NT 4.0
> GertD@.SQLDev.Net
> Please reply only to the newsgroups.
> This posting is provided "AS IS" with no warranties, and confers no rights.
> You assume all risk for your use.
> Copyright ? SQLDev.Net 1991-2004 All rights reserved.
> "MeanOldDBA (derrickleggett@.hotmail.com)" <MeanOldDBA
> (derrickleggett@.hotmail.com)@.discussions.microsoft .com> wrote in message
> news:5F72525E-C851-4B8E-9404-F745FC07A690@.microsoft.com...
>
>
|||I have never heard of Janus Morthorst, or his claim that "SQL Server
2000 cannot use Parallel Query Processing".
I have never experienced that SQL-Server would not use parallelism if it
was benificial.
Check out
http://groups.google.nl/groups?hl=nl...1B49A98D%2540t
oomuchspamalready.nl%26rnum%3D1
(url may wrap) for a script that will use all available CPU's.
To comment on your original question "Parallelism Must Be Set To
Automatic to get full advantage of SQL Server 2000?" is that this is
obvious. If you limit parallelism to less than the available CPU's
(assuming it is a dedicated server), then SQL-Server will not be able to
fully use the system CPU capacity which can result in suboptimal query
execution.
Gert-Jan
MeanOldDBA wrote:[vbcol=seagreen]
> Here's the link:
> http://www.sql-server-performance.co...?TOPIC_ID=5306
> "Gert E.R. Drapers" wrote:
(Please reply only to the newsgroup)
|||Agree with Gert-Jan here, this seems like an complete unfunded response.
Anyhow on a HT machine my experience is that you are best of by setting the
MAXDOP to the number of physical processors, so on a 4-way with HT (8
logical procs) you set sp_configure 'max degree of parallelism', 4
It does not make much sense to have a single query use all 8 schedulers. HT
is a great feature and in general SQL Server benefits between 10-15% varying
the workload, but the 2 logical procs share L1 and L2 caches, so if you have
a load where the first logical proc trashes the L1-L2 caches it works
against the second logical proc, which is one of the reasons why you will
never see a second logical proc go to 100% CPU, but max around 50% instead
where the 1st logical proc can go to 100%.
GertD@.SQLDev.Net
Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright SQLDev.Net 1991-2004 All rights reserved.
"Gert-Jan Strik" <sorry@.toomuchspamalready.nl> wrote in message
news:4148A942.1AF13239@.toomuchspamalready.nl...
>I have never heard of Janus Morthorst, or his claim that "SQL Server
> 2000 cannot use Parallel Query Processing".
> I have never experienced that SQL-Server would not use parallelism if it
> was benificial.
> Check out
> http://groups.google.nl/groups?hl=nl...0.1B49A98D%254
0toomuchspamalready.nl%26rnum%3D1
> (url may wrap) for a script that will use all available CPU's.
> To comment on your original question "Parallelism Must Be Set To
> Automatic to get full advantage of SQL Server 2000?" is that this is
> obvious. If you limit parallelism to less than the available CPU's
> (assuming it is a dedicated server), then SQL-Server will not be able to
> fully use the system CPU capacity which can result in suboptimal query
> execution.
> Gert-Jan
>
> MeanOldDBA wrote:
> --
> (Please reply only to the newsgroup)

Hyperthreading

Hi,
I have a 4 processor server with hyperthreading enabled. The
processors show up in SQL as Processors 0-7. My question is, which numbers
are physical processors and which numbers are the virtual/hyperthreaded
processors? The reason I want to know is that I want to take away 1 physical
and 1 virtual processor from the processors that SQL is allowed to use.
Thanks,
Scott
The firmware/hardware manufacturers are recommended by Intel to make it like following:
Phy0 = Log0
Phy1 = Log1
Phy2 = Log2
Phy3 = Log3
Phy0 = Log4
Phy1 = Log5
Phy2 = Log6
Phy3 = Log7
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Scott" <Scott@.discussions.microsoft.com> wrote in message
news:9095D9D1-FE9A-4536-8BA7-96FF93634660@.microsoft.com...
> Hi,
> I have a 4 processor server with hyperthreading enabled. The
> processors show up in SQL as Processors 0-7. My question is, which numbers
> are physical processors and which numbers are the virtual/hyperthreaded
> processors? The reason I want to know is that I want to take away 1 physical
> and 1 virtual processor from the processors that SQL is allowed to use.
> Thanks,
> Scott
|||"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
message news:eE9lDgcmFHA.3544@.TK2MSFTNGP15.phx.gbl...
> The firmware/hardware manufacturers are recommended by Intel to make it
> like following:
> Phy0 = Log0
> Phy1 = Log1
> Phy2 = Log2
> Phy3 = Log3
> Phy0 = Log4
> Phy1 = Log5
> Phy2 = Log6
> Phy3 = Log7
>
So if I am reading this correctly, if I wanted to remove the 4th processor
(both physical and hyperthreaded), I would remove the Log3 and Log7...
Rick Sawtell
|||So, 0-3 are physical processors and 4-7 are virtual/hyperthreaded?
"Tibor Karaszi" wrote:

> The firmware/hardware manufacturers are recommended by Intel to make it like following:
> Phy0 = Log0
> Phy1 = Log1
> Phy2 = Log2
> Phy3 = Log3
> Phy0 = Log4
> Phy1 = Log5
> Phy2 = Log6
> Phy3 = Log7
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
> Blog: http://solidqualitylearning.com/blogs/tibor/
>
> "Scott" <Scott@.discussions.microsoft.com> wrote in message
> news:9095D9D1-FE9A-4536-8BA7-96FF93634660@.microsoft.com...
>
|||> So if I am reading this correctly, if I wanted to remove the 4th processor (both physical and
> hyperthreaded), I would remove the Log3 and Log7...
Yep.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Rick Sawtell" <r_sawtell@.hotmail.com> wrote in message
news:ejUJKjcmFHA.3336@.tk2msftngp13.phx.gbl...
> "Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in message
> news:eE9lDgcmFHA.3544@.TK2MSFTNGP15.phx.gbl...
> So if I am reading this correctly, if I wanted to remove the 4th processor (both physical and
> hyperthreaded), I would remove the Log3 and Log7...
>
> Rick Sawtell
>
|||I'm not sure that you refer to the two logical processors on one physical processor as
"virtual/hyperthreader" vs "physical". But, yes, you get the idea.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Scott" <Scott@.discussions.microsoft.com> wrote in message
news:0B568019-6053-43F8-8B35-D79FBEF32C9D@.microsoft.com...[vbcol=seagreen]
> So, 0-3 are physical processors and 4-7 are virtual/hyperthreaded?
>
> "Tibor Karaszi" wrote:
|||Actually even though they suggest that there are several variations. There
is a utility on Intel's web site (somewhere<g>) that will supposedly show
you the layout for that particular configuration.
Andrew J. Kelly SQL MVP
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
message news:eE9lDgcmFHA.3544@.TK2MSFTNGP15.phx.gbl...
> The firmware/hardware manufacturers are recommended by Intel to make it
> like following:
> Phy0 = Log0
> Phy1 = Log1
> Phy2 = Log2
> Phy3 = Log3
> Phy0 = Log4
> Phy1 = Log5
> Phy2 = Log6
> Phy3 = Log7
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
> Blog: http://solidqualitylearning.com/blogs/tibor/
>
> "Scott" <Scott@.discussions.microsoft.com> wrote in message
> news:9095D9D1-FE9A-4536-8BA7-96FF93634660@.microsoft.com...
>