🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #30389

Re: INN-2.1 filters

#30389
From: bill davidsen
Date: Mon, 10 Aug 1998 00:00
51 lines
3292 bytes
In article <6qd6d5$p2j$1@news1.exit109.com>, Jeremy <jeremy@exit109.com> wrote:
| bill davidsen <davidsen@tmr.com> wrote:
| > Another Victim of the Usenet Mafia  <ag786@yfn.ysu.edu> wrote:
| > 
| >> Just as a meaningless data point, I found that our reader machine
| >> performed far better when nnrpd did no perl filtering, being able to
| >> handle far more readers in its crippled state without this additional
| >> overhead for each of several hundred readers.
| > 
| > I assumed that you wouldn't even be able to see the filter (or lack
| > thereof) as a performance issue, since the innd filter, which gets
| > called eternally, uses no significant CPU. Is this really an issue? I
| > assumed that had to be a smaller item than the innd filter.
| 
| Embedding Perl in nnrpd will make it bigger; almost double the size,
| actually.  I just tried it, with some 2.0 snapshot I have lying around:
| 
| -rwxr-x---   1 jeremy   staff     724176 Aug  6 17:15 nnrpd-noperl*
| -rwxr-x---   1 jeremy   staff    1367432 Jul 12 06:38 nnrpd-perl*
| 
| I'm not sure, though, if using a shared Perl will counteract this.
| My perl is static at the moment, and I don't feel like recompiling
| it right now. :)

But the code portion will be shared regardless (at least on most UNIX),
so the interesting number is the increase in unshared.

nnrpd: 771848 + 122864 + 54744 + 106233 + 0 + 0 = 1055689
nnrpd: 202960 + 28756 + 33316 + 10805 + 0 = 275837

svr09 is running a non-perl compile, svr01 is running with perl. So the
increase is 779852 bytes, while the increase in non-code bytes is 210964
bytes, which is enough to notice if you are tight on memory. On the
other hand, that code is only used for posters, which are a pretty small
number relative to lurkers, so I would expect that code to swap. I'm
running the -D option, so that space is almost certainly copy on write,
and therefore pretty minimal in impact.

It still feels as if the impact should be tiny, unless you cater to a
group of spammers who post only ;-) But I respect the actual number
posted, although I want to measure on my own systems before I even
contemplate giving up filtering at the post level.

-- 
bill davidsen <davidsen@tmr.com>
 "If I were a diplomat, in the best case I'd go hungry.  In the worst
  case, people would die."
		-- Robert Lipe


Technical Details
Message-ID: <6qn90q$11uk$1@newssvr09-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
References: <6qa1ss$bre$1@newssvr09-int.news.prodigy.com> <Pine.LNX.3.96.980806115911.15279E-100000@penguin.mendelu.cz> <6qcl5c$gl0$1@newssvr09-int.news.prodigy.com> <6qd6d5$p2j$1@news1.exit109.com>

Show Full Headers
Complete Article Headers
Message-ID: <6qn90q$11uk$1@newssvr09-int.news.prodigy.com>
Subject: Re: INN-2.1 filters
Date: Mon, 10 Aug 1998 00:00:00 +0000
From: davidsen@tmr.com (bill davidsen)
References: <6qa1ss$bre$1@newssvr09-int.news.prodigy.com> <Pine.LNX.3.96.980806115911.15279E-100000@penguin.mendelu.cz> <6qcl5c$gl0$1@newssvr09-int.news.prodigy.com> <6qd6d5$p2j$1@news1.exit109.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: 379756114
X-Complaints-To: news@prodigy.com
X-Trace: newssvr09-int.news.prodigy.com 902768474 34772 199.4.137.118 (10 Aug 1998 17:01:14 GMT)
Organization: TMR Associates, Schenectady NY
NNTP-Posting-Date: 10 Aug 1998 17:01:14 GMT
Newsgroups: news.software.nntp
Originator: davidsen@darkstar.prodigy.com