Skip to content

Instantly share code, notes, and snippets.

View agalazis's full-sized avatar
🦁
https://youtu.be/a-BOSpxYJ9M?feature=shared&t=2129

Andreas Galazis agalazis

🦁
https://youtu.be/a-BOSpxYJ9M?feature=shared&t=2129
View GitHub Profile
@agalazis
agalazis / linux_performance.md
Last active August 11, 2023 15:21 — forked from Nihhaar/linux_performance.md
Linux simple performance tweaks

Linux simple performance tweaks

Change the I/O Scheduler

Open $ vim /etc/default/grub then add elevator=noop next to GRUB_CMDLINE_LINUX_DEFAULT. Run $ update-grub and $ cat /sys/block/sda/queue/scheduler to be sure that noop is being used:

$ vim /etc/default/grub
$ update-grub
$ cat /sys/block/sda/queue/scheduler

[noop] deadline cfq