cpufreq Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Dominik Brodowski <linux@brodo.de>
To: Ducrot Bruno <ducrot@poupinou.org>
Cc: Jon Anderson <janderson@janderson.ca>, cpufreq@www.linux.org.uk
Subject: Re: CPUFreq dynamic speed governor, take 2.
Date: Tue, 4 Nov 2003 14:42:46 +0100	[thread overview]
Message-ID: <20031104134246.GA4536@brodo.de> (raw)
In-Reply-To: <20031104102426.GH21970@poupinou.org>

On Tue, Nov 04, 2003 at 11:24:26AM +0100, Ducrot Bruno wrote:
> > What about +/- 5 % of cpuinfo->max_freq? or +/- 10 % of (policy->max_freq -
> > policy->min_freq). I think the governor does not need to know of supported
> > frequencies: the governor says "I need at least n % of processing 
> > power" == "I need m bogomips of processing power" == (o, CPUFREQ_RELATION_L)
> > or it says "I need no more than..." == (o, CPUFREQ_RELATION_H)
> > 
> 
> Most of the demand based stuff I see seems to need more "I need to 
> go up/down one step."  I am not sure that it is a bad design.

What if there are thousand steps, or even more [like for the geode driver]?
Then this approach is badly broken.

> Or else, you loose probably the speedstep stuff for example (something
> like go up 10%, not enough, go up 10%, etc.).

You might miss some intermediate steps if you select a too large interval
here. However, there are other algorithms which calculate a "needed CPU
percentage" directly, and they won't miss any speedstep state.

	Dominik

  reply	other threads:[~2003-11-04 13:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-02  3:46 CPUFreq dynamic speed governor, take 2 Pallipadi, Venkatesh
2003-11-03 22:25 ` Dominik Brodowski
2003-11-04 10:24   ` Ducrot Bruno
2003-11-04 13:42     ` Dominik Brodowski [this message]
2003-11-04 18:18       ` Ducrot Bruno
2003-11-04 21:36         ` Dominik Brodowski
  -- strict thread matches above, loose matches on Subject: below --
2003-10-31  7:04 Jon Anderson
2003-11-01 18:09 ` Dominik Brodowski
2003-11-02  2:37   ` Jon Anderson

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=20031104134246.GA4536@brodo.de \
    --to=linux@brodo.de \
    --cc=cpufreq@www.linux.org.uk \
    --cc=ducrot@poupinou.org \
    --cc=janderson@janderson.ca \
    /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