kunlun2: Add SchedTune configuration
Bug: 36367381 Test: Boot and check stune configuration effect on sysfs Change-Id: I838c31d164684a5d88550c92284b65bb50f2ed56 Signed-off-by: Andres Oportus <andresoportus@google.com> Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org> Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
parent
bae3d485a5
commit
37bb69e906
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue