Article View: news.software.nntp
Article #22357Re: Shared Active patch for NNRPD
From: Matt Dillon
Date: Tue, 14 Oct 1997 00:00
Date: Tue, 14 Oct 1997 00:00
47 lines
3118 bytes
3118 bytes
:In article <620jvg$1dq8$1@newssvr03-int.news.prodigy.com>,
:bill davidsen <davidsen@tmr.com> wrote:
:>In article <61qolq$66s$1@earth.execpc.com>,
:>Joe Greco <jgreco@ns.sol.net> wrote:
:>| In news.software.nntp article <61lrbn$1ehg$1@newssvr03-int.news.prodigy.com>, davidsen@tmr.com (bill davidsen) wrote:
:>| :1.6 lacks the shared active patch. There's a mmap(active) option,
:...
:>
:>I think I see why you find a diference... with a sustained user load
:>(+/-30min avg of 375, including a few peaks of 425, I had a high
:>connect rate of <2 per second. Your users are doing something mine
:>don't. Of course they use mostly IE and Netscape browsers, with a
:>small number of Forte users. That may be bland compared to yours.
I see relatively low connect rates too, but i don't think cpu is
really the issue. When it comes right down to it a pentium 133 is
a slow processor. A pentium II or a PPro will be at least twice as
fast and even faster... a PPro 200 will be 3 times as fast, a
Pentium II 266 will be 4 times as fast (well, maybe a little less with
the secondary cache being slower).
Where actived wins the most is in memory. It saves at least 200K per
nnrpd (24067 groups times 8 bytes per group for the hash table).
400 nnrpd's saves 80MB which is significant. The added overhead
is going to be 4-32K per process in IPC buffers which is nothing
compared to the savings, and cpu which I already think is irrelevant.
There's a good chance that a newsreader box running INND will be
limited by INND's ability to keep up with a full feed as the disk
load increases from the readers. actived definitely helps on the
disk caching side of the coin so even if the total cpu winds up being
the same, the added disk caching ought to allow one to run a hundred
or two more nnrpd processes before innd starts to barf.
Now that all said, I still use shared active on my newsreader boxes
simply because we aren't pushing the envelope on them. The actived
concept is sound, but it obviously needs a bit more debugging and
tweaking. I would get rid of the fallback stuff entirely... the people
who use actived have to depend on it so nnrpd might as well depend on
it too. I would then go and make actived uncrashable.
-Matt
Technical Details
Message-ID:
<620vaf$c3c$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-mailReferences:
<34325C40.8894971@skynet.be> <61lrbn$1ehg$1@newssvr03-int.news.prodigy.com> <61qolq$66s$1@earth.execpc.com> <620jvg$1dq8$1@newssvr03-int.news.prodigy.com>Show Full Headers
Complete Article Headers
Message-ID: <620vaf$c3c$1@flea.best.net> Subject: Re: Shared Active patch for NNRPD Date: Tue, 14 Oct 1997 00:00:00 +0000 From: dillon@best.net (Matt Dillon) References: <34325C40.8894971@skynet.be> <61lrbn$1ehg$1@newssvr03-int.news.prodigy.com> <61qolq$66s$1@earth.execpc.com> <620jvg$1dq8$1@newssvr03-int.news.prodigy.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 X-Deja-AN: 280524084 X-Trace: 876871825 22272 dillon 206.184.139.132 Organization: Best Internet Communications, Inc. - 650 964 BEST Newsgroups: news.software.nntp