[Ocfs2-devel] Ocfs2 performance bugs of doom

Nick Piggin nickpiggin at yahoo.com.au
Thu Mar 9 01:43:10 CST 2006


Daniel Phillips wrote:

> A poor distribution as you already noticed[1].  Even if it was a great
> distribution, we would still average a little over two nodes per bucket
> twice as many as we should allow unless you believe that people running
> cluster filesystems have too much time on their hands and need to waste
> some of it waiting for the computer to chew its way through millions
> of cold cache lines.
> 

Just interested: do the locks have any sort of locality of lookup?
If so, then have you tried moving hot (ie. the one you've just found,
or newly inserted) hash entries to the head of the hash list?

In applications with really good locality you can sometimes get away
with small hash tables (10s even 100s of collisions on average) without
taking too big a hit this way, because your entries basically get sorted
LRU for you.

-- 
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com 



More information about the Ocfs2-devel mailing list