From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] Thank you very much From: "Russ Cox" Date: Thu, 12 Apr 2007 10:22:36 -0400 In-Reply-To: <461D191C.1070606@tecmav.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20070412142236.A4CBD1E8C1C@holo.morphisms.net> Topicbox-Message-UUID: 45451a62-ead2-11e9-9d60-3106f5b1d025 > Let me issue another question. > > Beeing constrained to mount small file server on FreeBSD-p9p the high > number (up to 8630) of cached fids can be a problem. > > Is it configurable ? You're actually mounting the file system as a FUSE file system, via the 9pfuse protocol converter. The problem here is that the FreeBSD FUSE kernel module is not issuing FUSE_FORGET (like Tclunk) messages as aggressively as it could. On Linux, if FUSE walks the same path twice and gets different nodeids (like fids), then it tosses away one of them -- no point caching them both -- but FreeBSD appears to keeps them both in the cache. You'd have to ask the fuse4bsd guys about this behavior. Russ