3 ms·
That's a big jump. Is there a way of getting Linux to disable a couple of cores?
by lloydatkinson 5y ago
That's a big jump. Is there a way of getting Linux to disable a couple of cores?
- hulitu 5y agoOn x86 there was an option, i think nr_cpus or something like that some time ago. There was also SMP_KERNEL kernel config option.
- rbanffy 5y ago`echo 0 > /sys/devices/system/cpu/cpu[0-n]/online` should do what you want.
- geerlingguy 5y agoEven as root, that gives `permission denied` on Pi OS on the Zero 2 W. I'm trying the kernel cmdline option too. Edit: That works! See: https://www.jeffgeerling.com/blog/2021/disabling-cores-reduce-pi-zero-2-ws-power-consumption-half https://www.jeffgeerling.com/blog/2021/disabling-cores-reduc...
- rbanffy 5y agoWell… I said it should, not that it would. ;-)