Thread (77 messages) 77 messages, 7 authors, 2013-11-12

Re: [Results] [RFC PATCH v4 00/40] mm: Memory Power Management

From: Srivatsa S. Bhat <hidden>
Date: 2013-09-26 17:58:35
Also in: linux-mm

On 09/26/2013 10:52 PM, Luck, Tony wrote:
quoted
As Andi mentioned, the wakeup latency is not expected to be noticeable. And
these power-savings logic is turned on in the hardware by default. So its not
as if this patchset is going to _introduce_ that latency. This patchset only
tries to make the Linux MM _cooperate_ with the (already existing) hardware
power-savings logic and thereby get much better memory power-savings benefits
out of it.
You will still get the blame :-)   By grouping active memory areas along h/w power
boundaries you enable the power saving modes to kick in (where before they didn't
because of scattered access to all areas).  This seems very similar to scheduler changes
that allow processors to go idle long enough to enter deep C-states ... upsetting
users who notice the exit latency.
Yeah, but hopefully the exit latency won't turn out to be _that_ bad ;-)
And from what Arjan said in his other mail, it does look like it is in the acceptable
range. So memory power management shouldn't pose any significant latency issues due to
the wakeup latency of the hardware. I'm more concerned about the software overhead
added by these patches in the core MM paths.. I _have_ added quite a few optimizations
and specialized access-structures to speed things up in this patchset, but some more
thought and effort might be needed to keep their overhead low enough to be acceptable.
The interleave problem mentioned elsewhere in this thread is possibly a big problem.
High core counts mean that memory bandwidth can be the bottleneck for several
workloads.  Dropping, or reducing, the degree of interleaving will seriously impact
bandwidth (unless your applications are spread out "just right").
Hmmm, yes, interleaving is certainly one of the hard problems in this whole thing
when it comes to striking a balance or a good trade-off between power-savings vs
performance...
 
Regards,
Srivatsa S. Bhat

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help