From: Dominik Brodowski <linux@dominikbrodowski.de>
To: linux-kernel@vger.kernel.org, moqua@kurtenba.ch
Subject: Re: cpufreq and p4 prescott
Date: Thu, 13 May 2004 14:06:44 +0200 [thread overview]
Message-ID: <20040513120644.GB7940@dominikbrodowski.de> (raw)
In-Reply-To: <20040512171433.GA10481@dominikbrodowski.de>
>>>[ck@holodeck:cpufreq] cat /proc/cpuinfo | grep Mhz
>>>cpu MHz : 2807.131
>>>cpu MHz : 2807.131
>>
>> The cpu MHz entry in /proc/cpuinfo is the same for all CPUs, and no
>> reliable
>> source to detect the current cpu frequency anyway. Use
>
> i thought this because on my ibook i can see different MHz
> entry's when cpudyn changes the frequence.
Well, on UP kernels cpu_khz can be and is changed by the cpufreq subsystem
-- on SMP kernels, it's impossible as cpu_khz is _one_ value and different
SMP CPUs may be put to different speeds [not really valid for
HyperThreading, but for real SMP, yes...]
> The reason why i want to throttle down my prescott is the heat.
> Strange is that when the frequence is changed to 350MHz
> (after 30min running with 2.8GHz), neither the CPU&System temperature
No surprise on that. I guess you weren't using 100% of the CPU? The CPU
is put into an idle state when it is unused anyways, and that idle state
consumes quite exactly as much power as when the CPU is throttled. So, as
long as the CPU isn't used 100%, you won't see a difference in power
consumption == heat generation between p4-clockmod throttling and idling.
p4-clockmod _only_ helps if the CPU needs to be limited to provide less than
100% processing power _or_ if the idling algorithm doesn't work.
> nor tools that calculate the CPU speed (like gkrellm-x86info)
> show a difference to 2.8GHz.
No surprise on that, too. x86info uses the TSC (time stamp counter) to
determine the CPU frequency, and on P4s the TSC runs at a constant rate
even if the frequency is throttled. Always remember the difference between
scaling and throttling:
x is a CPU clock tick, * is a tick where nothing happens, but the TSC runs
as normal:
normal operations: x x x x x x x x x x x x x x x x x x x x x x x x
throttling: x x x x * * * * x x x x * * * * x x x x * * * *
scaling: x x x x x x x x x x x x
> All voltages on my system are the same with 350MHz/2.8GHz, too.
'cause throttling doesn't lead to voltage scaling. You need a _voltage
sclaing capable_ CPU and chipset and system environment (motherboard, BIOS,
...) for that.
> So i'm not sure if throttling does work until now?
It does, AFAICS.
Dominik
next prev parent reply other threads:[~2004-05-13 12:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-12 17:14 Dominik Brodowski
2004-05-13 9:19 ` clemens kurtenbach
2004-05-13 15:30 ` rutger
2004-05-13 12:06 ` Dominik Brodowski [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-05-13 17:39 Dominik Brodowski
2004-05-14 21:47 ` rutger
2004-05-15 6:44 ` Dominik Brodowski
2004-05-15 10:52 ` rutger
2004-05-15 19:41 ` Dominik Brodowski
2004-05-16 13:20 ` Rutger Nijlunsing
2004-05-12 15:28 clemens kurtenbach
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=20040513120644.GB7940@dominikbrodowski.de \
--to=linux@dominikbrodowski.de \
--cc=linux-kernel@vger.kernel.org \
--cc=moqua@kurtenba.ch \
/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
all inboxes | Powered by JetHome®