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 b835ef0 commit 86d9843Copy full SHA for 86d9843
zram
@@ -1,4 +1,4 @@
1
# The factor is how much (from 0 to 100, percentage)
2
# of system RAM to allocate to ZRAM block devices
3
# Too big, and your system will start killing off processes
4
-FACTOR=90
+FACTOR=33
zramstart
@@ -4,7 +4,7 @@ num_cpus=$(grep -c processor /proc/cpuinfo)
[ "$num_cpus" != 0 ] || num_cpus=1
5
6
last_cpu=$((num_cpus - 1))
7
8
[ -f /etc/sysconfig/zram ] && source /etc/sysconfig/zram || true
9
factor=$FACTOR # percentage
10
0 commit comments