sm6150-common: rootdir: 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: Arian <arian.kulmer@web.de>
This commit is contained in:
parent
7e0b1d8983
commit
e66b019316
@ -137,6 +137,11 @@ case "$soc_id" in
|
||||
echo "0:1209600" > /sys/module/cpu_boost/parameters/input_boost_freq
|
||||
echo 40 > /sys/module/cpu_boost/parameters/input_boost_ms
|
||||
|
||||
# Configure default schedTune value for foreground/top-app
|
||||
echo 1 > /dev/stune/foreground/schedtune.prefer_idle
|
||||
echo 10 > /dev/stune/top-app/schedtune.boost
|
||||
echo 1 > /dev/stune/top-app/schedtune.prefer_idle
|
||||
|
||||
# Set Memory parameters
|
||||
configure_memory_parameters
|
||||
|
||||
@ -257,6 +262,11 @@ case "$soc_id" in
|
||||
echo "0:1248000" > /sys/module/cpu_boost/parameters/input_boost_freq
|
||||
echo 40 > /sys/module/cpu_boost/parameters/input_boost_ms
|
||||
|
||||
# Configure default schedTune value for foreground/top-app
|
||||
echo 1 > /dev/stune/foreground/schedtune.prefer_idle
|
||||
echo 10 > /dev/stune/top-app/schedtune.boost
|
||||
echo 1 > /dev/stune/top-app/schedtune.prefer_idle
|
||||
|
||||
# Set Memory parameters
|
||||
configure_memory_parameters
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user