home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / arch / 8317 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  2.2 KB

  1. Path: sparky!uunet!olivea!decwrl!sgi!rhyolite!vjs
  2. From: vjs@rhyolite.wpd.sgi.com (Vernon Schryver)
  3. Newsgroups: comp.arch
  4. Subject: Re: Solaris (was: Sun 600MP Benchmark Anomaly)
  5. Message-ID: <nodh0gc@rhyolite.wpd.sgi.com>
  6. Date: 25 Jul 92 19:04:32 GMT
  7. References: <1992Jul16.210353.6464@sequent.com> <14pkdrINN5ni@uk-news.UK.Sun.COM> <1992Jul25.142435.9821@athena.mit.edu>
  8. Organization: Silicon Graphics, Inc.  Mountain View, CA
  9. Lines: 46
  10.  
  11. In article <1992Jul25.142435.9821@athena.mit.edu>, jfc@athena.mit.edu (John F Carr) writes:
  12. > In article <14pkdrINN5ni@uk-news.UK.Sun.COM>
  13. >     adrian.cockcroft@uk.sun.com writes:
  14. > >I have run a two processor S600MP with a Solaris 2 beta release with
  15. > >both CPU's at over 95% system time (to show that it can be done).
  16. > How much of the 95% is spent in the locking code?  How much is spent
  17. > waiting for locks?
  18. > --
  19. >     John Carr (jfc@athena.mit.edu)
  20.  
  21.  
  22. Ouch!
  23.  
  24. You must have see some of the some MP UNIX kernel implementations, and
  25. wondered how they get anything done what with all of the locking and
  26. P'ing and V'ing.
  27.  
  28. It is an odd fact of human nature that once an organization has
  29. access to multiprocesses, two things invariably happen:
  30.  
  31.     (1) about half of the people (inside and out; all of customers,
  32.     marketing, and implementors) get bent out of shape if anything
  33.     in the system is not fully semaphored with tiny grains.  These
  34.     people want "pre-emption points" every dozen lines in critical
  35.     sections.  They want every instance of every data structure to
  36.     have its own lock, and sometimes 2 or 3 per data structure to
  37.     fix the consequent effects of having lots of tiny overlapping
  38.     critcial sections.
  39.  
  40.     (2) about the other half of the same universe of people get bent
  41.     out of shape if they cannot "dedicate" or "allocate" or
  42.     "reserve" a CPU for a single kind of work or process or user.
  43.     These guys are the sort who demand the ability to put reserve a
  44.     CPU for the disk controller, the terminal serial I/O code,
  45.     Fortran compilations, or whatever else they think most
  46.     important.
  47.  
  48.  
  49. I'm in the third group, and have argued with both groups seemingly
  50. continuously since the first symmetric MP system I worked on in the
  51. late 70's.  It gets boring after awhile
  52.  
  53.  
  54. Vernon Schryver,   vjs@sgi.com
  55.