Re: [RFC 1/4] mm, compaction: introduce kcompactd

From: Dave Chinner
Date: Wed Jul 29 2015 - 19:57:33 EST


On Wed, Jul 29, 2015 at 08:34:06AM +0200, Vlastimil Babka wrote:
> On 07/29/2015 02:33 AM, David Rientjes wrote:
> > On Fri, 24 Jul 2015, Vlastimil Babka wrote:
> >
> >> > Two issues I want to bring up:
> >> >
> >> > (1) do non-thp configs benefit from periodic compaction?
> >> >
> >> > In my experience, no, but perhaps there are other use cases where
> >> > this has been a pain. The primary candidates, in my opinion,
> >> > would be the networking stack and slub. Joonsoo reports having to
> >> > workaround issues with high-order slub allocations being too
> >> > expensive. I'm not sure that would be better served by periodic
> >> > compaction, but it seems like a candidate for background compaction.
> >>
> >> Yes hopefully a proactive background compaction would serve them enough.
> >>
> >> > This is why my rfc tied periodic compaction to khugepaged, and we
> >> > have strong evidence that this helps thp and cpu utilization. For
> >> > periodic compaction to be possible outside of thp, we'd need a use
> >> > case for it.

Allowing us to use higher order pages in the page cache to support
filesystem block sizes larger than page size without having to
care about memory fragmentation preventing page cache allocation?

Cheers,

Dave.
--
Dave Chinner
david@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/