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