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@xxxxxxxxxxxxxxxxxx> wrote:
On Thu, Aug 12, 2010 at 03:17:29AM +0300, Felipe Contreras wrote:It seems to me that the same social-engineering approaches work in
both cases.
Yes, but if dynamic PM works as advertised, you don't need
opportunistic suspend.
For dynamic power management to totally eliminate the need for something
like suspend blockers, you are having to make some brave assumptions.
Yes, dynamic power management is quite useful, but there is a big
difference between something being useful and something doing everything
for everyone. You have not yet convinced me that dynamic power management
will make it to the "doing everything for everyone" stage.
As it has been explained before, there's a sweet-spot of idleness:
http://article.gmane.org/gmane.linux.kernel/995525
http://article.gmane.org/gmane.linux.ports.arm.omap/37982
Do you agree that there's such a thing, and if so, do you agree that
the benefits of opportunistic suspend are much less once that point is
reached?
I agree that there will be a sweet spot of idleness (though I would call
it a "point of diminishing returns"), but only if all the applications
are power-optimized. The advantage of opportunistic suspend is instead
its tolerance of power-oblivious applications with minimal degradation
of battery life.