Article View: news.software.nntp
Article #24065Re: dbz3.3
From: CyberPromo Danmark
Date: Fri, 05 Dec 1997 00:00
Date: Fri, 05 Dec 1997 00:00
44 lines
2310 bytes
2310 bytes
On 5 Dec 1997, Jeremy wrote:
> > Is there anyone else out there using dbz3.3?
>
> Well, I just installed it, hesitantly... I'd love to speed up my history
> lookups.
Yeah, you better, you laggard... It's not like I haven't been
prodding you for, well, for a while, hmmph.
> It's running again, so I guess I'll see what happens after expire runs.
Hope you replaced makehistory and expire. Of course, you can do a
test if you want, with makehistory -r -s (# history entries) and see if
the resulting history.n.dir and .n.pag files look right, without actually
taking the plunge, if the water looks a bit shark-infested...
> Um, does it, like, need more memory? I haven't got much to spare.
A bit. Your .pag database, which ideally should fit within your
memory, will be somewhat larger (instead of 150% of the number of lines,
it's 200%), but otherwise, it's not a killer.
It works by removing some of the less significant bits that point to
the position in the text file, meaning that any match will be approximate
rather than exact, and you'll have to search around a bit. What you get
is more bits to use for the hash of the message ID, meaning that if your
history text file is, say, 800M like here, you'll see performance
comparable to a history text file less than 100M in size (sort of, I won't
go into all the factors like cache).
Now to increase my article retention times, and up that /remember/
value to a month or two, to see whether it starts to do as poorly as it
should when our history text file reaches the 4 Gig mark...
Barry Bouwsma
Overkill'R'Us
Technical Details
Message-ID:
<Pine.BSF.3.96.971205055951.3820C-100000@venus.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-mailReferences:
<Pine.LNX.3.96.971204210807.32094B-100000@mercury.shreve.net> <667vl1$cq4$2@news1.exit109.com>Show Full Headers
Complete Article Headers
Message-ID: <Pine.BSF.3.96.971205055951.3820C-100000@venus.int.tele.dk> Subject: Re: dbz3.3 Date: Fri, 05 Dec 1997 00:00:00 +0000 From: CyberPromo Danmark <remove@int.tele.dk> References: <Pine.LNX.3.96.971204210807.32094B-100000@mercury.shreve.net> <667vl1$cq4$2@news1.exit109.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: 295380875 Reply-To: ag786@yfn.ysu.edu Organization: A wretchedly-installed InterNotNews site Newsgroups: news.software.nntp