Re: Free memory never fully used, swapping

From: Simon Kirby
Date: Wed Nov 24 2010 - 01:44:21 EST


On Tue, Nov 23, 2010 at 10:04:03AM +0000, Mel Gorman wrote:

> On Mon, Nov 22, 2010 at 03:44:19PM -0800, Andrew Morton wrote:
> > On Mon, 15 Nov 2010 11:52:46 -0800
> > Simon Kirby <sim@xxxxxxxxxx> wrote:
> >
> > > I noticed that CONFIG_NUMA seems to enable some more complicated
> > > reclaiming bits and figured it might help since most stock kernels seem
> > > to ship with it now. This seems to have helped, but it may just be
> > > wishful thinking. We still see this happening, though maybe to a lesser
> > > degree. (The following observations are with CONFIG_NUMA enabled.)
> > >
>
> Hi,
>
> As this is a NUMA machine, what is the value of
> /proc/sys/vm/zone_reclaim_mode ? When enabled, this reclaims memory
> local to the node in preference to using remote nodes. For certain
> workloads this performs better but for users that expect all of memory
> to be used, it has surprising results.
>
> If set to 1, try testing with it set to 0 and see if it makes a
> difference. Thanks

Hi Mel,

It is set to 0. It's an Intel EM64T...I only enabled CONFIG_NUMA since
it seemed to enable some more complicated handling, and I figured it
might help, but it didn't seem to. It's also required for
CONFIG_COMPACTION, but that is still marked experimental.

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