Re: Freeing vnodes.
From: Alexander Leidinger (Alexander_at_Leidinger.net)
Date: 03/16/05
- Previous message: Don Lewis: "Re: Freeing vnodes."
- In reply to: Jeff Roberson: "Re: Freeing vnodes."
- Next in thread: Peter Jeremy: "Re: Freeing vnodes."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 16 Mar 2005 10:22:12 +0100 To: Jeff Roberson <jroberson@chesapeake.net>
Jeff Roberson <jroberson@chesapeake.net> 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 _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Don Lewis: "Re: Freeing vnodes."
- In reply to: Jeff Roberson: "Re: Freeing vnodes."
- Next in thread: Peter Jeremy: "Re: Freeing vnodes."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]