Subject: Re: [htdig3-dev] doc for cache_size
From: Geoff Hutchison (email@example.com)
Date: Fri Dec 10 1999 - 09:45:40 PST
At 10:19 AM -0400 12/10/99, Daniel MacKay wrote:
> >I just added documentation for wordlist_cache_size... Dont forget it
> >is IMPORTANT to set this, otherwize your performance will be BAD.
> - Which index file should we be sizing this against?
> - What is the default?
> - Is this an issue for htdig, or htsearch? Since htsearch only gets
> run once for each query, is performance of the DB an issue?
> >Size of memory cache used by Berkeley DB (DB used by the indexer)
> >IMPORTANT: It makes a *huge* difference. The rule is that the cache
> >size should be at least 2% of the expected index size. The Berkeley DB
> >file has 1% of internal pages that *must* be cached for good
> >performances. Giving an additional 1% leaves room for caching leaf
I'll echo Daniel's comments. I hope the default is pretty good since
it's hard to know a priori what the word database size will be! Is
there some way we can set a reasonable default for a completely new
setup and then set the default later to be, say 2% of the current
The latter would make update searches pretty good.
To unsubscribe from the htdig3-dev mailing list, send a message to
You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Fri Dec 10 1999 - 10:06:17 PST