<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: XFC cache min size in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/xfc-cache-min-size/m-p/3235747#M66950</link>
    <description>jan,&lt;BR /&gt;&lt;BR /&gt;i attached CLUE informations. because the crash was operator forced, i dont know whether it will be very helpfull in that particular case.&lt;BR /&gt;&lt;BR /&gt;i attached SDA mem + XFC informations from the dump : since memory shortage has been sometimes troublesome on that machine, i checked for free pages, nonpaged pool, pagefile and that was all right at the time the machine no more worked properly.&lt;BR /&gt;&lt;BR /&gt;the machine did not hang completely. one could no more log in the machine using either SET HOST or TELNET, and interactive outswapped sessions no more reacted. the running application continued to react properly and to answer to network commands.&lt;BR /&gt;&lt;BR /&gt;louis&lt;BR /&gt;</description>
    <pubDate>Fri, 25 Feb 2005 05:11:22 GMT</pubDate>
    <dc:creator>Guinaudeau</dc:creator>
    <dc:date>2005-02-25T05:11:22Z</dc:date>
    <item>
      <title>XFC cache min size</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/xfc-cache-min-size/m-p/3235741#M66944</link>
      <description>A few questions regarding the stability and setting of the XFC cache.&lt;BR /&gt;&lt;BR /&gt;1) Does the VMS documentation state there is a minimum size for the XFC Cache (i.e., vcc_max_cache)? sysgen show legal values from 0 to -1 in MBs).&lt;BR /&gt;&lt;BR /&gt;2) HP analyzed a crash dump and said the system hung from vcc_max_cache being set too low (i.e., 16MB). They recommend setting it to 100MB. My questions is, why not 50MB? why not 10MB? What is magical about 100MB as a minimum size?&lt;BR /&gt;&lt;BR /&gt;3) Isn't this really a work around for a bug in VMS's XFC code?&lt;BR /&gt;&lt;BR /&gt;john</description>
      <pubDate>Wed, 31 Mar 2004 13:24:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/xfc-cache-min-size/m-p/3235741#M66944</guid>
      <dc:creator>John Eerenberg</dc:creator>
      <dc:date>2004-03-31T13:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: XFC cache min size</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/xfc-cache-min-size/m-p/3235742#M66945</link>
      <description>1) Does the VMS documentation state there is a minimum size for the XFC Cache (i.e., vcc_max_cache)? sysgen show legal values from 0 to -1 in MBs).&lt;BR /&gt;&lt;BR /&gt;No.  Even if set to 0, XFC will allocate &lt;BR /&gt;a minimum amount at boot time to allow &lt;BR /&gt;booting and some work.  I'll see about&lt;BR /&gt;putting some warnings in the next versions&lt;BR /&gt;of the system manager's manual.&lt;BR /&gt;&lt;BR /&gt;2) HP analyzed a crash dump and said the system hung from vcc_max_cache being set too low (i.e., 16MB). They recommend setting it to 100MB. My questions is, why not 50MB? why not 10MB? What is magical about 100MB as a minimum size?&lt;BR /&gt;&lt;BR /&gt;The system involved had 3GB of memory (if we're talking about the same problem).  100MB&lt;BR /&gt;seemed like a value that was sure not to &lt;BR /&gt;cause problems.  50MB or 25MB might be &lt;BR /&gt;enough, but without knowing more about the&lt;BR /&gt;number of files which need to be opened on&lt;BR /&gt;the system, 100MB is pretty much sure to&lt;BR /&gt;be safe and give some performance benefit&lt;BR /&gt;as well.   &lt;BR /&gt;&lt;BR /&gt;) Isn't this really a work around for a bug in VMS's XFC code?&lt;BR /&gt;&lt;BR /&gt;Yes.  XFC could do a better job of continuing when constrained in this way.  For&lt;BR /&gt;one thing, it would really have helped if XFC sent opcom messages when it realized it&lt;BR /&gt;was wedged up and unlikely to get free.  In&lt;BR /&gt;addition, it might also be nice to output&lt;BR /&gt;a message at boottime if memory looks tight&lt;BR /&gt;(the hard part is deciding what this might&lt;BR /&gt;mean).  &lt;BR /&gt;&lt;BR /&gt;Currently, XFC divides the memory&lt;BR /&gt;it does have into memory for data structures&lt;BR /&gt;(meta-data) and buffers.  In this case, we&lt;BR /&gt;ran out of memory for a structure for a&lt;BR /&gt;file open.  It recovered as much as possible,&lt;BR /&gt;but there wasn't any more to recover.  The&lt;BR /&gt;problem is that the current design doesn't&lt;BR /&gt;allow moving memory from the buffer space&lt;BR /&gt;to the data structure space.  Fixing that &lt;BR /&gt;will require a fair amount of surgery on&lt;BR /&gt;the memory management code.  I have some&lt;BR /&gt;ideas to help which should get into the&lt;BR /&gt;next release and set of remedials.&lt;BR /&gt;&lt;BR /&gt;XFC is really designed to work better with &lt;BR /&gt;larger amounts of memory.  On this system,&lt;BR /&gt;the cache hit rate was less than 2%.  In &lt;BR /&gt;addition, XFC was doing a lot of work to &lt;BR /&gt;scrounge up more memory which added more &lt;BR /&gt;overhead.  My guess is that the system &lt;BR /&gt;would probably have had better performance&lt;BR /&gt;with caching turned off altogether (I'm&lt;BR /&gt;curious how VIOC behaves on this system &lt;BR /&gt;with 16MB of memory).  &lt;BR /&gt;&lt;BR /&gt;Mark&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Mar 2004 14:47:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/xfc-cache-min-size/m-p/3235742#M66945</guid>
      <dc:creator>Mark Hopkins_5</dc:creator>
      <dc:date>2004-03-31T14:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: XFC cache min size</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/xfc-cache-min-size/m-p/3235743#M66946</link>
      <description>&amp;gt; "The system involved had 3GB of memory (if we're talking about the same problem)."&lt;BR /&gt;&lt;BR /&gt;Sounds like we are talking about the same system. &lt;BR /&gt;They had a potential memory problem. The app vendor reported to me that they seemed to have run out of page/swap file space which meant, in theory, on 3GB of RAM, about 4-5GB was swapped out. Setting vcc_max_cache to 16MB meant I could norrow down the page/swap problems. &lt;BR /&gt;&lt;BR /&gt;&amp;gt; "100MB seemed like a value that was sure not to cause problems. 50MB or 25MB might be enough, but without knowing more about the number of files which need to be opened on the system, 100MB is pretty much sure to be safe and give some performance benefit as well. "&lt;BR /&gt;&lt;BR /&gt;My goal was simply to restore response time to something they could live with and if more memory was needed, recommend how much. I couldn't do any indepth performance analysis, but I am guessing the IO to the database file was not getting a whole lot out of the cache at 240MB (the way I found it) and this afternoon's 500MB size. Curious because the database should be doing better. Don't know.&lt;BR /&gt;I wasn't too concerned with cache hit rates since I was just trying to get to the root of the problem; knowning the potential CPU overhead involved helps too.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; "Currently, XFC divides the memory it does have into memory for data structures (meta-data) and buffers."&lt;BR /&gt;Thanks for this info. It will help me in the future. I might even consider setting nocache on certain volumes at other sites (just a thought).&lt;BR /&gt;&lt;BR /&gt;&amp;gt; "XFC is really designed to work better with larger amounts of memory. On this system, the cache hit rate was less than 2%. In addition, XFC was doing a lot of work to scrounge up more memory which added more overhead. My guess is that the system would probably have had better performance with caching turned off altogether."&lt;BR /&gt;With the cache at 240MB, the hit rate was around 37% (if memory serves).&lt;BR /&gt;In retrospect, I wish I had simply turned it off. But at 4AM . . .&lt;BR /&gt;&lt;BR /&gt;&amp;gt; "(I'm curious how VIOC behaves on this system with 16MB of memory)."&lt;BR /&gt;I had a 128MB alphastation with 16MB in the VIOC. Worked fine . . .&lt;BR /&gt;&lt;BR /&gt;Maybe you and I will be on the same concall later today?&lt;BR /&gt;&lt;BR /&gt;Thanks for all your information.&lt;BR /&gt;&lt;BR /&gt;john</description>
      <pubDate>Wed, 31 Mar 2004 15:32:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/xfc-cache-min-size/m-p/3235743#M66946</guid>
      <dc:creator>John Eerenberg</dc:creator>
      <dc:date>2004-03-31T15:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: XFC cache min size</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/xfc-cache-min-size/m-p/3235744#M66947</link>
      <description>Many databases turn off caching directly on&lt;BR /&gt;each I/O (Oracle does this) and XFC won't &lt;BR /&gt;help the database performance directly.  Even&lt;BR /&gt;here, XFC can help by reducing overhead for I/O that is cached.  Predicting the performance impact of various combinations of cache memory is very tricky.  The results &lt;BR /&gt;are often counter-intuitive.  &lt;BR /&gt;&lt;BR /&gt;The cache effectiveness for a file can be &lt;BR /&gt;seen using either the XFC SDA extensions&lt;BR /&gt;(e.g. XFC SHOW FILE/BRIEF) or from DCL -&lt;BR /&gt;$ SHOW MEMORY/FILE=$7$DKA100:[000000]TEST.TXT&lt;BR /&gt;              System Memory Resources on 31-MAR-2004 15:54:46.19&lt;BR /&gt;&lt;BR /&gt;Extended File Cache File Statistics:&lt;BR /&gt;&lt;BR /&gt;_$7$DKA100:[000000]TEST.TXT;1 (closed)&lt;BR /&gt; Caching is enabled, active caching mode is Write Through&lt;BR /&gt;    Allocated pages          11307     Total QIOs              11306&lt;BR /&gt;    Read hits                 7122     Virtual reads           11306&lt;BR /&gt;    Virtual writes               0     Hit rate                   62 %&lt;BR /&gt;    Read aheads               3092     Read throughs           11306&lt;BR /&gt;    Write throughs               0     Read arounds                0&lt;BR /&gt;                                       Write arounds               0&lt;BR /&gt;&lt;BR /&gt;Total of 1 file for this volume&lt;BR /&gt;&lt;BR /&gt;For this particular problem, setting the &lt;BR /&gt;volume nocache won't help.  The reason is&lt;BR /&gt;that XFC still needs to track open files to&lt;BR /&gt;maintain cache coherancy in a cluster.  It&lt;BR /&gt;is perfectly reasonable and common to have &lt;BR /&gt;a volume mounted no cache on one node and&lt;BR /&gt;/cache on another.  An additional problem is&lt;BR /&gt;that currently mounting /nocache also turns&lt;BR /&gt;off all file system caches (XQP) which may &lt;BR /&gt;be important.&lt;BR /&gt;&lt;BR /&gt;Turning off caching on a node (setting&lt;BR /&gt;vcc_cache to 0) will turn off caching &lt;BR /&gt;cluster-wide.   &lt;BR /&gt;&lt;BR /&gt;The question about VIOC was aimed at performance.  VIOC uses different memory &lt;BR /&gt;management techniques and much, much smaller&lt;BR /&gt;data structures.  The question is what kind&lt;BR /&gt;of hit rates would you get on this system.&lt;BR /&gt;The default of 16MB for VIOC (3200 pagelets)&lt;BR /&gt;is almost always too small for good performance on a big, active system.  &lt;BR /&gt;&lt;BR /&gt;I haven't been asked to join the concall, but&lt;BR /&gt;I'll be in all afternoon and am more than&lt;BR /&gt;happy to talk.&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Wed, 31 Mar 2004 16:06:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/xfc-cache-min-size/m-p/3235744#M66947</guid>
      <dc:creator>Mark Hopkins_5</dc:creator>
      <dc:date>2004-03-31T16:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: XFC cache min size</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/xfc-cache-min-size/m-p/3235745#M66948</link>
      <description>i red in another thread that HP recommended you a min size of 128MB.&lt;BR /&gt;&lt;BR /&gt;we have some test systems with release 7.3-2 with main memory of 512MB or 768MB and VCC_MAX_SIZE=-1 and VCC$MIN_CACHE_SIZE, where XFC shrinks to a smaller cache size than 128MB.&lt;BR /&gt;&lt;BR /&gt;eg, &lt;BR /&gt;main memory = 768MB &lt;BR /&gt;VCC$MIN_CACHE_SIZE=44MB&lt;BR /&gt;XFC allocated = 66MB&lt;BR /&gt;&lt;BR /&gt;It is not feasible to reserve 100MB or 128MB for XFC on that machine, and since this is a test system (production systems have rather large memory and 100MB XFC), the alternative would be to switch off the feature or mount/nocache.&lt;BR /&gt;&lt;BR /&gt;The test system works properly most of the time, but we have from time to time unexplained crash where the system hung, usually after several stop/start of the application. We can halt the machine and crash dump. Actually this happened today.&lt;BR /&gt;&lt;BR /&gt;I would like to know whether one can quickly identify the sort of XFC troubles described, for example using a SDA XFC subcommand. I noticed in the last dump that there was no more PECB freepkt in the XFC SHOW MEMORY statistics.&lt;BR /&gt;&lt;BR /&gt;I can send some statistics of this crash dump if it helps.&lt;BR /&gt;&lt;BR /&gt;louis&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Feb 2005 10:16:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/xfc-cache-min-size/m-p/3235745#M66948</guid>
      <dc:creator>Guinaudeau</dc:creator>
      <dc:date>2005-02-24T10:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: XFC cache min size</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/xfc-cache-min-size/m-p/3235746#M66949</link>
      <description>post the clue file for the crash as a start</description>
      <pubDate>Thu, 24 Feb 2005 16:40:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/xfc-cache-min-size/m-p/3235746#M66949</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-02-24T16:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: XFC cache min size</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/xfc-cache-min-size/m-p/3235747#M66950</link>
      <description>jan,&lt;BR /&gt;&lt;BR /&gt;i attached CLUE informations. because the crash was operator forced, i dont know whether it will be very helpfull in that particular case.&lt;BR /&gt;&lt;BR /&gt;i attached SDA mem + XFC informations from the dump : since memory shortage has been sometimes troublesome on that machine, i checked for free pages, nonpaged pool, pagefile and that was all right at the time the machine no more worked properly.&lt;BR /&gt;&lt;BR /&gt;the machine did not hang completely. one could no more log in the machine using either SET HOST or TELNET, and interactive outswapped sessions no more reacted. the running application continued to react properly and to answer to network commands.&lt;BR /&gt;&lt;BR /&gt;louis&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Feb 2005 05:11:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/xfc-cache-min-size/m-p/3235747#M66950</guid>
      <dc:creator>Guinaudeau</dc:creator>
      <dc:date>2005-02-25T05:11:22Z</dc:date>
    </item>
  </channel>
</rss>

