[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1861.0. "GBLSECTION and GBLPAGES ques." by WEIRDO::JONES (I don't get even I get odd) Thu Dec 07 1989 13:07

I'm trying to tune my poor 6 meg work station which is running VMS V5.3 and 
DW V2.0.  Now I go off into INSTALL to look at the GBLSECTION and GBLPAGES 
count.  I can see that they are much much to high or at least that's what
I thought at the time. GBLSECTION was 400 all I needed was 225, and GBLPAGES
was 30000 all I needed was 20000.  So I merrily go off and reduce them and
reboot.  Once DECwindows got a hold of them it said that they had to be
400 and 30000 again.  What's going on?  Why does DECwindows say it needs that 
much and not use it.  And is there any way to decrease it?

							- Rick -
T.RTitleUserPersonal
Name
DateLines
1861.1a large GBLPAGES and GBLSECTIONS won't hurt that muchVMSDEV::BALLOUIt's not slow, it's careful!Thu Dec 07 1989 17:1026
I understand the feeling of wanting to get back every possible scrap of physical
memory, especially with a 6 Mb workstation.  But, having extra global pages and
global sections just doesn't hurt that much.  The resource required for one
unused global page is a global PTE (four bytes).  Thus, 128 unused global pages
costs you one VIRTUAL page for the PTEs.  Now, remember, the global page table is
pageable.  So, all you really have to pay is four bytes in the system page table
for the unused global page table page.  Consequently, your 10,000 unused global
pages is actually costing you only 400 bytes of physical memory, which is less
than one page!

Since a section table entry is 32 bytes, your 175 unused global section table
entries are consuming 5600 bytes.  Since the global section table entries are in
the non-pageable portion of the system PHD, this is real memory you are using.
So, the cost here is 11 pages.

Anyway, given that the cost is 12 pages, I don't think the larger values are
hurting you that much (even on a 6 Mb system).  Also, how much of that depends
partly on how many applications you run locally (of course, isn't the answer
there "with 6 Mb, not many!" :-).  Don't forget that the local transport uses
shared memory (aka global sections).  In particular, for each connection to the
server, the cost is one global section and 171 global pages.

I'm sorry I couldn't provide you more cheerful advice.  As John Buford might say,
you really are trying to put 10 lbs. of potatoes into a 5 lb. sack ...

                                           - Ken