top of page

CPU schedulers offline

  • Adam Thurgar
  • Jun 15, 2018
  • 1 min read

Whilst doing a pre-production health check on a SQL Server 2016 Standard Edition server I noticed that some cpu schedulers were offline.

I ran the following query against the DMV sys.dm_os_schedulers.

SELECT * FROM sys.dm_os_schedulers;

This showed that 4 where online and 4 offline.

So SQL Server was only using 4 of the 8 schedulers.

Checking the SQL Server licensing for Standard Edition - “Limited to lesser of 4 sockets or 24 cores”.

I raised this with the infrastructure engineer who found out that the default setting in VMware is to assign all vCPUs as sockets instead of cores. So they adjusted the cores/sockets on this VM to be 1 socket with 8 cores and now SQL Server is using all the available schedulers.


 
 
 

Recent Posts

See All
Cardinality estimator

Recently I was asked by a software vendor to review a particular query that ran in under a second on a SQL Server 2014 installation at a...

 
 
 
Index fragmentation

A law firm client, occasionally has issues with their legal software, that is provided by the global leader in this field. The response...

 
 
 
Deleting large amounts of data

I had a client call me about wanting to delete a large amount of data from their database. They knew what tables they wanted to delete...

 
 
 

Comments


bottom of page