False Sharing - Definição do Glossário de CI/CD
False sharing acontece quando variáveis independentes tocadas por threads diferentes ficam na mesma cache line, então cada escrita invalida a linha para o outro core; o tráfego de coerência resultante pode anular o benefício do paralelismo sem nenhuma contenção lógica.
Guias relacionados
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…