August 30, 20205 yr Hi, I have some dockers that I use that are not time sensitive. (Example Duckdns) My cpu ramps up then back down for these and I am looking to lock a core at 800MHz(lowest speed cpu can do) so I can assign those dockers to it. Hopefully this will allow the other cores to auto-clock higher within the power package limit I setup while reducing cpu clock spikes. Is there a command to do this in linux? I found cpufreq-set, but its not in Nerd Pack so I'm not sure how to install it so It won't get wiped out in an update. My bios doesn't support per core clock speeds. I'm currently using Tips and Tweaks plugin with the Powersave governor as well. A second option that might work would be to limit the docker cpu utilization so the core doesn't feel the need to upclock. That won't work well when I add multiple to the same core however. Thank you for the help.
September 1, 20205 yr Author So this is as far as I have gotten. I'm able to change the governors per CPU core however when I look at the clocks it doesn't seem to be using them yet. If I turn them all to Performance using the Tweak plugin, and then switch some to power save via command line. The Frequency stays at the max. 1) Disable Intel Driver, add line to flash drive append intel_pstate=disable initrd=/bzroot 2)In a startup script, load the governor modprobe cpufreq_userspace 3)In a startup script, set the last cpu to use it cpufreq-set --cpu 7 --governor userspace 4)Test cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor 5)In a startup script, Set the frequency cpufreq-set --cpu 7 --freq 800000 6)Test watch -n1 "cat /proc/cpuinfo | grep \"^[c]pu MHz\"" *Update, It looks like having turbo boost on overrides these settings. Edited September 1, 20205 yr by agbishara
Archived
This topic is now archived and is closed to further replies.