mirror of
https://github.com/home-assistant/operating-system.git
synced 2026-02-21 02:11:30 +00:00
* Use zswap instead of swap in zram This requires a swap file which will get generated automatically on startup. * Fix file size and free disk space comparison * Set zswap factor to 33% * Set vm.swappiness to 1 Decrease swapping to a minimum. This is also recommended for database work loads by the MariaDB documentation. In practice it causes the least amount of writes to disk when under memory pressure, while still making swap available when needed.