Re: Horrible L2 cache effects from kernel compile

dean gaudet (dean-list-linux-kernel@arctic.org)
Wed, 5 Mar 2003 12:19:34 -0800 (PST)


On Mon, 3 Mar 2003, Alan Cox wrote:

> On Mon, 2003-03-03 at 19:13, Linus Torvalds wrote:
> > dentry itself. Yes, you could make it smaller (you could remove the inline
> > string from it, for example, and you could avoid allocating it at
>
> How about at least making the inline string align to the slab alignment so we
> dont waste space ?

what what be best is the hash chaining pointers and the first N bytes of
the inline name in the same cacheline. for 32B cache lines it looks like
it's at least two misses per chain now. (er, well i'm looking at 2.4
source.)

-dean
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/