Cache Line - CI/CD用語集の定義
cache line とは、CPU がメインメモリとその cache の間で転送するデータの最小単位で、通常は 64 bytes です。これを理解すると、データ局所性による高速化と、レイアウトが不十分な並行構造の false sharing による低速化の両方が説明できます。
関連ガイド
False Sharing - CI/CD Glossary DefinitionFalse sharing is when threads update different variables sharing one cache line, forcing costly coherency tra…
Atomic Operation - CI/CD Glossary DefinitionAn atomic operation completes indivisibly - no other thread observes a partial result - the building block of…
Vectorization - CI/CD Glossary DefinitionVectorization rewrites a scalar loop to process several elements per instruction using SIMD, multiplying thro…