From 37bb69e906e83fefa72b6972d24aec748620daf6 Mon Sep 17 00:00:00 2001 From: Andres Oportus Date: Fri, 24 Mar 2017 11:21:47 -0700 Subject: [PATCH] kunlun2: Add SchedTune configuration Bug: 36367381 Test: Boot and check stune configuration effect on sysfs Change-Id: I838c31d164684a5d88550c92284b65bb50f2ed56 Signed-off-by: Andres Oportus Signed-off-by: Henrique Pereira Signed-off-by: SamarV-121 --- rootdir/etc/init.qcom.rc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 05e9370..2a5b59a 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -47,6 +47,12 @@ on init mount none /system/etc/init/android.hardware.light@2.0-service.rc /vendor/etc/init/android.hardware.light@2.0-service.rc bind mount none /vendor/lost+found /vendor/overlay bind + # set default schedTune value for foreground/top-app + # Set default values for foreground and top-app stune + write /dev/stune/foreground/schedtune.prefer_idle 1 + write /dev/stune/top-app/schedtune.boost 10 + write /dev/stune/top-app/schedtune.prefer_idle 1 + on late-fs # Runtime fs tuning write /sys/block/sda/queue/iostats 0