home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / protocol / nfs / 1937 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  3.5 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!news2me.ebay.sun.com!seven-up.East.Sun.COM!tyger.Eng.Sun.COM!geoff
  2. From: geoff@tyger.Eng.Sun.COM (Geoff Arnold @ Sun BOS - R.H. coast near the top)
  3. Newsgroups: comp.protocols.nfs
  4. Subject: Re: lockd
  5. Date: 23 Jul 1992 17:52:08 GMT
  6. Organization: SunSelect
  7. Lines: 63
  8. Message-ID: <14mrk9INNis@seven-up.East.Sun.COM>
  9. References: <1992Jul21.174721.26888@nntpd.lkg.dec.com> <14hpi3INNppo@seven-up.East.Sun.COM> <nje1jic@rhyolite.wpd.sgi.com>
  10. NNTP-Posting-Host: tyger.east.sun.com
  11.  
  12. Quoth vjs@rhyolite.wpd.sgi.com (Vernon Schryver) (in <nje1jic@rhyolite.wpd.sgi.com>):
  13. #In article <14hpi3INNppo@seven-up.East.Sun.COM>, geoff@tyger.Eng.Sun.COM (Geoff Arnold @ Sun BOS - R.H. coast near the top) writes:
  14. #> ...
  15. #> Why? Because back in 1986 it wasn't practical to create a multithreaded
  16. #> lock manager.
  17. #
  18. #
  19. #This is the first even remotely official statement I've heard that any
  20. #of the various versions of lockd owe much to the simple locking demo
  21. #program shown at USENIX or whatever in Feb (I think) 1986.  By
  22. #listening to what was said in meetings of B.Lyons' group at the time, I
  23. #inferred that it was not intended to be a product.  Are you referring
  24. #to the same demo?
  25.  
  26. OK, let me dig out my notebooks. 1986 was imprecise: I should
  27. have said 1985-86.
  28.  
  29. I first got involved in the lock manager during the latter part of
  30. 1985, in email discussions with Jo-Mei Chang about the state of the
  31. work that she was doing with Bob Lyons. That was the project that led
  32. to the lock manager that was demonstrated at Uniforum in Feb of 1986 (I
  33. think - that was also the first demo of PC-NFS, and I was pretty busy
  34. at the show). That code cetainly formed the basis for the first FCS
  35. product (according to the SCCS history).
  36.  
  37. In the summer of 1986 I took on temporary ownership of the lock manager
  38. source in order to add the file sharing and other pieces needed for PC
  39. clients. I also cleaned up some areas of inefficiency, but I didn't
  40. change any of the fundamental algorithms. I then passed the token back
  41. to the West Coast group. The subsequent history is murky, and includes
  42. a fair amount of interaction with the folks at Summit...
  43.  
  44. #It was not <<technically>> "impractical to create a multithreaded lock
  45. #manager" in 1986.  Perhaps no one had the time or inclination, but it
  46. #was certainly technically feasible.  "Multi-processing", "threads",
  47. #and so on have not changed much since 1986.
  48.  
  49. It is true that back in 1985-86 there were a few examples of LWP-style
  50. multithread packages. What were missing, of course, were the fully MT-safe
  51. runtime libraries (everything from stdio to rpc) and MT kernels
  52. to support them. 
  53.  
  54. # It is true that more
  55. #companies are shipping multi-processor UNIX systems today, but that is
  56. #not relevant.  You don't need more than one processor for a
  57. #multi-threaded program.
  58.  
  59. Natch.
  60.  
  61. # You don't need klunky things like System V
  62. #shared memory and semaphores, which were around in 1986 and might have
  63. #been in SunOS--I don't remember.  Lockd on SunOs of that vintage could
  64. #probably have used vfork(), although that would have been somewhat kludgy.
  65.  
  66. I think that the first lockd work preceded even the SunOS 4.0 memory
  67. rearchitecture. Prior to that, vfork would have been a killer.
  68.  
  69. Geoff
  70. --
  71. ---------------------------------------+--------------------------------------
  72.      Geoff Arnold, PC-NFS architect    | Thought for the day: If Unix had been
  73.       (geoff.arnold@East.Sun.COM)      | developed in England, we'd all be using
  74. SunSelect, a Sun Microsystems Business | BCPL (and migrating to BCPL++)...
  75.