🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #21293

Re: NNRPD resource consumption

#21293
From: Ken Leland
Date: Fri, 05 Sep 1997 00:00
59 lines
2973 bytes

In article <5upqc7$6tf$1@jake.probe.net>,
Tim Russell <russell@probe.net> wrote:
>
>kwl@shell.monmouth.com (Ken Leland) writes:
>
>>I initially thought I had dedicated (T1) customer(s) doing a job on me,
>>but it wasn't the case. These nnrpd cpu eaters are normal 33.6 dialups,
>>and they are usually in XOVER. 
>
>    On looking through the NNRPD code recently to see just what the hell
>was going on, I noticed the following:
>
>      1) Joe User is a news freak.  He checks like every 10 minutes for
>         new articles.

Lets add to this hypothesis that Joe likes to download the finer articles
in the alt.binaries.pictures.erotica.* newsgroups. 
(my news logs indicate this would indeed be an an average Joe).

And presumably he does not want to miss the latest ones in the group of 
his choosing, as he waits breathlessly for the next one to arrive.

It turns out that because articles in these groups are often (usually) 
*heavily* crossposted a .overview file for many of these can easily be 
4Megs long on only 3 days worth of articles.

>
>      2) Joe fires up an XOVER on a group that has, say, 37,000 articles
>         in it.  The XOVER request, however, is only for, say, the last
>         four articles, which are new to him.
>
>      3) NNRPD satisfies this request by opening the .overview file, which
>         is, say, 8M in size, and proceeding to read through the entire
>         file until it gets to the record number it needs, then it spits
>         out records.

Ouch, I can hear my overview disk screaming right now.

>    So basically, every time someone enters a group with an 8M overview file,
>the effect is that of reading through said file locally on the system.
>Needless to say, get 30 or so of these going, and you have one seriously
>disk-bound system.

OK, This is sounding very much like my situation. I wonder if there are
any new readers out there that automates this terrible process of checking
every minute for the latest incoming article. Or perhaps the suggestion
Mark made is valid that having removed other bottlenecks the overview
system now has the capacity of eating my cpu.

Time to get the overview speedup patches and see how they help.

Just another day in the news dungeon.

Ken Leland
Monmouth Internet

Technical Details
Message-ID: <5uq11i$j3e@shell.monmouth.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: <5unqlf$jfa@shell.monmouth.com> <5uphmp$86q$1@flea.best.net> <5upijp$2oi@shell.monmouth.com> <5upqc7$6tf$1@jake.probe.net>

Show Full Headers
Complete Article Headers
Message-ID: <5uq11i$j3e@shell.monmouth.com>
Subject: Re: NNRPD resource consumption
Date: Fri, 05 Sep 1997 00:00:00 +0000
From: kwl@shell.monmouth.com (Ken Leland)
References: <5unqlf$jfa@shell.monmouth.com> <5uphmp$86q$1@flea.best.net> <5upijp$2oi@shell.monmouth.com> <5upqc7$6tf$1@jake.probe.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-mail
X-Deja-AN: 270097197
Distribution: inet
Organization: Monmouth Internet
Newsgroups: news.software.nntp