aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rootdir/etc/init.tab2.rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/rootdir/etc/init.tab2.rc b/rootdir/etc/init.tab2.rc
index 2a746a5..28b128b 100644
--- a/rootdir/etc/init.tab2.rc
+++ b/rootdir/etc/init.tab2.rc
@@ -40,6 +40,12 @@ on fs
insmod /system/lib/modules/pvrsrvkm_sgx540_120.ko
start pvrsrvinit
+ # read only 1 page at a time
+ write /proc/sys/vm/page-cluster 0
+
+ # set swappines to 100
+ write /proc/sys/vm/swappiness 100
+
mount debugfs /sys/kernel/debug /sys/kernel/debug
on post-fs-data