Re: [PATCH RFC 0/2] percpu_ida: Take into account CPU topology when stealing tags

From: Peter Zijlstra
Date: Tue Apr 22 2014 - 15:59:48 EST


On Wed, Mar 26, 2014 at 02:34:22PM +0100, Alexander Gordeev wrote:
> Hello,
>
> This series is against 3.14.0-rc7.
>
> It is amied to further improve 'percpu_ida' tags locality by taking
> into account system's CPU topology when stealing tags. That is try
> to steal from a CPU which is 'closest' to the stealing one.
>
> I would not bother to post this, since on several system the change
> did not show any improvement, i.e. on such one:

There's is much lower level fruit to be had before doing something like
this.

https://lkml.org/lkml/2014/1/23/257
https://lkml.org/lkml/2014/1/23/329
https://lkml.org/lkml/2014/1/23/343
https://lkml.org/lkml/2014/1/23/354

I've not had time to revisit/finish them, but you should definitely
clean up the percpu_ida stuff and reduce existing contention before
going overboard.
--
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/