On Mon, 9 July 2007 09:29:38 +1000, David Chinner wrote:
> On Sat, Jul 07, 2007 at 12:45:35PM +0200, Jörn Engel wrote:
> > 
> > Oh certainly!  I should dust off my dcache_static patch.  Some dentries
> > are hands-off for the shrinker, basically mountpoints and tmpfs.  The
> > patch moves those to a seperate slab cache.
> 
> I doubt there's enough of those to make any difference - putting all
> the directories into another slab did little to reduce fragmentation
> (~18 months ago we tried that), so I don't think that this would help
> at all...

Interesting.  I suspect that the de-facto random cache eviction has a
bigger effect and overshadows everything else.  So the decisive step
would be to nuke all dentries in a given slab.

It wouldn't surprise me if your patch did make a difference afterwards.
With 32 dentries per slab, it doesn't take many pinned objects to pin
most slabs.

Jörn

-- 
All art is but imitation of nature.
-- Lucius Annaeus Seneca
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to