Re: Amount of memory saved by INSTALL-ing ?
- From: "Richard B. Gilbert" <rgilbert88@xxxxxxxxxxx>
- Date: Sun, 08 Feb 2009 08:43:18 -0500
Jan-Erik Söderholm wrote:
Richard B. Gilbert wrote:Bob Gezelter wrote:On Feb 7, 8:47 am, Jan-Erik Söderholm <jan-erik.soderh...@xxxxxxxxx>
wrote:
Hi.
Now, let me see if I've understood this correctly...
I have a system where I can see that there are many
images used that are not installed. That is, they are
listed separately using SH DEV /FILE and so is using
a local copy of the image per process (right ?)
The questions is about how much memeory will be "saved" when
installing images. Let me take one example :
>$ install list pythonshr /full /global
>
>DISK$JFPPY0012:<PYTHON252.VMS.LIB>.EXE
> pythonshr;1 Open Hdr Shared Lnkbl
> Entry access count = 589
> Current / Maximum shared = 1 / 2
> Global section count = 2
>
> Owner: [SYSTEM]
> Protection: S:RWED,O:RWED,G:RWED,W:RE
>
>
> System Global Sections
>
>$1$LDA2:<PYTHON252.VMS.LIB>pythonshr.EXE
> INS$82FBC750_004(05000002) PRM SYS Pgltcnt/Refcnt=5113/0
> INS$82FBC750_003(05000002) PRM SYS Pgltcnt/Refcnt=1625/0
> Owner: [HTTP_SERVER]
> Protection: S:RWE,O:RWE,G:R,W:R
Is it correct that "Pgltcnt" is the size of the global/common
areas that will be reused for each additional process efter
the first one ?
Is so, is there some way to get this info (apart from
installing each image and use inst/full/global) ?
Some variant of analyze/image maybe ?
I've been searching the docs but could not come up with
something clear enough for me... :-)
Some examples of the images I'm looking at are :
TCPIP$LPD_SMB (59 processes)
GBLEFSHARE (90 processes)
DCPS$SMB (12 and growing...)
SMBSRVSHR (89 processes)
EPC$MSG (67 processes)
This is without the 100+ users logged on
on a normal workday...
VMS 8.2 DS20e 4 GB (if it matters).
Best Regards,
Jan-Erik.
Jan-Erik,
It takes some pencil-and-paper work, but the information can be
obtained from EITHER the LINKER-produced MAP file or from the output
of ANALYZE/IMAGE.
The precise details are (if I recall correctly) described in IDSM.
Basically, the shared portions are the read-only code and read-only
data,
With 100+ users using processes, even modest savings can have a
substantial impact, a fact that I noted in a presentation first given
for the local DECUS group at Goddard Space Flight Center.
Very true! I once had a system with about 300 interactive users in a call center and there was this little program that was run five or six THOUSAND times per day.
I did the obvious thing and installed it, memory resident! I can't imagine why this did not occur to any of my predecessors!
OK, I think I've "got it" now... :-)
Over the years I noticed that many startup COM files for
different products often has some commented INSTALL command
and a notice saying "uncomment these if you have many users"
or something like that. Seems reasonable, of course.
But then I'm get a little unsure when a product like DCPS
do not have any INSTALL's for it's symbiont. Is it becuse
it doesn't matter for that particular EXE ? Or was it just
forgotten about ? It can't be uncommon to have a lot of
queues all running a local copy of DCPS$SMB.EXE. Yes,
mutiple queues can share a DCPS symbiont, but anyway...
Anyway, if there isn't any particular drawback with
installing images, I'l just install them and see what
happens...
Thanks !
Jan-Erik.
Each program installed consumes some resources. ISTR that the System Managers Manual and the Performance Tuning manual go into some detail.
ONLY the executable code and constants can be shared; data needs private storage.
.
- References:
- Amount of memory saved by INSTALL-ing ?
- From: Jan-Erik Söderholm
- Re: Amount of memory saved by INSTALL-ing ?
- From: Bob Gezelter
- Re: Amount of memory saved by INSTALL-ing ?
- From: Richard B. Gilbert
- Re: Amount of memory saved by INSTALL-ing ?
- From: Jan-Erik Söderholm
- Amount of memory saved by INSTALL-ing ?
- Prev by Date: Re: Amount of memory saved by INSTALL-ing ?
- Next by Date: Re: Amount of memory saved by INSTALL-ing ?
- Previous by thread: Re: Amount of memory saved by INSTALL-ing ?
- Next by thread: Re: Amount of memory saved by INSTALL-ing ?
- Index(es):
Relevant Pages
|