Sources
- Cap zram at 8 GiB with lzo-rle and lower swappiness for desktop responsiveness
- Cap zram at 8 GiB with lzo-rle and lower swappiness for desktop responsiveness (#20033)
- review-comment by
greptile-apps[bot]
- review-comment by
greptile-apps[bot]
- review-comment by
dhh
- review-comment by
dhh
- issue-comment by
omarchybot
- Keep session.slice out of swap and prioritize desktop CPU weight
- Keep session.slice out of swap and prioritize desktop CPU weight (#20048)
- issue-comment by
greptile-apps[bot]
dhh opened and merged omacom/omarchy#20033 into the quattro development branch, landing as omacom/omarchy@3c295f2754e6. The change caps zram at half of RAM or 8 GiB, whichever is smaller, and switches its compression from zstd to lzo-rle. It also lowers vm.swappiness to 1 and drops Omarchy's vm.vfs_cache_pressure override. The pull request blames the old settings for desktop freezes while local AI models or heavy browser and development work are running: they pushed live desktop and compositor pages into swap to keep read-only model weights in cache.
dhh's own measurements on two machines show much shorter Wayland frame stalls and memory pressure stalls. These are the author's figures and were not independently reproduced.
greptile-apps[bot] flagged two problems in the migration. Failed sysctl writes were hidden, so a migration could be marked complete without applying anything (omacom/omarchy#20033:discussion_r4680516225). Reloading the whole sysctl file would also reset the GB10 memory override (omacom/omarchy#20033:discussion_r4680516212).
dhh replied that the migration now writes only the changed keys and lets failures through, so it stays pending (omacom/omarchy#20033:discussion_r4680572186 and omacom/omarchy#20033:discussion_r4680572542).
omarchybot reported that its two classifiers disagreed on whether this was a bug fix or an enhancement, and that no tests ran on its side (omacom/omarchy#20033:issuecomment-7132811106).
Later in the day dhh opened and merged omacom/omarchy#20048, committed as omacom/omarchy@10c65dc6d69b. It sets MemorySwapMax=0 and CPUWeight=500 on session.slice, which holds Hyprland, Quickshell, PipeWire and the portals. Apps and local models in app.slice absorb all swap and remain the only systemd-oomd kill candidates. The
greptile-apps[bot] summary found no actionable issues (omacom/omarchy#20048:issuecomment-7139188423). For users, the menu, the bar and workspace switching should stay responsive when a model or a big build is filling memory.
