Can processor cores thrash each other's caches?

Posted by Jørgen Fogh on Stack Overflow See other posts from Stack Overflow or by Jørgen Fogh
Published on 2010-05-23T22:31:43Z Indexed on 2010/05/23 22:41 UTC
Read the original article Hit count: 221

Filed under:
|
|

If more than one core on a processor is accessing the same memory address, will they thrash each other's caches or will some snooping protocol allow each to keep the data in L1-cache?

I am interested in a general answer as well as answers for specific processors. How many layers of cache are invalidated? Will accessing another address within the same cache-line invalidate the entire line? What can you do to alleviate these problems?

© Stack Overflow or respective owner

Related posts about cache

Related posts about multicore