False Sharing - CI/CD用語集の定義
false sharing は、異なるスレッドが触る独立した変数が同じ cache line に載っているときに発生し、各書き込みが他のコアに対してその line を無効化します。結果として生じるコヒーレンストラフィックは、論理的な競合がなくても並列性の利益を消し去ることがあります。
関連ガイド
Cache Line - CI/CD Glossary DefinitionA cache line is the fixed-size block (often 64 bytes) the CPU moves between memory and cache as a unit - the…
Memory Barrier - CI/CD Glossary DefinitionA memory barrier forces an ordering on memory operations, so CPU or compiler reordering can’t break the visib…
Atomic Operation - CI/CD Glossary DefinitionAn atomic operation completes indivisibly - no other thread observes a partial result - the building block of…