feat(ansible): increase swap to 16GB and apply memory optimizations
- Resized swap file from 4GB to 16GB. - Configured zswap pool (30%) and THP (madvise) via GRUB. - Tuned kernel parameters for proactive reclaim and NVMe write-back. - Integrated systemd-oomd for user slice monitoring. - Updated documentation and changelog.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
---
|
||||
- name: Update GRUB
|
||||
command: update-grub
|
||||
become: yes
|
||||
tags: [grub, boot]
|
||||
|
||||
- name: Restart systemd-oomd
|
||||
systemd:
|
||||
name: systemd-oomd
|
||||
state: restarted
|
||||
become: yes
|
||||
tags: [systemd, oomd]
|
||||
|
||||
- name: Reload systemd
|
||||
systemd:
|
||||
daemon_reload: yes
|
||||
become: yes
|
||||
tags: [systemd]
|
||||
Reference in New Issue
Block a user