From: Hollis Blanchard <hollis-V7BBcbaFuwjMbYB6QlFGEg@public.gmane.org>
To: Alan Cox <alan-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org>
Cc: "Robert C. Paulsen Jr."
<robert-J3gkRE/D7QA8RZtLRHdnRF6hYfS7NtTn@public.gmane.org>,
Linux Power Management Development
<linux-pm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
Linux ACPI Development
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
Linux APMD <apmd-list-+wEybqfU8vgCzWx7n4ubxQ@public.gmane.org>,
CPU Frequency <cpufreq-1walMZg8u8rXmaaqVzeoHQ@public.gmane.org>
Subject: Re: An embedded-Linux power-management framework
Date: 02 Aug 2002 13:20:59 -0500 [thread overview]
Message-ID: <1028312475.23390.63.camel@granite.austin.ibm.com> (raw)
In-Reply-To: <1028315477.18635.113.camel-MMxVpc8zpTQVh3rx8e9g/fyykp6/JSeS3vcXtXqGYxw@public.gmane.org>
On Fri, 2002-08-02 at 14:11, Alan Cox wrote:
> Take a look at cpufreq. The processor speed/voltage side is a solved
> problem with working code for x86 and ARM processors including the
> framework to adjust other devices. For example on ARM you have to frob
> with the RAM clocks. Cpufreq deals with it nicely both from user and
> kernel sides
cpufreq seems entirely aimed at CPU frequency control. Lowering your
frequency will linearly decrease power, but will also linearly extend
the duration of your task. Therefore it makes a lot of sense to lower
voltage in addition to frequency. Some hardware drivers supported in the
cpufreq code already scale down voltage as allowed by frequency
reduction.
However, it also makes sense to decrease frequency independent of
voltage, since voltage transitions can have higher latency than
frequency transitions. The idle task is a great place to lower frequency
only, since you're not doing anything anyways (you're not extending the
running time of a meaningful task), but you may not want to incur the
overhead of a voltage transition every time you come in and out of it.
There are also other frequencies that can affect power consumption, such
as PLB (processor local bus) frequency.
There are situations (especially in dedicated-purpose devices running
only a few hand-written applications) in which it helps to change some
of these values without changing the others. Changing them all according
to a single variable (CPU core frequency) could be very limiting. To my
knowledge the cpufreq code also does not allow for this flexibility, but
certainly it would be nice to add it.
(Perhaps we should continue the thread on linux-pm-devel or cpufreq
instead of cross-posting everywhere?)
-Hollis
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
next prev parent reply other threads:[~2002-08-02 18:20 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-02 17:28 An embedded-Linux power-management framework Robert C. Paulsen Jr.
[not found] ` <20020802172802.GA32612-o5m52qS82XggC06IV0sn5h2eb7JE58TQ@public.gmane.org>
2002-08-02 19:11 ` Alan Cox
[not found] ` <1028315477.18635.113.camel-MMxVpc8zpTQVh3rx8e9g/fyykp6/JSeS3vcXtXqGYxw@public.gmane.org>
2002-08-02 18:20 ` Hollis Blanchard [this message]
[not found] ` <1028312475.23390.63.camel-j9xLUTenKzJXsEFxtoW7CMxtgHpCUUYS@public.gmane.org>
2002-08-02 23:29 ` Alan Cox
2002-08-03 0:48 ` Johnathan Hicks
[not found] ` <3D4B284F.20402-Pn2JTpibVOrk1uMJSBkQmQ@public.gmane.org>
2002-08-03 13:47 ` Alan Cox
2002-08-03 14:50 ` Johnathan Hicks
2002-08-02 23:31 ` Alan Cox
2002-08-03 8:58 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2002-08-03 1:28 Bishop Brock
[not found] ` <OF94EF243F.A49E95B4-ON86256C09.00716EF4-yJlKWOkj9xhBDgjK7y7TUQ@public.gmane.org>
2002-08-03 13:40 ` Alan Cox
2002-08-03 2:29 Bishop Brock
[not found] ` <OF4415334C.6C7486B8-ON86256C0A.00081BB4-yJlKWOkj9xhBDgjK7y7TUQ@public.gmane.org>
2002-08-03 13:32 ` Alan Cox
[not found] <3D4BEDA4.4030908-Pn2JTpibVOrk1uMJSBkQmQ@public.gmane.org>
2002-08-06 14:55 ` Alan Cox
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=1028312475.23390.63.camel@granite.austin.ibm.com \
--to=hollis-v7bbcbafuwjmbyb6qlfgeg@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=alan-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org \
--cc=apmd-list-+wEybqfU8vgCzWx7n4ubxQ@public.gmane.org \
--cc=cpufreq-1walMZg8u8rXmaaqVzeoHQ@public.gmane.org \
--cc=linux-pm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=robert-J3gkRE/D7QA8RZtLRHdnRF6hYfS7NtTn@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