Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752213Ab0KXPcm (ORCPT ); Wed, 24 Nov 2010 10:32:42 -0500 Received: from mail-yx0-f174.google.com ([209.85.213.174]:35760 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750833Ab0KXPcl convert rfc822-to-8bit (ORCPT ); Wed, 24 Nov 2010 10:32:41 -0500 MIME-Version: 1.0 In-Reply-To: References: <20101122161158.02699d10.akpm@linux-foundation.org> <1290501502.2390.7029.camel@nimitz> <1290529171.2390.7994.camel@nimitz> Date: Wed, 24 Nov 2010 16:32:39 +0100 Message-ID: Subject: Re: Sudden and massive page cache eviction From: =?UTF-8?Q?Peter_Sch=C3=BCller?= To: Pekka Enberg Cc: Dave Hansen , Andrew Morton , linux-kernel@vger.kernel.org, Mattias de Zalenski , linux-mm@kvack.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 993 Lines: 27 >> I forgot to address the second part of this question: How would I best >> inspect whether the kernel is doing that? > > You can, for example, record > >  cat /proc/meminfo | grep Huge > > for large page allocations. Those show zero a per my other post. However I got the impression Dave was asking about regular but larger-than-one-page allocations internal to the kernel, while the Huge* lines in /proc/meminfo refers to allocations specifically done by userland applications doing huge page allocation on a system with huge pages enabled - or am I confused? > The "pagesperslab" column of /proc/slabinfo tells you how many pages > slab allocates from the page allocator. Seems to be what vmstat -m reports. -- / Peter Schuller aka scode -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/