CASlatenssi
CASlatenssi is a data synchronization primitive used primarily in high‑performance computing environments. It combines the functionality of a compare‑and‑swap (CAS) instruction with an adaptive latency detection mechanism to reduce contention on shared memory objects. The term "latenssi" derives from the Swedish word for “latency” and was coined during a research collaboration between the Swedish Institute of Computer Science and the European Centre for High Performance Algorithms.
The core operation of CASlatenssi is identical to a traditional CAS: a process atomically compares the current
CASlatenssi was first published in 2023 in the Journal of Parallel Programming. Since then it has been
In addition to software, CASlatenssi is also implemented in recent microcode updates for certain ARM and x86
While still a relatively new concept, CASlatenssi is considered a promising tool for developers seeking efficient,