Proper way to set default CPU Governor?
-
Hi,
I want to set 'ondemand' as the default boot CPU governor, for my uses on my VM host (r730xd), I can save a substantial amount of energy when the box isn't busy if the cpu's are allowed to downclock.
I read a guide that said to edit the grub file and then rebuild but that broke xcp-ng, so I want to ask the right way to do this.
Thank you!
-
@sluflyer06 In order to persist across reboots, you must set the
cpufreqboot option. There's no need to rebuild grub because the change will occur at Xen level (instead of dom0):/opt/xensource/libexec/xen-cmdline --set-xen cpufreq=xen:ondemandAfter that, change the System power profile to
Performance Per Watt (OS)in BIOS.Verifying the config:
Check if the attribute
current_governoris set toondemand:xenpm get-cpufreq-paraCheck the clock scaling:
xenpm start 1|grep "Avg freq" -
@tuxen Thank You, looks like it's booting on the selected cpu scaling now.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login