[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100812183851.GH2524@linux.vnet.ibm.com>
Date: Thu, 12 Aug 2010 11:38:51 -0700
From: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
To: Felipe Contreras <felipe.contreras@...il.com>
Cc: Alan Cox <alan@...rguk.ukuu.org.uk>, "Ted Ts'o" <tytso@....edu>,
david@...g.hm, Brian Swetland <swetland@...gle.com>,
linux-pm@...ts.linux-foundation.org, linux-kernel@...r.kernel.org,
arve@...roid.com, mjg59@...f.ucam.org, pavel@....cz,
florian@...kler.org, rjw@...k.pl, stern@...land.harvard.edu,
peterz@...radead.org, tglx@...utronix.de, menage@...gle.com,
david-b@...bell.net, James.Bottomley@...e.de, arjan@...radead.org,
swmike@....pp.se, galibert@...ox.com, dipankar@...ibm.com
Subject: Re: Attempted summary of suspend-blockers LKML thread, take three
On Thu, Aug 12, 2010 at 08:52:22PM +0300, Felipe Contreras wrote:
> On Thu, Aug 12, 2010 at 7:19 PM, Paul E. McKenney
> <paulmck@...ux.vnet.ibm.com> wrote:
[ . . . ] (For now, anyway. I might respond to the rest later.)
> >> My point is that suspend-blockers don't magically reduce power usage,
> >> just like dynamic PM, it depends on what user-space actually does. You
> >> made it look as it *always* reached better energy efficiency.
> >
> > I do? Really??? Exactly what did I say to give you that impression?
>
> Here's your point 4 again:
>
> > >> > 4. Suspend generally forces devices to go into their low-power
> > >> > states immediately. In contrast, idle generally leaves unused
> > >> > devices at full power, relying on timers to shut down these
> > >> > devices. Idle thus has shorter average wakeup latencies, but
> > >> > worse energy efficiency.
>
> Remove "but worse energy efficiency" and I think that point would be
> correct,
Now this is much more like it!!! Thank you!!!
You are quite correct, my last sentence does in fact assume that suspend
will always have lower power consumption than does the deepest idle state.
This of course sentence must be fixed. How about the following, which
makes this assumption explicit, and adds words ("often", "might") that
indicate that one's mileage might vary?
4. Suspend generally forces devices to go into their
low-power states immediately. In contrast, idle generally
leaves unused devices at full power, relying on timers
to shut down these devices. Idle thus often has shorter
average wakeup latencies, but on systems where suspend
can use deeper sleep states than can idle, idle might
have worse energy efficiency.
> albeit it's not really an argument in favor of opportunistic
> suspend.
It never was intended to be an argument of any kind. It was instead
supposed to help clarify the difference between idle and suspend, in
response to people stating that there is no difference between suspend
and idle. If my mistake in the wording of the last sentence made you
think otherwise, please accept my apologies.
[ . . . ] (For now, anyway. I might respond to the rest later.)
Thanx, Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists