Change the weight of blkio background group
Previous setting is too agressive, so that bg IO processing may
be dealyed too long if there is continuous IO in root (fg) group.
Raise the background weight to avoid critical issue like watchdog.
Test: no restart while filling up the storage
app launch test still gets benefit with IO busy in bg
Bug: 143165069
Change-Id: I679f8cb4148776ac16391fcc2feffe88f8b1c7a5
diff --git a/init.hardware.rc b/init.hardware.rc
index f6643df..fa97493 100644
--- a/init.hardware.rc
+++ b/init.hardware.rc
@@ -606,7 +606,7 @@
# Setup final blkio
# value for group_idle is us
write /dev/blkio/blkio.weight 1000
- write /dev/blkio/background/blkio.weight 10
+ write /dev/blkio/background/blkio.weight 200
write /dev/blkio/blkio.group_idle 2000
write /dev/blkio/background/blkio.group_idle 0