I have a use case where the RPi will be running boinc and I would like to change the max cpu frequency, ie overclock, without rebooting. More specifically, a cluster of RPis will also work as a small heater, and if an external termometer shows too low temperature, a shell script shall increase the power consumption of the RPis. I've searched online and only found suggestions to change files in the /boot/ directory, which require a reboot to active. I would prefer to change the speed without rebooting.
Any suggestions are welcome!