How to check if hyper-threading is enabled in Windows

Description

An easy way to check if hyper threading is enabled without having to check the BIOS setting

Step-by-step guide

  1. Use the following command to enter the interactive wmic interface:

    ...> wmic

    .

  2. The following command will gather the number of cores and the number of logical processors:

    wmic:root\cli> CPU Get NumberOfCores,NumberOfLogicalProcessors /Format:List

    .

Example1: physical server

C:\Users\Spock>wmic

wmic:root\cli>CPU Get NumberOfCores,NumberOfLogicalProcessors /Format:List


NumberOfCores=4

NumberOfLogicalProcessors=8



wmic:root\cli>exit


This shows that hyperthreading is being used by the system. The amount of (physical) cores will not be the same as the number of logical processors.

(info) If the number of logical processors is greater than physical processors (cores), then hyperthreading is enabled.


Example2: VMware virtual server / Windows 2008R2



Related articles




© Stromasys, 1999-2024  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described.