|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 12:01 AM
Points: 559,
Visits: 320
|
|
When SQL Server runs on a computer with more than one microprocessor or CPU, it detects the best degree of parallelism, that is, the number of processors employed to run a single statement, for each parallel plan execution.
We have a box with 2 CPUs 4 Cores showing 8 logical processors, so , i am not sure how many CPUs for this box, 2 or 8 ?
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 2:07 PM
Points: 37,731,
Visits: 29,994
|
|
8. It's the number visible in task manager in Windows (unless you've configured SQL to use fewer processors)
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Today @ 12:39 PM
Points: 6,722,
Visits: 11,765
|
|
2 physical, 8 logical. We can tell the # of each from SQL...
-- cpu overview SELECT osi.cpu_count AS LogicalCpuCount, osi.hyperthread_ratio AS HyperthreadCoreRatio, osi.cpu_count / osi.hyperthread_ratio AS PhysicalCpuCount, ( SELECT COUNT(*) FROM sys.dm_os_schedulers WHERE scheduler_id < osi.cpu_count AND is_online = 1 ) AS LogicalCpuOnline FROM sys.dm_os_sys_info osi; ...however not whether the logical CPUs are from multiple cores or from Hyperthreading. In your case you have 2 physical CPUs with 4 cores each and all SQL Server cares about is the logical CPUs when it comes to parallelizing queries, i.e. 8.
__________________________________________________________________________________________________ There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Believe you can and you're halfway there. --Theodore Roosevelt
Everything Should Be Made as Simple as Possible, But Not Simpler --Albert Einstein
The significant problems we face cannot be solved at the same level of thinking we were at when we created them. --Albert Einstein
1 apple is not exactly 1/8 of 8 apples. Because there are no absolutely identical apples. --Giordy
|
|
|
|