Article View: news.software.nntp
Article #22370Re: Shared Active patch for NNRPD
From: bill davidsen
Date: Tue, 14 Oct 1997 00:00
Date: Tue, 14 Oct 1997 00:00
55 lines
3407 bytes
3407 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,
| :but that's not nearly the same thing. The shared active patch has
| :about the same performance boost as the active daemon patch, but no
| :single point of failure.
|
| 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.
Never had such a thing happen, you may be running a diferent version
of shared active, or a kernel which hangs the lock. I had the use of
a BSD machine which could run actived, and it ran fine there until I
(deliberately) killed the daemon, at which point the "fall back"
happened, the load average went to 45+ in less than a minute, and I
got a "can't fork - no resources" type message trying to restart the
daemon.
| 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.
And after the initial hash everything will be in memory, saving
cycles by not doing IPC. Unless your readers open a socket for each
article read, which mine sure don't, they leave the damn sockets
open until the connection drops or the nnrpd times out.
| I can support 400 readers on a P133 CPU, at a dozen connections per second.
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.
| You CAN NOT do that with sharedactive. "About the same performance boost"
| my foot. :-)
Fortunately I don't have to. And I only see peaks of 50 art/sec read
by users, so that's not a problem for me, either.
--
bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc
The net serves four of the five physical senses. You can get sight, and
sound, and to a limited extent tactile feedback. No one would deny that
some portions of the net smell, but I see no signs that taste will ever
come to the net. -me
Technical Details
Message-ID:
<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-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: <620jvg$1dq8$1@newssvr03-int.news.prodigy.com> Subject: Re: Shared Active patch for NNRPD Date: Tue, 14 Oct 1997 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) 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: 280531654 Originator: davidsen@darkstar.prodigy.com Organization: TMR Associates, Schenectady NY Newsgroups: news.software.nntp