🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #21987

Re: disk access

#21987
From: Joe Greco
Date: Tue, 30 Sep 1997 00:00
60 lines
2990 bytes
In news.software.nntp article <34314F64.7E4@mns.net>, todd@mns.net wrote:
:I am in the proccess of building a new nnrp server, and am a little
:stumped by a few things.
:
:This is my config as far as disk setup goes. (4 controllers)
:
:bha = BusLogic PCI SCSI controller
:aic = Adaptec PCI SCSI controller
:
:bha0 ---> 2, 2gig disks (1 for system disk, and 1 for /var/news)
:bha1 ---> 1 9gig disk (spool disk)
:aic0 ---> 1 9gig disk (spool disk, contains only alt.binaries)
:aic1 ---> 1 9gig disk (spool disk, comp, sci, rec, biz, misc)

This is a good configuration for an archive machine, but it is
garbage for a news server.

More disks.  Smaller disks.  9GB disks are questionably useful for
alt.binaries.  Everything else should be 4GB or preferably under.
Your average transaction size is tiny, for news.

:When I tail the /var/log/news/news file to watch incoming news, it seems
:real slow! Sometimes the output of the tail just stops for 30sec or so.
:When I tail the /var/log/news/news on an older nnrp box, that has lesser
:hardware config, it scrolls non-stop at a nice pace. 
:
:Does tailing the log files like that give an accurate representaion of
:the real-time feed coming into your machine? If so this is rather
:disgruntling. 
:
:Would a PCI ethernet card make that much of a performance boost if I
:added one? 

Doubtful.

:And, the disks activity light on the disk housing the /var/news
:partition is on basically non-stop. The spool is not on that disk
:either. Could there be a disk problem? I know the history file gets
:written to all the time, but could that be enough to show disk-activity
:on that disk non-stop, when I see only a smattering of activity on the
:others. 
:
:thanks for any advice you can give this poor network engineer who has
:been given the unwanted gift of news-admin. I *thought* BGP routing was
:difficult! =)

Put /var/news on 2 1GB drives striped together (I use 128 block stripe
sizes).  Make sure you haven't made any silly mistakes...  in particular
make sure you've got your active file memory mapped, and you have
ICD_SYNC_COUNT set high (I use 120), and make sure you've added -DMMAP
to DBZCFLAGS.  Then install the innd-timer patch, so you can see what's
happening.  If it's still a problem, see what using a different DBZ
variant would do for you.

http://www.nntp.sol.net/patches

... JG

Technical Details
Message-ID: <60rlvv$f3h$1@earth.execpc.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: <34314F64.7E4@mns.net>

Show Full Headers
Complete Article Headers
Message-ID: <60rlvv$f3h$1@earth.execpc.com>
Subject: Re: disk access
Date: Tue, 30 Sep 1997 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <34314F64.7E4@mns.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: 276833329
Distribution: inet
Sender: jgreco@earth.execpc.com
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp