home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / vms / 20121 < prev    next >
Encoding:
Text File  |  1992-12-30  |  2.0 KB  |  38 lines

  1. Newsgroups: comp.os.vms
  2. 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
  3. From: winalski@adserv.enet.dec.com (Paul S. Winalski)
  4. Subject: Re: ballooning EXE size
  5. Message-ID: <1992Dec30.230003.26308@nntpd2.cxo.dec.com>
  6. Lines: 25
  7. Sender: usenet@nntpd2.cxo.dec.com (USENET News System)
  8. Reply-To: winalski@adserv.enet.dec.com (Paul S. Winalski)
  9. Organization: Digital Equipment Corporation, Nashua NH
  10. References: <01GSUT89O7JK000J0I@XRT.UPENN.EDU> <1992Dec29.232313.8246@ll.mit.edu>
  11. Date: Wed, 30 Dec 1992 23:00:03 GMT
  12.  
  13.  
  14. In article <1992Dec29.232313.8246@ll.mit.edu>,
  15. ejon@ll.mit.edu (Eric Jones) writes:
  16. |>
  17. |>Ah, we had exactly the same problem once, and the manuals were _not_ very
  18. |>helpful (for once).  Finally, after carefully perusing the Linker reference
  19. |>manual (not light reading) we discovered that the linker has a weird
  20. |>behavior.  Weird, that is, because I can't imagine why it's desirable.
  21. |>After the linker reaches a threshold number of ISD's (Image Section Descriptors)
  22. |>it GIVES UP trying to further compress the output image through creation
  23. |>of demand-zero sections.  This default value is "approximately 96."
  24.  
  25. It's desireable because image sections don't come for free.  Each image section
  26. requires an image section descriptor, which is part of the process header.
  27. Process headers are of fixed size and there is one for each balance set slot.
  28. PROCSECTCNT is the SYSGEN parameter that controls how many image sections a
  29. process can have active simultaneously.  If the Linker did not give up on
  30. creating new image sections while doing demand-zero compression, it would
  31. be trivially easy to create images that cannot be activated.  Process headers
  32. are allocated in system non-paged memory, so simply bumping up PROCSECTCNT is
  33. a very expensive solution.  It is especially so when you consider that, except
  34. in very strange cases, an executable image need not have more than 10 image
  35. sections (not counting those brought in from shareable images, of course).
  36.  
  37. --PSW
  38.