lscpu shows wrong amount of threads per core if logical CPU is disabled in a run-time on a Hyper-Threading system

Solution Verified - Updated -


After disabling one or several virtual CPUs on a Hyper-Threading system with echo 0 >/sys/devices/system/cpu/cpuX/online command, lscpu tool output shows wrong Thread(s) per core field value, telling that Hyper-Threading is disabled now.



Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In