[RFT][patch] Scheduling for HTT and not only

Andriy Gapon avg at FreeBSD.org
Sat Feb 11 17:05:23 UTC 2012


on 11/02/2012 15:35 Andriy Gapon said the following:
> It seems that on modern CPUs the caches are either inclusive or some smart "as
> if inclusive" caches.  As a result, if two cores have a shared cache at any
> level, then it should be relatively cheap to move a thread from one core to the
> other.  E.g. if logical CPUs P0 and P1 have private L1 and L2 caches and a
> shared L3 cache, then on modern processors it should be much cheaper to move a
> thread from P0 to P1 than to some processor P2 that doesn't share the L3 cache

Having read this paper
http://www.cs.uwaterloo.ca/~brecht/courses/856/Possible-Readings/multicore/cache-performance-x86-2009.pdf
I think that I have been too optimistic about the smartness of caches in some
processors...

-- 
Andriy Gapon


More information about the freebsd-hackers mailing list