Re: [Patch] numa:x86_64: Cacheline aliasing makes for_each_populated_zone extremely expensive -V2.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Roedel, Joerg
Date: Thursday, August 19, 2010 - 10:30 am

On Wed, Aug 18, 2010 at 02:30:24PM -0400, Robin Holt wrote:

Interesting. Have you measured cache misses for both cases?


The max value probably the case where none of the data the code accesses
is actually in the cache. Cache aliasing does not help then so I would
not expect a change in the maximum amount here.


I don't think this is stable material. It improves performance and does
not fix a bug. But I am not the one to decide this :-)


It is cleaner to keep the NULL check here and add the cache_alias_offset
to the pointer after that check. 


-- 
AMD Operating System Research Center

Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [Patch] numa:x86_64: Cacheline aliasing makes for_each ..., Roedel, Joerg, (Thu Aug 19, 10:30 am)