Home Determine if Hyper-Threading is Enabled on a Nutanix AHV Host
Post
Cancel

Determine if Hyper-Threading is Enabled on a Nutanix AHV Host

I had a customer ask if Hyper-Threading (HT) was enabled on their Nutanix AHV host. As of AOS 5.18 (Oct 2020) the HT status is not visible in Prism. You only see the actual cores on the host.

Prism Output

To get the HT status, you have to jump into the CLI. SSH into a Nutanix CVM and run:

1
hostssh "lscpu | egrep '^Thread|^Core|^Socket|^CPU\('"

The hostssh macro will run the following command on all hypervisor hosts in the Nutanix cluster. Very helpful!

If Thread(s) per core is set to 2, then HT is enabled.

Command Output

This post is licensed under CC BY 4.0 by the author.
Trending Tags