From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <46925A10.8090104@mbligh.org> Date: Mon, 09 Jul 2007 08:53:52 -0700 From: Martin Bligh MIME-Version: 1.0 Subject: Re: vm/fs meetup details References: <20070705040138.GG32240@wotan.suse.de> <468D303E.4040902@redhat.com> <20070706020042.GD14215@wotan.suse.de> <20070707104534.GA5686@lazybastard.org> <20070708232938.GG12413810@sgi.com> <20070709002720.GA13081@lazybastard.org> In-Reply-To: <20070709002720.GA13081@lazybastard.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Sender: owner-linux-mm@kvack.org Return-Path: To: =?windows-1252?Q?J=F6rn_Engel?= Cc: David Chinner , Christoph Lameter , Nick Piggin , Rik van Riel , Anton Altaparmakov , Suparna Bhattacharya , Christoph Hellwig , Zach Brown , Hugh Dickins , Jared Hulbert , Chris Mason , Trond Myklebust , Neil Brown , Miklos Szeredi , Mingming Cao , Linux Memory Management List , linux-fsdevel@vger.kernel.org List-ID: Jorn Engel wrote: > On Mon, 9 July 2007 09:29:38 +1000, David Chinner wrote: >> On Sat, Jul 07, 2007 at 12:45:35PM +0200, JA?A?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. What happened to the patches floating around to stick the dentries for directories into a different cache? IIRC, they were somewhat problematic because you don't know what the dentry is used for at allocate time, but did that ever get fixed / worked around? M. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org