I am looking for some reference on average latencies for lock cmpxchg instruction for various intel processors. I am not able to locate any good reference on the topic
I've been trying to benchmark CAS and DCAS in terms of NOP.
I have some results, but I don't trust them yet - verification is ongoing.
Currently, I see on Core i5 for CAS/DCAS 3/5 NOPs. On Xeon, I see 20/22.
These results may be completely incorrect - you were warned.