Set swappiness to 30 for compcache
This commit is contained in:
parent
50b7b523a5
commit
0cd3570f3b
@ -11,6 +11,7 @@ MODULES_DIR=/system/modules/lib/modules/`uname -r`
|
||||
case "$1" in
|
||||
start)
|
||||
echo 3 > /proc/sys/vm/drop_caches
|
||||
echo 30 > /proc/sys/vm/swappiness
|
||||
modprobe $MODULE
|
||||
rzscontrol $DEV --disksize_kb=$2 --init
|
||||
swapon $DEV
|
||||
|
Loading…
Reference in New Issue
Block a user