Server logical CPU and Physical CPU Cores

  • I tried to find out Logical CPU count of my Laptop, Got two different counts.

    I ran the following query SELECT cpu_count FROM sys.dm_os_sys_info and its shows 4 Logical CPUs (Cpu_count)

    My Physical processor is Intel 5i 2410M. with 2 cores and 4 Threads.

    Please advice which count i have to consider to split My tempdb (Only for testing) ? 2 or 4?

  • To get the physical number of CPU's in a box

    SELECT

    cpu_count / hyperthread_ratio AS PhysicalCPUs

    FROM

    sys.dm_os_sys_info

    To get the number of logical CPU's in a box

    SELECT

    cpu_count AS logicalCPUs

    FROM

    sys.dm_os_sys_info

    Myths About TempDB 1 File Per Core[/code]

    Personally I would only ever split TempDB up if you have performance issues with TempDB.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply