From owner-freebsd-current Sun Aug 4 18:34:14 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA09335 for current-outgoing; Sun, 4 Aug 1996 18:34:14 -0700 (PDT) Received: from parkplace.cet.co.jp (parkplace.cet.co.jp [202.32.64.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA09329 for ; Sun, 4 Aug 1996 18:34:11 -0700 (PDT) Received: from localhost (michaelh@localhost) by parkplace.cet.co.jp (8.7.5/CET-v2.1) with SMTP id BAA16726; Mon, 5 Aug 1996 01:33:45 GMT Date: Mon, 5 Aug 1996 10:33:45 +0900 (JST) From: Michael Hancock To: Doug Rabson cc: Terry Lambert , jkh@time.cdrom.com, tony@fit.qut.edu.au, freebsd-current@freebsd.org Subject: Re: NFS Diskless Dispare... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 3 Aug 1996, Doug Rabson wrote: > > The vclean code is evil and redundant and redundant, but without moving > > the vnode allocation to per FS vnodes (I've mentioned this before), there > > is very little you can do. It's a buffer cache lose to say "no" to a > > page that's in core, but which does not have a vnode referencing it, > > so you have to reload it from disk even though a perectly good copy > > is already in memory. 8-(. > > You have to start reusing vnodes sometime. Whether it means reusing them > within a filesystem or across a global pool, it has to happen. Even > reusing a vnode within a filesystem would involve something similar to > vclean() surely. I don't understand the VM system well enough to judge > whether dropping a few valid pages from old vnodes is a real problem in > performance terms. I think what he's is saying is that when the vnodes are in the global pool the chances of reusing a vnode that was used previously by a particular fs is less than having a per fs vnode pool. The problem with the per fs vnode pool is the management overhead. When you need to start reusing vnodes you need to search through all the different fs pools to find a vnode. I don't know which is a better trade-off. Mike Hancock