Thread View: news.software.nntp
1 messages
1 total messages
Started by Matt Dillon
Fri, 01 Aug 1997 00:00
FreeBSD optimizations for Diablo
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads