android13/packages/services/Car/tools/cpu_perf/pixel6.config

44 lines
936 B
Plaintext

# CPU settings config for Pixel6
# 0-3: 1.8GHz
# 4,5: 2.2GHz
# 6,7: 2.8GHz
# This should be specified before case.
# Otherwise offline only case will not work.
allcores:0-7
core_max_freq_khz:0-3=1803000
core_max_freq_khz:4,5=2253000
core_max_freq_khz:6,7=2802000
# this is default
default_governor:performance
case:default
# no CPU to turn off
online:0-7
cpuset:system-background=0-3
cpuset:foreground=0-5
cpuset:camera-daemon-high-group=0-7
cpuset:camera-daemon=0-7
cpuset:top-app=0-7
cpuset:camera-daemon-mid-group=0-7
cpuset:background=0-1
cpuset:restricted=0-3
cpuset:camera-daemon-mid-high-group=0-7
# top one for /dev/cpuset/cpus
cpuset:=0-7
governor:sched_pixel
case:6high
# two weakest cores gone, 6 cores
offline:2,3
cpuset:foreground=0,1,4,5,6
case:6topbottom
# two middle cores gone, 6 cores
offline:4,5
cpuset:foreground=0,1,2,3,6
case:3half
# three core config
online:0,4,6