Article View: news.software.nntp
Article #33540Re: INN2.2 actived on strike! (Was: Re: INN2.2 - articles late to appear on NFS-clients?)
From: Ragnar Lonn
Date: Fri, 04 Dec 1998 00:00
Date: Fri, 04 Dec 1998 00:00
74 lines
4581 bytes
4581 bytes
In article <3667D772.2E9A8C3D@wxs.nl>, Elena Samsonova <E.Samsonova@wxs.nl> wrote: >Wow, this has become a rather hot discussion! :-o You should see the discussion our users are having about our newsserver performance :-) >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 had a load average of about 0.5 with 100-150 or so readers on them 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! I bet you could speed things up quite a bit and get lightning performance from your system by using actived! And it's not tricky at all! You just start actived and the nnrpd's will start using it :-) >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? >> Funny thing is, everything seems to work fine on the writer host. The only >> difference is that the reader hosts NFS-mount ~news/etc and ~news/db >> from the writer host, otherwise the systems are pretty identical. > >Interesting. So you NFS-mount these directories from your feeder to the >readers? I just put them all on the filer so that there's only one >machine to mount for everyone. The feeder mounts it read-write, the >readers mount it read-only. > Yeah, I actually got the idea from a document written by engineers at Network Appliance about using Netapp filers in newsserver applications. They figured a good solution would be to put articles on the filer and the history database locally on a single machine that did all the 'writing' (the 'writer host'). I figured so too because it'd mean the writer host got faster access to the history database and active file, which it updates a lot. The reader hosts would then nfs-mount ~news/etc (where the history db was located in earlier INN versions) read-only from the writer host to get the config files in that dir and for the rare occasion when nnrpd needs to access the history db directly. The nnrpd's do of course access the active file a lot 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. But...as Netapp themselves like to brag, their filers can actually be faster than local disks if they (the filers) aren't too heavily loaded and the network is fast so I'm not completely sure how much there is to gain from using a local disk for the history db and all that stuff. The machine should be able to cache things in local memory much better than when updating files on an NFS server but how much does that help, really? 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. 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. Regards, /Ragnar
Technical Details
Message-ID:
<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-mailReferences:
<74142e$9vf$2@zingo.tninet.se> <36650CED.5F12611E@wxs.nl> <744frg$glp$2@pepsi.tninet.se> <3667D772.2E9A8C3D@wxs.nl>Show Full Headers
Complete Article Headers
Message-ID: <7497q3$css$1@pepsi.tninet.se> Subject: Re: INN2.2 actived on strike! (Was: Re: INN2.2 - articles late to appear on NFS-clients?) Date: Fri, 04 Dec 1998 00:00:00 +0000 From: prl@algo.net (Ragnar Lonn) References: <74142e$9vf$2@zingo.tninet.se> <36650CED.5F12611E@wxs.nl> <744frg$glp$2@pepsi.tninet.se> <3667D772.2E9A8C3D@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 X-Deja-AN: 418683093 X-Complaints-To: abuse@algo.net X-Trace: pepsi.tninet.se 912794243 13212 195.163.79.53 (4 Dec 1998 17:57:23 GMT) Organization: Telenordia NNTP-Posting-Date: 4 Dec 1998 17:57:23 GMT Newsgroups: news.software.nntp