CPU Governor set to power save not performance Ubuntu studio 22.04 - Printable Version +- Harrison Mixbus Forum (https://forum.harrisonconsoles.com) +-- Forum: Mixbus User Forum (https://forum.harrisonconsoles.com/forum-1.html) +--- Forum: Mixbus Support (Linux) (https://forum.harrisonconsoles.com/forum-7.html) +--- Thread: CPU Governor set to power save not performance Ubuntu studio 22.04 (/thread-10698.html) |
CPU Governor set to power save not performance Ubuntu studio 22.04 - wavesound - 04-30-2022 Hi All If I forget to change this after boot from power save MB has a hissy fit. Is there a way to set performance as default? Looking at some old posts lots of editing config files places I would rather not ry if possible. I'm sure I could set this once in 20.04 and it stayed on performance. Any ideas? Cheers All RE: CPU Governor set to power save not performance Ubuntu studio 22.04 - madmaxmiller - 04-30-2022 (04-30-2022, 02:34 PM)wavesound Wrote: Hi All Try Code: sudo systemctl disable ondemand If you don't like it to be full on all time anymore you simply re-enable it. MMM RE: CPU Governor set to power save not performance Ubuntu studio 22.04 - wavesound - 05-08-2022 (04-30-2022, 09:51 PM)madmaxmiller Wrote:(04-30-2022, 02:34 PM)wavesound Wrote: Hi All Hi Thanks for the reply I got this: [sudo] password for studio: Failed to disable unit: Unit file ondemand.service does not exist. cheers RE: CPU Governor set to power save not performance Ubuntu studio 22.04 - madmaxmiller - 05-09-2022 (05-08-2022, 03:35 PM)wavesound Wrote:(04-30-2022, 09:51 PM)madmaxmiller Wrote:(04-30-2022, 02:34 PM)wavesound Wrote: Hi All Fantastic! That means that that service which sets your CPU ondemand is not installed. Here's a clunky but simple method with minimal scripting: Code: sudo su (adjust for your number of physical cores) You can also make that into little scripts which you can run as root, one with "powersave" or "ondemand" and one with "performance" HTH MMM RE: CPU Governor set to power save not performance Ubuntu studio 22.04 - Harvey.Stuart - 05-09-2022 (05-09-2022, 05:59 AM)madmaxmiller Wrote:(05-08-2022, 03:35 PM)wavesound Wrote:(04-30-2022, 09:51 PM)madmaxmiller Wrote:(04-30-2022, 02:34 PM)wavesound Wrote: Hi All Yup, something simple as making an executable script along this example: Code: cat /usr/local/bin/SCALE_GOV SCALE_GOV powersave or SCALE_GOV performance RE: CPU Governor set to power save not performance Ubuntu studio 22.04 - sunrat - 05-10-2022 There's a neat utility called cpupower-gui if you want a graphical way to change scaling governor. I prefer to change it back to ondemand when not doing audio production, to save power and run cooler. RE: CPU Governor set to power save not performance Ubuntu studio 22.04 - drsaamah - 05-10-2022 i have installed the indicator-cpufreq on xubuntu from the ubuntu repos and with 2 clicks it sets the governor for all the cores. i think you need cpufreq package installed but it works as a graphical front end and works great. RE: CPU Governor set to power save not performance Ubuntu studio 22.04 - madmaxmiller - 05-10-2022 (05-10-2022, 07:49 AM)sunrat Wrote: There's a neat utility called cpupower-gui if you want a graphical way to change scaling governor. I prefer to change it back to ondemand when not doing audio production, to save power and run cooler. I even don't switch to "performance" every time I do audio. It keeps the fans off. Although, it must be said that my "powersave" is someone else's "performance" Maybe that's a good reason for having a beefy CPU? (I have that XEON machine only through some lucky coincidence) MMM RE: CPU Governor set to power save not performance Ubuntu studio 22.04 - sunrat - 05-10-2022 (05-10-2022, 06:54 PM)madmaxmiller Wrote: I even don't switch to "performance" every time I do audio. Same. With a few minor tweaks, mainly a good kernel, rt-irq and threadirqs, ondemand governor setting can well handle most except the heaviest tasks. It is also mentioned in the recently revised wiki guide - https://wiki.linuxaudio.org/wiki/system_configuration RE: CPU Governor set to powersave not performance Ubuntu studio 22.04 - wavesound - 05-15-2022 Hi All Just done a quick test on this this system and in power save mode MB shows many xruns when sitting idle, plus DSP is at 90%. Setting performance, restarting Jack and all is as it should be. So we need a way to enable performance from boot. Any ideas on Ubuntu 22.04 Studio? Cheers all. |