Set swappiness to 30 for compcache

This commit is contained in:
Steve Kondik 2010-10-18 12:22:23 -04:00
parent 50b7b523a5
commit 0cd3570f3b

View File

@ -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