🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #9348

Re: how to speed up innd

#9348
From: Harry Bochner
Date: Mon, 15 Jul 1996 00:00
43 lines
2458 bytes
In article <4sc8e0$q8u@twwells.com>, bill@twwells.com (T. William Wells) writes:
|> Not until I totally disconnected article receipt from article
|> filing did matters improve. On my system, there's now this stupid
|> nntp daemon sitting on the nntp port (it doesn't even do
|> streaming) which creates rnews batches in a 70M spool area. A
|> single rnews process feeds that into innd. (I don't even do an
|> msgidd equivalent!)

Very interesting!

When INN was new, the big advantage over C News + nntpd, as I understood it, was
that it avoided writing batch files to disk. Now we have a report of better
performance doing it the old-fashioned way!

I have 2 quick variations to suggest:

1) msgidd would be a good thing. Easiest way to get it might be to use the
reference nntpd implementation; seems to me that it shouldn't need much
modification to run in your scheme.

2) I'd be interested in seeing the results of using C News! After all, it's not
clear what efficiency advantage INN has in your modified set up. Since the
data-structures are mostly compatible, it shouldn't too hard to switch between
C News and INN. (I'd like to graft delayrm and fastrm into C News expire, tho.)

The major point, though, is:
|> The first
|> is that the Unix file system, used naively, is a major bottleneck.
|> I hope to recode things to use smaller directories, by
|> filing articles using a nnnnnnn/nnn scheme rather than just
|> shoving all articles into one directory.

This should help, but I think you need to go further. The inherited model of one
article per file has got to go, I think. Various ideas about this were tossed
around recently (and I have my own ;-), but the main thing we're waiting for is
some one to find the time to do a proof-of-concept implementation of some sort.

-- 
Harry Bochner
bochner@das.harvard.edu

Technical Details
Message-ID: <4se1hs$hjp@necco.harvard.edu>
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>

Show Full Headers
Complete Article Headers
Message-ID: <4se1hs$hjp@necco.harvard.edu>
Subject: Re: how to speed up innd
Date: Mon, 15 Jul 1996 00:00:00 +0000
From: bochner@das.harvard.edu (Harry Bochner)
References: <4sc8e0$q8u@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
X-Deja-AN: 168861501
Sender: bochner@das (Harry Bochner)
Organization: Aiken Computation Lab, Harvard University
Newsgroups: news.software.nntp