Article View: news.software.nntp
Article #41280Re: NoCeM & INN2.3
From: Andrew
Date: Thu, 04 Nov 1999 00:00
Date: Thu, 04 Nov 1999 00:00
26 lines
2195 bytes
2195 bytes
In article <382183ca$0$97644@news.execpc.com>, Joe Greco wrote: >In news.software.nntp , andrew@supernews.com wrote: >:We actually looked hard at the Diablo history, since we had originally >:planned to do something similar; but I decided that the idea of using >:chained entries to handle collisions sucks, because you have no locality >:of reference and so the second read is likely to require another I/O >:(unless you have enough RAM to keep the entire history incore, which >:seems improbable). You're also much more likely to have to do I/O to >:find that an entry _doesn't_ exist. > >Increasing the table size does wonders to fix that, and the hash function >is pretty good, at least good enough that the 18.2 million Message-ID's I >generated for Matt a few years ago resulted in zero collisions. If I used the same amount of memory for a Diablo-style history table that I'm using for dbat hastables, then about 15% of the entries would be on chains of length >1, and about one-third of all lookups of nonexistent entries would require at least one read call. Whereas with dbat, I essentially never need to do a read call for a failed lookup, or more than one read call for a successful one. -- Andrew, Supernews http://www.supernews.com - UK and US individual and corporate NNTP services
Technical Details
Message-ID:
<slrn823mq1.42i.andrew+news@uk21.supernews.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-mailReferences:
<3819A774.9C57FDCA@boerde.de> <7vq0aa$93v$1@newssvr02.news.prodigy.com> <3820b2ce$0$97653@news.execpc.com> <slrn822cos.edk.andrew+news@uk21.supernews.com> <382183ca$0$97644@news.execpc.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn823mq1.42i.andrew+news@uk21.supernews.com> Subject: Re: NoCeM & INN2.3 Date: Thu, 04 Nov 1999 00:00:00 +0000 From: andrew+news@supernews.com (Andrew) References: <3819A774.9C57FDCA@boerde.de> <7vq0aa$93v$1@newssvr02.news.prodigy.com> <3820b2ce$0$97653@news.execpc.com> <slrn822cos.edk.andrew+news@uk21.supernews.com> <382183ca$0$97644@news.execpc.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: 544502212 X-Complaints-To: newsabuse@remarq.com X-Trace: 941742913 .MYBPHMNN00017F00C uk21.supernews.com Organization: RemarQ http://www.remarQ.com User-Agent: slrn/0.9.5.4 (UNIX) Reply-To: andrew@supernews.com Newsgroups: news.software.nntp