> 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
