cpu governor - Who the heck cares about Power Saving over Performance? (Quad Core CPU example)
- Code: Select all
apt-get install cpufrequtils
- Code: Select all
for each in 0 1 2 3; do echo performance > /sys/devices/system/cpu/cpu$each/cpufreq/scaling_governor; done
For above, there is a nice little cpu freq panel applet in Mate and I believe Gnome for quick adjustment.
noop scheduler - If running ssd's you will gain performance and your drive's will last longer. That's only true if you enable trim support in /etc/fstab with discard option and disable swap, or run swap on hdd.
- Code: Select all
echo noop > /sys/block/sda/queue/scheduler
- Code: Select all
vi /etc/default/grub
- Code: Select all
GRUB_CMDLINE_LINUX="find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US elevator=noop"
vm.swappiness - one of my personal old favorites when i used spinning disks. And usually set to 60 as default
- Code: Select all
sysctl -a | grep vm.swappiness
- Code: Select all
vi /etc/sysctl.conf
- Code: Select all
sysctl -p