Re: [patch] 2.2.9_andrea-VM1.gz
Chuck Lever (cel@monkey.org)
Wed, 9 Jun 1999 15:28:40 -0400 (EDT)
On Tue, 8 Jun 1999, Peter Steiner wrote:
> > >Maybe an average bucketsize of 8 is too high? This is sufficient with 64MB
> > >since the buffer cache doesn't grow so much anyway. Try reducing it to 4
> > >(The original hashfn has an average bucketsize of 1).
> >
> > Good idea, I'll set the distribution to 1, I don't want to lose because I
> > am more conservative in memory.
>
> Could someone please tell me the typical size of the buffer cache in big
> real world servers?
>
> An average bucketsize of 1 is too much for the average desktop but it may
> indeed help for servers. It seems there should be a config option:
>
> "[*] Optimize for big buffer caches" --> avg bucket zize = 1
> else avg bucket size = 4
i think that's way too complicated. just allocate the hash table
depending on the size of physical RAM -- that will get you exactly what
you want. on a big machine, wasting a few pages for table space you don't
use is inconsequential.
- Chuck Lever
--
corporate: <chuckl@netscape.com>
personal: <chucklever@netscape.net> or <cel@monkey.org>
The Linux Scalability project:
http://www.citi.umich.edu/projects/linux-scalability/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/