home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / hp / 10407 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  1.4 KB

  1. From: mjs@hpfcso.FC.HP.COM (Marc Sabatella)
  2. Date: Mon, 14 Sep 1992 22:25:25 GMT
  3. Subject: Re: Any way around the "holding" of swap space?
  4. Message-ID: <7371312@hpfcso.FC.HP.COM>
  5. Organization: Hewlett-Packard, Fort Collins, CO, USA
  6. Path: sparky!uunet!spool.mu.edu!sdd.hp.com!apollo.hp.com!cupnews0.cup.hp.com!hppad.waterloo.hp.com!hppad!hpfcso!mjs
  7. Newsgroups: comp.sys.hp
  8. References: <1992Sep14.011913.10170@news.uiowa.edu>
  9. Lines: 20
  10.  
  11. In comp.sys.hp, dsiebert@icaen.uiowa.edu (Doug Siebert) writes:
  12.  
  13. > I'm wondering if there is any way around HP-UX's "holding" of swap space for
  14. > shared text images.  If I have a program which has, say 250K of text in the
  15. > processes' address space, this is shared over multiple occurrances of the
  16. > same executable, this I understand.  What I *don't* understand is why each
  17. > occurrance of the program reserves that 250K in swap, even though there is
  18. > only one image really in memory to swap anyway (and with enough occurrances
  19. > of this text, you wouldn't WANT it swapped anyway!)
  20.  
  21. Are you sure this is happening?  In HP-UX 8.0, text is normally never allocated
  22. swap at all; it is paged directly from the executable file image.  The swap
  23. disappearance you are observing is more likely from the data/bss segments of
  24. shared libraries the program is linked with.
  25.  
  26. --------------
  27. Marc Sabatella (marc@hpmonk.fc.hp.com)
  28. Disclaimers:
  29.     2 + 2 = 3, for suitably small values of 2
  30.     Bill (H.) and Dave (P.) may not always agree with me
  31.