Bug 118735 - CPU throttling not applied
Summary: CPU throttling not applied
Status: RESOLVED DUPLICATE of bug 113615
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Mobile Devices (show other bugs)
Version: RC 1
Hardware: Other All
: P5 - None : Normal
Target Milestone: ---
Assignee: Forgotten User ZhJd0F0L3x
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-25 13:25 UTC by Michael Stather
Modified: 2005-09-26 16:24 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Stather 2005-09-25 13:25:35 UTC
I set up a scheme without throttling for AC and one with throttling for battery
operation. Now when I unplug the AC adaptor the powersave applet shows me that
the mobile scheme is selected, but the throttling is still set to "performance"
and not to "dynamic" as it should be. I´ve a pentium 3-M 1066MHz mobile processor.
Comment 1 Forgotten User ZhJd0F0L3x 2005-09-26 13:09:22 UTC
are you sure you are not mixing things up? Throttling has nothing to do with
"performance", "powersave" and "dynamic", but with - erm - throttling. It works
additionally to cpu frequency scaling.

So do the following when on AC and when on battery (probably waiting some
seconds to let the throttling timeout jump in):

powersave -c # shows cpufreq policy
powersave -t # shows throttling info
powersave -x # shows the active scheme

and report back what the results are.
Comment 2 Michael Stather 2005-09-26 13:54:11 UTC
Sorry I really mixed thigs up. I only know of "frequency scaling", this is what
doesn´t work here. What´s throttling BTW?

The output of the powersave info is:

With AC:

michael@michilap:~> powersave -c
PERFORMANCE
michael@michilap:~> powersave -t
Throttling not supported
michael@michilap:~> powersave -x
Performance     active  AC_default_scheme
Powersave       battery_default_scheme
michael@michilap:~>

With battery:

michael@michilap:~> powersave -c
PERFORMANCE
michael@michilap:~> powersave -t
Throttling not supported
michael@michilap:~> powersave -x
Performance     AC_default_scheme
Powersave       active  battery_default_scheme

So the cpufreq change fails and throttling isn´t supported at all.
Comment 3 Forgotten User ZhJd0F0L3x 2005-09-26 14:15:07 UTC
ok. so what does 
"grep CPUFREQ /etc/sysconfig/powersave/scheme_*" say?
what cpufreq module are you using? (should be in the log from powersaved start,
"grep "CPUFREQD_MODULE" /var/log/messages").
If you are using speedstep-smi, please watch out for the following message:
 "Try CPUFREQ_CONTROL=userspace in /etc/sysconfig/powersave/cpufreq."
in /var/log/messages.
Comment 4 Michael Stather 2005-09-26 14:26:07 UTC
michael@michilap:~> grep CPUFREQ /etc/sysconfig/powersave/scheme_*
/etc/sysconfig/powersave/scheme_performance:CPUFREQUENCY="performance"
/etc/sysconfig/powersave/scheme_powersave:CPUFREQUENCY="dynamic

/var/log/messages contains the following messages related to CPUFREQ

Sep 26 16:20:40 michilap rcpowersaved: enter 'speedstep_ich' into
CPUFREQD_MODULE in /etc/sysconfig/powersave/cpufreq.
Sep 26 16:20:40 michilap rcpowersaved: this will speed up starting powersaved
and avoid unnecessary warnings in syslog.
Sep 26 16:20:40 michilap kernel: bootsplash: status on console 0 changed to on
Sep 26 16:20:40 michilap [powersave]: ERROR (CPUFreq_Kernel:21) Can not set
ondemand governor, maybe your cpufreq driver is too slow.
Sep 26 16:20:40 michilap [powersave]: ERROR (CPUFreq_Kernel:23) Try
CPUFREQ_CONTROL=userspace in /etc/sysconfig/powersave/cpufreq.
Sep 26 16:20:40 michilap [powersave]: WARNING (setConfig:126) Problems with
ondemand governor, could not write up_threshold.
Comment 5 Forgotten User ZhJd0F0L3x 2005-09-26 16:24:07 UTC
(In reply to comment #4)
> Sep 26 16:20:40 michilap [powersave]: ERROR (CPUFreq_Kernel:21) Can not set
> ondemand governor, maybe your cpufreq driver is too slow.
> Sep 26 16:20:40 michilap [powersave]: ERROR (CPUFreq_Kernel:23) Try
> CPUFREQ_CONTROL=userspace in /etc/sysconfig/powersave/cpufreq.

Well, this log message is there for a reason... :-)

> Sep 26 16:20:40 michilap [powersave]: WARNING (setConfig:126) Problems with
> ondemand governor, could not write up_threshold.

This is only the consequence.
Short: duplicate.

If userspace does not work, please reopen.

*** This bug has been marked as a duplicate of 113615 ***