ipq806x: Tweak CPU for max stability and performance
This commit is contained in:
		| @@ -17,4 +17,7 @@ boot() { | |||||||
| 		mtd resetbc s_env || true | 		mtd resetbc s_env || true | ||||||
| 		;; | 		;; | ||||||
| 	esac | 	esac | ||||||
|  | 	 | ||||||
|  | 	sysctl -w vm.min_free_kbytes=65536 | ||||||
|  | 	sysctl -w net.netfilter.nf_conntrack_max=32768 | ||||||
| } | } | ||||||
|   | |||||||
| @@ -12,6 +12,6 @@ boot() { | |||||||
|     echo 600000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq |     echo 600000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq | ||||||
|     echo 600000 > /sys/devices/system/cpu/cpufreq/policy1/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 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 |   fi | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 ACwifidude
					ACwifidude