Path: utzoo!news-server.csri.toronto.edu!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: jp@csc000.csc.ti.com (Joe Picone) Newsgroups: comp.sys.sun Subject: Shared Libraries Keywords: Miscellaneous Message-ID: <1879@brchh104.bnr.ca> Date: 15 Mar 91 22:44:00 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 29 Approved: Sun-Spots@rice.edu X-Original-Date: Wed, 27 Feb 91 19:21:55 -0600 X-Sun-Spots-Digest: Volume 10, Issue 51, message 14 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu I would like to know what good/bad experiences users have had with shared libraries? Are they appropriate for a research environment using C++ that consists of lots of single user workstations and a central compute server? Any serious performance hits? (Obviously, there are benefits at the OS level for commonly-used commands.) I currently have a set of 10 libraries distributed something like this: Size: 205896 Heavy (All programs) Size: 97576 ^ Size: 732310 | Size: 145356 | Size: 45406 Usage Size: 668680 | Size: 117300 | Size: 46164 | Size: 83052 v Size: 125960 Light (Few programs) and about 100 utilities that are run infrequently (a few times per day). It seems to me the main benefit is to put heavily used stuff in a shared library and leave the other stuff in a standard library. I am worried about large programs having to resolve hundreds of references at run-time and requiring a long time to startup and large amounts of memory. Regards, Joe Picone ("The Terminal Man") Arpanet Address: JP@CSC.TI.COM