Article View: news.software.nntp
Article #23261Re: CRC64 test results
From: Matt Dillon
Date: Fri, 14 Nov 1997 00:00
Date: Fri, 14 Nov 1997 00:00
33 lines
2021 bytes
2021 bytes
:In article <346CAF15.372F0E4@spinne.com>,
:Jeff Garzik <jeff.garzik@spinne.com> wrote:
:>Matt Dillon wrote:
:>> :Forrest J. Cavalier III <mibsoft@epix.net> wrote:
:>> :>value that really matters is the number of slots in the
:>> :>hash table.
:>
:>> All news systems I know of, including INN and Diablo, use chained hash
:>> tables. The actual number of slots in the hash table is relevant only in
:>> the average chain length you wind up having to traverse. The hash objects
:>> contain the full hash value.
:>
:>
:>The exception being the two INN history cache patches. Collisions that
:>occur on history cache hash table slots are simply overwritten.
:>
:>I've always wanted to find out what the average lifetime of a history
:>cache entry is, but never ran any tests. It shouldn't be too hard, pipe
:>a couple days worth of /var/log/news/news through a test proggie.
:>--
:>Jeff Garzik Typhoon, Cyclone, Diablo, and INN
Well, yes, but that doesn't count because the cache is backed by the real
history file. Diablo's precommit and spam caches work the same way. Hell,
I don't even bother to do locking on the precommit cache, since the
occassional race doesn't really harm anything. It makes the precommit
cache very, very fast.
-Matt
Technical Details
Message-ID:
<64idou$cf6$1@flea.best.net>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:
<64a6pf$ejq$1@flea.best.net> <64hmn5$6t9$2@news1.epix.net> <64i90f$r8a$1@flea.best.net> <346CAF15.372F0E4@spinne.com>Show Full Headers
Complete Article Headers
Message-ID: <64idou$cf6$1@flea.best.net> Subject: Re: CRC64 test results Date: Fri, 14 Nov 1997 00:00:00 +0000 From: dillon@best.net (Matt Dillon) References: <64a6pf$ejq$1@flea.best.net> <64hmn5$6t9$2@news1.epix.net> <64i90f$r8a$1@flea.best.net> <346CAF15.372F0E4@spinne.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: 289600024 X-Trace: 879540831 16187 dillon 206.184.139.132 Organization: Best Internet Communications, Inc. - 650 964 BEST Newsgroups: news.software.nntp