home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / arch / 9399 < prev    next >
Encoding:
Internet Message Format  |  1992-09-13  |  1.6 KB

  1. Xref: sparky comp.arch:9399 comp.parallel:2113
  2. Newsgroups: comp.arch,comp.parallel
  3. Path: sparky!uunet!wupost!darwin.sura.net!gatech!hubcap!fpst
  4. From: bh@nissen.asd.sgi.com (Bent Hagemark)
  5. Subject: Re: sgi/sun shared memory machines question
  6. Message-ID: <1992Sep14.122908.15827@hubcap.clemson.edu>
  7. Apparently-To: comp-parallel@Pa.dec.com
  8. Sender: news@fido.asd.sgi.com (Usenet News Admin)
  9. Organization: Silicon Graphics, Inc., Mountain View, CA
  10. References: <1992Sep11.121830.17069@hubcap.clemson.edu>
  11. Distribution: usa
  12. Date: Fri, 11 Sep 1992 22:38:02 GMT
  13. Approved: parallel@hubcap.clemson.edu
  14. Lines: 28
  15.  
  16. In article <1992Sep11.121830.17069@hubcap.clemson.edu> zilla@nj.nec.com (John Lewis) writes:
  17. >Someone told me that the SGI multiprocessor machines cannot run
  18. >different unix processes on different processors; they can only
  19. >run a single (but possibly parallelized) process at a given time.
  20.  
  21. Someone told you very wrong.  All processors peruse the run queue.
  22. Any process runs on any processor unless you explicitly assign
  23. a process to a processor and/or restrict a processor to run only
  24. certain processes.
  25.  
  26. >The reason was said to be that the machines do not implement
  27. >any mechanism for simultaneous writes.
  28. >
  29. >Is this correct?  If so, how are simultaneous writes from
  30. >different threads of a parallelized process prevented?
  31.  
  32. Simultaneous writes from different threads of a parallized process
  33. are not prevented.  (Threads are known to the kernel and each
  34. has its own pid, kernel supported stack, etc).  Harware spinlocks
  35. are avaliable to user-level programs directly or through a couple
  36. of different MP programming interfaces to provide serialization
  37. if that's desired.
  38.  
  39. Bent
  40.  
  41.  
  42.  
  43.  
  44.