9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Semaphores in Plan 9
@ 2014-06-12  0:25 Nick Owens
  2014-06-12  0:33 ` erik quanstrom
  0 siblings, 1 reply; 2+ messages in thread
From: Nick Owens @ 2014-06-12  0:25 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 513 bytes --]

in Semaphores in Plan 9 [1] a test is described comparing
semaphore-based locks to tas-based spinlocks. the paper says they ran
"doug's power series program" using the different lock types in
libthread for channels. i was trying to reproduce the results in the
test, and my naive attemps don't fare well for semaphores.

so, is the test code available anywhere? or has anyone written a
comparable benchmark which favors semaphore-based locks?

[1] http://doc.cat-v.org/plan_9/IWP9/2008/semaphores.pdf


[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2014-06-12  0:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-12  0:25 [9fans] Semaphores in Plan 9 Nick Owens
2014-06-12  0:33 ` erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).