From owner-freebsd-arch@FreeBSD.ORG Wed Mar 16 09:23:38 2005 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4E7416A4CE for ; Wed, 16 Mar 2005 09:23:38 +0000 (GMT) Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56F1D43D53 for ; Wed, 16 Mar 2005 09:23:38 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd27.aul.t-online.de by mailout01.sul.t-online.com with smtp id 1DBUkZ-0006Un-01; Wed, 16 Mar 2005 10:23:35 +0100 Received: from Andro-Beta.Leidinger.net (Th4Mk-Z1oeCh-lB31Jk+LBv8fzNehZstP4XeWqPk113RGGRfFjj0Yb@[217.83.27.72]) by fwd27.sul.t-online.de with esmtp id 1DBUkL-0BWx9s0; Wed, 16 Mar 2005 10:23:21 +0100 Received: from localhost (localhost [127.0.0.1])j2G9MCW6012719; Wed, 16 Mar 2005 10:22:12 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from 141.113.101.32 ([141.113.101.32]) by netchild.homeip.net (Horde) with HTTP for ; Wed, 16 Mar 2005 10:22:12 +0100 Message-ID: <20050316102212.hyq4ptdcoc4k0s48@netchild.homeip.net> X-Priority: 3 (Normal) Date: Wed, 16 Mar 2005 10:22:12 +0100 From: Alexander Leidinger To: Jeff Roberson References: <20050314213038.V20708@mail.chesapeake.net> <20050315035032.T20708@mail.chesapeake.net> <200503151911.j2FJBWpd055485@apollo.backplane.com> <20050315195525.F20708@mail.chesapeake.net> In-Reply-To: <20050315195525.F20708@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.2) / FreeBSD-4.11 X-ID: Th4Mk-Z1oeCh-lB31Jk+LBv8fzNehZstP4XeWqPk113RGGRfFjj0Yb@t-dialin.net X-TOI-MSGID: cd99e4ad-66f2-4b36-b320-f88def01487e cc: arch@freebsd.org Subject: Re: Freeing vnodes. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2005 09:23:39 -0000 Jeff Roberson wrote: > I haven't seen my machine even get to 10,000 free vnodes with this patch > running. Even while doing a 'find . -exec stat {} \; >> /dev/null'. With > the new mechanism all of these vnodes would go away after a second. It > might be nice to keep them around for longer if resources permit, but I do > think a timeout based approach is the correct one. Please note that with > the old code you wouldn't even keep them around for a second if we were > above minvnodes. They would be recycled on the next call to > getnewvnode(). Does this mean the behavior of find /usr/src -name .\#\* -o -name \*.orig -print followed by find /usr/src -name .\#\* -o -name \*.orig -print -delete after looking at the output on an idle system does change (assuming the system is below minvnodes)? Actually the first command needs a little bit of time with a slow disk, the second one is very fast compared to the first one. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 There's no room in the drug world for amateurs. -- Raoul Duke