News for hackers. Stuff that matters.
Re:Raspberry Pi Zero 2 W by lloydatkinson on Thursday October 28, 2021 @04:33AM (#29023738)
That's a big jump. Is there a way of getting Linux to disable a couple of cores?
Re:Raspberry Pi Zero 2 W by rbanffy on Thursday October 28, 2021 @07:57AM (#29024994)
`echo 0 > /sys/devices/system/cpu/cpu[0-n]/online` should do what you want.
Re:Raspberry Pi Zero 2 W by geerlingguy on Thursday October 28, 2021 @12:23PM (#29027840)
Even 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-reduc...

Re:Raspberry Pi Zero 2 W by rbanffy on Thursday October 28, 2021 @07:42PM (#29033512)
Well… I said it should, not that it would. ;-)
Re:Raspberry Pi Zero 2 W by hulitu on Thursday October 28, 2021 @04:43AM (#29023808)
On x86 there was an option, i think nr_cpus or something like that some time ago. There was also SMP_KERNEL kernel config option.