🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #25259

Re: Rebuilding history database while doing crossposting?

#25259
From: Charlie Reboot
Date: Thu, 15 Jan 1998 00:00
61 lines
3470 bytes
On 45 Dec 1997, David Carmean wrote:

> Another Victim of the Usenet Mafia <barry@vszbr.cz> wrote:
> : On 38 Dec 1997, Jan Isley wrote:
> 
> : > Look at the size of that thing!  -- Luke Skywalker
> 
> Yeah, but how long does it take you?  

Pretty much most of a lazy summer afternoon.  But up north here, the
nights are long, and so I try to make the most of them...


> But seriously, folks, how fast do your history rebuilds run?

Heh, you want it fast and quick, or you want to take it slow an' enjoy it?
Like I say, the nights are long, but that's also a peak for news, so I
gotta rebuild by day, and there aren't as many hours as there used to be.

Typically between 15 and 30 minutes.  This is with a history text file
that's now up to more than 950 megabytes in size tops with nearly 13
million entries, and using Clayton O'Neill's dbz v6.0 as shamelessly
stolen from a recent INN 1.8 snapshot.

However, I can see that in spite of the numbers in the .dir file, the two
.hash and .index files have overflowed or are somehow significantly larger
than they were immediately after rebuilding.  I probably need to adjust
some of the parameters, but first I think I should learn just how it works
before I go bumping around under the hood.


> Oh yeah, and my hishave() times have climbed from 
> ~10mSec to 50-75mSec.
> Help? Please? 
> <whimper>

Well, I'm almost satisfied that the hideously-hacked CNFS+dbz-v6.0 that
I'm running here is stable enough to be made public, since the
alternative having been used here most recently (history accelerator
mega-cache) had serious flaws that required major surgery to work around.
There are still flaws apparent when dealing with huge database files like
we have, at least with the OS and filesystem in use here, which is
probably making our performance less than it could be.

In a few minutes I'll see how bad this machine was doing for the last day,
but a previous report showed out of nearly 18 million articles offered,
our history lookup times ranged from 0,021ms upwards with an average of
just under 0,4ms.

My feeling is that this hacked CNFS snapshot would have far more
impressive numbers at a site with a slightly more realistic size of
history file and a slightly more sane newsadmin.  If I don't get
distracted by something else, I'll try to get it up one of these nights.


Barrry Bouwsma,
the detrimental influence upon the Tele Danmark Internet news swervers


Technical Details
Message-ID: <Pine.BSF.3.96.980115060628.22249F-100000@coredump.int.tele.dk>
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: <68tncd$p8h$1@newnews.Warren.MENTORG.COM> <68tp5f$sfa$1@synthemesc.insync.net> <Pine.BSF.3.96.980106202917.863B-100000@coredump.int.tele.dk> <68v7vr$6oe$10@synthemesc.insync.net> <68va5p$4mj@camel18.mindspring.com> <Pine.BSF.3.96.980107174507.8456A-100000@marley.vszbr.cz> <69j2dm$45n$1@ocean.silcom.com>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.BSF.3.96.980115060628.22249F-100000@coredump.int.tele.dk>
Subject: Re: Rebuilding history database while doing crossposting?
Date: Thu, 15 Jan 1998 00:00:00 +0000
From: Charlie Reboot <f00fc7c8@int.tele.dk>
References: <68tncd$p8h$1@newnews.Warren.MENTORG.COM> <68tp5f$sfa$1@synthemesc.insync.net> <Pine.BSF.3.96.980106202917.863B-100000@coredump.int.tele.dk> <68v7vr$6oe$10@synthemesc.insync.net> <68va5p$4mj@camel18.mindspring.com> <Pine.BSF.3.96.980107174507.8456A-100000@marley.vszbr.cz> <69j2dm$45n$1@ocean.silcom.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: 316091865
Mime-Version: 1.0
Reply-To: ag786@yfn.ysu.edu
Content-Type: TEXT/PLAIN; charset=US-ASCII
Organization: Devoted to the Demolition of Bandwidth
Newsgroups: news.software.nntp