The author disables SMT (hyperthreading) like this:
disabled_cpus=(1 3 5 7 9 11 13 15) for cpu_no in $disabled_cpus ; do echo 0 | sudo tee /sys/devices/system/cpu/cpu$cpu_no/online done
sudo tee /sys/devices/system/cpu/smt/control <<< off