FreeBSD Bugzilla – Attachment 53049 Details for
Bug 80267
Add information on tuning kern.maxvnodes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.77 KB, created by
Brad Davis
on 2005-04-22 23:40:16 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Brad Davis
Created:
2005-04-22 23:40:16 UTC
Size:
1.77 KB
patch
obsolete
>--- doc-ori/en_US.ISO8859-1/books/handbook/config/chapter.sgml Fri Apr 22 11:51:50 2005 >+++ doc/en_US.ISO8859-1/books/handbook/config/chapter.sgml Fri Apr 22 15:58:09 2005 >@@ -2228,6 +2228,42 @@ > </note> > </sect3> > </sect2> >+ >+ <sect2> >+ <title>Virtual Memory</title> >+ >+ <sect3> >+ <title><varname>kern.maxvnodes</varname></title> >+ >+ <para>A vnode is the internal representation of a file or >+ directory. So increasing the number of vnodes avaliable to >+ the operating system cuts down on disk I/O. Normally this >+ is handled by the operating system and does not need to be >+ changed. In some cases where disk I/O is a bottleneck and >+ the system is running out of vnodes, this setting will need >+ to be increased. The amount of inactive and free RAM will >+ need to be taken into account.</para> >+ >+ <para>To see the current number of vnodes in use:</para> >+ >+ <programlisting>&prompt.root; sysctl vfs.numvnodes >+vfs.numvnodes: 91349</programlisting> >+ >+ <para>To see the maximum vnodes:</para> >+ >+ <programlisting>&prompt.root; sysctl kern.maxvnodes >+kern.maxvnodes: 100000</programlisting> >+ >+ <para>If the current vnode usage is near the maximum, upping >+ <varname>kern.maxvnodes</varname> by a 1,000 is probably a >+ good idea. Keep an eye on the number of >+ <varname>vfs.numvnodes</varname>. If it climbs up to the >+ maximum again, <varname>kern.maxvnodes</varname> will need to >+ be increased further. A shift in your memory usage as >+ reported by &man.top.1; should be visable. More memory should >+ be active.</para> >+ </sect3> >+ </sect2> > </sect1> > > <sect1 id="adding-swap-space">
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 80267
: 53049