aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/etc/systemd/zram-generator.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/systemd/zram-generator.conf')
-rw-r--r--etc/systemd/zram-generator.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/systemd/zram-generator.conf b/etc/systemd/zram-generator.conf
new file mode 100644
index 0000000..c6e112e
--- /dev/null
+++ b/etc/systemd/zram-generator.conf
@@ -0,0 +1,4 @@
+[zram0]
+zram-size = min(ram / 2, 8192)
+compression-algorithm = zstd
+swap-priority = 100