Simple script to disable pseudo cores from Intel HT.
Shell
#!/bin/bash | |
| |
for sibs in $(find /sys/devices/system/cpu -name thread_siblings_list | sort | uniq) ; do | |
id=$(echo $sibs | awk -F, '{print $2}') | |
[ "$id" ] && { echo 0 > /sys/devices/system/cpu/cpu$id/online; } | |
done |