From 2f2b980b057dc5c1973136b8dd4bdab5533334bc Mon Sep 17 00:00:00 2001 From: mustard Date: Sat, 3 Jan 2026 22:13:04 +0100 Subject: [PATCH] debug: tweak zram-generator.conf zram-size value. Similar to chromebooks, zram should be twice the size of the maximum allowed ram. As the MemTotal value the vm starts with appears to be the minimum value (despite memory ballooning supposed to have the vm start with max ram then balloon down), multiply it by 10 to get the max allowed ram. --- roles/baseline/files/etc/systemd/zram-generator.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/baseline/files/etc/systemd/zram-generator.conf b/roles/baseline/files/etc/systemd/zram-generator.conf index 9f4fae0..0e6ef45 100644 --- a/roles/baseline/files/etc/systemd/zram-generator.conf +++ b/roles/baseline/files/etc/systemd/zram-generator.conf @@ -1,3 +1,3 @@ [zram0] -zram-size = ram * 3 +zram-size = ram * 20 compression-algorithm = zstd