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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux