It works now, thanks.
> >>--8<--
> >
> >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
And for 386/486 there should be a shift/add hashfn. On a 486 it takes 40
cycles for one multiplication and it would be nice to still support these
old PCs.
Peter
-- _ x ___ / \_/_\_ /,--' p.steiner@t-online.de (Peter Steiner) \/>'~~~~// \_____/ signature V0.2 alpha- 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/