home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vms
- Path: sparky!uunet!paladin.american.edu!gatech!darwin.sura.net!haven.umd.edu!decuac!pa.dec.com!nntpd2.cxo.dec.com!adserv.enet.dec.com!winalski
- From: winalski@adserv.enet.dec.com (Paul S. Winalski)
- Subject: Re: ballooning EXE size
- Message-ID: <1992Dec30.230003.26308@nntpd2.cxo.dec.com>
- Lines: 25
- Sender: usenet@nntpd2.cxo.dec.com (USENET News System)
- Reply-To: winalski@adserv.enet.dec.com (Paul S. Winalski)
- Organization: Digital Equipment Corporation, Nashua NH
- References: <01GSUT89O7JK000J0I@XRT.UPENN.EDU> <1992Dec29.232313.8246@ll.mit.edu>
- Date: Wed, 30 Dec 1992 23:00:03 GMT
-
-
- In article <1992Dec29.232313.8246@ll.mit.edu>,
- ejon@ll.mit.edu (Eric Jones) writes:
- |>
- |>Ah, we had exactly the same problem once, and the manuals were _not_ very
- |>helpful (for once). Finally, after carefully perusing the Linker reference
- |>manual (not light reading) we discovered that the linker has a weird
- |>behavior. Weird, that is, because I can't imagine why it's desirable.
- |>After the linker reaches a threshold number of ISD's (Image Section Descriptors)
- |>it GIVES UP trying to further compress the output image through creation
- |>of demand-zero sections. This default value is "approximately 96."
-
- It's desireable because image sections don't come for free. Each image section
- requires an image section descriptor, which is part of the process header.
- Process headers are of fixed size and there is one for each balance set slot.
- PROCSECTCNT is the SYSGEN parameter that controls how many image sections a
- process can have active simultaneously. If the Linker did not give up on
- creating new image sections while doing demand-zero compression, it would
- be trivially easy to create images that cannot be activated. Process headers
- are allocated in system non-paged memory, so simply bumping up PROCSECTCNT is
- a very expensive solution. It is especially so when you consider that, except
- in very strange cases, an executable image need not have more than 10 image
- sections (not counting those brought in from shareable images, of course).
-
- --PSW
-