Packet loss every 30.999 seconds

Bruce Evans brde at optusnet.com.au
Wed Dec 19 09:00:05 PST 2007


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


More information about the freebsd-stable mailing list