h****e 发帖数: 2125 | 1 【 以下文字转载自 Programming 讨论区 】
【 原文由 helpme 所发表 】
Greetings!
I'm trying to generate a stand-alone c program to simulate cache coherence
issue.
I am trying to fork 4 threads, I need to find out the lower bound of the case,
which means the worst case. So I need to make my code to cause as many
cache coherence events as possible, like invalidations, copy back, etc.
CAn any of you give me a hint or provide some reference? Thank you very much
! |
|