🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #9365

Re: how to speed up innd

#9365
From: T. William Wells
Date: Tue, 16 Jul 1996 00:00
39 lines
2511 bytes
In article <vz2enmcvi1q.fsf@wildstar.net>,
Richard Michael Todd  <rmtodd@wildstar.net> wrote:
: Yes, very interesting indeed.  I remember the days when INN1.4 was new and
: we switched to it from C News-msgidd-nntpd-and-random-bits-of-baling-wire,
: and saw a quite noticable performance jump.  That was back when a full feed
: was somewhere around 20 kiloarticles/day or so (the good old days :-).
: Curious to see that something resembling the C News/nntpd approach might
: actually perform better with today's traffic levels.

It's not that surprising. While disk speeds have shown a modest
improvement, the newsfeed size has grown exponentially -- and the
disk activity is O(n**2) in the newsfeed size.

: Yeah. At a minumum you'd want to change the INN expire to lock out
: relaynews during the entire creation of the new history db,instead of
: the existing "reserve/pause" stuff.  (You could hack C News expire to
: do delayrm instead, but I suspect hacking INN expire to respect C News
: locking is easier.)

Nah. When I ran C news, I used a hack like that; it's pretty easy.
Still, I believe that INN's expire is significantly faster than C
news's. It may just be dbzincore....

: More or less, though with luck the specific file system you implement will
: be more suited towards the needs of news than the "standard" filesystem is.

Like the way that dbz improves over dbm....

: For instance, the filenames for articles in a newsgroup are always numbers,
: so in a sense you don' actually need to store the filenames for articles like
: you would in a traditional filesystem directory, you just need to store
: a couple of integers (lowest/highest article number) and then an array of
: disk offsets/article sizes indexed by article number.

Well, maybe. That old article unexpired for a month will result
in a rather large gap in an active newsgroup....

Technical Details
Message-ID: <4sh76d$9r3@twwells.com>
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
References: <4sc8e0$q8u@twwells.com> <4se1hs$hjp@necco.harvard.edu> <4sel1d$33m@twwells.com> <vz2enmcvi1q.fsf@wildstar.net>

Show Full Headers
Complete Article Headers
Message-ID: <4sh76d$9r3@twwells.com>
Subject: Re: how to speed up innd
Date: Tue, 16 Jul 1996 00:00:00 +0000
From: bill@twwells.com (T. William Wells)
References: <4sc8e0$q8u@twwells.com> <4se1hs$hjp@necco.harvard.edu> <4sel1d$33m@twwells.com> <vz2enmcvi1q.fsf@wildstar.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-mail
X-Deja-AN: 168547130
Organization: None, Mt. Laurel, NJ
Newsgroups: news.software.nntp