[opensuse] How do I control power management CPU frequency scaling in OpenSUSE 11.1?
My Laptop CPU frequency scales even when plugged into AC power and I'd like to disable that feature. How do I do that in OpenSUSE 11.1? The "Power Management" tool in "Control Center" only has options for the display and suspend settings, nothing for the CPU (It used to be there didn't it?). The CPU frequency widget in the toolbar also does not have an option to disable scaling. I know I can probably echo something to /proc but I'm looking for the desktop GUI way, not the command line. Regards, -- John Lange http://www.johnlange.ca -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
I know I can probably echo something to /proc but I'm looking for the desktop GUI way, not the command line.
<http://en.opensuse.org/Category:Power_Management> <http://en.opensuse.org/Pm-utils> there is also: /usr/bin/powersave --help -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Thanks for taking the time to reply but those links are useless. The information is all outdated and even what information is there does not mention anything about CPU frequency scaling (or "throttling", as it's called on one page). -- John Lange http://www.johnlange.ca On Wed, 2009-02-25 at 21:07 +0100, cagsm wrote:
I know I can probably echo something to /proc but I'm looking for the desktop GUI way, not the command line.
<http://en.opensuse.org/Category:Power_Management> <http://en.opensuse.org/Pm-utils>
there is also: /usr/bin/powersave --help
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, Feb 25, 2009 at 11:37 PM, John Lange <john@johnlange.ca> wrote:
Thanks for taking the time to reply but those links are useless. The information is all outdated and even what information is there does not mention anything about CPU frequency scaling (or "throttling", as it's called on one page).
you didnt look into the stuff in detail, and didnt look at powersave command at all. tux:~ # powersave -c DYNAMIC tux:~ # lscpu Architecture: i686 CPU(s): 2 Thread(s) per core: 1 Core(s) per socket: 2 CPU socket(s): 1 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 16 Model: 2 Stepping: 3 CPU MHz: 1400.000 Virtualization: AMD-V L1d cache: 64K L1i cache: 64K L2 cache: 512K L3 cache: 2048K tux:~ # powersave --help ... CPUFreq modes: -f, --performance-speed set cpufreq to performance mode -l, --powersave-speed set cpufreq to powersave mode -A, --dynamic-speed set cpufreq to dynamic mode -c, --cpufreq-state-info print out the current cpufreq policy tux:~ # powersave -f tux:~ # powersave -c PERFORMANCE tux:~ # lscpu Architecture: i686 CPU(s): 2 Thread(s) per core: 1 Core(s) per socket: 2 CPU socket(s): 1 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 16 Model: 2 Stepping: 3 CPU MHz: 2700.000 Virtualization: AMD-V L1d cache: 64K L1i cache: 64K L2 cache: 512K L3 cache: 2048K --------- how do you figure its useless? such big words.... powersave -f is exactly what you are looking for. it sets the cpu to maximum performance level, and prevents downgrading the frequency, and so on. the cpu got from dynamic (1400mhz only during idle) to 2700mhz during idle, so no more powersaving. ofcourse, this all depends on your platform, cpu, chipset and whatnot. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday February 26 2009, cagsm wrote:
On Wed, Feb 25, 2009 at 11:37 PM, John Lange <john@johnlange.ca> wrote:
Thanks for taking the time to reply but those links are useless. The information is all outdated and even what information is there does not mention anything about CPU frequency scaling (or "throttling", as it's called on one page).
you didnt look into the stuff in detail, and didnt look at powersave command at all.
tux:~ # powersave -c ...
Well... There's program that needs some work: -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==- % powersave -c Error org.freedesktop.DBus.Error.UnknownMethod: Method "GetCPUFreqGovernor" with signature "" on interface "org.freedesktop.Hal.Device.CPUFreq" doesn't exist /usr/bin/powersave: line 122: ehco: command not found -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==- I can see the first error message as simply informative, but the typo of "echo" that never got tested or fixed? Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 2009-02-26 at 10:12 +0100, cagsm wrote:
On Wed, Feb 25, 2009 at 11:37 PM, John Lange <john@johnlange.ca> wrote:
Thanks for taking the time to reply but those links are useless. The information is all outdated and even what information is there does not mention anything about CPU frequency scaling (or "throttling", as it's called on one page).
how do you figure its useless? such big words....
Well, I apologize if you found that offencive, it does sound rather harsh. My question was how to do it via Yast (or some other GUI) in 11.1 since that used to be an option in OpenSUSE a few versions back and that isn't mentioned on that link anyplace that I could find.
powersave -f is exactly what you are looking for. it sets the cpu to maximum performance level, and prevents downgrading the frequency, and so on.
That appears to work on my machine so it's a good work-around. Thanks. There also appears to be: cpufreq-info cpufreq-selector cpufreq-set But I haven't played with those yet. John Lange -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday February 25 2009, John Lange wrote:
My Laptop CPU frequency scales even when plugged into AC power and I'd like to disable that feature.
How do I do that in OpenSUSE 11.1? The "Power Management" tool in "Control Center" only has options for the display and suspend settings, nothing for the CPU (It used to be there didn't it?).
The CPU frequency widget in the toolbar also does not have an option to disable scaling.
KPowerSave does indeed have a section for configuring the CPU frequence policy. Unless something is amiss along the way in detecting your hardware's capabilities and that section is incorrectly disabled, that's where you'd go. If it is disabled and you're sure your hardware has frequency scaling, then possibly something lower-level is messed up and KPowerSave doesn't think it can control CPU frequency. I have one machine with CPU frequency policy control running 10.3 and KPowersave offers me the pertinent controls and one, running 11.1 that does not have such capability and there KPowersave doesn't offer me those controls. Unless... Does a Pentium 4 have CPU frequency control? -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==- vendor_id : GenuineIntel cpu family : 15 model : 3 model name : Intel(R) Pentium(R) 4 CPU 3.00GHz stepping : 3 ... flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc pebs bts pni monitor ds_cpl cid -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==- Maybe KPowersave isn't working right for me, either? Should I have control over CPU frequency policy on this machine?
...
Regards, -- John Lange
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 25 February 2009, Randall R Schulz wrote:
On Wednesday February 25 2009, John Lange wrote:
My Laptop CPU frequency scales even when plugged into AC power and I'd like to disable that feature.
How do I do that in OpenSUSE 11.1? The "Power Management" tool in "Control Center" only has options for the display and suspend settings, nothing for the CPU (It used to be there didn't it?).
The CPU frequency widget in the toolbar also does not have an option to disable scaling.
KPowerSave does indeed have a section for configuring the CPU frequence policy. Unless something is amiss along the way in detecting your hardware's capabilities and that section is incorrectly disabled, that's where you'd go. If it is disabled and you're sure your hardware has frequency scaling, then possibly something lower-level is messed up and KPowerSave doesn't think it can control CPU frequency.
I have one machine with CPU frequency policy control running 10.3 and KPowersave offers me the pertinent controls and one, running 11.1 that does not have such capability and there KPowersave doesn't offer me those controls.
Unless... Does a Pentium 4 have CPU frequency control?
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==- vendor_id : GenuineIntel cpu family : 15 model : 3 model name : Intel(R) Pentium(R) 4 CPU 3.00GHz stepping : 3 ... flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc pebs bts pni monitor ds_cpl cid -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
Maybe KPowersave isn't working right for me, either? Should I have control over CPU frequency policy on this machine?
...
Regards, -- John Lange
Randall Schulz
It does not work on my Compaq Presario Laptop either under 11.1 but did under 10.3 that uses an AMD Turion 64 bit CPU Yet another 11.1 bork if it was not for the fact that i am completely sick of redoing configs all the time i would go back to 10.3 and KDE 3.5.9 that just worked with no nonsense Pete. -- Opensuse 10.3 x86_64 (Linux is like a wigwam no Gates, no Windows, and an Apache inside.) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday February 26 2009, peter nikolic wrote:
...
Yet another 11.1 bork. if it was not for the fact that i am completely sick of redoing configs all the time i would go back to 10.3 and KDE 3.5.9 that just worked with no nonsense
I, too, miss the good old days of bug-free software.
Pete.
RRS -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
powersave runs as root at my place. gives errors as normal users. i have a cleaninstall 11.1 where i tested. dunno about upgraded systems or other migration scenario. nonroot users give me: /usr/bin/powersave -c Error org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freedesktop.hal.power-management.cpufreq auth_admin_keep_always <-- (action, result) /usr/bin/powersave: line 122: ehco: command not found firsttimelinuxusers? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday February 26 2009, cagsm wrote:
powersave runs as root at my place. gives errors as normal users. i have a cleaninstall 11.1 where i tested. dunno about upgraded systems or other migration scenario.
nonroot users give me: /usr/bin/powersave -c Error org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freedesktop.hal.power-management.cpufreq auth_admin_keep_always <-- (action, result) /usr/bin/powersave: line 122: ehco: command not found
Running it as root does not help: -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==- % powersave -c Error org.freedesktop.DBus.Error.UnknownMethod: Method "GetCPUFreqGovernor" with signature "" on interface "org.freedesktop.Hal.Device.CPUFreq" doesn't exist /usr/bin/powersave: line 122: ehco: command not found -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==- These are the same diagnostics I get when I run it as a non-root user. I'm running openSUSE 11.1 (non-upgrade).
firsttimelinuxusers?
Me? I've been using Unix and its descendents since I was 17. I turned 50 the other day. Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Randall R Schulz pecked at the keyboard and wrote:
On Thursday February 26 2009, peter nikolic wrote:
...
Yet another 11.1 bork. if it was not for the fact that i am completely sick of redoing configs all the time i would go back to 10.3 and KDE 3.5.9 that just worked with no nonsense
I, too, miss the good old days of bug-free software.
Pete.
RRS
Software has never been bug free, just fewer of them because pre-alpha software wasn't thrust upon us. (hint pulseaudio) -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday February 26 2009, Ken Schneider - openSUSE wrote:
Randall R Schulz pecked at the keyboard and wrote:
...
I, too, miss the good old days of bug-free software.
Pete.
RRS
Software has never been bug free, just fewer of them because pre-alpha software wasn't thrust upon us. (hint pulseaudio)
I see we've not yet had enough coffee for our irony detector to activate?
-- Ken Schneider
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Randall R Schulz pecked at the keyboard and wrote:
On Thursday February 26 2009, Ken Schneider - openSUSE wrote:
...
I, too, miss the good old days of bug-free software.
Pete. RRS Software has never been bug free, just fewer of them because
Randall R Schulz pecked at the keyboard and wrote: pre-alpha software wasn't thrust upon us. (hint pulseaudio)
I see we've not yet had enough coffee for our irony detector to activate?
I haven't drank coffee in years, maybe I should start drinking it again. :-)) -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday February 26 2009, Ken Schneider - openSUSE wrote:
...
I haven't drank coffee in years, maybe I should start drinking it again. :-))
You should. It has many health benefits (and that's really true, not a joke).
-- Ken Schneider
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 26 February 2009, Ken Schneider - openSUSE wrote:
Randall R Schulz pecked at the keyboard and wrote:
On Thursday February 26 2009, peter nikolic wrote:
...
Yet another 11.1 bork. if it was not for the fact that i am completely sick of redoing configs all the time i would go back to 10.3 and KDE 3.5.9 that just worked with no nonsense
I, too, miss the good old days of bug-free software.
Pete.
RRS
Software has never been bug free, just fewer of them because pre-alpha software wasn't thrust upon us. (hint pulseaudio)
-- Ken Schneider SuSe since Version 5.2, June 1998
Yes but it goes a lot deeper than just PA KDE4 all sorts of things screwed up Permissions i run a usb 3G modem or should i say i did cus since i have had to reinstall 11.1 due to updates forcing me onto KDE 4.3 alpha stuff now it feruses point blanc to work and i am now begginig to get a little p****D off with it all now so it goes a lot deeper and it is about time the opensuse people got their collective butts into gear and started enforcing a few standards on the releases once again so that we at least stand a decent chance of being able to use the system instead of spending time fixing things that shoud be working from the ground up Pete . -- Opensuse 10.3 x86_64 (Linux is like a wigwam no Gates, no Windows, and an Apache inside.) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 26 February 2009 15:16:13 Randall R Schulz wrote:
On Thursday February 26 2009, peter nikolic wrote:
...
Yet another 11.1 bork. if it was not for the fact that i am completely sick of redoing configs all the time i would go back to 10.3 and KDE 3.5.9 that just worked with no nonsense
I, too, miss the good old days of bug-free software.
Pete.
RRS
And then what would we talk about? ;) Bob -- Registered Linux User #463880 FSFE Member #1300 GPG-FP: A6C1 457C 6DBA B13E 5524 F703 D12A FB79 926B 994E openSUSE 11.1, Kernel 2.6.27.7-9-default, KDE 4.2.0 Intel Core2 Quad Q9400 2.66GHz, 4GB DDR RAM, nVidia GeForce 9200GS -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 27 February 2009, Bob Williams wrote:
On Thursday 26 February 2009 15:16:13 Randall R Schulz wrote:
On Thursday February 26 2009, peter nikolic wrote:
...
Yet another 11.1 bork. if it was not for the fact that i am completely sick of redoing configs all the time i would go back to 10.3 and KDE 3.5.9 that just worked with no nonsense
I, too, miss the good old days of bug-free software.
Pete.
RRS
And then what would we talk about? ;)
Thats simple as well improving it without breaking it completely like what it is now there will also always be some slight fopars somewhere but total screwups would be very happily "A.W.O.L"
Bob
Pete --- Certain peoples milage may vary mine dont --- -- Opensuse 10.3 x86_64 (Linux is like a wigwam no Gates, no Windows, and an Apache inside.) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Bob Williams
-
cagsm
-
John Lange
-
Ken Schneider - openSUSE
-
peter nikolic
-
Randall R Schulz