🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #33592

Re: INN2.2 actived on strike! (Was: Re: INN2.2 - articles late to appear on NFS-clients?)

#33592
From: Elena Samsonova
Date: Mon, 07 Dec 1998 00:00
92 lines
4943 bytes
Ragnar Lonn wrote:
> >I don't use actived.  I read the manual pages and thought it was tricky
> >on a distributed architecture.  Perhaps I'm being too cautious, but I
> >don't really need it at all.  I have three reader machines, Origin200
> >(Silicon Graphics), 2 CPU each, they are doing about 300 simultaneous
> >connections each and are not breathing hard (60% CPU idle, run queue
> >between 2.5 and 3.5).  So I don't really have a reason to use all those
> 
> Well I'm not too familiar with SGI machines but unless I'm mistaken,
> you're running a pair of pretty fast machines as readers then, no?
> With INN 1.7x our 170Mhz single-CPU Ultrasparc 1 machines 

These are more or less equivalent to a single-CPU Origin200.  The latter
has 180Mhz CPUs.

> had a
> load average of about 0.5 with 100-150 or so readers on them 

We saw the same performance when Origins had just one CPU (each :) 

> and those
> are not terribly expensive machines so that was pretty good I guess
> but if we didn't use actived, the load would rise to, I think 5,6,7, maybe
> 8 and above all, service would be a lot slower!  

And we did not use actived...  Since the hardware is equivalent, there
must be something in the software setup that makes all the difference, I
guess.  But what?  Or is it perhaps kernel tricks?  Did you tune
Solaris' kernel?  We tuned IRIX kernel, and that made a very big
difference.  From the other Sun machines that we deploy for other
purposes, I know that Solaris kernel has some default settings that are
wrong for news environments.  Tuning those improves performance
ten-fold.

> I bet you could speed
> things up quite a bit and get lightning performance from your system
> by using actived!

Sounds very tempting. :)  I think I shall try it.

> And it's not tricky at all!  You just start actived and the nnrpd's will
> start using it :-)

The thing I'm worried about is whether actived can correctly react on
the frequent changes to the active file made by some other machine. 
Have you had any problems with that?  And how often do you update your
active file?  (I.E. do you use MMAP_SYNC, and if so with what
frequency?)

> >advanced solutions, plain vanilla works fine for me. :)  I did however
> >patch nnrpd to have it cheat on the GROUP command (there was a
> >discussion about it in this newsgroup a while ago).  That did help!
> 
> What does the patch do?

It cheats... :-o  When the GROUP command is issued, INN normally goes
into the group directory and builds an overview on the spot.  The patch
has it read the active file instead and return the counters found there
without ever going to the spool.  The active file needs to be updated
frequently enough for this to work though.

[keeping history db on the local disk and NFS mounting that to the
readers]
> so to avoid overloading the local disk on the writer host with nfs-accesses to
> ~/news/etc/active it is very important to run actived on the *reader* hosts.

I see!

> The Netapp
> caches write operations too, and very efficiently. I really don't know if
> there is any actual performance to gain from this approach. 

I talked to several large ISPs who run their news the way you and I do,
and some of them said that they found perform better with the history db
on a local disk (like yours, I guess), and others said that it worked
better with the history db on the filer.  I decided to try for the filer
and if it did not work to move it to the local disk, but since it worked
fine, I never did compare the two in my setup.

> One thing that
> is nice about it, though, is the fact that we only need to update one set
> of config files no matter how many reader servers we install.

How is that different from having the readers mount ~news/etc and
~news/db from the filer?  That's what I do so that all the readers have
the same setup.


Regards
Elena

Technical Details
Message-ID: <366BD658.7E91DCD9@wxs.nl>
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: <74142e$9vf$2@zingo.tninet.se> <36650CED.5F12611E@wxs.nl> <744frg$glp$2@pepsi.tninet.se> <3667D772.2E9A8C3D@wxs.nl> <7497q3$css$1@pepsi.tninet.se>

Show Full Headers
Complete Article Headers
Message-ID: <366BD658.7E91DCD9@wxs.nl>
Subject: Re: INN2.2 actived on strike! (Was: Re: INN2.2 - articles late to appear on NFS-clients?)
Date: Mon, 07 Dec 1998 00:00:00 +0000
From: Elena Samsonova <E.Samsonova@wxs.nl>
References: <74142e$9vf$2@zingo.tninet.se> <36650CED.5F12611E@wxs.nl> <744frg$glp$2@pepsi.tninet.se> <3667D772.2E9A8C3D@wxs.nl> <7497q3$css$1@pepsi.tninet.se>
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: 419619576
Content-Transfer-Encoding: 7bit
To: Ragnar Lonn <prl@algo.net>
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@wxs.nl
X-Trace: reader3.wxs.nl 913036887 24518 195.121.4.60 (7 Dec 1998 13:21:27 GMT)
Organization: World Access / Planet Internet
Mime-Version: 1.0
NNTP-Posting-Date: 7 Dec 1998 13:21:27 GMT
Newsgroups: news.software.nntp