home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / arch / 11014 < prev    next >
Encoding:
Text File  |  1992-11-22  |  2.6 KB  |  55 lines

  1. Newsgroups: comp.arch
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!unixhub!kfp-slac-mac.slac.stanford.edu!user
  3. From: dbg@slac.stanford.edu (David Gustavson)
  4. Subject: Re: Hardware support for atomic operations ?
  5. Message-ID: <dbg-221192142302@kfp-slac-mac.slac.stanford.edu>
  6. Followup-To: comp.arch
  7. Sender: news@unixhub.SLAC.Stanford.EDU
  8. Organization: SLAC
  9. References: <1992Nov21.173146.7509@ncsu.edu>
  10. Date: Sun, 22 Nov 1992 22:35:16 GMT
  11. Lines: 42
  12.  
  13. In article <1992Nov21.173146.7509@ncsu.edu>, odkahn@eos.ncsu.edu (OPHER
  14. DANIEL KAHN) wrote:
  15. > I am interested in primitives that support mutual exclusion in hardware, such
  16. > as the Test-And-Set and Swap instructions which are atomic.  I am especially
  17. > interested in any such new primitives that may have been developed in the
  18. > last few years.  If you know of any good references I would appreciate
  19. > some e-mail!
  20. > -- 
  21. >  Opher D. Kahn 
  22.  
  23. The Scalable Coherent Interface project spent a lot of effort on this
  24. subject, because it needed to find mutual exclusion primitives that work
  25. well in a large distributed multiprocessor with rather arbitrary
  26. interconnect. SCI (now IEEE Std 1596-1992) settled on Swap, Compare & Swap,
  27. and Fetch & Add as its base set, with the operation being exported to the
  28. addressed memory controller or device for atomic execution there, and the
  29. result returned to the processor via the same interconnect. 
  30.  
  31. There is some overview of this in an article on SCI in Feb 92 IEEE Micro,
  32. pp 10-22. This work also was supported by IEEE Std 1212-1991 Control and
  33. Status Register (I/O) Architecture and some related work on standard DMA
  34. (multiple processors feeding DMA work queues and multiple DMA engines
  35. reporting status to a processor via completion queues (interrupt service
  36. queues). 
  37.  
  38. A nice reference about the power of various locks is Herlihy, M. ╥Wait-Free
  39. Synchronization,╙ ACM Transactions on Programming Languages and Systems 13,
  40. 1 (Jan. ╒91) 124╨149. 
  41.  
  42. Other references I recommend include Mellor-Crummey, J.M. & Scott, M.L.
  43. "Algorithms for Scalable Synchronization on Shared-Memory Multiprocessors,"
  44. ACM Transactions on Computer Systems 9, 1 (Feb '92) 21-65; and
  45. Mellor-Crummey, J.M. & Scott, M.L. "Synchronization without Contention,"
  46. ASPLOS-IV April 91 procedings.
  47.  
  48. --------------------------------------------------------------
  49. -- David B. Gustavson, Computation Research Group, SLAC, POB 4349 MS 88,
  50.     Stanford, CA 94309   tel (415)961-3539  fax (415)961-3530
  51. -- What the world needs next is a Scalable Coherent Interface!
  52. -- Any opinions expressed are mine and not necessarily those
  53.    of the Stanford Linear Accelerator Center, the University, or the DOE.
  54.