Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jan 2002 05:43:37 -0800
From:      "Bruce A. Mah" <bmah@FreeBSD.ORG>
To:        Thomas Seck <tmseck@netcologne.de>
Cc:        stable@FreeBSD.ORG, dillon@apollo.backplane.com
Subject:   Re: what's vnlru? 
Message-ID:  <200201191343.g0JDhbN72777@bmah.dyndns.org>
In-Reply-To: <20020119132902.GB676@laurel.seck.home> 
References:  <200201151618468.SM01176@141.com> <200201160101.g0G117r64693@apollo.backplane.com> <20020116104904.A2800@shikima.mine.nu> <20020116135318.GA427@laurel.seck.home> <200201190102.g0J12MF37253@apollo.backplane.com> <20020119132902.GB676@laurel.seck.home>

next in thread | previous in thread | raw e-mail | index | archive | help
If memory serves me right, Thomas Seck wrote:

[snip]

> > +    <para>The kernel now enforces the kern.maxvnodes limit with
> > +    a new kernel process called <literal>vnlru</literal>.  The
> > +    code typically only needs to do work on large-memory systems
> > +    which access lots of tiny files and prevents us from overflowing
> > +    the kernel malloc hoppers for vnodes or inodes.</para>

[snip]

> Hmm, this sounds like one can turn it on or off (which is not the
> case, right?) and people then tend to ask how to do it. How about
> rewording the second sentence into something like "This code prevents
> the system from overflowing the kernel malloc hoppers for vnodes or
> inodes when a large number of small files are accessed on large memory
> systems"? (Please apply grammar fixes as needed, apologies for my german
> high-school english).

So...here's what I already committed a day or two ago to the release 
notes for both CURRENT and 4-STABLE...

    <para>The <varname>kern.maxvnodes</varname> limit now properly
    limits the number of vnodes in use.  Previously only vnodes with
    no cached pages could be freed; this could allow the number of
    vnodes to grow without limit on large-memory machines accessing
    many small files.  A <literal>vnlru</literal> kernel thread helps
    to flush and reuse vnodes.</para>

Matt...if you'd like me to replace this with what you wrote or make 
changes, just give me a yell.

Bruce.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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