On Thu, Aug 12, 2010 at 08:52:22PM +0300, Felipe Contreras wrote:
I have not. I would be surprised if anyone else did that work unless
suspend blockers were in mainline. I would be very happy to be proven
wrong, of course!
That would be your speculation. Perhaps you are correct, but it seems
more likely that some large sets applications can be considered as a group
rather than one at a time.
OK, good to know! Please understand that your sentence "Therefore the
target of not having unneeded runnable tasks is shared by Android folks"
can be interpreted as meaning "the Android guys really don't need suspend
blockers", which is how I interpreted it.
That is certainly not the way I read the sentence I was replying to,
but I will accept that this was what you were really trying to say.
Ahem. I -do- know what -I- was trying to say. ;-)
No, I was copy pasting a definition of a difference between idle and
suspend and making it pass as a difference between idle and suspend.
Yep. I never claimed otherwise.
Indeed you have! But you should be safe in doing so, as most people
probably won't bother to do the web search that would lead them to
http://lkml.org/lkml/2010/8/12/198 and then search that page for the
word "artifact". ;-)
I am glad you agree that suspend blockers might be harder to get
wrong. As to point #4, you were correct that I badly worded the last
sentence, which is now hopefully fixed to your satisfaction.
But can dynamic power management do everything optimally? If not, some
other approach may be needed in addition to dynamic power management.
If you really are arguing that the Linux kernel should support no
power-management mechanism other than dynamic power management, you
should be prepared to justify that position.
Fix put forward in earlier email. Again, thank you -- good catch!!!
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.
And in the paragraph above, I proved to you that relying solely on dynamic
power management might actually hurt. And I am not trying to prove
that opportunistic suspend always leads to better results -- that is a
strawman that you set up. And yes, you might have been led to set up that
strawman because I messed up the wording of one of the suspend-vs.-idle
definitions. Of course, had you called out that sentence to start with,
we would likely have spent much less time arguing generalities. ;-)
Good, agreed.
Good, agreed.
Agreed. This is no surprise, as there are very few silver bullets to be
had in this field. Of course, dynamic power management is not a silver
bullet, either.
Here I disagree. The Android folks have used it for quite some time.
We might not be able to apply their experience directly to other software
stacks, but we should nevertheless be able to learn quite a bit from it.
Thanx, Paul
--