🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50364

Re: History dups (was: Re: Has anyone built INN-2.3.1 on Open BSD?)

#50364
From: Charlie C0debase
Date: Fri, 02 Feb 2001 07:02
86 lines
6238 bytes
::  Charlie> I'm misunderstanding more than I think.

:: you're definitely misunderstanding. The fuzziness only starts when
:: your pag file has been built based on a large enough text file. It

I believe you.  I wanted to check this out by actually looking at
sysuh's patches, but it appears that apart from the 1.5+CNFS INN
that I'm using, all INN source prior to 2.x has been deleted from
all the production machines here.  I thought we had an archive
somewhere but I can't remember where it is.

And a casual web search revealed two things -- the only link to
the source I found is dead, I have been mistaken in my references
to the dbz version numbers, and I probably should shut up and become
a philosopher instead of trying to do anything technical.

I have often referred to dbz v3.2 when I really meant the newer
dbz versions.  v3.2 is what was provided by default with the INN
1.4-upwards series.

The fuzzy offset k0de appears to actually be v3.3.1, that I've
probably called a number of different things over the last month.
There is a v3.3.2 as well, that apparently fixed problems I wasn't
seeing with v3.3.1.  And a v3.3.3.  And a v6.1.1.  Yay, I have been
able to find these source k0dez, so I'm going to look at them now
and see if your explanation matches the k0dez better.  I'm not a
programmer and never have been...

Anyway, I think I see where my misunderstanding has arisen -- I've
keyed into the default 4 MAXDROPBITS that are the fuzz of the fuzzy
offset.  Later come the definitions of 24 for TAGSHIFT, and related
defines, but at the time I was looking at the k0deZ, I couldn't
comprehend what this did and therefore I ignored this part.  I also
may have used `NOTAGS' when building, I do no remember.  In any case,
16MB is well undersized for any swerver I've had my hands on, so I've
probably never had much to do with this.

It's amazing how much I've managed to forget in three years.

There are quite a few changes from the default v3.2 dbz definitions
that the v3.3.3 source I'm looking at have, that for some reason
that boggles me appear to have been rolled back in the current
source.  For example, your text file size was built for 1/3 of a
million entries; this source has a define that would have given
you 1/2 million entries in a default table, and that was three
years back and usenet hasn't shrunk much since then.

Secondly, this code adjusts the size of the database tables upwards
from the old 3/2 (or your 500009 count -> 1/3 million entries) up to
4/2 or 2/1.  This means it uses more memory, but, as I've been griping
without much response so far aside from a few new killfile entries,
should make hash collisions less likely with larger tables.  I believe
that in the v3+fuzzy-offset k0deZ I played with, that I experimented
with adjusting this value to somewhere between 3/2 and 4/2, to try to
find a tradeoff between memory efficiency and lack of overflows.  But
this was years ago and I've forgotten most of my sordid past.

Is is worth revisiting the default hash table sizes to start out
with better-suited files (better incore performance without overflows)
or at least to guide the user towards a wiser `makedbz -s ###' choice
for initializing history, perhaps by several pre-defined defaults one
can choose from the commandline for full-feed transit, or tiny hobby
swerver?  And what about table overflows that happen with larger files?
Hmmm.


:: The version in 1.7.2+insync1.1d does exactly the same thing AFAICT.

So I see, I just never grasped the tagged part of things.  I'm bad at
reading source.  It greatly helps if I have some overview explanation
to guide me and at least point me in the right direction.  No wonder
that they fired me as a bumbling incompetent boob.


I still maintain that history needs work, even now that you've stomped
on the fatal bug, for which we are grateful.  If only to optimize
things a bit better for performance, since it seems the greatest source
of gripes I'm seeing these days are about poor performance, and you
really need to know in advance what you need to do to solve this, or
else do the usual wait for ten days that people believe is needed for
things to stabilize (three weeks if you make config choices like I have)


That doesn't negate my need to find a park bench and wax philosophical
over a couple pints of stiff double stout.
Technical Details
Message-ID: <95dm2c$f2l$1@news.esenet.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!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!212.74.64.35!colt.net!news.tele.dk!TDC-news.ESENET.dk.POSTED!sleep!not-for-sleepyheads
References: <m3zogbl7mg.fsf@pyrophore.ogoense.net> <87lmrvqt02.fsf@erlenstar.demon.co.uk> <95253f$dpo$1@news.contactel.cz> <87elxnqq2s.fsf@erlenstar.demon.co.uk> <952eb6$e22$1@news.contactel.cz> <m3y9vvezpo.fsf@pyrophore.ogoense.net> <9531ad$f4e$1@news.contactel.cz> <m3zoga7rrn.fsf@pyrophore.ogoense.net> <95371n$fak$1@news.contactel.cz> <m3n1ca7oti.fsf@pyrophore.ogoense.net> <953a8v$fi4$1@news.contactel.cz> <yl3de2r5xt.fsf@windlord.stanford.edu> <87itmwdyhk.fsf@erlenstar.demon.co.uk> <87zog62m9g.fsf_-_@erlenstar.demon.co.uk> <95clho$dd2$1@news.esenet.dk> <87ofwm2frp.fsf@erlenstar.demon.co.uk> <95dauj$erl$1@news.esenet.dk> <87lmrp1zep.fsf@erlenstar.demon.co.uk> <95dg5i$evf$1@news.esenet.dk> <87ae851w1d.fsf@erlenstar.demon.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <95dm2c$f2l$1@news.esenet.dk>
Subject: Re: History dups (was: Re: Has anyone built INN-2.3.1 on Open BSD?)
Date: Fri, 02 Feb 2001 07:02:37 +0000
From: Charlie C0debase <autocyberretributionmeowbot@plonk.invalid>
References: <m3zogbl7mg.fsf@pyrophore.ogoense.net> <87lmrvqt02.fsf@erlenstar.demon.co.uk> <95253f$dpo$1@news.contactel.cz> <87elxnqq2s.fsf@erlenstar.demon.co.uk> <952eb6$e22$1@news.contactel.cz> <m3y9vvezpo.fsf@pyrophore.ogoense.net> <9531ad$f4e$1@news.contactel.cz> <m3zoga7rrn.fsf@pyrophore.ogoense.net> <95371n$fak$1@news.contactel.cz> <m3n1ca7oti.fsf@pyrophore.ogoense.net> <953a8v$fi4$1@news.contactel.cz> <yl3de2r5xt.fsf@windlord.stanford.edu> <87itmwdyhk.fsf@erlenstar.demon.co.uk> <87zog62m9g.fsf_-_@erlenstar.demon.co.uk> <95clho$dd2$1@news.esenet.dk> <87ofwm2frp.fsf@erlenstar.demon.co.uk> <95dauj$erl$1@news.esenet.dk> <87lmrp1zep.fsf@erlenstar.demon.co.uk> <95dg5i$evf$1@news.esenet.dk> <87ae851w1d.fsf@erlenstar.demon.co.uk>
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!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!212.74.64.35!colt.net!news.tele.dk!TDC-news.ESENET.dk.POSTED!sleep!not-for-sleepyheads
Newsgroups: news.software.nntp
Organization: Esbjerg IT-Net -- Portalen til fremtiden...
Lines: 85
NNTP-Posting-Host: 2dd950811eed8cd4920adef76f5c8ccd.esenet.dk
X-Trace: news.esenet.dk 981097357 4250c4e9c48a97bb18934ba1bf1ca2ce
X-Complaints-To: ESENET Abuse Reports <abuse@esenet.dk>
X-Pedophile: BARRY BOUWSMA IS A PEDOPHILE!!!
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300