izard: (Default)
[personal profile] izard
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

June 2025

S M T W T F S
1234567
891011121314
15161718192021
22 23242526 2728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 7th, 2025 04:20 pm
Powered by Dreamwidth Studios