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 c9995a8Copy full SHA for c9995a8
usr/lib/udev/rules.d/30-zram.rules
@@ -9,6 +9,12 @@ 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_boost_factor}="0"
16
+SYSCTL{vm.watermark_scale_factor}="125"
17
+SYSCTL{vm.page-cluster}="0"
18
19
20
LABEL="zram_end"
0 commit comments