mesi Questions

1

In Paul McKenny's famous paper "Memory Barriers: A Hardware View for Software Hackers" 3.3 Store Buffers and Memory Barriers To see the second complication, a violation of global memory ...

0

In MESI protocol you write to the cache line only when holding it in the Exclusive/Modified state. To acquire the Exclusive state, you send an Invalidate request to all the cores holding the same c...
Ritual asked 27/8, 2022 at 6:48

1

This is about cache coherency protocol across different layers of cache. My understanding(X86_64) about L1 is that, it is owned exclusively by a core and L2 is between 2 cores and L3 for all the co...
Pincenez asked 21/3, 2021 at 10:43

1

Solved

x86 guarantees a total order over all stores due to its TSO memory model. My question is if anyone has an idea how this is actually implemented. I have a good impression how all the 4 fences are im...
Denicedenie asked 19/6, 2020 at 7:31

1

Solved

I am somewhat confused with what how cache coherence systems function in modern multi core CPU. I have seen that snooping based protocols like MESIF/MOESI snooping based protocols have been used in...
Souther asked 31/5, 2020 at 10:23

2

Solved

For my bachelor thesis I have to analyse the effecs of False Sharing on multicore systems. So looking for the different cache-coherence-protocol-types I have come across on Wikipedia that Intel has...
Suddenly asked 7/8, 2015 at 11:37

2

Solved

In regards to std::atomic, the C++11 standard states that stores to an atomic variable will become visible to loads of that variable in a "reasonable amount of time". From 29.3p13: Implementat...
Stormy asked 19/2, 2020 at 2:22

1

Solved

I understand that the MESI protocol successfully guarantees the same view of memory (caches) for different cores. My question comes from the fact that during writing MESI guarantees that the cache ...
Froude asked 5/5, 2019 at 19:41

2

Solved

I like to know more details of MESI in intel broadwell . Suppose A cpu socket has 6 cores core 0 to core 5 , each of them has their own L1$ and L2$ and share L3$ , there are a var X in shared mem...
Marabout asked 21/1, 2019 at 0:36

1

Solved

I have the following processes , I try to make ProcessB very low latency so I use tight loop all the time and isolate cpu core 2 . global var in shared memory : int bDOIT ; typedef struct XYZ_ { ...
Noach asked 16/1, 2019 at 1:2

1

Solved

Core A writes value x to storebuffer, waiting invalid ack and then flushes x to cache. Does it wait only one ack or wait all acks ? And how does it konw how many acks in all CPUs ?
Dictate asked 27/5, 2018 at 6:26

2

Solved

I was wondering what benefits MOESI has over the MESI cache coherency protocol, and which protocol is currently favored for modern architectures. Oftentimes benefits don't translate to implementati...
Rutilant asked 23/4, 2018 at 14:16

2

Can there be a case in a cache employing a MESI protocol (has l1 and l2 inclusivity employed) where l2 can send an invalid instruction to an already invalid line in l1.
Parricide asked 6/12, 2017 at 20:48

1

Solved

I'm wondering about MESI protocol implementation of writing with the allocation on write miss policy. Let's say that we have write request and got cache miss with no other copies of cache line. Thi...
Appointee asked 27/8, 2016 at 12:1

2

What is the purpose of the x86 LOCK prefix, if the MESI protocol prevents other cores from writing to "exclusive"-ly owned data anyway? I am getting a little confused between what LOCK provides a...
Schnitzel asked 26/4, 2015 at 16:5

1

I am learning cache coherency now, but I don't quite understand what's the function of Exclusive state in MESI protocol, as I think MSI is also work well.
Sigismund asked 28/9, 2015 at 19:0

5

Solved

In C#, this is the standard code for invoking an event in a thread-safe way: var handler = SomethingHappened; if(handler != null) handler(this, e); Where, potentially on another thread, the com...
Ahoufe asked 10/6, 2015 at 14:48

2

Solved

I've read this topic: C# Thread safe fast(est) counter and have implemented this feature in my parallel code. As far as I can see it all works fine, however it has measurably increased the processi...
Chindwin asked 17/7, 2015 at 17:20

5

I was reading about the MESI snooping cache coherence protocol, which I guess is the protocol that is used in modern multicore x86 processors (please correct me if I'm wrong). Now that article says...
Understanding asked 7/4, 2012 at 20:46
1

© 2022 - 2025 — McMap. All rights reserved.