I'm working on a dynamic CPU core management system for my Raspberry Pi 4 Model B. My goal is to initially disable three cores (core1, core2, core3) and keep only core0 active. When a heavy task runs and exceeds a certain CPU usage threshold, the system should automatically enable additional cores one by one as needed. Once the load decreases, the extra cores should be disabled again to save power. I'm looking for the best approach to achieve this—whether through CPU hotplugging (/sys/devices/system/cpu/cpuX/online), frequency scaling (cpufreq), or possibly modifying the Linux scheduler. Has anyone experimented with a similar dynamic CPU scaling method on the Raspberry Pi? Any insights or suggestions would be greatly appreciated!
Statistics: Posted by anis_ghabarou — Fri Jan 31, 2025 9:12 pm — Replies 1 — Views 52