🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #3962

Re: INN performance problems (Irix 5.3)

#3962
From: Robert Keller
Date: Thu, 30 Nov 1995 00:00
50 lines
2747 bytes
Heiko Schlichting <heiko@chemie.fu-berlin.de> wrote:
>For several reasons we upgraded our newsserver (news.fu-berlin.de) from
>IRIX 5.2 to IRIX 5.3. Before we upgrade we didn't notice any performance
>problems accepting about 150,000 articles per day, handle 15 newsfeeds
>and approx. 50 simultaneous NNRPDs.
:
>	 86 GB disk space
>		using 8 GB for news-spool on 4 disks (FAST&WIDE) on four
>		different SCSI controllers with stripes=4 in /etc/lvtab.
>		and 1.5 GB for news-lib on a seperate disk.
:
>	 IRIX 5.3 with XFS (I didn't use XFS for news yet)

>I couldn't find what the bottleneck is:

I'm almost positive that you're spending all your time in the kernel efs
driver trying to find 32K worth of contiguous disk space.  On an extremely
fragmented efs disk that can take a lots of cpu time.  You can reduce the 
default efs write pre-allocation to 4K by added the parameter

	lbsize=4096 

to your news spool's /etc/fstab entry (Check the fstab man page for exact
usage info).

The real solution here is to migrate to xfs.  efs is a fairly old filesystem
and doesn't perform nearly as well as xfs.  I have a similar machine to yours
4CPU Challenge with an 8G xfs spool serving over 200 simultaneous NNRPD (of 
about 700 daily internal client hosts), 5 full slave feeds, 6 lighter feeds, 
and 2 other full incoming feeds.  Even though the machine does much more 
than just news, the news performance is very fast.

I have noticed an INN performance problem with the NEWNEWS nntp request.  If 
the XOVER information for a particular newsgroup is missing some articles, 
NEWNEWS will get innd to go check the newsspool and read the individual files
and compile the NEWNEWS information at the expense of everything else innd 
usually does.  This can give the appearance that innd is quite wedged.  Even
though it is not usual to be missing XOVER information, but just to be sure 
that I'm not vulnerable for too long, I run expireover with the -a flag each 
night.

Check out 

    http://reality.sgi.com/employees/rck/software

for my other INN for SGI tips.

...robert

Technical Details
Message-ID: <49j66r$v9@fido.asd.sgi.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.sgi.admin.mbox.zip!not-for-mail
References: <49iufg$gag@fu-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <49j66r$v9@fido.asd.sgi.com>
Subject: Re: INN performance problems (Irix 5.3)
Date: Thu, 30 Nov 1995 00:00:00 +0000
From: rck@fangio.asd.sgi.com (Robert Keller)
References: <49iufg$gag@fu-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.sgi.admin.mbox.zip!not-for-mail
X-Deja-AN: 120405174
Distribution: inet
Organization: Silicon Graphics, Inc., Mountain View, CA
Newsgroups: news.software.nntp,comp.sys.sgi.admin