Track zram-generator config; correct STATUS.md/README.md staleness — zram was implemented after these docs were originally written
This commit is contained in:
parent
012332a272
commit
2de15b8161
3 changed files with 38 additions and 12 deletions
21
ansible/templates/zram-generator.conf
Normal file
21
ansible/templates/zram-generator.conf
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# zram-generator.conf — BigBoy's compressed-RAM swap tier
|
||||
#
|
||||
# Implemented 2026-07-19, alongside the existing NVMe swapfile — not a
|
||||
# replacement for it. zram is the fast, first-preference tier (default
|
||||
# priority 100, well above the swapfile's -2); the swapfile is the
|
||||
# larger, slower fallback that actually resolved the original OOM kill
|
||||
# during the llama.cpp CUDA build. Both are active simultaneously,
|
||||
# by decision — see CLAUDE.md / group_vars/bigboy.yml (zram_percentage).
|
||||
#
|
||||
# Deploy: copy to /etc/systemd/system/zram-generator.conf... actually to
|
||||
# /etc/systemd/zram-generator.conf, then:
|
||||
# sudo systemctl daemon-reload
|
||||
# sudo systemctl start systemd-zram-setup@zram0.service
|
||||
# (or just reboot — the generator runs automatically at boot from here on)
|
||||
#
|
||||
# Confirm with: swapon --show
|
||||
# Expect two entries: zram0 (priority 100) and /swapfile (priority -2)
|
||||
|
||||
[zram0]
|
||||
zram-size = ram / 2
|
||||
compression-algorithm = zstd
|
||||
Loading…
Add table
Add a link
Reference in a new issue