Hi Leo.
[CC'ing eas-dev].
As discussed, here's an useful break-down of middleware configuration examples and resources shared with us. The publically available resources provide additional context about how hinting is coupled to SchedTune.
cpusets https://android.googlesource.com/device/google/marlin/+/nougat-dr1-release/i... write /dev/cpuset/top-app/cpus 0-3 write /dev/cpuset/foreground/boost/cpus 0-2 write /dev/cpuset/foreground/cpus 0-2 write /dev/cpuset/background/cpus 0 write /dev/cpuset/system-background/cpus 0-2
cpuctl https://android.googlesource.com/device/google/marlin/+/nougat-dr1-release/i... write /dev/cpuctl/cpu.shares 1024 write /dev/cpuctl/cpu.rt_runtime_us 800000 write /dev/cpuctl/cpu.rt_period_us 1000000 mkdir /dev/cpuctl/bg_non_interactive chown system system /dev/cpuctl/bg_non_interactive/tasks chmod 0666 /dev/cpuctl/bg_non_interactive/tasks # 5.0 % write /dev/cpuctl/bg_non_interactive/cpu.shares 52 write /dev/cpuctl/bg_non_interactive/cpu.rt_runtime_us 700000 write /dev/cpuctl/bg_non_interactive/cpu.rt_period_us 1000000
SchedTune https://android.googlesource.com/device/google/marlin/+/nougat-dr1-release/i... write /dev/stune/foreground/schedtune.prefer_idle 1 write /dev/stune/top-app/schedtune.boost 10 write /dev/stune/top-app/schedtune.prefer_idle 1
PowerHAL https://android.googlesource.com/device/google/marlin/+/nougat-dr1-release/p...
Robin IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.