🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #22665

Re: Speedup of our readerbox

#22665
From: Jesper Skriver
Date: Sun, 26 Oct 1997 00:00
105 lines
4464 bytes
>:>It's a RS/6K model G40 with 4 * 112 MHz PowerPC 604 CPU's, 512 MB 
>:>memory, 32 SSA 4 GB drives, 2 F/W SCSI 4 GB drives, 4 F/W 2 GB drives.
>:>
>:>It has a striped spool across 28 * 4 Gb SSA drives, overview is
>:>on a striped filesystem across 4 * 4 Gb SSA drives, history is
>:>on a striped filesystem across 4 * 2 Gb F/W SCSI drives (atlas-II).

>    28 * 4 = 112 GB spool.  Now that is a *big* news spool!

Yes, we like to keep things around, and at the same time offer
our customers a full feed, including binaries.

But we only use ~60% of the disk capacity, the reason for this
many drives is performance, it used to be on 14 drives, but
back then we just couldn't keep up.

>    The history lookup time is almost certainly related to the size of
>    the history file verses the amount of memory you have for disk
>    caching.  with a spool that big, reducing the remember time
>    in expire.ctl (coupled with the correct -c option to innd) will
>    probably not have a huge effect due to article retention times.

Our expire.ctl looks like this today, after I've been cutting a bit
on our remember and retension times.

/remember/:6
*:A:1:12:12
alt.*:A:1:8:8
alt.binaries*:A:1:5:5
alt.binaries.cd.images:A:1:5:5
alt.binaries.games:A:1:3:3
alt.binaries.warez.ibm-pc:A:1:5:5
alt.sex*:A:1:5:5
alt.warez*:A:1:5:5
*.jobs.*:A:1:1:1
*.test:A:1:1:1
control*:A:1:1:1
junk:A:1:1:1
dk.*:A:1:365:365
tele.*:A:1:365:365
*.announce:A:1:365:365
news.software.*:A:1:365:365
news.lists.filters:A:1:4:4
alt.sysadmin.recovery:A:1:never:never
bofh.*:A:1:never:never

>:>It runs 1.7 with the patches from http://www.insync.net/~aos/inn.html
>:>
>:>I see 4 ways to improve performance.
>:>1) Trying the 64bit history patch
>:>2) Running Jeremy's cleanfeed filter on our feeder box, so it will
>:>   offer fewer articles to the reader box.
>:>3) Stop feeding cancels to the reader box, and run nocem on spool
>:>   instead.
>:>4) Improve the speed of the spool.

>    Your spool is already striped across 28 drives, you are 
>    probably not going to be able to improve its speed much more.

I'm afraid your right.

>    I think your best bet is to add another 512MB of ram and
>    then tune the buffer and namei caches for the machine.  A
>    machine like that has got to be pretty expensive, what's
>    another 512MB of ram ?

The machine costs ~$120.000 in Denmark, but the problem is, for
upgrading to 1GB memory, we'll have to discard the old 512MB and
buy 1GB instead.

It's fittet with 16*32MB modules, and we need 16*64MB modules ...

At the moment we support a peak of 400 simultanious readers, but
thanks to actived, we still have ~350 MB memory for buffers, I
thought that should be enough.

>    You should also review the reasons behind having such a large
>    spool.  Reducing the size of the spool will have a direct
>    effect on both bottlenecks (history lookup, article write).

I've been cutting on remember and retension times, just for
this reason, I'm waiting a few days to see if it makes any
difference.

>    And you can also try your above ideas.

>    Most people have 16-32 GB spools.  Many news transit nodes
>    (in the top 1000) have even smaller spools... 1-16 GB, and
>    you will have a hard time competing with that so I wouldn't
>    bother.

We've just converted our feederbox to CNFS, with a 4 GB spool, and 
it screams. In september it was #71 on the Freenix list, and that
was running Diablo. I can see that we propagate more articles 
now running CNFS, that we did running Diablo.

--
Jesper Skriver (JS249-RIPE), Network manager      
Tele Danmark Internet (TDI1-RIPE)

One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone bind them.

Technical Details
Message-ID: <62v714$1684$1@news.inet.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
References: <62sdnf$1h7e$1@news.inet.tele.dk> <62udui$di8$1@flea.best.net>

Show Full Headers
Complete Article Headers
Message-ID: <62v714$1684$1@news.inet.tele.dk>
Subject: Re: Speedup of our readerbox
Date: Sun, 26 Oct 1997 00:00:00 +0000
From: Jesper Skriver <jesper@skriver.dk>
References: <62sdnf$1h7e$1@news.inet.tele.dk> <62udui$di8$1@flea.best.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: 285050509
X-Complaints-To: abuse@news.inet.tele.dk
X-Trace: news.inet.tele.dk 877862756 39172 (None) 193.163.158.4
Newsgroups: news.software.nntp