n/essentialsoftware.md: note zram instead of zramswap

This commit is contained in:
Aminda Suomalainen 2025-03-16 12:07:22 +02:00
parent 98392304bb
commit f04fb8e65b
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -93,9 +93,6 @@ _{{ page.excerpt }}_
- `systemd-oomd`
- remember to `sudo systemctl enable --now systemd-oomd`
- https://codeberg.org/Aminda/shell-things/src/branch/cxefa/etc/systemd/oomd.conf.d
- `zram-tools` - small compressed swap in RAM
- Remember to check configs! Fedora: `/etc/zram.conf`
- `sudo systemctl enable --now zramswap.service zram-swap.service`
- `thermald` for additional help keeping system cool, especially intel
- `sudo systemctl enable --now thermald`
- `vnstat` - help for observing bandwidth usage
@ -104,6 +101,18 @@ _{{ page.excerpt }}_
- `tlp` - for laptop power management, especially ThinkPad.
- `sudo tlp-stat | less`
- `sudo systemctl enable --now tlp`
- `zram` - for compressing RAM and getting a bit more breathing room before
userspace oom killer hits.
- Fedora: `sudo dnf install zram-generator zram-generator-defaults`
- Debian: `sudo apt install systemd-zram-generator`
- To check that it works `zramctl`. May take a while after
`sudo systemctl reload` or a reboot.
<!--
- `zram-tools` - small compressed swap in RAM
- Remember to check configs! Fedora: `/etc/zram.conf`
- `sudo systemctl enable --now zramswap.service zram-swap.service`
-->
## Essential system configuration
@ -162,7 +171,8 @@ See Fedora, but change the `FONT` to `"ter-132b"` instead.
### Swap
Zramswap is not enough. 8 GB everywhere may be enough,
<!--Zramswap is not enough.--> 8 GB everywhere may be enough,
[summarizing Gentoo](https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation#What_about_swap_space.3F).
No swap partition and swap file is acceptable (consider SSD)? See above for