public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Joerg Platte <jplatte@naasa.net>
To: Frans Pop <elendil@planet.nl>
Cc: Kasper Sandberg <lkml@metanurb.dk>, linux-kernel@vger.kernel.org
Subject: Re: cpuinfo shows wrong MHz value
Date: Wed, 18 Feb 2009 20:54:38 +0100	[thread overview]
Message-ID: <200902182054.38840.jplatte@naasa.net> (raw)
In-Reply-To: <200902151741.30303.elendil@planet.nl>

Am Sonntag, 15. Februar 2009 schrieben Sie:
> Can you check whether or not you were also using p4-clockmode with the
> last kernel that did show correct values? The same grep command should
> show this.

The last kernel that was working correct was 2.6.24 (here the output from 
2.6.24.6):

affected_cpus:0
cpuinfo_cur_freq:1600000
cpuinfo_max_freq:1600000
cpuinfo_min_freq:400000
scaling_available_frequencies:400000 600000 800000 1000000 1200000 1400000 
1600000
scaling_available_governors:conservative ondemand userspace powersave 
performance
scaling_cur_freq:1600000
scaling_driver:p4-clockmod
scaling_governor:performance
scaling_max_freq:1600000
scaling_min_freq:400000
root@jako:/sys/devices/system/cpu/cpu0/cpufreq> uname -a
Linux jako 2.6.24.6 #1 PREEMPT Tue Feb 17 20:33:58 CET 2009 i686 GNU/Linux

The log output is somewhat limited, because I forgot to enable debugging:

root@jako:/sys> dmesg | grep clock
Time: tsc clocksource has been installed.
intel8x0_measure_ac97_clock: measured 55906 usecs
intel8x0: measured clock 71 rejected
intel8x0: clocking to 48000
p4-clockmod: P4/Xeon(TM) CPU On-Demand Clock Modulation available

Here is the output from 2.6.28.5 and debug info enabled:
root@jako:~> dmesg | grep clock
intel8x0_measure_ac97_clock: measured 55894 usecs
intel8x0: measured clock 71 rejected
intel8x0: clocking to 48000
p4-clockmod: P4/Xeon(TM) CPU On-Demand Clock Modulation available

It looks like the debug code does not provide more information.

> It would also help to know which kernel version was the last working one.
> You mentioned 2.6.26, but with some uncertainty. Can you check for 2.6.26
> and possibly for 2.6.27?

I was wrong, it was working long ago with kernel 2.6.24, sorry. 

> Note that p4-clockmode does not really help with power saving, but only
> with thermal management (prevention of overheating). Possibly the
> speedstep or acpi-cpufreq modules will work better for you, but it can
> also be they don't support your processor.

Yes, I know. I just installed it to play with it and now I'm using the 
performance governor all the time which disables frequency modulation.

> That does not mean this issue should not be looked into of course.

I can simply unload the module but a fix would be appreciated as well :)

regards,
Jörg

  parent reply	other threads:[~2009-02-18 19:54 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-14 21:17 cpuinfo shows wrong MHz value Joerg Platte
2009-02-14 22:29 ` Frans Pop
2009-02-14 22:38   ` Kasper Sandberg
2009-02-14 22:46     ` Frans Pop
2009-02-14 23:22       ` Joerg Platte
2009-02-15  0:02         ` Frans Pop
2009-02-15  7:00           ` Joerg Platte
2009-02-15  7:11             ` Joerg Platte
2009-02-15 16:41               ` Frans Pop
2009-02-16 14:19                 ` Thomas Renninger
2009-02-16 16:50                   ` Matthew Garrett
2009-02-16 18:13                     ` Thomas Renninger
2009-02-16 18:19                       ` Matthew Garrett
2009-02-16 18:47                         ` Thomas Renninger
2009-02-16 18:52                         ` Frans Pop
2009-02-16 19:01                           ` Matthew Garrett
2009-02-18 19:54                 ` Joerg Platte [this message]
2009-02-18 21:05                   ` Frans Pop
2009-02-19 17:03                     ` Joerg Platte
2009-02-20  2:52                       ` Frans Pop
2009-02-20 18:42                         ` Joerg Platte
2009-02-15 17:43               ` Frans Pop

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=200902182054.38840.jplatte@naasa.net \
    --to=jplatte@naasa.net \
    --cc=elendil@planet.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@metanurb.dk \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox