Last active
January 8, 2021 06:39
-
-
Save johanburati/b5cd3c42b3182519668d8772370a73ee to your computer and use it in GitHub Desktop.
Disable Hyperthreading
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for cpu in $(find /sys/devices/system/cpu/cpu* -name online); do echo "$cpu"; echo 0 > $cpu; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run as root: