LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Gautham Shenoy" <ego.lkml@gmail.com>
To: "Dominik Brodowski" <linux@dominikbrodowski.net>,
"Dave Jones" <davej@redhat.com>,
"Nish Aravamudan" <nish.aravamudan@gmail.com>,
"William Heimbigner" <icxcnika@mar.tar.cc>,
linux-kernel@vger.kernel.org,
"Andrew Morton" <akpm@linux-foundation.org>,
Dhaval <dhaval.giani@gmail.com>
Subject: Re: [RFC] [PATCH] cpufreq: allow full selection of default governors
Date: Fri, 27 Apr 2007 22:36:48 +0530 [thread overview]
Message-ID: <c03d1bd00704271006h4af83a0p99c37c6416b4c846@mail.gmail.com> (raw)
In-Reply-To: <20070427122444.GA3714@isilmar.linta.de>
On 4/27/07, Dominik Brodowski <linux@dominikbrodowski.net> wrote:
> On Fri, Apr 27, 2007 at 02:09:57AM -0400, Dave Jones wrote:
> > On Thu, Apr 26, 2007 at 09:54:10PM -0400, Dominik Brodowski wrote:
> > > On Tue, Apr 24, 2007 at 08:03:27PM -0400, Dave Jones wrote:
> > > > On Tue, Apr 24, 2007 at 03:05:36PM -0700, Nish Aravamudan wrote:
> > > > > On 4/24/07, Dave Jones <davej@redhat.com> wrote:
> > > > > > On Tue, Apr 24, 2007 at 09:03:23PM +0000, William Heimbigner wrote:
> > > > > > > The following patches should allow selection of conservative, powersave, and
> > > > > > > ondemand in the kernel configuration.
> > > > > >
> > > > > > This has been rejected several times already.
> > > > > > Ondemand and conservative isn't a viable governor for all cpufreq
> > > > > > implementations (ie, ones with high switching latencies).
> > > > >
> > > > > This piques my curiosity -- some governors don't work with some
> > > > > cpufreq implementations. Are those implementations in the kernel or in
> > > > > userspace? If in the kernel, then perhaps there should be some
> > > > > dependency expressed there in Kconfig between cpufreq implementation
> > > > > and the available governors
> > > >
> > > > it can't be solved that easily. powernow-k8 for example is fine to
> > > > use with ondemand on newer systems, where the latency is low.
> > > > On older models however, it isn't.
> > > >
> > > > > > Also, see the
> > > > > > comment in the Kconfig a few lines above where you are adding this.
> > > > >
> > > > > Are these governors unfixable? If
> > > >
> > > > tbh, I've forgotten the original issues that caused the comment
> > > > to be placed there. Dominik ?
> > >
> > > Not unfixable, but: cpufreq is currently[*] built around the assumption that
> > > at least one governor is correctly initialized or can be brought to work
> > > when a CPU is registered with the cpufreq core.
> >
> > It would have to take something fairly spectacular though for performance or
> > powersave to fail registration. Can you remember why we chose not to allow those?
>
> performance _is_ allowed; powersave would be possible -- but then those who
> accidentally enable it on elanfreq might wait 100 times as long for the
> system to boot, with gx-suspmod it might even be 255 times as long -- okay,
> by default it's just 20 times as long, but still...
I agree!
Let a stable governor like performance or userspace be the default to
get the cpufreq up and running during boot up, and later on have some
init script switch
to a preferred governor like powersave/ondemand/conservative.
Changing governor is just a matter of loading the appropriate module
and echoing the appropriate value into
/sys/devices/*/cpufreq/scaling_governor. Hardly takes any time.
William, Is there a specific reason why you would want
powersave/ondemand/conservative to be activate during the system boot
up?
>
> Dominik
> -
Regards
gautham.
next prev parent reply other threads:[~2007-04-27 17:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-24 21:03 William Heimbigner
2007-04-24 21:12 ` Dave Jones
2007-04-24 21:25 ` Chuck Ebbert
2007-04-24 22:05 ` Nish Aravamudan
2007-04-25 0:03 ` Dave Jones
2007-04-27 1:54 ` Dominik Brodowski
2007-04-27 6:09 ` Dave Jones
2007-04-27 12:24 ` Dominik Brodowski
2007-04-27 13:40 ` William Heimbigner
2007-04-27 17:06 ` Gautham Shenoy [this message]
2007-04-27 18:17 ` William Heimbigner
2007-04-24 22:35 ` William Heimbigner
2007-04-24 21:13 ` Robert P. J. Day
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=c03d1bd00704271006h4af83a0p99c37c6416b4c846@mail.gmail.com \
--to=ego.lkml@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=davej@redhat.com \
--cc=dhaval.giani@gmail.com \
--cc=icxcnika@mar.tar.cc \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@dominikbrodowski.net \
--cc=nish.aravamudan@gmail.com \
--subject='Re: [RFC] [PATCH] cpufreq: allow full selection of default governors' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).