Mar. 21st, 2013

izard: (Default)
Just published an article on habrahabr regarding a common misconception:
When looking at a block diagram

one may think that L1 and L2 caches are exclusive for use by each corresponding core. So if some data comes there, it stays until it is replaced by other data requested by the same core.

In fact, in some specific workloads, some cores may be using LLC so extensively, that their data will evict other cores data from LLC. And as LLC is fully inclusive, this eviction will invalidate corresponding cache lines in L2 and L1. This is obvious when reading documentation carefully, and it is easy to demonstrate by running a simple test I described in an article.

Profile

izard: (Default)
izard

September 2025

S M T W T F S
 1 23456
78910111213
14151617181920
21222324252627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 6th, 2025 11:25 am
Powered by Dreamwidth Studios