Operating System - OpenVMS
1752701 Members
6769 Online
108789 Solutions
New Discussion юеВ

Re: Free list size on mon system (alpha)

 
SOLVED
Go to solution
Jim_McKinney
Honored Contributor

Re: Free list size on mon system (alpha)

To a point should probably consider the delta between what the XFC is using and its minimum size (seen below) as part of the free list.

Extended File Cache (Time of last reset: 9-DEC-2007 12:09:40.43)
Allocated (MBytes) 366.89 Maximum size (MBytes) 384.00
Free (MBytes) 0.21 Minimum size (MBytes) 3.12

I say "to a point" because the XFC adds value - potentially lots of value depending upon your applications - so if you starve it then you lose that potential. You can see the value in the "hit rates" present in that same SHOW MEMORY display. Simplistically, if your hit rates are small then either your cache is too small or your application is bypassing it.
Ian Miller.
Honored Contributor

Re: Free list size on mon system (alpha)

IIRC the free list acts as a secondary cache for pages removed from a process working set i.e. they can be returned to the process working set (soft fault) rather than read from disk (hard fault). This means pages on the free list are not wasted and having a decent number of them helps this to occur.

I may be misremembering this however and will have to dig out the Big Black Book and re-read.
____________________
Purely Personal Opinion
Ian Miller.
Honored Contributor

Re: Free list size on mon system (alpha)

The advice given about measuring the size of the free list, XFC cache, fault rates etc is the best idea.

Is the application performance good enough and has it changed recently?
____________________
Purely Personal Opinion
Mark Hopkins_5
Occasional Advisor

Re: Free list size on mon system (alpha)

A way to look at the XFC dynamic memory use is
to use the following command in SDA -

SDA> XFC SHOW HISTORY

XFC keeps about 3 days worth of data including
the amount of dynamic memory allocated. This
is currently done in 10 minute intervals
(originally 20 minutes). With the latest XFC
images, there is an additional command -
'XFC SHOW HISTORY/DEVELOPER' which shows
information more interesting to the maintainers,
but which does show the amount of trimming and
expansions for each interval.

In general, if XFC has grown to the maximum
size (by default 50% of physical memory) and
has not been trimmed, then the system is
probably not memory stressed.

Mark Hopkins
vms systems management
Occasional Contributor

Re: Free list size on mon system (alpha)

Is this showing me that extended file cache is exausted?


$ sho mem
System Memory Resources on APRIL 17, 2008 10:54 AM

Physical Memory Usage (pages): Total Free In Use Modified
Main Memory (4.00GB) 524288 13543 391831 118914

Extended File Cache (Time of last reset: 9-APR-2008 11:27:53.81)
Allocated (GBytes) 1.04 Maximum size (GBytes) 2.00
Free (GBytes) 0.00 Minimum size (GBytes) 0.00
In use (GBytes) 1.03 Percentage Read I/Os 93%
Read hit rate 69% Write hit rate 0%
Read I/O count 362373181 Write I/O count 26111572
Read hit count 250410167 Write hit count 0
Reads bypassing cache 42 Writes bypassing cache 2573913
Files cached open 2012 Files cached closed 528
Vols in Full XFC mode 0 Vols in VIOC Compatible mode 8
Vols in No Caching mode 0 Vols in Perm. No Caching mode 0
Hein van den Heuvel
Honored Contributor

Re: Free list size on mon system (alpha)

"vms systems management",
Are you that same person as "Kendall McCarthy" or working on the same sytem?

(Both have 4GB memory, but that's not enough to tell really :-)

>> Is this showing me that extended file cache is exausted?

Are you refering to the "Free (GBytes) 0.00 "? Don't worry about that!
It's the "In use (GBytes) 1.03 " that counts.

What would worry me some is "Read hit rate 69%". That's below typical.
It could mean that the application usage patterns to not allow for good caching (lots, of data, little repeat access).
Or it could mean that the XFC could use some more memory.

Is this a cluster with actively write shared files?
You may want to drill down to the per-file cache usage and effectiveness.
Come to my Boot Camp session in Nashua NH in May (Nice!), or to the HP Tech Forum in Vegas in June (Hot!) and I'll tell you all about it!
http://h71000.www7.hp.com/symposium/may_2008/abstracts_all.html ... search XFC

I would review the Modified Page settings.
There is almost 1GB right there, if I read my numbers right. Isn't that 10x too much?
Is that a deliberate choice? Please explain!

Hope this helps some.
Contact me ofline if you think you'd like more help from me.

Best regards,
Hein van den Heuvel (at gmail dot com)
HvdH Performance Consulting


vms systems management
Occasional Contributor

Re: Free list size on mon system (alpha)

Here is what I am seeing. The free list slowly gets lower and lower daily until we restart the application. Then the free list goes back up. I am thinking that there is something in the application that has a memory leak . Is there a way to identiy a process that is not relinquishing its used memory?
Jim_McKinney
Honored Contributor

Re: Free list size on mon system (alpha)

With an XFC active, I would expect that over time the "In use" bytes of the the XFC would grow as they are taken off the free list. This behavior would continue until either the XFC's "Maximum size" is reached or the free list is depleted to the point where the XFC starts replenishing it. Does this match your observation?
vms systems management
Occasional Contributor

Re: Free list size on mon system (alpha)

Yes it is . What happens when the Max size in extended file cahch is reached?
Jim_McKinney
Honored Contributor

Re: Free list size on mon system (alpha)

Presuming that VMS doesn't have other memory demands that will cause the XFC to return memory that it has acquired, once it reaches its maximum size it will rotate out never (or infrequently) accessed files to make room for new ones that are "in demand". It (the XFC) will remain "full" (though the content may change) as long as there is no reason for it to surrender the memory back to VMS. This is normal, expected, and desired behavior.