🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #20154

my INN tuning experiences

#20154
From: Lukas Wunner
Date: Sun, 03 Aug 1997 00:00
70 lines
4239 bytes
Just thought I'd share my experiences re: INN tuning with the group.

After months of tuning I finally managed to get my news system under
control. The server now happily groks three incoming fullfeeds (from
INN and NNTPRelay sites) without backlogging and several dozens of
outgoing feeds. Three fullfeeds may not sound much but the innd-timer
patch shows that there's still plenty of horse-power reserved, so
I'll probably add more feeds in the future.

I store full NOV data for all newsgroups, and the server handles up
to a dozen readers simultaneously plus compressed/gziped UUCP batching.
The server also relays the incoming fullfeeds to several other sites,
yielding a ranking of 668 in the Top1000 (the server currently does not
generate inpaths statistics itself, so the actual rank should be higher).

So contrary to a commonly held belief, it is still possible to handle a
complete news server solution on a single machine using INN, without
separate Diablo/Cyclone/NNTPRelay machines. It does take a while though
to recognize the limits and bottlenecks and to eliminate them. I am also
extremely happy with INN as regards stability. I have heard of sites
where INN crashes every other day. Not here: INN as well as innfeed 0.10.1
have been running extremely well and absolutely rock-solid on my server.
Probably the most important bottleneck is the size of the control.cancel
directory. I have found that most performance problems are related to this
bottleneck rather than anything else.

My setup is:
- disks: 3x IBM DCHS 4GB for the news spool (striped with ccd, interleave
  of 65536) and 1x IBM DCHS 4GB for NOV data and 3 small old-ish 5400 rpm
  drives (striped with ccd) for the history+active.
  Everything else (innfeed backlog, logfiles...) plus the system is
  on a Seagate Barracuda. That's eight drives altogether, on two separate
  Fast SCSI buses.
- memory: 256 MB
- standard Tyan mainboard with HX chipset, single Pentium 166
- FreeBSD 2.2.2

I tried to install 320 MB of RAM, but the BIOS wouldn't recognize it.
I am reluctant to replace the server with a Sun or SGI box though, mainly
because I dislike Solaris, and because I have found it to be a great
advantage to have full source code of the OS. On several occasions,
I had to hack the kernel sources a little bit to tweak performance;
obviously, this would not have been possible with Solaris or IRIX.
Another great advantage is that you can upgrade the *complete* system
simply by updating the local source tree and recompiling+installing.
I believe this is the best way to upgrade a server, because it gives
me maximal control on the upgrade process, and because it allows me
to keep downtime to a minimum. Actually, the only downtime caused by
the upgrade from FreeBSD 2.1.6 to 2.2.2 was when I had to reboot after
I installed the new kernel. I have found FreeBSD to be an extremely
stable, performant and overall trustworthy (don't laugh) OS.

The three spool disks suffice performance-wise, but obviously not
diskspace-wise. When my machine was too slow to handle the incoming
fullfeeds, a default expire of 5-7 days worked. But now, with 500k-800k
articles per day, a default expire of 3 days barely works, so the next
bottleneck to work on is disk space.

Where to obtain useful tuning tips:
http://www.eerie.fr/~news/innfeed/msg00881.html
(interesting posting to innfeed-users by Michael Beckmann)
http://www.spinne.com/usenet/inn-perf.html
(many extremely useful hints)
http://www.news.erols.com/patches/
(an interesting collection of INN patches; highly recommended: innd-timer)

	Lukas.

Technical Details
Message-ID: <5s1o42$p43$1@sun579.rz.ruhr-uni-bochum.de>
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

Show Full Headers
Complete Article Headers
Message-ID: <5s1o42$p43$1@sun579.rz.ruhr-uni-bochum.de>
Subject: my INN tuning experiences
Date: Sun, 03 Aug 1997 00:00:00 +0000
From: lukas@phoenix.tp1.ruhr-uni-bochum.de (Lukas Wunner)
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: 261932310
Organization: Theoretische Physik 1, Ruhr Universitaet Bochum
Reply-To: lukas@tp1.ruhr-uni-bochum.de
Newsgroups: news.software.nntp