8 ms·
FYI, any store has to invalidate remote cachelines, that's taken care by the coherence protocol even before the store is actually performed. Memory barrier (an
by gpderetta 10y ago
FYI, any store has to invalidate remote cachelines, that's taken care by the coherence protocol even before the store is actually performed.
Memory barrier (and atomic operations) don't have anything to do with it.
- JoachimSchipper 10y agoWhether stores invalidate remote cachelines depends entirely on the architecture. But yes, Intel has fairly strong coherency.
- gpderetta 10y agoIt seems to me that any cache coherent system needs to do that. If multiple writers can be updating a cacheline a the same time [1] you can't talk of coherency at all. Intel is stronger as it guarantees a total ordering of modifications across all cachelines, but any coherent system will guarantee the ordering of modification of a single cacheline. [1] visibly at least. HTM complicates things a bit of course.