Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

XFC and memory management

 
Jim_McKinney
Honored Contributor

XFC and memory management

The immediate environment is Alpha OpenVMS v7.3-2 but if I’d also be interested to know if behavior changes in subsequent VMS versions. The system in question was configured to use XFC with VCC_MAX_CACHE set to -1. Over time the XFC had become fully populated, consuming 50% of physical memory (4GB out of 8GB). With the typical full complement of users this system would normally never page or swap as there was expected to be adequate physical memory to support large working set extents for the expected number of processes. However, on one recent occasion, a large number of additional processes were created. One side effect of this was swapping. I was surprised by this – rather, I expected that the XFC would begin relinquishing some of that 50% of physical memory that it was consuming before swapping occurred – it didn’t and the swap file space was inadequate (this has been remedied – a secondary swap file was accidentally lost during a storage upgrade when several old small disks were consolidated into one larger one). Is this expected behavior or should swapping have been postponed until the XFC had surrendered some of what it was holding? Thanks for reading this and comments that you might have – more info can be provided if required.
13 REPLIES 13
Wim Van den Wyngaert
Honored Contributor

Re: XFC and memory management

Of an old thread :

Tested it on 7.3.

Workstation with 256 MB. VCC_MAX on -1 thus 128 MB is the max size.

Allocated 200 MB and made it dirty.

Again and again. At the end the pagefile was full but XFC still used 12 MB allocated(started the test with 77 MB).

BTW : I ran the malloc again for 5 MB and the system went into hang.

Wim
Wim
labadie_1
Honored Contributor

Re: XFC and memory management

Hello

I guess you know there is the sda extension xfc
$ ana/sys
xfc
help

and
xfc sh file/brief
xfc show memory(/verify)
xfc sh summary/stat

and similar commands regularly may help monitor this.

This may vary with the patches applied on your system.

Regards

Gerard
Jim_McKinney
Honored Contributor

Re: XFC and memory management

Perhaps I should phrase this another way - if there's a run on the (memory free list) bank, how is it expected that the bank will be funded? - by trimming of the XFC or by outswapping idle processes? Who yields first? I'm interested in the ruleset that is applied here.
Wim Van den Wyngaert
Honored Contributor

Re: XFC and memory management

To be complete : I used XFC 2.0 dd aug-2002. The last version is of JUL-2004.

Wim
Wim
Jim_McKinney
Honored Contributor

Re: XFC and memory management

$ pipe prod show history | sear sys$pipe xfc
DEC AXPVMS VMS732_XFC V4.0 Patch Install 10-SEP-2007 20:19:07

$ ana/sys

OpenVMS (TM) system analyzer

SDA> xfc show sum

XFC Summary (current time 13-MAY-2008 05:55:37.58)
--------------------------------------------------
Extended File Cache V1.0 (Mar 8 2007 11:18:39)