Last active
May 15, 2019 10:22
-
-
Save assafmo/eb1be9e6bec15a10ba38957bc0950f78 to your computer and use it in GitHub Desktop.
Set scaling governor to performance, set noatime in root filesystem, install preload
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/sh | |
echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor |
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
# sudo nano /etc/fstab | |
# And add noatime to the rott filesystem's options |
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 | |
sudo apt install -y preload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment