ipq806x: Tweak CPU for max stability and performance

This commit is contained in:
ACwifidude
2021-09-04 10:15:19 -05:00
parent 785eb703a4
commit d402988223
2 changed files with 4 additions and 1 deletions

View File

@@ -17,4 +17,7 @@ boot() {
mtd resetbc s_env || true
;;
esac
sysctl -w vm.min_free_kbytes=65536
sysctl -w net.netfilter.nf_conntrack_max=32768
}

View File

@@ -12,6 +12,6 @@ boot() {
echo 600000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq
echo 600000 > /sys/devices/system/cpu/cpufreq/policy1/scaling_min_freq
echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
echo 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo 25 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
fi
}