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

November 2025

S M T W T F S
       1
2345678
910 1112131415
1617 1819202122
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Nov. 20th, 2025 08:32 pm
Powered by Dreamwidth Studios