From: bugzilla-daemon@bugzilla.kernel.org
To: cpufreq@vger.kernel.org
Subject: [Bug 17001] ondemand governor non-functional / ACPI P-states driver
Date: Mon, 6 Sep 2010 10:22:11 GMT [thread overview]
Message-ID: <201009061022.o86AMBdr006864@demeter1.kernel.org> (raw)
In-Reply-To: <bug-17001-12968@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=17001
--- Comment #14 from Thomas Renninger <trenn@suse.de> 2010-09-06 10:22:10 ---
> Thomas, do you need me to enable cpufreq.debug=7 and upload the results
I fear there won't be much usable info for your problem with this debug
setting.
> My usual CPUfreq .config section looks like this:
Interesting, you compile in everything. No idea, why it should make a
difference yet, but it should be a difference to most other distro .config
setups.
> I'm going to download 2.6.27.32 and the latest 2.6.36-rc now
Great. Do you compile the kernels yourself or do you have the affected one
compiled yourself?
If yes, it's not that much of work to add some printks into the ondemand
governor. The relevant parts would be in drivers/cpufreq/cpufreq_ondemand.c
dbs_check_cpu(..):
printing out all kind of idle/load/wall_time, better too much as missing
something is a good idea.
You'll get a lot output if ondemand is running then, but you could limit it by
switching governors, e.g. this should limit output to one sec:
---
#/bin/bash
cat /dev/zero >/dev/null &
cat /dev/zero >/dev/null &
for x in /sys/devices/system/cpu/cpu0/cpufreq/*;do echo performance
>$x/scaling_governor;done
logger "XXXX: Here starts my ondemand test in /var/log/messages"
for x in /sys/devices/system/cpu/cpu0/cpufreq/*;do echo ondemand
>$x/scaling_governor;done
sleep 1;
for x in /sys/devices/system/cpu/cpu0/cpufreq/*;do echo performance
>$x/scaling_governor;done
logger "YYYY: Here ends my ondemand test in /var/log/messages"
killall cat
---
(could have typos, did not run above)
The problem does not sound HW/BIOS related. It more looks like a kernel bug
which slipped in at a specific version, possibly together with some of your
.config specifics -> otherwise there should exist more reports.
> I just need to check if the ondemand governor works "out of the box" with the
> other kernels?
Yep, if we have non-/working versions to compare that would make things a lot
easier.
Another idea: You could adopt a bit our CONFIG_CPU_FREQ* settings which are
more modular, possibly this gives us a hint why your system has issues:
#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
# CONFIG_CPU_FREQ_DEBUG is not set
CONFIG_CPU_FREQ_STAT=m
CONFIG_CPU_FREQ_STAT_DETAILS=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=m
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
CONFIG_X86_ACPI_CPUFREQ=m
==============
CONFIG_CPU_FREQ_STAT=m
and not loading the module sounds like a good idea...
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
next prev parent reply other threads:[~2010-09-06 10:22 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-25 11:52 [Bug 17001] New: ondemand governor non-functional / ACPI P-states driver bugzilla-daemon
2010-08-25 20:57 ` [Bug 17001] " bugzilla-daemon
2010-08-26 11:14 ` bugzilla-daemon
2010-08-26 14:39 ` bugzilla-daemon
2010-08-26 14:40 ` bugzilla-daemon
2010-08-26 15:14 ` bugzilla-daemon
2010-08-27 12:21 ` bugzilla-daemon
2010-08-27 12:24 ` bugzilla-daemon
2010-08-27 12:27 ` bugzilla-daemon
2010-09-06 1:47 ` bugzilla-daemon
2010-09-06 2:30 ` bugzilla-daemon
2010-09-06 9:20 ` bugzilla-daemon
2010-09-06 9:37 ` bugzilla-daemon
2010-09-06 10:13 ` bugzilla-daemon
2010-09-06 10:22 ` bugzilla-daemon [this message]
2010-09-06 10:29 ` bugzilla-daemon
2010-09-06 10:46 ` bugzilla-daemon
2010-10-15 10:11 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201009061022.o86AMBdr006864@demeter1.kernel.org \
--to=bugzilla-daemon@bugzilla.kernel.org \
--cc=cpufreq@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.