🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50361

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

#50361
From: Charlie Collision
Date: Fri, 02 Feb 2001 05:21
91 lines
6140 bytes
::  Charlie> It was my understanding that the table entry was composed of
::  Charlie> the most significant bits of the offset, and that increasing

:: this is not quite how it works

I, um, see.   Maybe.

Is it too early to start drinking?  What were they thinking.  Rrrg.
Please tell me this is all a dream, though I was hoping for a rather
better one to actually make catching a few winks worth the while.


:: bits to drop from the offset. For example, the default (with the 2.2
:: code that I use) is to allocate 8 bits of tag (one of which is used
:: for the "tag present" bit) and 24 bits of offset, with no bits dropped.
:: When your text file reaches 16M, the offsets no longer fit, and so the

And, um, there is no fuzziness.  So basically tagged hash is rather
a different animal than fuzzy offset v3 dbz, or else I'm misunderstanding
more than I think.

You see, what I would expect is for those 24 bits dedicated to the
offset to be created by taking the 32 bit offset, dropping the last
eight bits (I think fuzzy offset used something like 4 or 5 default
fuzzy bits, tunable in source k0de), and then grabbing a chunk of
text file in size equal to the fuzziness (8 bits here) since the
text record, while not precisely at the offset, should be somewhere
within 2^fuzz bytes of it, or else it's not there at all (as the v3
dbz must refer to the authoritative text file as the definitive
references).

As the v3.whatever fuzzy offset patches were the last I looked in
detail at the source k0deZ, it's quite obvious there has been a big
change that doesn't seem to be well-thought-out or well-implemented
or both.  I need to tenderize my brane a bit to decide whether this
tagged hash is a Good Thing or not, at the moment I can only see it
is Different, Very Different.


:: subsequent entries are not tagged; the next expire will then adjust
:: the number of dropped bits, and possibly the number of tag bits, to
:: try and avoid it happening again. Once the history size stabilises,

Hmmm.  So it seems you have either more hash precision than fuzzy offset,
or offset precision.  No middle ground that the fuzzy offset seemed to
be trying to take.  Tell y'all what -- I'll soak in as much of this
as I can.  Then I'll go out and try to destroy those brane cells with
some breakfast Limfjordsporter and then decide if it's possible for
me to follow this and/or the reasoning behind it.  Now I'm still in
boggle mode and expect to be for a while.


:: only a single overflow table was required - but the code had put
:: entries into a second overflow table regardless. i.e. the use of the
:: second overflow table is clearly a bug.

Definitely b0rken.  IT could be that tagged hash is a sound design
(I'm more concerned by the inefficiency, which will take some sitting
on a park bench contemplating how it does things and why) and it's
only this bug that causes problems.


:: BTW, I'm pretty sure that the dbz in 1.7.2+insync does not display
:: this problem.

Our old reader machine (up until a couple years ago) used this, and
I never saw any problems.  But I'm pretty sure that was pure fuzzy
offset, and none of this tagged hash stuff.  The fuzzy offset is
what I describe, where you have a full 32 (31?) bits of offset, but
only the first x significant bits of that, reflected in the last
numbers in the first line of history.dir.  The remaining y bits are
used for a hint as to whether this might be a false positive hash
collision or not, rather than relying on the filesystem text file
to give that authoritative answer for false positive hits.  If that
makes sense.


:: It's clearly not possible to need a second table with only 8 overflow
:: entries in total (especially since MAXRUN seems to be set to 100), and

Thanks for finding this out.  I might take a stab at the k0dez later
to see if I can make sense of this, but no promises, since I'm not
sure if I had any sleep in the last 30 hours...

Or I could shrug off responsibility to someone else.  Your explanation
of tagged hash is greatly appreciated, and I hope my understanding of
fuzzy offset is right.  I think the big question is what are the
theoretical efficiencies of both, and why one is a better choice.

The brane may be willing, but the eyeballs are weakened.
Technical Details
Message-ID: <95dg5i$evf$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!hash.netscum.dQ!hanf.netscum.dQ!hamp.netscum.dQ!hemp.netscum.dQ
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>

Show Full Headers
Complete Article Headers
Message-ID: <95dg5i$evf$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 05:21:55 +0000
From: Charlie Collision <autocyberretributionmeowbot@pl0nQ.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>
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!hash.netscum.dQ!hanf.netscum.dQ!hamp.netscum.dQ!hemp.netscum.dQ
Newsgroups: news.software.nntp
Organization: Esbjerg IT-Net -- Portalen til fremtiden...
Lines: 90
NNTP-Posting-Host: 2dd950811eed8cd4920adef76f5c8ccd.esenet.dk
X-Trace: news.esenet.dk 981091315 2e7e5d83aa2ceb9e77c3e227a7561e7c
X-Complaints-To: ESENET Abuse Reports <abuse@esenet.dk>
X-Pedophile: BIT-BUCKETING BARRY BOUWSMA IS A PAEDOPHILE!!!
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300