Finding false sharing with perf c2c: reading code that fights over one cache line
Adding threads but not getting faster? Find false sharing with Linux perf c2c: record and report options, reading offsets, CPU support differences and fixes, per the official docs.
linuxperfperformancecpu-cache