qcom-common: ondemand: Modify Sampling Down Factor to 2
Change needed to help improve frequency scaling
in ondemand governor. Sampling Down Factor
is set to 2 in the init.qcom.post_boot.sh
Change-Id: I1f8eb4fabce24ed7076251f2cc1ac96e8dc79dd4
diff --git a/rootdir/etc/init.qcom.post_boot.sh b/rootdir/etc/init.qcom.post_boot.sh
index db01738..7a00e1f 100644
--- a/rootdir/etc/init.qcom.post_boot.sh
+++ b/rootdir/etc/init.qcom.post_boot.sh
@@ -306,7 +306,7 @@
echo 50000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
echo 90 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo 1 > /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy
- echo 4 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
+ echo 2 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/down_differential
echo 300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 300000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq