Re: Sudden and massive page cache eviction

From: Dave Hansen
Date: Wed Nov 24 2010 - 12:32:17 EST


On Wed, 2010-11-24 at 15:14 +0100, Peter Schüller wrote:
> >> Do you have any large page (hugetlbfs) or other multi-order (> 1 page)
> >> allocations happening in the kernel?
>
> I forgot to address the second part of this question: How would I best
> inspect whether the kernel is doing that?

I found out yesterday how to do it with tracing, but it's not a horribly
simple thing to do in any case. You can watch the entries in slabinfo
and see if any of the ones with sizes over 4096 bytes are getting used
often. You can also watch /proc/buddyinfo and see how often columns
other than the first couple are moving around.

Jumbo ethernet frames would be the most common reason to see these
allocations. It's _probably_ not an issue in your case.

-- Dave

--
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/