From 61bc3433ea03712a976545edc62a7c7ed4bbe396 Mon Sep 17 00:00:00 2001 From: Vince Leung Date: Mon, 8 Dec 2014 18:18:27 -0800 Subject: [PATCH] init.qcom.post_boot.sh: enable io_is_busy on MSM8994 Enable io_is_busy on MSM8994 to improve IO workloads. Change-Id: I89593271107d7b0db6c434bac72402ccb7863d79 --- rootdir/etc/init.qcom.post_boot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootdir/etc/init.qcom.post_boot.sh b/rootdir/etc/init.qcom.post_boot.sh index 803f3e87..63ae7737 100755 --- a/rootdir/etc/init.qcom.post_boot.sh +++ b/rootdir/etc/init.qcom.post_boot.sh @@ -765,7 +765,7 @@ case "$target" in echo 90 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load echo 20000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate echo 960000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq - echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy + echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy echo 80 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads echo 40000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time echo 80000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/max_freq_hysteresis @@ -780,7 +780,7 @@ case "$target" in echo 90 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/go_hispeed_load echo 20000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/timer_rate echo 1248000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq - echo 0 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/io_is_busy + echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/io_is_busy echo "85 1500000:90 1800000:70" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/target_loads echo 40000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/min_sample_time echo 80000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/max_freq_hysteresis