diff --git a/etc/systemd/swap.conf.d/swap.conf b/etc/systemd/swap.conf.d/swap.conf index fab386b..ef72829 100644 --- a/etc/systemd/swap.conf.d/swap.conf +++ b/etc/systemd/swap.conf.d/swap.conf @@ -1,5 +1,8 @@ zram_enabled=1 zswap_enabled=0 swapfc_enabled=0 -zram_size=$(( RAM_SIZE )) +zram_size=$(( RAM_SIZE )) +zram_count=1 +zram_streams=${NCPU} +zram_alg=lzo-rle