[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091007210651.GB1656@one.firstfloor.org>
Date: Wed, 7 Oct 2009 23:06:51 +0200
From: Andi Kleen <andi@...stfloor.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Andi Kleen <andi@...stfloor.org>, Nick Piggin <npiggin@...e.de>,
Jens Axboe <jens.axboe@...cle.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-fsdevel@...r.kernel.org,
Ravikiran G Thirumalai <kiran@...lex86.org>,
Peter Zijlstra <peterz@...radead.org>
Subject: Re: [rfc][patch] store-free path walking
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@...ux.intel.com -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists