From: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
To: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Len Brown <lenb@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
gregkh@suse.de, stable@kernel.org, cpufreq@vger.kernel.org,
Ingo Molnar <mingo@elte.hu>,
rjw@sisk.pl, Ben Slusky <sluskyb@paranoiacs.org>,
Dave Jones <davej@redhat.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] cpufreq fix timer teardown in conservative governor (2.6.30-rc2)
Date: Sun, 26 Apr 2009 12:31:39 -0400 [thread overview]
Message-ID: <20090426163139.GA26154@Krystal> (raw)
In-Reply-To: <20090426144701.GD19338@khazad-dum.debian.net>
* Henrique de Moraes Holschuh (hmh@hmh.eng.br) wrote:
> On Fri, 24 Apr 2009, Mathieu Desnoyers wrote:
> > * Len Brown (lenb@kernel.org) wrote:
> > > Somebody please remind me why we are spending effort to
> > > maintain the conservative governor instead of deleting it.
> >
> > Documentation/cpu-freq/governors.txt
> >
> > "The CPUfreq governor "conservative", much like the "ondemand"
> > governor, sets the CPU depending on the current usage. It differs in
> > behaviour in that it gracefully increases and decreases the CPU speed
> > rather than jumping to max speed the moment there is any load on the
> > CPU. This behaviour more suitable in a battery powered environment."
> >
> > So better battery usage seems to be the reason why conservative lives.
>
> Yeah, but the question is: is it really better in practice? race-to-idle
> works better with ondemand. Note: that needs to be answered not just for
> the current crop of mobile processors, but also for at least stuff as old as
> the Pentium M and Pentium 4 M.
>
> What it _does_ help, is in broken !@#$ hardware that makes a lot of noise
> due to "singing capacitors" if you use ondemand (because conservative will
> make less noise as it causes more smooth transitions). NOHZ helped a great
> deal there, too.
>
I effectively have such singing capacitors on my laptop, and I still
have good ears.
> I don't know if there are battery environments where a harsher work profile
> by the CPU are a bad idea. If there are any, conservative will also help
> there.
>
Good question. We might also consider that anyway code duplication
between ondemand and conservative is a bad thing. Those look so similar
that part of them should probably be merged, with a sysfs flag and
kernel parameter to select the behavior.
Mathieu
> --
> "One disk to rule them all, One disk to find them. One disk to bring
> them all and in the darkness grind them. In the Land of Redmond
> where the shadows lie." -- The Silicon Valley Tarot
> Henrique Holschuh
--
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
next prev parent reply other threads:[~2009-04-26 16:36 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-23 14:00 [BUG] 2.6.29.1 debugobjects warning Mathieu Desnoyers
2009-04-23 23:46 ` Andrew Morton
2009-04-24 4:34 ` [PATCH -stable] cpufreq fix timer teardown in conservative governor (2.6.28.x, 2.6.29.1) Mathieu Desnoyers
2009-04-28 12:57 ` Mathieu Desnoyers
2009-04-24 4:35 ` [PATCH] cpufreq fix timer teardown in conservative governor (2.6.30-rc2) Mathieu Desnoyers
2009-04-24 6:18 ` Len Brown
2009-04-24 16:12 ` Mathieu Desnoyers
2009-04-26 14:47 ` Henrique de Moraes Holschuh
2009-04-26 16:31 ` Mathieu Desnoyers [this message]
2009-04-24 4:38 ` [PATCH] cpufreq fix timer teardown in ondemand governor (2.6.28.x, 2.6.29.1, 2.6.30-rc2) Mathieu Desnoyers
2009-04-28 13:00 ` Mathieu Desnoyers
2009-04-24 6:49 ` [BUG] 2.6.29.1 debugobjects warning Ingo Molnar
2009-04-24 15:07 ` Mathieu Desnoyers
2009-04-27 11:30 ` Thomas Gleixner
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=20090426163139.GA26154@Krystal \
--to=mathieu.desnoyers@polymtl.ca \
--cc=akpm@linux-foundation.org \
--cc=cpufreq@vger.kernel.org \
--cc=davej@redhat.com \
--cc=gregkh@suse.de \
--cc=hmh@hmh.eng.br \
--cc=lenb@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rjw@sisk.pl \
--cc=sluskyb@paranoiacs.org \
--cc=stable@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