Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!nbires!hao!boulder!sunybcs!rutgers!psuvax1!gondor.psu.edu!schwartz From: schwartz@gondor.psu.edu (Scott E. Schwartz) Newsgroups: comp.arch,comp.os.misc Subject: Re: Shared libraries (Was: Re: Big Programs Hurt Performance) Message-ID: <2971@psuvax1.psu.edu> Date: Tue, 29-Sep-87 12:28:43 EDT Article-I.D.: psuvax1.2971 Posted: Tue Sep 29 12:28:43 1987 Date-Received: Thu, 1-Oct-87 04:47:23 EDT References: <6886@eddie.MIT.EDU) <2501@xanth.UUCP> <2067@sfsup.UUCP> <443@devvax.JPL.NASA.GOV> <2114@sfsup.UUCP> Sender: netnews@psuvax1.psu.edu Reply-To: schwartz@gondor.psu.edu (Scott E. Schwartz) Organization: Penn State University, University Park, PA Lines: 23 Xref: mnetor comp.arch:2421 comp.os.misc:253 Here is an antecdote that describes the ups and downs of runtime linking of shared libraries (which is often how it is done). In revision 20 of Primos Prime introduced dynamically linkable shared libraries, which they call EPF's (for Executable Program Formats). Previously, privliged software could be shared, but not user code. Also, you had to dedicate a chunk of address space to the library. In rev 20 they made the whole system more general, and allowed user code to be dynamically linked at runtime to a single copy of the library. The increase in functionality was very large: it became easy to do lots of things that had been hard in rev 19, and executables became very small. On the other hand, OS performace declinded dramatically. A prime 9950 that could comfortably support 80 users at rev 19 became sluggish with 30 users at rev 20. Now, there was probably a fair amount of revision in the OS, so it's hard to claim that the new style EPFs are the cause of the performance loss, but it is possible. #disclaimer "Just my uninformed opinion." -- Scott Schwartz schwartz@gondor.psu.edu