Hyperthreading
Enabling hyperthreading for
To check hyperthreading status on a XenServer host:
- Open a local shell and log in as 'root'.
- Run the following command to display the number of threads uses on the XenServer host
xl info | grep threads_per_core
A value greater than 1 indicates that hyperthreading is enabled on the host. A value of 1 indicates that hyperthreading is disabled on the Xen command line or not enabled on the hardware.
To enable hyperthreading on a XenServer host:
- Open a local shell and log in as 'root'.
- Enter the following command:
/opt/xensource/libexec/xen-cmdline --set-xen smt=1
- Restart the XenServer host.
To disable hyperthreading on a XenServer host:
- Open a local shell and log in as 'root'.
- Enter the following command:
/opt/xensource/libexec/xen-cmdline --set-xen smt=0
- Restart the XenServer host.