All of lore.kernel.org
 help / color / mirror / Atom feed
* [perfbook] Analogy of Figure 7.11 Locking “Saw Kerf”
@ 2022-06-24 23:12 Akira Yokosawa
  2022-06-24 23:33 ` Paul E. McKenney
  0 siblings, 1 reply; 6+ messages in thread
From: Akira Yokosawa @ 2022-06-24 23:12 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa

Hi Paul,

I find the analogy of Figure 7.11 hard to grasp.

Whether a lock is global or per-instance, the cost of locking
(saw kerf) is observed only when a CPU/thread does the locking
operation.

In this figure, does each board represent data elements, not a
CPU/thread?  If this is the case, what does the waste of "saw kerf"
mean?

What am I missing?

(I hope I am clear enough on what I don't get...)

        Thanks, Akira

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

end of thread, other threads:[~2022-06-26 14:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-24 23:12 [perfbook] Analogy of Figure 7.11 Locking “Saw Kerf” Akira Yokosawa
2022-06-24 23:33 ` Paul E. McKenney
2022-06-24 23:57   ` Akira Yokosawa
2022-06-25  0:30     ` Paul E. McKenney
2022-06-26  4:34       ` Akira Yokosawa
2022-06-26 14:03         ` 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.