Re: [PATCH 2/2] Call percpu smp cacheline algin interface

From: Siddha, Suresh B
Date: Wed May 09 2007 - 19:09:06 EST


On Wed, May 09, 2007 at 03:56:57PM -0700, Christoph Lameter wrote:
> On Wed, 9 May 2007, Andrew Morton wrote:
> > erm, it's not obviosu from all this that the patches are worth proceeding
> > with, are they?

Andrew, There are two advantages with this patch.

1. Space savings.. For me, I really don't worry about this. As VSMP only
uses 4K cacheline alignment and the regular kernels don't use VSMP.

2. data accessed by different cpus gets their own cachelines.
Both the beginning and end of these data elements will be cacheline
aligned.
i.e., other data which gets referenced heavily by local cpu will not bring
the remote lines to local cpu(no unnecessary cacheline bouncing). This
is important, going forward.

>
> What was it? 0.5% performance improvement on a synthetic benchmark?
> Process wakeup I believe?

Christoph, don't get confused. The patch which gives 0.5% is already
in linus git tree. This adds a clean infrastructure, to avoid the two
above mentioned issues.

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