CentOS在不进入BIOS的情况下关闭超线程

 比较新的内核,通过Simultaneous Multithreading (SMT) 实现超线程管理。

1. 查看smt的状态:1=>激活状态,0=> 关闭状态

cat /sys/devices/system/cpu/smt/active 

2. 改变SMT状态

echo off | sudo tee /sys/devices/system/cpu/smt/control

refs:

dell poweredge - Disable hyperthreading from within Linux (no access to BIOS) - Server Faulticon-default.png?t=N7T8https://serverfault.com/questions/235825/disable-hyperthreading-from-within-linux-no-access-to-bios

你可能感兴趣的:(centos,linux,运维)