Re: [PATCH v3 0/5] Refactor thermal pressure update to avoid code duplication

From: Steev Klimaszewski
Date: Mon Nov 08 2021 - 18:21:24 EST


Hi Thara,
Hi Steev,

IIUC, PineBook Pro has Rockchip RK3399 which has 2 Cortex A-72 and 4 Cortex A-52 where as C630 has Qualcomm sdm845 which has 4 Cortex A-75 and 4 Cortex A-55. Task placements and subsequently cpu load will be different for both the platforms. With the same workload, I will expect Rockchip to system to be more loaded than sdm845. Having said that, what cpu-freq governor are you using on both the systems.

I'm using sched-util on both of the systems.

I've tried a number of different ways of forcing builds only on the A-75 cores, and I simply cannot get the load to be "enough" to kick in the boost frequency.

An example being

git clone https://github.com/zellij-org/zellij.git

cd zellij

taskset --cpu-list 4-7 cargo build --release

git clean -fdx

taskset --cpu-list 6-7 cargo build --release


On my C630, it never goes higher than 85C with the 4 cores being used, and with 2, it never goes about 65C and I do not get any 2.96GHz.  It's currently sitting at "6" in the time_in_state for 2965800.


--steev