sm6150-common: rootdir: Kang governor settings from sunfish
Change-Id: I91b54aee5020f7e43ce0d9a6637aea07a06c1259
This commit is contained in:
parent
656a445165
commit
50f85ceb1b
@ -107,17 +107,13 @@ case "$soc_id" in
|
|||||||
|
|
||||||
# configure governor settings for little cluster
|
# configure governor settings for little cluster
|
||||||
echo "schedutil" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
|
echo "schedutil" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
|
||||||
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/schedutil/up_rate_limit_us
|
echo 500 > /sys/devices/system/cpu/cpu0/cpufreq/schedutil/up_rate_limit_us
|
||||||
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/schedutil/down_rate_limit_us
|
echo 20000 > /sys/devices/system/cpu/cpu0/cpufreq/schedutil/down_rate_limit_us
|
||||||
echo 1209600 > /sys/devices/system/cpu/cpu0/cpufreq/schedutil/hispeed_freq
|
|
||||||
echo 576000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
|
|
||||||
|
|
||||||
# configure governor settings for big cluster
|
# configure governor settings for big cluster
|
||||||
echo "schedutil" > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor
|
echo "schedutil" > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor
|
||||||
echo 0 > /sys/devices/system/cpu/cpu6/cpufreq/schedutil/up_rate_limit_us
|
echo 500 > /sys/devices/system/cpu/cpu6/cpufreq/schedutil/up_rate_limit_us
|
||||||
echo 0 > /sys/devices/system/cpu/cpu6/cpufreq/schedutil/down_rate_limit_us
|
echo 20000 > /sys/devices/system/cpu/cpu6/cpufreq/schedutil/down_rate_limit_us
|
||||||
echo 1209600 > /sys/devices/system/cpu/cpu6/cpufreq/schedutil/hispeed_freq
|
|
||||||
echo 768000 > /sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq
|
|
||||||
|
|
||||||
# sched_load_boost as -6 is equivalent to target load as 85. It is per cpu tunable.
|
# sched_load_boost as -6 is equivalent to target load as 85. It is per cpu tunable.
|
||||||
echo -6 > /sys/devices/system/cpu/cpu6/sched_load_boost
|
echo -6 > /sys/devices/system/cpu/cpu6/sched_load_boost
|
||||||
@ -219,17 +215,13 @@ case "$soc_id" in
|
|||||||
|
|
||||||
# configure governor settings for little cluster
|
# configure governor settings for little cluster
|
||||||
echo "schedutil" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
|
echo "schedutil" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
|
||||||
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/schedutil/up_rate_limit_us
|
echo 500 > /sys/devices/system/cpu/cpu0/cpufreq/schedutil/up_rate_limit_us
|
||||||
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/schedutil/down_rate_limit_us
|
echo 20000 > /sys/devices/system/cpu/cpu0/cpufreq/schedutil/down_rate_limit_us
|
||||||
echo 1248000 > /sys/devices/system/cpu/cpu0/cpufreq/schedutil/hispeed_freq
|
|
||||||
echo 576000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
|
|
||||||
|
|
||||||
# configure governor settings for big cluster
|
# configure governor settings for big cluster
|
||||||
echo "schedutil" > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor
|
echo "schedutil" > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor
|
||||||
echo 0 > /sys/devices/system/cpu/cpu6/cpufreq/schedutil/up_rate_limit_us
|
echo 500 > /sys/devices/system/cpu/cpu6/cpufreq/schedutil/up_rate_limit_us
|
||||||
echo 0 > /sys/devices/system/cpu/cpu6/cpufreq/schedutil/down_rate_limit_us
|
echo 20000 > /sys/devices/system/cpu/cpu6/cpufreq/schedutil/down_rate_limit_us
|
||||||
echo 1324600 > /sys/devices/system/cpu/cpu6/cpufreq/schedutil/hispeed_freq
|
|
||||||
echo 652800 > /sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq
|
|
||||||
|
|
||||||
# sched_load_boost as -6 is equivalent to target load as 85. It is per cpu tunable.
|
# sched_load_boost as -6 is equivalent to target load as 85. It is per cpu tunable.
|
||||||
echo -6 > /sys/devices/system/cpu/cpu6/sched_load_boost
|
echo -6 > /sys/devices/system/cpu/cpu6/sched_load_boost
|
||||||
|
Loading…
Reference in New Issue
Block a user