Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2007 03:59:55 +1100 (EST)
From:      Bruce Evans <brde@optusnet.com.au>
To:        David G Lawrence <dg@dglawrence.com>
Cc:        freebsd-net@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: Packet loss every 30.999 seconds
Message-ID:  <20071220035129.R38221@delplex.bde.org>
In-Reply-To: <20071219154856.GC25053@tnn.dglawrence.com>
References:  <D50B5BA8-5A80-4370-8F20-6B3A531C2E9B@eng.oar.net> <20071217102433.GQ25053@tnn.dglawrence.com> <CD187AD1-8712-418F-9F49-FA3407BA1AC7@eng.oar.net> <20071220011626.U928@besplex.bde.org> <20071219154856.GC25053@tnn.dglawrence.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 19 Dec 2007, David G Lawrence wrote:

>> Try it with "find / -type f >/dev/null" to duplicate the problem almost
>> instantly.
>
>   FreeBSD used to have some code that would cause vnodes with no cached
> pages to be recycled quickly (which would have made a simple find
> ineffective without reading the files at least a little bit). I guess
> that got removed when the size of the vnode pool was dramatically
> increased.

It might still.  The data should be cached somewhere, but caching it
in both the buffer cache/VMIO and the vnode/inode is wasteful.

I may have been only caching vnodes for directories.  I switched to
using a find or a tar on /home/ncvs/ports since that has a very high
density of directories.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071220035129.R38221>