Re: [RFC 2/3] SLUB: Implement targeted reclaim and partial list defragmentation

From: Andi Kleen
Date: Sat May 05 2007 - 13:12:18 EST


On Sat, May 05, 2007 at 08:42:50AM -0700, Christoph Lameter wrote:
> On Sat, 5 May 2007, Andi Kleen wrote:
>
> > clameter@xxxxxxx writes:
> > >
> > > NOTE: This patch is for conceptual review. I'd appreciate any feedback
> > > especially on the locking approach taken here. It will be critical to
> > > resolve the locking issue for this approach to become feasable.
> >
> > Do you have any numbers on how this improves dcache reclaim under memory pressure?
>
> How does one measure something like that?

You could measure how many dentries are flushed before an > order 1 allocation
is satisfied? Make sure to fill the dcache first.

There are no counters there for this, but that should be reasonably easy to add.

-Andi

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