In case youre @FrOSCon I'll give a short talk on #linux #mobile tomorrow: https://programm.froscon.org/2022/events/2797.html
@agx @FrOSCon Great talk! Out of curiosity, do you know what the state of the art is for mobile governors (dynamic frequency scaling) on mainline linux. One of my students has been playing around with Android's governors, and it's looking increasingly like even the defaults (one of which originates from mainline) are over-engineered for the phones we''ve tested on. I don't know what the frequency scaling options look like on the imx8, but there might be some low hanging power savings there.
@agx @FrOSCon What we've been seeing on the snapdragons we've been testing with is that governor policies that adaptively scale CPU frequency are "butting heads" with the idle thread policy. That is, when running the idle thread, it seems like the kernel cuts all power to the core already, so there's not a huge benefit to scaling based on CPU load, which Android's defaults (at least one of which is inherited from linux) are configured to do...
@FrOSCon Slides are at https://git.sigxcpu.org/cgit/talks/2022-08-froscon-is-there-hope-for-linux-on-mobile/plain/talk.pdf , video: https://media.ccc.de/v/froscon2022-2797-is_there_hope_for_linux_on_smartphones