On Wed, Oct 07, 2009 at 01:51:07PM -0700, Linus Torvalds wrote: > > > On Wed, 7 Oct 2009, Andi Kleen wrote: > > > > With some strategic prefetches it might be cheap enough to use > > two cache lines. Just fetch it with the other. > > I _seriously_ doubt that. > > This is one of the biggest (and hottest) hash tables in the whole kernel. > > No amount of prefetching will help the fact that you effectively double > your cache footprint / working set if you have to fetch two cachelines in > the hot case lookup rather than one. It won't double it, because there are many more cache lines from all kinds of other things in these paths. The point was just to hide the latency of fetching two at different times. The actual cache foot print is not that important, as long as it's not excessive, just the latencies hurt. -Andi -- ak@xxxxxxxxxxxxxxx -- Speaking for myself only. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html