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

  1. Path: sparky!uunet!sun-barr!news2me.ebay.sun.com!seven-up.East.Sun.COM!uk-news.UK.Sun.COM!sunfen!adrianc
  2. From: adrian.cockcroft@uk.sun.com (Adrian Cockcroft - Sun UK - Cambridge SE - SPARC Specialist)
  3. Newsgroups: comp.arch
  4. Subject: Solaris (was: Sun 600MP Benchmark Anomaly)
  5. Date: 24 Jul 1992 19:07:39 GMT
  6. Organization: Sun Microsystems
  7. Lines: 62
  8. Distribution: world
  9. Message-ID: <14pkdrINN5ni@uk-news.UK.Sun.COM>
  10. References: <1992Jul16.210353.6464@sequent.com>
  11. Reply-To: adrian.cockcroft@uk.sun.com
  12. NNTP-Posting-Host: 129.156.129.1
  13.  
  14. In article 6464@sequent.com, dafuller@sequent.com (David Fuller) writes:
  15. >
  16. >In the case of Sun and their current OS, the critical discrimination between
  17. >symmetrical and asymmetric is irrelevant since once you're out of a single
  18. >CPU's ability to service OS requests you're out of business.  With a 2 CPU
  19. >system that means system time is limited to 50%, which is reasonable.  With
  20. >a 4 CPU system it's down to 25%, which may not be reasonable at high numbers
  21. >of processes.
  22. >
  23. >So while the Sun offering is symmetrical it is not useful symmetry at this
  24. >juncture.
  25.  
  26. If a system is running at more than 25% system time continuously I can
  27. usually find plenty of scope for tuning to get it down to below 25%.
  28. This has the desired effect in terms of getting a S600MP to work well
  29. with 4.1.2.
  30.  
  31. >I'm sure that Solaris 2 will address this, it's just a question of
  32. >where it degrades to a single thread and whether these places are harmful
  33. >to system performance.
  34.  
  35. I have run a two processor S600MP with a Solaris 2 beta release with
  36. both CPU's at over 95% system time (to show that it can be done). The
  37. basic kernel, NFS code and the streams code at least are already multi
  38. threaded and scale with CPU's.
  39.  
  40.  
  41. The first version of Solaris 2.0 is now shipping (and is being used to
  42. generate this posting :-) but only runs on sun4c (i.e. desktop
  43. SPARCstation machines) since the S600MP arrived too late in the
  44. development/test cycle. A second release at the end of this year will
  45. support the S600MP, SuperSPARC, everything else and lots of
  46. processors.
  47.  
  48. To oversimplify the issues and explain the essence of what Solaris 2.0 does:
  49.  
  50. There are two ways of adding MP to Unix. One is to place locks around
  51. critical regions of code, which is the way that most small scale MP
  52. implementations have been done in the past. The other, used in Solaris
  53. 2.0 is to place locks in data structures. This is much more scalable.
  54.  
  55. For example, if a section of the kernel messes with a table it could
  56. have locks placed in the code so that only one CPU at a time can run
  57. that code.  This is the way that a uniprocessor Unix kernel is written
  58. using interrupt level masks to protect code regions. In Solaris 2 every
  59. entry in the table would have a lock as part of its data structure and
  60. every CPU can run the code simultaneously as long as they are modifying
  61. different parts of the table.
  62.  
  63. One benefit is that the kernel is fully pre-emptible rather than having
  64. preemption points and has a sub-millisecond guaranteed response time
  65. for real time processes.
  66.  
  67. See ftp.uu.net:/systems/sun/papers/SunOS-5.0-MT for the full scoop.
  68.  
  69. Regards Adrian
  70.  
  71. ---
  72. Adrian Cockcroft -  adrian.cockcroft@uk.sun.com or adrian.cockcroft@sun.co.uk
  73. Sun Microsystems, 306 Science Park, Milton Road, Cambridge CB4 4WG, UK
  74. Phone +44 223 420421 - Fax +44 223 420257    Sun Mailstop: ECBG01
  75.  
  76.