summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init.rc4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.rc b/init.rc
index 37e48a3..bba3d98 100644
--- a/init.rc
+++ b/init.rc
@@ -144,7 +144,9 @@ on boot
write /proc/1/oom_adj -16
# Tweak background writeout
- write /proc/sys/vm/dirty_expire_centisecs 200
+ write /proc/sys/vm/dirty_writeback_centisecs 2000
+ write /proc/sys/vm/dirty_expire_centisecs 1000
+ write /proc/sys/vm/dirty_ratio 90
write /proc/sys/vm/dirty_background_ratio 5
# Permissions for System Server and daemons.