Newsgroups: news.software.b
Path: utzoo!henry
From: henry@zoo.toronto.edu (Henry Spencer)
Subject: Re: tuning dbz for large history files
Message-ID: <1990Nov18.014313.603@zoo.toronto.edu>
Organization: U of Toronto Zoology
References: <14776@cs.utexas.edu>
Date: Sun, 18 Nov 90 01:43:13 GMT

In article <14776@cs.utexas.edu> fletcher@cs.utexas.edu (Fletcher Mattox) writes:
>Is there any advantage to increasing DEFSIZE (or any other #defines)
>in the cnews' dbz package to accomodate huge history files?

Rarely.  If the growth is gradual, it will adapt itself automatically.
Every time expire is run, the hash table gets re-sized based on recent
history sizes.  DEFSIZE only determines where it starts when built from
scratch.  Also, the C News dbz, unlike the old one, handles overflow
correctly and fairly efficiently, so there is no disaster in temporarily
overshooting the table size.
-- 
"I don't *want* to be normal!"         | Henry Spencer at U of Toronto Zoology
"Not to worry."                        |  henry@zoo.toronto.edu   utzoo!henry
