From: Nate Lawson <nate-Y6VGUYTwhu0@public.gmane.org>
To: Fred Labrosse <ffl-4CLdheC3Iye1Qrn1Bg8BZw@public.gmane.org>
Cc: Dominik Brodowski
<linux-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>,
acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Re: Centrino speedstep
Date: Fri, 07 Jan 2005 15:49:51 -0800 [thread overview]
Message-ID: <41DF201F.50006@root.org> (raw)
In-Reply-To: <16862.27881.864389.196313-4CLdheC3Iye1Qrn1Bg8BZw@public.gmane.org>
Fred Labrosse wrote:
> Dominik Brodowski writes:
> > (however, as the task now takes twice as long to complete, and the CPU still
> > consumes power in "t", the CPU does consume more energy than if it weren't
> > throttled. Only if the fan needs to run _because_ of the high CPU load and
> > it consumes more power than the CPU in throttling mode, throttling may save
> > energy.)
>
> I was missing something (brain power?). Very interesting. Thank you for
> that.
It's non-intuitive since power consumption is an integral (i.e., the sum
of individual power usage over time t). The area under the curve is
what you care about.
For interactive use, the best scheduling algorithm for CPU idling is to
run the CPU at 100% performance until there are no runnable tasks, then
slam it to the lowest Cx state until woken by the next timer tick or
interrupt. Since even slow C3 transitions on most platforms are 200
microseconds or less and given a HZ value of 1000, you still get 600 us
of sleeping at C3 (3x the latency of a transition.) The longer-latency
cpufreq transition is different, in that you should go to the lowest CPU
state once you have M wakeups over N amount of time but only a small
number of runnable tasks in that time period. Tune M and N based on the
latency of cpufreq transitions for a platform.
With even speedstep transitions being less than a millisecond, there is
no reason not to use it more.
--
Nate
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
next prev parent reply other threads:[~2005-01-07 23:49 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-28 20:32 Centrino speedstep Johan Vromans
[not found] ` <m2zmzyw4e7.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2004-12-28 21:26 ` Dominik Brodowski
[not found] ` <20041228212653.GA8436-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>
2004-12-29 18:18 ` Bruno Ducrot
[not found] ` <20041229181834.GA19199-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-12-29 20:05 ` Johan Vromans
[not found] ` <m21xd83m6b.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2004-12-30 10:57 ` Bruno Ducrot
2004-12-29 21:00 ` Dominik Brodowski
[not found] ` <20041229210020.GB12181-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>
2004-12-30 10:28 ` Bruno Ducrot
2004-12-30 16:36 ` Pedro Venda
[not found] ` <41D42E88.5080800-aHmAgkVUFT6Joy8PIJZ9VA@public.gmane.org>
2004-12-30 17:08 ` Johan Vromans
[not found] ` <m2llbfk931.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2004-12-30 17:25 ` Bruno Ducrot
[not found] ` <20041230172508.GI19199-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-12-30 17:29 ` Pedro Venda
2004-12-30 17:27 ` Pedro Venda
[not found] ` <16852.15668.315630.700537@phoenix.squirrel.nl>
[not found] ` <16852.15668.315630.700537-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2004-12-31 1:25 ` Pedro Venda
[not found] ` <41D4AA9F.7080200-aHmAgkVUFT6Joy8PIJZ9VA@public.gmane.org>
2004-12-31 8:25 ` Dominik Brodowski
[not found] ` <20041231082524.GA8312-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>
2005-01-01 10:50 ` Johan Vromans
[not found] ` <m2652hh17w.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2005-01-02 11:08 ` Dominik Brodowski
[not found] ` <20050102110826.GA14862-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>
2005-01-02 13:46 ` Karol Kozimor
[not found] ` <20050102134626.GA25417-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2005-01-02 14:23 ` Dominik Brodowski
2005-01-06 10:37 ` Fred Labrosse
[not found] ` <16861.5376.560582.314813-4CLdheC3Iye1Qrn1Bg8BZw@public.gmane.org>
2005-01-06 16:14 ` Dominik Brodowski
[not found] ` <20050106161440.GD10011-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>
2005-01-07 10:20 ` Fred Labrosse
[not found] ` <16862.25182.567350.575532-4CLdheC3Iye1Qrn1Bg8BZw@public.gmane.org>
2005-01-07 10:50 ` Dominik Brodowski
[not found] ` <20050107105045.GA17839-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>
2005-01-07 11:05 ` Fred Labrosse
[not found] ` <16862.27881.864389.196313-4CLdheC3Iye1Qrn1Bg8BZw@public.gmane.org>
2005-01-07 13:30 ` Bruno Ducrot
[not found] ` <20050107133022.GM19199-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2005-01-08 1:05 ` Karol Kozimor
[not found] ` <20050108010509.GA12131-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2005-01-10 13:26 ` Bruno Ducrot
[not found] ` <20050110132603.GN19199-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2005-01-10 16:19 ` Karol Kozimor
2005-01-07 23:49 ` Nate Lawson [this message]
2004-12-31 9:31 ` Johan Vromans
2004-12-31 9:41 ` Johan Vromans
2004-12-31 10:43 ` Johan Vromans
[not found] ` <16853.11589.510743.384997-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2004-12-31 14:12 ` Pedro Venda
2004-12-31 14:15 ` Johan Vromans
2004-12-31 12:40 ` Johan Vromans
[not found] ` <16853.18628.255436.926578-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2004-12-31 14:11 ` Pedro Venda
2004-12-29 18:49 ` Johan Vromans
[not found] ` <m2vfalc53k.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2004-12-29 19:40 ` Ultrakorne
[not found] ` <41D30842.4040204-XtQPfPCVGG7srOwW+9ziJQ@public.gmane.org>
2004-12-29 20:59 ` Dominik Brodowski
[not found] ` <20041229205905.GA12181-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>
2004-12-29 21:33 ` Johan Vromans
[not found] ` <m2sm5o23ix.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2004-12-29 21:46 ` Dominik Brodowski
[not found] ` <20041229214629.GA21054-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>
2004-12-29 23:26 ` Johan Vromans
[not found] ` <m24qi48z4q.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2004-12-30 7:42 ` Dominik Brodowski
[not found] ` <20041230074241.GB8464-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>
2004-12-30 9:32 ` Johan Vromans
[not found] ` <m2is6kuo63.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2004-12-30 10:30 ` Dominik Brodowski
[not found] ` <20041230103003.GA8206-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>
2004-12-30 10:51 ` Johan Vromans
[not found] ` <m2oegcdpo2.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2004-12-30 13:17 ` Dominik Brodowski
2004-12-30 11:07 ` Bruno Ducrot
[not found] ` <20041230110723.GD19199-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-12-30 13:19 ` Dominik Brodowski
2005-01-02 17:59 ` ultrakorne
[not found] ` <41D8366F.1040305-XtQPfPCVGG7srOwW+9ziJQ@public.gmane.org>
2005-01-02 19:26 ` Johan Vromans
2005-01-09 22:04 ` Johan Vromans
[not found] ` <m21xcumf8m.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2005-01-09 22:52 ` Dominik Brodowski
2005-01-04 2:28 ` ultrakorne
2004-12-29 10:59 ` Bruno Ducrot
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=41DF201F.50006@root.org \
--to=nate-y6vguytwhu0@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=ffl-4CLdheC3Iye1Qrn1Bg8BZw@public.gmane.org \
--cc=linux-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox