<?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: swapped out in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379537#M93831</link>
    <description>I hate to get involved in an already ongoing discussion, but.....&lt;BR /&gt;&lt;BR /&gt;I have once investigated a system where things went veeeery slow ( a lot of outswapped processes ) and the customer bought an extra Gb of memory, but it didn't help.&lt;BR /&gt;&lt;BR /&gt;It was the SYSGENparameter BALSETCNT that was to low. ( and it was out of synch with MAXPROCESSCNT.&lt;BR /&gt;&lt;BR /&gt;Sys_Parameters&lt;BR /&gt;&lt;BR /&gt;  BALSETCNT&lt;BR /&gt;&lt;BR /&gt;       BALSETCNT sets the number of balance set slots in the system page&lt;BR /&gt;       table. Each memory-resident working set requires one balance set&lt;BR /&gt;       slot.&lt;BR /&gt;&lt;BR /&gt;       You can monitor the active system with the DCL command SHOW&lt;BR /&gt;       MEMORY or the MONITOR PROCESSES command of the Monitor utility to&lt;BR /&gt;       determine the actual maximum number of working sets in memory. If&lt;BR /&gt;       this number is significantly lower than the value of BALSETCNT,&lt;BR /&gt;       this parameter value could be lowered. If all balance set slots&lt;BR /&gt;       are being used, raise the value of BALSETCNT.&lt;BR /&gt;&lt;BR /&gt;       Never set BALSETCNT to a value higher than 2 less than&lt;BR /&gt;       MAXPROCESSCNT. If physical memory is a significant system&lt;BR /&gt;       constraint, consider lowering this value even further. However,&lt;BR /&gt;       if your system runs with a number of processes nearly equal to&lt;BR /&gt;       MAXPROCESSCNT, lowering BALSETCNT forces swapping to occur, which&lt;BR /&gt;       can affect system performance.&lt;BR /&gt;&lt;BR /&gt;       BALSETCNT is no longer a strict setting of the number of&lt;BR /&gt;       processes that might be resident in memory. The swapper tries&lt;BR /&gt;       to reduce the number of resident processes down to BALSETCNT.&lt;BR /&gt;       However, if the total number of active processes and processes&lt;BR /&gt;       that have disabled swapping exceeds BALSETCNT, the swapper does&lt;BR /&gt;       not force processes out of memory just to meet the BALSETCNT&lt;BR /&gt;       setting.&lt;BR /&gt;&lt;BR /&gt;       Note that on VAX systems, virtual balance slots (VBS) can affect&lt;BR /&gt;       the values of BALSETCNT and MAXPROCESSCNT.&lt;BR /&gt;&lt;BR /&gt;       BALSETCNT is an AUTOGEN, GEN, DYNAMIC, and MAJOR parameter.&lt;BR /&gt;&lt;BR /&gt;fwiw,&lt;BR /&gt;&lt;BR /&gt;Hakan</description>
    <pubDate>Tue, 17 Mar 2009 05:21:47 GMT</pubDate>
    <dc:creator>Hakan Zanderau ( Anders</dc:creator>
    <dc:date>2009-03-17T05:21:47Z</dc:date>
    <item>
      <title>swapped out</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379522#M93816</link>
      <description>i have open vms7.3 and at times it go slow. i did a show system and i have copied it to the attachment. it says something about swapped out. what can be the problem and how can we solve it</description>
      <pubDate>Sun, 15 Mar 2009 21:21:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379522#M93816</guid>
      <dc:creator>adarsh_4</dc:creator>
      <dc:date>2009-03-15T21:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: swapped out</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379523#M93817</link>
      <description>Well, it looks like those processes are swapped out as the system tried to free up memory. The processes that are not swapped out are trimmed down to bare bones.&lt;BR /&gt;&lt;BR /&gt;Next command you want to use is SHWO MEMORY/FULL.&lt;BR /&gt;&lt;BR /&gt;It looks like the memory is totally overcommited. How much is there? What is it used by?&lt;BR /&gt;&lt;BR /&gt;My guess? You have some large (RDB?) global sections still stuck in memory waiting for a Database to shut down or something like that.&lt;BR /&gt;&lt;BR /&gt;Maybe that INSTALL LIST /GLOBAL can identify some good sized chunks of pages under the pgltcnt columns? check also for pending delete?&lt;BR /&gt;&lt;BR /&gt;Or maybe on the last reboot the system came up with a good chunk of memory missing?&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 15 Mar 2009 21:50:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379523#M93817</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2009-03-15T21:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: swapped out</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379524#M93818</link>
      <description>Short answer: You need more memory.&lt;BR /&gt;&lt;BR /&gt;You have many processes in COMO (Waiting for CPU, but outswapped) and RWMPB (Resource Wait, Modified Pagewriter Busy).&lt;BR /&gt;&lt;BR /&gt;Solution: Buy more memory, or reduce the load.&lt;BR /&gt;&lt;BR /&gt;Jon</description>
      <pubDate>Sun, 15 Mar 2009 21:58:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379524#M93818</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2009-03-15T21:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: swapped out</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379525#M93819</link>
      <description>thanks for the advise.</description>
      <pubDate>Sun, 15 Mar 2009 22:13:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379525#M93819</guid>
      <dc:creator>adarsh_4</dc:creator>
      <dc:date>2009-03-15T22:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: swapped out</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379526#M93820</link>
      <description>dharsh,&lt;BR /&gt;&lt;BR /&gt;As Hein and Jon have noted, it is quite possible that there is simply a need for more memory than there is presently in the system.&lt;BR /&gt;&lt;BR /&gt;However, the original post did not specify the hardware or architecture involved.&lt;BR /&gt;&lt;BR /&gt;It also mentioned nothing about what images are being run on this system.&lt;BR /&gt;&lt;BR /&gt;Before purchasing additional memory, I would investigate tuning the system. I have seen many situations where there are things that can be done to the system software configuration to address this problem. &lt;BR /&gt;&lt;BR /&gt;As Hein mentioned, a SHOW MEMORY/FULL is certainly a starting point. A look at the images being run by different users is also an important step.&lt;BR /&gt;&lt;BR /&gt;I once had a client who had almost the precisely same problem. System performance was unacceptable, and they were getting ready to ask upper (non-IT) management for significant funds to increase memory capacity or purchase a large system.&lt;BR /&gt;&lt;BR /&gt;However, they decided to ask me to take a look at the system. I found a large number of users running the same, multi-thousand page image. I checked the image, installed it, and then watched all of the swapping and paging stop as if by magic. &lt;BR /&gt;&lt;BR /&gt;Needless to say, the memory expansion project never happened.&lt;BR /&gt;&lt;BR /&gt;The moral of the tale: Tune before purchasing hardware, then one better knows if one actually NEEDS the extra hardware.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Sun, 15 Mar 2009 23:29:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379526#M93820</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2009-03-15T23:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: swapped out</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379527#M93821</link>
      <description>May be a process took A LOT of memory and then finsihed and this before you looked.&lt;BR /&gt;Check in accounting/full the field "peak working set".&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Mon, 16 Mar 2009 08:08:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379527#M93821</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2009-03-16T08:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: swapped out</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379528#M93822</link>
      <description>Adarsh,&lt;BR /&gt;    I would also check to see if automatic memory reclaimation is turned on.  (check value of sys param PFRATL, if = 0 then mem reclaimation is turned off.)    Set PFRATL to a value &amp;gt;0 (i.e. 1 or 2).&lt;BR /&gt;&lt;BR /&gt;    This will have the affect of reducing the Working sets of processes which have more than they need, and putting those pages back on the free list.&lt;BR /&gt;&lt;BR /&gt;Dave.</description>
      <pubDate>Mon, 16 Mar 2009 10:21:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379528#M93822</guid>
      <dc:creator>The Brit</dc:creator>
      <dc:date>2009-03-16T10:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: swapped out</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379529#M93823</link>
      <description>that problem i have is that i cant log in the system to see what is going on when it starts to freeze. i only manage to get the sh system command running. how can i know what is chewing up the memory after i restart the system and its working fine.</description>
      <pubDate>Mon, 16 Mar 2009 21:02:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379529#M93823</guid>
      <dc:creator>adarsh_4</dc:creator>
      <dc:date>2009-03-16T21:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: swapped out</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379530#M93824</link>
      <description>adarsh,&lt;BR /&gt;&lt;BR /&gt;I have seen similar problems. The system is not actually frozen, just bogged down. &lt;BR /&gt;&lt;BR /&gt;One useful piece of information would be the precise hardware configuration. There are several avenues to address this.&lt;BR /&gt;&lt;BR /&gt;One is to check the question I posed earlier: Are the various users running the same image (or a small number of images)? Is that image installed, so that memory is used more efficiently?&lt;BR /&gt;&lt;BR /&gt;If one must reboot at the point of failure, taking the steps to record a crash dump will allow analysis of precisely what happened, and what steps can be taken to prevent it from happening in the future.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Mon, 16 Mar 2009 21:40:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379530#M93824</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2009-03-16T21:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: swapped out</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379531#M93825</link>
      <description>adarsh,&lt;BR /&gt;&lt;BR /&gt;How frequently does this happen?&lt;BR /&gt;&lt;BR /&gt;Does the system eventually recover on its own, or do you have to crash/restart it?&lt;BR /&gt;&lt;BR /&gt;When did you first notice the problem?  Was something changed before you noticed the problem?&lt;BR /&gt;&lt;BR /&gt;Is there a pattern?  I.e. does it correlate to a specific time of the day, day of the week, or day of the month, possibly when extra work is being done?  Does it occur when doing a specific job (for example backups of RdB)?&lt;BR /&gt;&lt;BR /&gt;What type of system is this?&lt;BR /&gt;&lt;BR /&gt;$ write sys$output f$getsyi("HW_NAME")&lt;BR /&gt;&lt;BR /&gt;What does the following command show?&lt;BR /&gt;&lt;BR /&gt;$ show memory/all/full&lt;BR /&gt;&lt;BR /&gt;Please paste the output of the above commands into notepad, save as a .txt file, and attach to a note here.&lt;BR /&gt;&lt;BR /&gt;Does the system eventually recover on its own, or do you have to crash/restart it?&lt;BR /&gt;&lt;BR /&gt;If you are resorting to restarting the system, a good crash dump forced while the system is thrashing should be able to provide some useful info.&lt;BR /&gt;&lt;BR /&gt;Alternatively if the system does eventually recover on its own, turning on image accounting so it will be active the next time the system experiences problems will at least let you look that the things that exited just before the system recovered.&lt;BR /&gt;&lt;BR /&gt;Once the system's memory is overcommitted, and it has to use the page/swap files to "warehouse" processes memory, things quickly become unbearably slow, as the system is getting little real work done.  It spends its resources trying to preserve to contents of users working sets by copying memory to and from the page/swap files, and disk access is orders of magnitude slower than memory access.&lt;BR /&gt;&lt;BR /&gt;Jon</description>
      <pubDate>Mon, 16 Mar 2009 21:59:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379531#M93825</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2009-03-16T21:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: swapped out</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379532#M93826</link>
      <description>&amp;gt;&amp;gt; that problem i have is that i cant log in the system to see what is going on when it starts to freeze.&lt;BR /&gt;&lt;BR /&gt;See if DecAMDS is available for 7.3 and install that. With that you can access the box at driver level, below the stuck processed, from an other system (OpenVMS or Windoze)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; how can i know what is chewing up the memory after i restart the system and its working fine.&lt;BR /&gt;&lt;BR /&gt;Force a crashdump (google!), analyze, or rent someone to analyze for you.&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Mar 2009 22:20:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379532#M93826</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2009-03-16T22:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: swapped out</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379533#M93827</link>
      <description>I think you also have to ask if it is reasonable to have this many processes active.&lt;BR /&gt;&lt;BR /&gt;Do you have multiple copies of the the same process?  Is it supposed to work that way?  Or are more started because of a problem in the application (creating the resource problem)?  Or because response time was so bad that the user / application started another one (because of a resource problem)?&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Mar 2009 00:08:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379533#M93827</guid>
      <dc:creator>RBrown_1</dc:creator>
      <dc:date>2009-03-17T00:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: swapped out</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379534#M93828</link>
      <description>COMPAQ AlphaServer DS20E 666 MHz is the system specification. please also find attached the result of show memory/all/full&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Mar 2009 01:07:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379534#M93828</guid>
      <dc:creator>adarsh_4</dc:creator>
      <dc:date>2009-03-17T01:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: swapped out</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379535#M93829</link>
      <description>Hmm, &lt;BR /&gt;&lt;BR /&gt;1) It only has 1 GB memory. While that may be  enough, it is not worth your time, our time, or the end customer aggrevation to even think about it. Double that up... at least!&lt;BR /&gt;Rip out those small DIMMS and stick in some good-sized ones. HP, Ebay, islanco.com what-ever it takes. Go. Now!&lt;BR /&gt;&lt;BR /&gt;2) You don't indicate when the SHOW MEM was taken, but I guess there was not problem at that time, with 100 processes happily in memory. Keep running this report once a day or aonce every few hours to see if the system  'leaks' memory somewhere.&lt;BR /&gt;&lt;BR /&gt;Personally I like T4 for that, but can not be bother to reflect on whether that will work on V7.3 unless a serious compensation package is in place :-). Upgrade that box to 7.3-2 already!&lt;BR /&gt;&lt;BR /&gt;3) This appears to be a system with a database with its own caching. As such, the XFC has little value to add but burned almost 10% of the memory trying. Witness:  &lt;BR /&gt;In use (MBytes)  98.57    Percentage Read I/Os 91%&lt;BR /&gt; Read hit rate   21%   Write hit rate       0%&lt;BR /&gt;&lt;BR /&gt;So contrary to classic advice... tune it DOWN to a max of for example 30MB, monitor and re-tune. It's a dynamic sysgen param, at least it is on current OpenVMS versions.&lt;BR /&gt;(And turn it back to 100MB when you get more memory!)&lt;BR /&gt;&lt;BR /&gt;4) Nonpaged Dynamic Memory ...Maximum Size (MB) 135.42 &lt;BR /&gt;&lt;BR /&gt;That's a good bit if memory for a tiny box. It may well be correct, or it may indicate a problem. Is it creeping up?&lt;BR /&gt;Use ANAL/SYS poke at the problem with commands like SDA&amp;gt; SHWO POOL/PAGES/SUM&lt;BR /&gt;Where is the bulk allocated (LNM? KFE? ... )&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;&lt;BR /&gt;Hein van den Heuvel ( at gmail dot com )&lt;BR /&gt;HvdH Performance Consulting&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Mar 2009 01:31:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379535#M93829</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2009-03-17T01:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: swapped out</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379536#M93830</link>
      <description>Repost: ITRC glitched.&lt;BR /&gt;&lt;BR /&gt;Current laptops feature two and often four gigabytes.&lt;BR /&gt;&lt;BR /&gt;As for options available to you here, there are several AlphaServer DS20e boxes with four gigabytes of memory and a full system configuration for under US$900 for the full server configuration available on eBay.  International shipping to your location (in the Falklands/Maldives or the South Georgia Islands?) probably won't be cheap, but you'll also end up with spare parts to match your current Alpha box.  (The AlphaServer DS20e is rather heavy, though.)  Or work with somebody to buy one of these boxes and ship just the DIMMs.  Or purchase the DIMMs directly; the going street price for DIMMs looks to be around US$250 for a four-slot gigabyte.   Prices are higher, if you need assurances.&lt;BR /&gt;&lt;BR /&gt;As for alternatives, a very nice replacement HP rx2600 series Integrity Itanium box can be had for US$200.  A DVD drive, SCSI disks, software licenses and media, and arraigning international shipping, are extra. &lt;BR /&gt;&lt;BR /&gt;Or talk to your local HP rep or HP reseller, and start looking to upgrade the memory (and various other pieces as needed) on this box, or upgrade to a newer Alpha or to a new Integrity server.&lt;BR /&gt;&lt;BR /&gt;Otherwise, start removing active users and start removing active processes from this box.  Spread the load around the clock using off-hour batch and whatever you can manage.   This AlphaServer DS20e hardware is grievously overloaded, in its current configuration.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Mar 2009 02:36:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379536#M93830</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-03-17T02:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: swapped out</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379537#M93831</link>
      <description>I hate to get involved in an already ongoing discussion, but.....&lt;BR /&gt;&lt;BR /&gt;I have once investigated a system where things went veeeery slow ( a lot of outswapped processes ) and the customer bought an extra Gb of memory, but it didn't help.&lt;BR /&gt;&lt;BR /&gt;It was the SYSGENparameter BALSETCNT that was to low. ( and it was out of synch with MAXPROCESSCNT.&lt;BR /&gt;&lt;BR /&gt;Sys_Parameters&lt;BR /&gt;&lt;BR /&gt;  BALSETCNT&lt;BR /&gt;&lt;BR /&gt;       BALSETCNT sets the number of balance set slots in the system page&lt;BR /&gt;       table. Each memory-resident working set requires one balance set&lt;BR /&gt;       slot.&lt;BR /&gt;&lt;BR /&gt;       You can monitor the active system with the DCL command SHOW&lt;BR /&gt;       MEMORY or the MONITOR PROCESSES command of the Monitor utility to&lt;BR /&gt;       determine the actual maximum number of working sets in memory. If&lt;BR /&gt;       this number is significantly lower than the value of BALSETCNT,&lt;BR /&gt;       this parameter value could be lowered. If all balance set slots&lt;BR /&gt;       are being used, raise the value of BALSETCNT.&lt;BR /&gt;&lt;BR /&gt;       Never set BALSETCNT to a value higher than 2 less than&lt;BR /&gt;       MAXPROCESSCNT. If physical memory is a significant system&lt;BR /&gt;       constraint, consider lowering this value even further. However,&lt;BR /&gt;       if your system runs with a number of processes nearly equal to&lt;BR /&gt;       MAXPROCESSCNT, lowering BALSETCNT forces swapping to occur, which&lt;BR /&gt;       can affect system performance.&lt;BR /&gt;&lt;BR /&gt;       BALSETCNT is no longer a strict setting of the number of&lt;BR /&gt;       processes that might be resident in memory. The swapper tries&lt;BR /&gt;       to reduce the number of resident processes down to BALSETCNT.&lt;BR /&gt;       However, if the total number of active processes and processes&lt;BR /&gt;       that have disabled swapping exceeds BALSETCNT, the swapper does&lt;BR /&gt;       not force processes out of memory just to meet the BALSETCNT&lt;BR /&gt;       setting.&lt;BR /&gt;&lt;BR /&gt;       Note that on VAX systems, virtual balance slots (VBS) can affect&lt;BR /&gt;       the values of BALSETCNT and MAXPROCESSCNT.&lt;BR /&gt;&lt;BR /&gt;       BALSETCNT is an AUTOGEN, GEN, DYNAMIC, and MAJOR parameter.&lt;BR /&gt;&lt;BR /&gt;fwiw,&lt;BR /&gt;&lt;BR /&gt;Hakan</description>
      <pubDate>Tue, 17 Mar 2009 05:21:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379537#M93831</guid>
      <dc:creator>Hakan Zanderau ( Anders</dc:creator>
      <dc:date>2009-03-17T05:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: swapped out</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379538#M93832</link>
      <description>The previous output was from VMS 8.3&lt;BR /&gt;&lt;BR /&gt;This is VMS 7.3&lt;BR /&gt;&lt;BR /&gt;BALSETCNT (A,G,M)&lt;BR /&gt;BALSETCNT sets the number of balance set slots in the system page table. Each memory-resident working set requires one balance set slot.&lt;BR /&gt;&lt;BR /&gt;You can monitor the active system with the DCL command SHOW MEMORY or the MONITOR PROCESSES command of the Monitor utility to determine the actual maximum number of working sets in memory. If this number is significantly lower than the value of BALSETCNT, this parameter value may be lowered. If all balance set slots are being used, raise the value of BALSETCNT.&lt;BR /&gt;&lt;BR /&gt;Never set BALSETCNT to a value higher than 2 less than MAXPROCESSCNT. If physical memory is a significant system constraint, consider lowering this value even further. However, if your system runs with a number of processes nearly equal to MAXPROCESSCNT, lowering BALSETCNT will force swapping to occur, which can affect system performance. Note that virtual balance slots (VBS) can affect the values of BALSETCNT and MAXPROCESSCNT.&lt;BR /&gt;&lt;BR /&gt;Hakan</description>
      <pubDate>Tue, 17 Mar 2009 06:16:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379538#M93832</guid>
      <dc:creator>Hakan Zanderau ( Anders</dc:creator>
      <dc:date>2009-03-17T06:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: swapped out</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379539#M93833</link>
      <description>Here's the version I intended to paste...&lt;BR /&gt;&lt;BR /&gt;Hakan makes a good point. Setting BALSETCNT to a low value can cause swapping when there is plenty of free memory.&lt;BR /&gt;&lt;BR /&gt;However, that does not seem to be the case here, as evidenced by &lt;BR /&gt;&lt;BR /&gt;Slot Usage (slots):                Total        Free    Resident     Swapped&lt;BR /&gt;  Process Entry Slots                555         452         102           1&lt;BR /&gt;  Balance Set Slots                  553         452         100           1&lt;BR /&gt; &lt;BR /&gt;Perhaps MAXPROCESSCNT is higher than it should be for a system with 1GB of real memory, but it depends on what those processes are doing.&lt;BR /&gt;&lt;BR /&gt;adarsh, &lt;BR /&gt;&lt;BR /&gt;When was the last time you ran Autogen with feedback?  It may recommend lowering the MAXPROCESSCNT if the system hasn't seen a high number of concurrent processes.  Don't forget to save feedback after the system has been up for at least 24 hours, and has been under a typical load, in other words if you don't do processing on the weekends, and you rebooted on Friday night, saving feedback on Sunday wouldn't give an accurate representation of the load.  Ideally the system should have been through a high load period prior to saving feedback.&lt;BR /&gt;&lt;BR /&gt;As Hein suggested, you really should strongly consider an upgrade to at least 7.3-2.  I am not sure about this, but I believed the XFC had some "bugs" in the code that freed memory that have been improved in more recent versions, although that fix may be from the 8.3 era.&lt;BR /&gt;&lt;BR /&gt;This from the vms73_xfc-v0200.txt file &lt;A href="http://vms.tuwien.ac.at/deccampus/patches/vms73_xfc-v0200.txt" target="_blank"&gt;http://vms.tuwien.ac.at/deccampus/patches/vms73_xfc-v0200.txt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;5  PROBLEMS ADDRESSED IN VMS73_XFC-V0200 KIT&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;      o  Because of numerous problems  reported  against  XFC  in  V7.3,&lt;BR /&gt;         customers  were  instructed to disable XFC for V7.3 until these&lt;BR /&gt;         issues could be addressed.  This kit fixes  all  problems  with&lt;BR /&gt;         XFC reported by customers as of 16 July 2002.  Once this kit is&lt;BR /&gt;         installed XFC can be safely re-enabled.  Note  that  all  these&lt;BR /&gt;         issues were corrected for OpenVMS V7.3-1.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here's a thread describing problems in 7.3-2 where XFC was reluctant to free memory.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1231011" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1231011&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This described what the intended behavior is:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.arnes.si/news/archive/si.comp.os.vms/msg00412.html" target="_blank"&gt;http://www.arnes.si/news/archive/si.comp.os.vms/msg00412.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It is possible that the XFC was holding more (up to 1/2 of physical memory) and not releasing it when it should have.  So I would strongly consider following Hein's advice to restrict the maximum amount of memory that the XFC can allocate, at least until you determine that is not a contributing factor.&lt;BR /&gt;&lt;BR /&gt;Increasing your memory will with high probability boost your performance more than any other hardware upgrade, i.e. I would expect it to help more than either a faster CPU or faster disk storage.&lt;BR /&gt;&lt;BR /&gt;Jon&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Mar 2009 07:17:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379539#M93833</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2009-03-17T07:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: swapped out</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379540#M93834</link>
      <description>adarsh,&lt;BR /&gt;&lt;BR /&gt;With all due respect, I will differ somewhat with the suggestion from both Hein and Hoff to simply increase memory.&lt;BR /&gt;&lt;BR /&gt;Their argument is correct on the aspect of cost. However, I have seen more than my share of cases where increasing resources merely made a problem happen less, not disappear completely.&lt;BR /&gt;&lt;BR /&gt;It could very well be that your environment simply needs more memory. However, as has been pointed out by myself, Hakan, Jon, and others, there are quite a few possibilities of incorrect configuration that could be giving rise to the problem.&lt;BR /&gt;&lt;BR /&gt;My normal recommendation to clients is a quote from one of the final pages in Michael Crichton's "Andromeda Strain", to wit: "... That's the important thing. That we understand."&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Tue, 17 Mar 2009 12:58:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379540#M93834</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2009-03-17T12:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: swapped out</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379541#M93835</link>
      <description>There's the well-known "even virtual memory systems need physical memory" command and (as was used on signage at DECUS panels in years past) "buy more memory".  &lt;BR /&gt;&lt;BR /&gt;Is adding more physical memory a performance panacea?   No.  Beyond its use for overtly memory-starved systems (such as this one), simply more memory can compensate legions of tuning and configuration errors.  &lt;BR /&gt;&lt;BR /&gt;A gigabyte is often adequate for an Alpha workstation, but much less appropriate with an AlphaServer DS20e with this much activity.   This box almost certainly has XFC caching disabled, and has the overhead of the PFRAT-based trimming.  Slow image activations due to the lack of free memory.  Among other issues.&lt;BR /&gt;&lt;BR /&gt;There wouldn't be questions posted here if you were able to off-load this box.  Which means you're going to be looking at an incremental (memory) upgrade as a short-term problem for this (overloaded) server, or (better, but also more expensive) a more substantial server upgrade.&lt;BR /&gt;&lt;BR /&gt;I don't know what the going business rates for this sort of a specialization might be in your area of the world, but I doubt that the purchase (US$250 or so?) and installation price ($?) of a gigabyte memory upgrade here would cover what HP or a regional specialist performing formal OpenVMS troubleshooting and a performance review of this box would tend to charge.   (Does this box need performance tuning?  Likely yes.   But right now, the box needs to be offloaded and needs more physical memory more than it needs to be tuned.)&lt;BR /&gt;&lt;BR /&gt;ps: once you add a new bank of DIMMs into this box, do remember to change the SYS$SYSTEM:MODPARAMS.DAT setting for the physical memory value to reflect the additional memory (PHYSICAL_MEMORY), and run an @SYS$UPDATE:AUTOGEN pass with a reboot.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Mar 2009 15:47:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/swapped-out/m-p/4379541#M93835</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-03-17T15:47:00Z</dc:date>
    </item>
  </channel>
</rss>

