1# CPU settings config for QCOM 8155 2# 0-3: 1.8GHz 3# 4-6: 2.1GHz 4# 7: 2.4GHz 5 6# This should be specified before case. 7# Otherwise offline only case will not work. 8allcores:0-7 9core_max_freq_khz:0-3=1785600 10core_max_freq_khz:4-6=2131200 11core_max_freq_khz:7=2419200 12# this is default 13default_governor:performance 14 15case:default 16 # no CPU to turn off 17 online:0-7 18 # cpuset checked by adb shell "find /dev/cpuset -name cpus -print -exec cat {} \;" 19 cpuset:system-background=0-3 20 cpuset:foreground=0-7 21 cpuset:camera-daemon=0-3 22 cpuset:top-app=0-7 23 cpuset:background=0-3 24 cpuset:restricted=0-7 25 # top one for /dev/cpuset/cpus 26 cpuset:=0-7 27 governor:schedutil 28 29case:6high 30 # two weakest cores gone, 6 cores 31 offline:2,3 32 cpuset:foreground=0,1,4,5,6 33 cpuset:restricted=0,1,4 34 35case:6mid 36 # two middle cores gone, 6 cores 37 offline:4,5 38 cpuset:foreground=0,1,2,3,6 39 cpuset:restricted=0,1,2 40 41case:3high 42 # three core config 43 online:0,4,7 44 45case:3mid 46 # three core config 47 online:0,4,5 48