🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Oliver Fromme Tue, 19 Dec 2000 14:18
INN: buffindexed advantages?
#49448
Author: Oliver Fromme
Date: Tue, 19 Dec 2000 14:18
32 lines
2209 bytes
Hi,

I've done some small tests comparing tradindexed and
buffindexed overview storage formats.  These tests were
done with a pretty slow disk, so maybe they are not
applicable to systems with "real" disks.  Anyway.

Tradindexed and buffindexed seem to be about the same
speed for clients.  But when writing, tradindexed was
significantly faster than buffindexed.  This was a bit
surprising, because I thought that the main advantage
of buffindexed was its writing speed.  Did I do something
wrong, or is this expected behaviour?  

Now I'm considering to switch the production news server
from buffindexed back to tradindexed.

Regards
   Oliver

(PS:  Just in case it matters, article spool [CNFS] and
overview were on the same disk during those tests.  The
system was Solaris 8, there was plenty of RAM free.  Using
overchan did not make much of a difference.)

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 M�nchen
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"All that we see or seem is just a dream within a dream" (E. A. Poe)
Re: INN: buffindexed advantages?
#49451
Author: BARRY BOUWSMA IS A PRESENT-PACKI...
Date: Tue, 19 Dec 2000 19:36
60 lines
4429 bytes
:: I've done some small tests comparing tradindexed and
:: buffindexed overview storage formats.  These tests were

:: Tradindexed and buffindexed seem to be about the same
:: speed for clients.  But when writing, tradindexed was
:: significantly faster than buffindexed.  This was a bit
:: surprising, because I thought that the main advantage
:: of buffindexed was its writing speed.  Did I do something

Hmmm, I haven't done any tests, but I can see from very light readership
that the overview data on the test machine I'm ruinning is the weakest
link at the moment.  I'm using ovdb, as if it matters

I'm not too concerned about writing speed, so long as I don't fall behind
if I use a separate overchan process.  What I am concerned about is the
reader activity on a machine that gets far more reader demand than the
full incoming feed, since this initially looks like it will be the
determining factor on how well the machine can do.

I've seen a single reader client able to bring the overview drive light
to full illumination, and yet I need to be able to handle several
thousand parallel reader clients without breaking a sweat.  Obviously
I'll need more than the single drive, but hey...

Now the thing is, there are plenty of abusive reader client programs
out there that gratuitously download the entirety of the overview data
for the group even if only one or two new articles have arrived.  And
there are clients that issue a GROUP command, then XOVER first-last
for the froup, then `GROUP ........' and then back to the same group
as before and the XOVER command to match, then the `GROUP .......' in
a tight loop to get the newest articles the second they arrive in the
groups of interest.

Now, I haven't looked at the details of the overview k0deZ in the new
INN, particularly how traditional index differs from the old beloved
single over.view or .overview file, but the nice thing about that was
that you could just dump the whole file at a good percentage of the
readers connecting without doing the additional work that was the
default for INN and had been killing performance.  I made quite a few
significant hacks to that end.

I know I need to look and see just what is happening for every command
being given, so I can start to break things in the process of tuning
for performance.  But it seems that a lot of reader commmands are very
heavy on overview, and when getting the overview data means seeking
around in a few large files, rather than having what I suspect is a
single large file with the overview data, I would expect that the latter
format could well be more efficient when handling the more heavyweight
requests.  Particularly if there are some shortcuts that can be made.

I probably won't actually get around to *doing* anything more than just
speculating about it, since I'm trying to obtain the elusive (for me, at
least) reliability in ovdb, but anyway, that's my thoughts based on what
some real-world readers throw my way.  It seems that some pretty serious
comparisons and tunings of the different overview methods will be needed
as well as tips and tricks for handling high numbers of readers with
640k of memory.

Only my thoughts, mind you.  NOW GIMME MY GLUHWEIN
Re: INN: buffindexed advantages?
#49456
Author: Katsuhiro Kondou
Date: Wed, 20 Dec 2000 07:49
10 lines
1355 bytes
In article <91nqog$p8e$1@isp-m-srv06.izb.net>,
	Oliver Fromme <olli@secnetix.de> wrote;

} (PS:  Just in case it matters, article spool [CNFS] and
} overview were on the same disk during those tests.  The

I think those should be splitted.
-- 
Katsuhiro Kondou
Re: INN: buffindexed advantages?
#49458
Author: Oliver Fromme
Date: Wed, 20 Dec 2000 12:17
26 lines
2115 bytes
Katsuhiro Kondou <kondou@isc.org> wrote:
 > In article <91nqog$p8e$1@isp-m-srv06.izb.net>,
 >        Oliver Fromme <olli@secnetix.de> wrote;
 > } (PS:  Just in case it matters, article spool [CNFS] and
 > } overview were on the same disk during those tests.  The
 > 
 > I think those should be splitted.

I will do that.  Thanks for the advice.

Do you recommend tradindexed or buffindexed overviews for
a reader machine with almost full feed?  And what are the
reasons for one or the other?  My tests were not really
helpful for that decision.  Performance-wise, I'm inclined
to use tradindexed.  But I'm not sure.

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 M�nchen
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"All that we see or seem is just a dream within a dream" (E. A. Poe)
Re: INN: buffindexed advantages?
#49460
Author: Katsuhiro Kondou
Date: Wed, 20 Dec 2000 15:07
19 lines
1763 bytes
In article <91q80p$e63$1@isp-m-srv06.izb.net>,
	Oliver Fromme <olli@secnetix.de> wrote;

} Do you recommend tradindexed or buffindexed overviews for
} a reader machine with almost full feed?

I'd recommend buffindexed.

}  And what are the
} reasons for one or the other?

When tradindexed was incorporated, I ran it with full feed
on my test environment(SS20 with 4*9GB disks).  But it could
never keep up with.  Then I wrote buffindexed and it could
keep up with on the same host without any problem.  I've
been running it over 4 months in production.
-- 
Katsuhiro Kondou
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads