🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #34588

Re: Is inn 2.2b2 ready for production?

#34588
From: Mark Wedel
Date: Mon, 11 Jan 1999 00:00
61 lines
3697 bytes
In article <1rogo6xsla.fsf@haey.ifi.uio.no>,
Kjetil Torgrim Homme  <kjetilho@haey.ifi.uio.no> wrote:
>[Russ Allbery]
>
>>   Slow XOVER is still a problem in 2.2.  The difficulty is that the
>>   sort of overview structure you want to be able to write out a lot
>>   of data, the unified overview model, sucks when you want to read a
>>   lot of data by group.  There's been some speculation about solving
>>   this problem by going back to traditional overview with the new
>>   spool storage models, but then there's the worry that overchan
>>   won't be able to keep up with the rest of the news system because
>>   opening all those little files definitely is slower.
>
>That can't be.  There is one little for each group in the new scheme
>as well.  The only difference is that just a token (20 bytes I think)
>is written instead of the complete headers.  I can't imagine that it
>will be measureably slower.

 The problem is that while it has the token, this token then refers to
a location in the unified overview.  So for each article in the overview,
it effectively has to do two reads (one to read the token out of the
overview.index file, and then another to read the actual data out of the
unified overview file.)

 The unified overview file is definately slower than the older stuff.
Running two servers on the same machine for testing purposes, reading
on inn 2.2 is a lot slower.  This depends a bit on the number of
articles - if you are sticking to groups with 20-30 articles, the
slowness might not be that bad (this certainly depends on the machine
hardware.)  But if you head into a group with hundreds/thousands of
new articles, you can pretty much grab a cup of coffee waiting for the
xover information.

 I have made a patch for inn 2.2 that uses the old style overview on top
of the unified overview.  The readers use the old style overview.

 I'm still doing some testing with it (need to make sure the expire works
as needed), but with my testing so far, it works fine and gets the xover
performance back to expected levels.  The disadvantage is you need
more disk space (storing both unified and traditional overview) more
horse power (2 overchans now running - one for the .index, one for the
traditional).  Some of this may be offset by less cpu/disk for the readers.
I'm running all this on a 4 cpu system which seems to have the horsepower
to handle the 2 servers with all the associated stuff with them.  I
do ocassionally see some backlog of the overview stuff get generated, but
it was easy enough to write a simple script to clear that out and refeed it
 to overchan and run that out of cron a couple times an hour.

 In practice, I probably should have set up the traditional overview data
on a different set of striped disks than the unified overview to distribute
the i/o better.  

 When I am satisfied all is working as expected, I'll put the patch into
the official inn guys.

-- 

-- Mark Wedel
mark@pyramid.com

Technical Details
Message-ID: <77ci3m$akj$1@stealth.eng.pyramid.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: <776is9$mu3$1@canopus.cc.umanitoba.ca> <77apl1$5n2g$1@newssvr03-int.news.prodigy.com> <ylg19i4er6.fsf@windlord.stanford.edu> <1rogo6xsla.fsf@haey.ifi.uio.no>

Show Full Headers
Complete Article Headers
Message-ID: <77ci3m$akj$1@stealth.eng.pyramid.com>
Subject: Re: Is inn 2.2b2 ready for production?
Date: Mon, 11 Jan 1999 00:00:00 +0000
From: mark@pyramid.com (Mark Wedel)
References: <776is9$mu3$1@canopus.cc.umanitoba.ca> <77apl1$5n2g$1@newssvr03-int.news.prodigy.com> <ylg19i4er6.fsf@windlord.stanford.edu> <1rogo6xsla.fsf@haey.ifi.uio.no>
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: 431185128
Organization: Pyramid Technology Corporation
Newsgroups: news.software.nntp