cannot tell the difference<\/a> between hyper-threaded cores and physical cores when you see the hyperthread_ratio result. For example, if you had a quad-core processor with hyper-threading enabled, the hyperthread_ratio would be 8 (4\u00d72), while a quad-core core processor (with no hyper-threading) would have a hyperthread_ratio of 4 (4\u00d71).<\/p>\n-- Hardware Information for SQL Server 2005<\/span>\r\nSELECT<\/span> cpu_count AS<\/span> [Logical CPU Count<\/span>], hyperthread_ratio AS<\/span> [Hyperthread Ratio],\r\ncpu_count\/hyperthread_ratio AS<\/span> [Physical CPU Count<\/span>], \r\nphysical_memory_in_bytes\/1048576 AS<\/span> [Physical Memory (MB)]\r\nFROM<\/span> sys.dm_os_sys_info WITH<\/span> (NOLOCK) OPTION<\/span> (RECOMPILE);\r\n\r\n-- Hardware information from SQL Server 2008<\/span>\r\nSELECT<\/span> cpu_count AS<\/span> [Logical CPU Count<\/span>], hyperthread_ratio AS<\/span> [Hyperthread Ratio],\r\ncpu_count\/hyperthread_ratio AS<\/span> [Physical CPU Count<\/span>], \r\nphysical_memory_in_bytes\/1048576 AS<\/span> [Physical Memory (MB)], sqlserver_start_time\r\nFROM<\/span> sys.dm_os_sys_info WITH<\/span> (NOLOCK) OPTION<\/span> (RECOMPILE);\r\n\r\n-- Hardware information from SQL Server 2008 R2 <\/span>\r\nSELECT<\/span> cpu_count AS<\/span> [Logical CPU Count<\/span>], hyperthread_ratio AS<\/span> [Hyperthread Ratio],\r\ncpu_count\/hyperthread_ratio AS<\/span> [Physical CPU Count<\/span>], \r\nphysical_memory_in_bytes\/1048576 AS<\/span> [Physical Memory (MB)], sqlserver_start_time, affinity_type_desc \r\nFROM<\/span> sys.dm_os_sys_info WITH<\/span> (NOLOCK) OPTION<\/span> (RECOMPILE);\r\n\r\n-- Hardware information from SQL Server 2012<\/span>\r\nSELECT<\/span> cpu_count AS<\/span> [Logical CPU Count<\/span>], hyperthread_ratio AS<\/span> [Hyperthread Ratio],\r\ncpu_count\/hyperthread_ratio AS<\/span> [Physical CPU Count<\/span>], \r\nphysical_memory_kb\/1024 AS<\/span> [Physical Memory (MB)], affinity_type_desc, \r\nvirtual_machine_type_desc, sqlserver_start_time\r\nFROM<\/span> sys.dm_os_sys_info WITH<\/span> (NOLOCK) OPTION<\/span> (RECOMPILE);<\/pre>\n