Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@assafmo
Last active May 15, 2019 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save assafmo/eb1be9e6bec15a10ba38957bc0950f78 to your computer and use it in GitHub Desktop.
Save assafmo/eb1be9e6bec15a10ba38957bc0950f78 to your computer and use it in GitHub Desktop.
Set scaling governor to performance, set noatime in root filesystem, install preload
#!/bin/sh
echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
# sudo nano /etc/fstab
# And add noatime to the rott filesystem's options
#!/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