mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dominik Brodowski <linux@dominikbrodowski.de>
To: Con Kolivas <kernel@kolivas.org>
Cc: linux-kernel@vger.kernel.org, akpm@osdl.org
Subject: Re: Add on-demand cpu-freq governor as default option
Date: Tue, 21 Sep 2004 18:16:50 +0200	[thread overview]
Message-ID: <20040921161650.GA8119@dominikbrodowski.de> (raw)
In-Reply-To: <cone.1095720189.669330.22937.502@pc.kolivas.org>

Hi,

On Tue, Sep 21, 2004 at 08:43:09AM +1000, Con Kolivas wrote:
> 1. Would it be inappropriate to make it drop back to a different governor 
> so that it can be selected?

This would involve major changes to the cpufreq core, and it wouldn't make
it easier. I'll add it to my TODO list and think about it again once more
important issues are adressed. Agreed?

> 2. Can cpu throttling be incorporated into this governor as well as a 
> secondary mechanism for the lowest cpu frequency and as a primary 
> mechanism for those cpus that don't support cpufreq?

a) it hasn't to do anything with the _governor_. The governor works with
whatever method is offered to him, may it be frequency scaling or
throttling. Actually, some CPUfreq drivers actually only do throttling, and
you can use ondemand for them [if their latency values are set correctly,
that is].

b) on-demand throttling is useless. Throttling sets the CPU to the same
internal power state as the ACPI idle state C2 does [and C2 has quite the
same energy consumption as C1, actually...], so lowering the time spent
idling and increasing throttling doesn't save energy, while lowering idling
and increasing frequency scaling does save much energy. 

c) As throttling does make sense for thermal management and certain energy
consumption requirements [e.g. the battery isn't strong enough for the CPU
running at 100%], adapting the CPUfreq core to support loading one frequency
scaling and one frequency throttling driver at the same time is something I
have in my TODO list as well. Nonetheless, it will not be made available for
"on-demand" throttling, unless I'm convinced otherwise.

Thanks,
	Dominik

      reply	other threads:[~2004-09-21 16:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-20  3:12 [PATCH] " Con Kolivas
2004-09-20 17:02 ` Dominik Brodowski
2004-09-20 22:43   ` Con Kolivas
2004-09-21 16:16     ` Dominik Brodowski [this message]

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=20040921161650.GA8119@dominikbrodowski.de \
    --to=linux@dominikbrodowski.de \
    --cc=akpm@osdl.org \
    --cc=kernel@kolivas.org \
    --cc=linux-kernel@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 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®