🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #47136

INN -BETA expire vs. traditional spool

#47136
From: Charles Fluffie
Date: Tue, 27 Jun 2000 00:00
82 lines
4444 bytes
Is it just me, or does the performance of recent INN BETA
snapshots absolutely reek when it comes to expire times,
where many articles are written to traditional one-article-
per-file spool?

There's a box here that has INN 2.2 STABLE from, oh, a year
ago, purely traditional spool, with just under 200 gigs of
pr0n and warez, and 700MB worth of history file.  The daily
expire run takes some 15 minutes to chew through the history
file, then runs expireover in about an hour, and then spends
around two hours wiping the spool.

Now in contrast I have a recent -BETA, a combination of different
storage methods, only some 60GB devoted to traditional spool,
and when I ran the first expire it looked kinda like

Expire messages:
expireover start Wed Jun 21 03:05:17 MET DST 2000: ( -z/news/log/expire.rm -Z/news/log/expire.lowmark)
    Article lines processed 10218125
    Articles dropped         7109301
    Overview index dropped   7962738
expireover end Wed Jun 21 06:03:39 MET DST 2000
lowmarkrenumber begin Wed Jun 21 06:03:39 MET DST 2000: (/news/log/expire.lowmark)
lowmarkrenumber end Wed Jun 21 06:03:39 MET DST 2000
        expirerm start Wed Jun 21 06:14:37 MET DST 2000
        expirerm end Fri Jun 23 22:02:54 MET DST 2000
expire begin Fri Jun 23 22:03:24 MET DST 2000: (-v1)
    Article lines processed 11894406
    Articles retained        5110377
    Entries expired          6784029
    Old entries dropped       940101
    Old entries retained      715322
expire end Sat Jun 24 00:04:01 MET DST 2000
        all done Sat Jun 24 00:04:01 MET DST 2000

That's ... um ... quite a bit more time than I expected.

Now obviously a few things have changed.  F'rinstance, the
expire.rm file, while sorted, is based on the MD5 hash,
which seemed to be reasonably alpabetical by group for the
first day or two, but then seemed to jump all over the active
file for the rest of expirerm.

Further, running `truss' on the ``fast(hahahaha)''rm process
led me to believe it was doing a few things that were taking
more time than I knew from the older `fastrm', and I wasn't
quite sure if they were right, either, given what I want.

And when expire chewed through the history text file at the
start of the expire run, that took a few hours, which was
rather more than I anticipated.  Plus at the end of the run
of ``fast''rm, it seemed to run expire over the text file
yet again, which I wasn't expecting at all.

I have a few ideas of what I can hack on to speed things up
slightly, but they may be based on inaccurate assumptions.
Because, truthfully, I'm not sure what is going on during the
daily expiration process, or the logic behind it, and when
this was discussed, I'm sure I was pacing back and forth on
the Donauradweg or drinking beer or else doing something fun
and enjoyable that I really should be doing right now too.

Does anyone have pointers to a good description of the expire
process in recent INN, or a pointer to a good timeframe where
I can find discussion on this?

Now admittedly, after that first expire run, things have not
been so pathetically bad, and I've been continually moving
newsgroups to CNFS storage leaving less in traditional spool,
but still I'm seeing well over 5 hours to do everything, and
that's on a totally idle machine, apart from the incoming feed.

I'm sure I should be able to reduce the expire time by frobbing
something somehow.  Unless someone wants to convince me that
INN-2.3 isn't what I want for traditional spool, which at first
glance seems to be the case...


THADVANCENKS!!!


Technical Details
Message-ID: <Pine.BSF.3.96.1000627192941.4969G-100000@ME0WVAX.INT.TELE.DK>
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: <Pine.BSF.3.96.1000627192941.4969G-100000@ME0WVAX.INT.TELE.DK>
Subject: INN -BETA expire vs. traditional spool
Date: Tue, 27 Jun 2000 00:00:00 +0000
From: Charles Fluffie <FLUFFIE@ILOVEYOU.int.tele.dk>
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: 639663171
X-Sender: FLUFFIE@ME0WVAX.INT.TELE.DK
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Complaints-To: Department of Beer <bitbucket@news.inet.tele.dk>
X-Trace: freebeer.netscum.dk 962131020 60e8803c5321d381d3e2519e5fa3ae64
Organization: No! This is JAZZ!!!
Mime-Version: 1.0
Newsgroups: news.software.nntp
X-Meow: grumble mumble blagh furrfu