diff options
author | John Audia <graysky@archlinux.us> | 2022-01-21 14:12:53 -0500 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2022-10-20 00:44:53 +0200 |
commit | b1cc4eac1bc82086cb2569deecb1c68678011ab3 (patch) | |
tree | 06fba07ea224f173fc57d3e7b2437b27d6a151bc /target/linux/mediatek/mt7622 | |
parent | f17608ddca299dc617595247f2ad30a73390dbd7 (diff) | |
download | upstream-b1cc4eac1bc82086cb2569deecb1c68678011ab3.tar.gz upstream-b1cc4eac1bc82086cb2569deecb1c68678011ab3.tar.bz2 upstream-b1cc4eac1bc82086cb2569deecb1c68678011ab3.zip |
mt7622: switch default CPU governor to ondemand
The most common CPU governor in the OpenWRT project is currently ondemand (see
below). Switch mt7622 over to it as well.
Audit the code by running the following and then analyzing the results:
find -name 'config-5.*' -print0 | xargs -0 grep 'CONFIG_CPU_FREQ_DEFAULT_GOV.*=y'
ondemand: 16
performance: 5
schedutil: 5
userspace: 2
Build system: x86_64
Build-tested: ramips/mt7621
Signed-off-by: John Audia <graysky@archlinux.us>
Diffstat (limited to 'target/linux/mediatek/mt7622')
-rw-r--r-- | target/linux/mediatek/mt7622/config-5.15 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mediatek/mt7622/config-5.15 b/target/linux/mediatek/mt7622/config-5.15 index 6aa4d75dc2..8e7734957f 100644 --- a/target/linux/mediatek/mt7622/config-5.15 +++ b/target/linux/mediatek/mt7622/config-5.15 @@ -96,8 +96,8 @@ CONFIG_CONFIGFS_FS=y CONFIG_CONSOLE_LOGLEVEL_DEFAULT=15 # CONFIG_CPUFREQ_DT is not set CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set -CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y CONFIG_CPU_FREQ_GOV_ATTR_SET=y CONFIG_CPU_FREQ_GOV_COMMON=y CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y |