Published May 21, 2024
| Version v1
Poster
Open
AArch64 atomics: Might they be harming your performance
Authors/Creators
Description
We explore the performance of atomic CAS and LL-SC instructions on contemporary high-performance AArch64 CPUs, namely the A64FX, ThunderX2, and Gravitons 2 and 3. We observe that these instructions can lead to fundamentally different performance profiles. On the A64FX and ThunerX2, CAS instructions exhibit a quadratic increase in average time per successful CAS operation as the number of threads increases instead of the expected linear scaling. LL-SC can give performance improvements across all the micro-architectures we tested, showing potential speedups of more than 20x on A64FX.
Files
Poster-rjesus.pdf
Files
(1.8 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:5b6e02d377c4dc9ea033505656311f17
|
1.8 MB | Preview Download |
Additional details
Dates
- Created
-
2024-03-26