🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #25962

ctlinnd slowness during makehistory -buvn (INN 1.7.2+insync 1.1d)

#25962
From: USENET news
Date: Sun, 08 Feb 1998 00:00
81 lines
5153 bytes
Summary: with makehistory -buvn running, the shiny new server that I'm 
setting up seemed to be developing an incoming feed backlog and "ctlinnd
mode" was very slow - if anything worse than our heavily loaded old, slow
live server which was accepting articles significantly faster. Why...?

Our live server is a SPARC 10/51 running INN 1.5.1sec2 (no insync patches)
with Solaris 2.5. It's getting close to saturation, but still coping with
around 9000 groups (no alt.binaries!) - around 500-600MB/day. 

I'm in the process of setting up a new server, using INN 1.7.2 + insync
patches 1.1d on a Sun Enterprise Server 450 with Solaris 2.6. 

The spool is striped/mirrored using DiskSuite in both cases (and using the
metatrans logging facility in the case of the new system, separate mirrored
logs for spool and "the rest"). The new system has separate mirrored drives
for each of thread data, control files (exc. history), history, and logs,
whereas the old system has all but the spool on one mirrored drive. The new
system is receiving a couple of feeds (which with innxmit could be multiple
parallel, streaming feeds) but has no readers; it is, however, running
c-nocem and the CleanFeed Perl filter, neither of which is running on the
old server.

I have been running makehistory -buvn (and then expireover -a) routinely each
Sunday on the old server, and am now doing that on the new server, to pick 
up any orphaned articles, etc. (though mostly unneeded ... there've been 
times in the past when system problems on the old server made it more 
important). Before you rush to say "why run makehistory unless you actually 
need to?" or "use xxx instead", the problem that's worrying me is why it 
seems to have an unexpectedly bad effect on news server performance on the
new system. 

That's the background, now for the puzzle.

I noticed this morning that the live server's feed to the new server was
slightly backlogged, and with makehistory -buvn running on the new system
"ctlinnd mode" seemed very slow whereas (with little for the system to do)
it's normally "instant" (in contrast to the old, live server where it is 
always fairly slow these days). Both systems running crosspost, and with 
similar active file contents and expiry regimes.

With around 50 readers, makehistory -buvn running, and multiple inbound and 
outbound feeds, the old server takes around 7 seconds elapsed time to give a
response to "ctlinnd mode". The new server, with far less work to do and the
file I/O spread over far more drives (and spread over five UltraSCSI
controllers) was taking slightly longer to respond (and even with the
makehistory process temporarily SIGSTOP'd it still took 3 seconds). The old,
slow server was managing to accept around 2-3 articles/second (enough to
keep up with the feed) with makehistory running, but the new server seemed
to be managing only about half an article per second. With makehistory
finished, the new server now responds to "ctlinnd mode" in 0.016s, and when
the new server's been catching up after downtime I've seen it accept 30-40
articles per second, so it's not inherently slow!).

There's clearly a fair amount of extra spool I/O while makehistory is
running, but it's not obvious to me why the new system with faster CPUs,
file I/O spread over more and faster drives, and (using only a small
fraction of) more memory, seemed to be seriously slowed down by makehistory -
worryingly so. It's supposed to be taking over the old server's workload in
the near future and performing slower from the outset (even if only in this
respect) seems like a bad start!

No obvious explanations spring to mind, and there are clearly a lot of 
differences between the two systems, so no "obvious" area for investigation
... I'd be very interested in any suggestions for possible explanations or
things to check.

There is a complicating factor - I've had a few unexplained system hangs and
crashes ("panic: trap" in the latter case) on the new system, and am
awaiting news from Sun about what caused those (based on crash dumps) - no 
obvious matching symptoms in the SunSolve web server's bug/patch databases.
It's therefore possible that there is actually an operating system or
hardware problem which could, perhaps be getting provoked (but not to the
extent of hanging or crashing) by makehistory.

                                John Line
-- 
Cambridge University Computing Service - USENET news manager.
newsmaster@ucs.cam.ac.uk    (alias {newsmaster,news,usenet}@news.cam.ac.uk)

Technical Details
Message-ID: <6bkdcv$qn9$1@lyra.csx.cam.ac.uk>
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: <6bkdcv$qn9$1@lyra.csx.cam.ac.uk>
Subject: ctlinnd slowness during makehistory -buvn (INN 1.7.2+insync 1.1d)
Date: Sun, 08 Feb 1998 00:00:00 +0000
From: news@news.cam.ac.uk (USENET news)
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: 323139363
Organization: Computing Service, Cambridge University, England
Newsgroups: news.software.nntp