Article View: news.software.nntp
Article #20101FreeBSD optimizations for Diablo
From: Matt Dillon
Date: Fri, 01 Aug 1997 00:00
Date: Fri, 01 Aug 1997 00:00
32 lines
1832 bytes
1832 bytes
Just a quick note ... someone posted a while ago that increasing the
number of nbuf's help INN out quite a bit. Under FreeBSD 2.1.x
this could cause more trouble then it fixed due to the broken
paging algorithms, but under FreeBSD 2.2.x it actually does make
quite a bit of difference, especially for diablo.
So, people running Diablo under FreeBSD 2.2.2 may want to review
their kernel config. FreeBSD 2.2.2, by default, only allocates
around 2000 or so nbuf's by default. If you have sufficient memory
( >= 128MB of ram ), then upping this parameter in the kernel config
and recompiling the kernel should improve performance.
On news1.best.com, the buffer cache with the default 2000 or so
nbuf's weighed in at around 8 MBytes. Upping the NBUF's to 6144
in the kernel config:
options "NBUF=6144"
increases this to around 24 MBytes and, at least on my box, significantly
reduces the 'vfslk2' locking contention between diablo processes trying
to access the dhistory file. I got A very noticeable increase in
performance.
INN apparently benefits from this to, but I'm only just now restarting
one of my reader machines. I'll let the group know what the results
are.
-Matt
Technical Details
Message-ID:
<5rs8jc$4e2$1@flea.best.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <5rs8jc$4e2$1@flea.best.net> Subject: FreeBSD optimizations for Diablo Date: Fri, 01 Aug 1997 00:00:00 +0000 From: dillon@best.net (Matt Dillon) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 261204937 Distribution: best Organization: BEST Internet Communications, Inc. Newsgroups: news.software.nntp