Last active
December 20, 2025 19:23
-
-
Save rodhfr/edd4d39a15c725c7c9453efe0fee2ade to your computer and use it in GitHub Desktop.
This file contains hidden or 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 btrfs filesystem mkswapfile --size 16g /swapfile | |
| sudo swapon /swapfile | |
| htop | |
| sudo nvim /etc/sysctl.d/99-sysctl.conf | |
| # /etc/sysctl.d/99-sysctl.conf | |
| # vm.swappiness=20 | |
| # check swapiness: | |
| ls /proc/sys/vm/swapiness | |
| sudo nvim /etc/fstab | |
| # /etc/fstab | |
| # /swapfile none swap sw,pri=-2 0 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment