Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!tiamat!jim From: jim@tiamat.fsc.com ( IT Manager) Newsgroups: comp.sys.hp Subject: Re: Demand-loaded vs. Shared binaries Keywords: shared demand Message-ID: <856@tiamat.fsc.com> Date: 25 Jun 91 00:45:55 GMT References: <4670@bnr-rsc.UUCP> Organization: Ahlstrom Filtration - Chattanooga,TN Lines: 39 In article <4670@bnr-rsc.UUCP>, hounsell@nmerh53.BNR.CA (Rob Hounsell) writes: > Folks, > > We are in the middle of a debate about the exact definition of demand-loaded > versus shared binaries on our HP-UX 9000/300 and 9000/800 computers. > > Looking at the manuals on Laserrom, it states that only the HP300 series > support demand-loaded code, and that the series 800 (HP-PA) does not. Both > models support shared (and non-shared?) code. At the Software Release Planning session in attended at an HP office in Knoxville (good meeting, but not enough *marketing* info, such as what pieces 8.0 is divided up into, what all the new pieces will cost, how support contracts will change as a result, etc), the explanation of shared-mem vs. demand-loading was: A program linked only as "shared-library", would have all necessary shared- library segments linked in at run-time. Thus, program startup is affected, and all the linking goes on. Also, run-time memory usage is affected, since the program gets on the library code, even if some of it is NEVER used (e.g. a program that uses printf() only when there's an error message to print). A program designated as "demand-loaded" will NOT get all required library routines (or whole libraries, I'm still unclear on exactly what gets linked) linked at run-time. Instead, some things will not get linked until it is actually needed. This is supposed to reduce program startup time, since there is less initial linking. There was no indication given that both would not work on the 800's. We have only 800 machines, and I was always asking specific 800 questions (I have learned that it is good to use the labels "800 HP UX 8.0" and "300/400 HP UX 8.0" since there are several indications that although they are equivalent functionally, they are very different in terms of the packaging, what is included in each module, and the licensing/support strategies). The presentor never refuted when I asked, specifically, if what he talked about would work on the 800. ------------- James B. O'Connor jim@tiamat.fsc.com Ahlstrom Filtration, Inc. 615/821-4022 x. 651