LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 06-11-2019, 02:47 PM   #1
MonikaGShah
LQ Newbie
 
Registered: Jun 2019
Posts: 8

Rep: Reputation: Disabled
OnDemand Governor is not found in scaling available governors


I am using Ubuntu 18.04 OS.

OnDemand Governor is not found in /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors .

It shows only i) powersave and ii) performance
 
Old 06-11-2019, 06:28 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
that is what I got, and when it is on powersave, is just runs slower until needed to be faster.. so yes it is basically on demand. if it is on performance it runs faster, and if it need to be faster then it goes to the turbo speed max GHz as needed. so it is still on demand. it is just how fast do you want your CPUS to "idle", basically.
 
Old 06-12-2019, 04:14 PM   #3
MonikaGShah
LQ Newbie
 
Registered: Jun 2019
Posts: 8

Original Poster
Rep: Reputation: Disabled
May I know what is difference between power save and that ondemand and conservative governor?
Does Powersave plan has only 3 stage : slower, faster , and turbo ?
 
Old 06-12-2019, 06:03 PM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
CPU Performance Scaling
 
Old 06-22-2019, 05:25 PM   #5
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,830
Blog Entries: 17

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
Quote:
Originally Posted by MonikaGShah View Post
I am using Ubuntu 18.04 OS.

OnDemand Governor is not found in /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors .

It shows only i) powersave and ii) performance
Probably because you are using Intel_pstate and not acpi-cpufreq. Check with command cpupower frequency-info of cpufreq-info to know which model you are using. Add intel_pstate=disable to your boot parameters to use acpi-cpufreq. Personally I like acpi-cpufreq alot more than Intel Pstate. I think odemand and conservative are by far the best governors available.. In particular my favourite is Conservative.

Quote:
Originally Posted by MonikaGShah View Post
May I know what is difference between power save and that ondemand and conservative governor?
Does Powersave plan has only 3 stage : slower, faster , and turbo ?
Powersave is a hyperbole and a joke, and "absolute opposite" of performance. I don't like it, the performance is poor and it scales badly. Governor tests done by professionals backs this claim up. Powersave is BAD.

Conservative is awesome in my book, very similar to ondemand, but more conservative. It's exactly what a CPU governor should do in my book. Ondemand is pretty good too, but conservative is absolutey awesome.

For me:
If scaling
then acpi_cpufreq
&& set -g conservative

Always, always, always.

PS. Ondemand performance is slightly better than conservative, but I prefer to use less power (and increase battery time) and increase the cpu lifespan.

Quote:
Originally Posted by BW-userx View Post
that is what I got, and when it is on powersave, is just runs slower until needed to be faster.. so yes it is basically on demand. if it is on performance it runs faster, and if it need to be faster then it goes to the turbo speed max GHz as needed. so it is still on demand. it is just how fast do you want your CPUS to "idle", basically.
Except it does not work well, and turbo speed is not clever if you want to maintain your CPU for a long time. This used to and probably still is the issue with Windows, it has a tendency to overheat the CPU and shorten the lifespan. Intel_pstate very much remind me of the poor policies of Windows.

Always max or always minimum, seems to the only two options.

acpi_cpufreq is absolutely a wonderful work and ondemand and conservative are great, conservative is perfect. Unless ofcourse you work with very performance dependent software and always need to max your CPU and don't care about the computer longevity.

Quote:
Originally Posted by MonikaGShah View Post
May I know what is difference between power save and that ondemand and conservative governor?
Does Powersave plan has only 3 stage : slower, faster , and turbo ?
It's generally always on lowest, while ondemand and conservative scales up better when you need more performance.

Last edited by zeebra; 06-22-2019 at 05:35 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Cupfreq Scaling Governors and ondemand Vs performance mode akamikeym Linux - Software 1 12-03-2012 09:38 AM
systemd: replacing an init script for cpu scaling governors Meson Linux - Software 3 08-29-2012 01:24 PM
[SOLVED] Using the "powersave" governor on battery and "ondemand" governor on AC power piratesmack Slackware 5 01-21-2010 12:54 PM
Ondemand governor won't work, processor always stuck in high P-state mslzr Linux - Laptop and Netbook 2 11-03-2009 08:22 AM
anyone know how to setup 'ondemand' governor with cpufreq ? -=Graz=- Ubuntu 3 05-15-2006 06:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration