All of lore.kernel.org
 help / color / mirror / Atom feed
* Cost of atomic operations on new hardware
@ 2019-04-26 11:06 Elad Lahav
  2019-04-27 17:45 ` Paul E. McKenney
  0 siblings, 1 reply; 6+ messages in thread
From: Elad Lahav @ 2019-04-26 11:06 UTC (permalink / raw)
  To: perfbook

Hello,

Section 3.1.3 contains the following statement:

"Fortunately, CPU designers have focused heavily on atomic operations,
so that as of early 2014 they have greatly reduced their overhead."

My experience with very recent hardware is that the *relative* cost of
atomic operations has actually increased significantly. It seems that
hardware designers, in their attempt to optimize performance for
certain workloads, have produced hardware in which the "anomalous"
conditions (atomic operations, cache misses, barriers, exceptions)
incur much higher penalties than in the past. I assume that this is
primarily the result of more intensive speculation and prediction.

--Elad


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-05-12 20:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-26 11:06 Cost of atomic operations on new hardware Elad Lahav
2019-04-27 17:45 ` Paul E. McKenney
2019-04-27 20:24   ` Elad Lahav
2019-04-28  6:11     ` Paul E. McKenney
2019-04-29 10:51       ` Elad Lahav
2019-05-12 20:52         ` Paul E. McKenney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.