From 4830cd4b0bdbbec8d0895f7630b77603b08fc513 Mon Sep 17 00:00:00 2001 From: dr460nf1r3 Date: Fri, 2 Jul 2021 12:26:12 +0200 Subject: [PATCH] We want to use zstd for compression on one device! --- etc/systemd/zram-generator.conf | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/etc/systemd/zram-generator.conf b/etc/systemd/zram-generator.conf index 814642c..d5aad85 100644 --- a/etc/systemd/zram-generator.conf +++ b/etc/systemd/zram-generator.conf @@ -1,23 +1,5 @@ [zram0] host-memory-limit = none -zram-fraction = 0.25 +zram-fraction = 1 max-zram-size = none -compression-algorithm = lzo-rle - -[zram1] -host-memory-limit = none -zram-fraction = 0.25 -max-zram-size = none -compression-algorithm = lzo-rle - -[zram2] -host-memory-limit = none -zram-fraction = 0.25 -max-zram-size = none -compression-algorithm = lzo-rle - -[zram3] -host-memory-limit = none -zram-fraction = 0.25 -max-zram-size = none -compression-algorithm = lzo-rle +compression-algorithm = zstd