Article View: news.software.nntp
Article #22288Re: Shared Active patch for NNRPD
From: Matt Dillon
Date: Sun, 12 Oct 1997 00:00
Date: Sun, 12 Oct 1997 00:00
43 lines
2529 bytes
2529 bytes
: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,
:..
:>What Bill _MEANT_ to say was...
:>
:>Unlike the sharedactive patch, which may HANG all of your NNRP sessions
:>if one nnrpd daemon goes awry, the actived patch will at least fall
:>back to other access methods, and can be restarted without having to
:>kill and restart your entire reader subsystem.
:>
:>The sharedactive patch also requires that your nnrpd hash the active file
:>on every session startup. This is a very wasteful use of system resources.
:>You don't get that problem when using actived. If you're on a limited CPU
:>machine, you will notice tremendous benefits from actived.
Woa, hold on... it *cannot* hang all of your nnrp sessions if one nnrpd
daemon goes awry, my shared-active patch mmap's the active file
shared read-only. There is NO interaction between nnrpd sessions.
It does leave the hashing code in, and this does eat some cpu, but it would
only be a serious problem on a 486-class boxes. The code is very efficient
and the active file, though large, is in-core.
Conceptually, an active file server is a much more efficient model both
in cpu and memory utilization, but the shared-active patch is not so bad
itself that it deserves the above comment. I've been running it on
BEST's newsreader boxes for over a year.
-Matt
>I can support 400 readers on a P133 CPU, at a dozen connections per second.
>
>You CAN NOT do that with sharedactive. "About the same performance boost"
>my foot. :-)
>
>... JG
Technical Details
Message-ID:
<61raid$9ru$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> <343289F7.2E91B39C@skynet.be> <61lrbn$1ehg$1@newssvr03-int.news.prodigy.com> <61qolq$66s$1@earth.execpc.com>Show Full Headers
Complete Article Headers
Message-ID: <61raid$9ru$1@flea.best.net> Subject: Re: Shared Active patch for NNRPD Date: Sun, 12 Oct 1997 00:00:00 +0000 From: dillon@best.net (Matt Dillon) References: <34325C40.8894971@skynet.be> <343289F7.2E91B39C@skynet.be> <61lrbn$1ehg$1@newssvr03-int.news.prodigy.com> <61qolq$66s$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 X-Deja-AN: 279864597 X-Trace: 876686735 20597 dillon 206.184.139.132 Organization: Best Internet Communications, Inc. - 650 964 BEST Newsgroups: news.software.nntp