Commit 93fa8c61 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Default swap should be 66% of physical RAM

parent 1ec87215
# The factor is how much (from 0 to 100, percentage) # The factor is RAM/swap ratio (from 0 to 100, percentage)
# of system RAM to allocate to ZRAM block devices FACTOR=66
# Too big, and your system will start killing off processes
FACTOR=33
#!/bin/sh #!/bin/sh
FACTOR=33 FACTOR=66
[ -f /etc/sysconfig/zram ] && source /etc/sysconfig/zram || true [ -f /etc/sysconfig/zram ] && source /etc/sysconfig/zram || true
factor=$FACTOR # percentage factor=$FACTOR # percentage
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment