We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69dcf5e commit 429f037Copy full SHA for 429f037
usr/lib/udev/rules.d/30-zram.rules
@@ -9,6 +9,10 @@ TEST!="/dev/zram0", GOTO="zram_end"
9
# the page cache as hermetic as possible, because otherwise it is "expensive"
10
# to read data from disk again. At the same time, uncompressing pages from ZRAM
11
# is not as expensive and is usually very fast on modern CPUs.
12
-SYSCTL{vm.swappiness}="150"
+SYSCTL{vm.swappiness}="180"
13
+
14
+# Based on https://wiki.archlinux.org/title/Zram#Optimizing%20swap%20on%20zram
15
+SYSCTL{vm.watermark_scale_factor}="125"
16
17
18
LABEL="zram_end"
0 commit comments