cvs commit: src/sys/kern vfs_subr.c

Scott Long scottl at freebsd.org
Mon Aug 2 18:12:42 PDT 2004


David E. O'Brien wrote:

> obrien      2004-08-02 21:52:43 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/kern             vfs_subr.c 
>   Log:
>   Put a cap on the auto-tuning of kern.maxvnodes.
>   
>   Cap value chosen by:    scottl
>   
>   Revision  Changes    Path
>   1.518     +8 -0      src/sys/kern/vfs_subr.c

Well, the number that I gave was really only a suggestion and is
far too low to be useful on in a production environment like
squid or a mail/imap server.  What we should really be doing is
scaling based on the size of the kmem_map.  We should also be
scaling kmem_map based on the size of physical RAM and not capping
it to such relatively low values like we do right now.  I'm also
quite afraid of what might happen to something like squid that
will be exerting both vnode and mbug pressure at the same time.

Scott


More information about the cvs-all mailing list