<?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 maximum swap in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012728#M911673</link>
    <description>What is the maximum swap that HPUX 11.00 can support?  I know I can increase maxswapchunks to accomodate additional swap space but is there any limit.  My swap utilization at night sometime closed to 95-96%  I was thinking of adding additional swap but at this moment I already have 25GB of swap space.&lt;BR /&gt;&lt;BR /&gt;# swapinfo -tam&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev        1024     601     423   59%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev        4000     606    3394   15%       0       -    1  /dev/vg00/lvswap&lt;BR /&gt;dev       20000     611   19389    3%       0       -    1  /dev/vg01/lvswap&lt;BR /&gt;reserve       -   22164  -22164&lt;BR /&gt;memory     3963     892    3071   23%&lt;BR /&gt;total     28987   24874    4113   86%       -       0    -&lt;BR /&gt;</description>
    <pubDate>Tue, 01 Jul 2003 23:53:00 GMT</pubDate>
    <dc:creator>kholikt</dc:creator>
    <dc:date>2003-07-01T23:53:00Z</dc:date>
    <item>
      <title>maximum swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012728#M911673</link>
      <description>What is the maximum swap that HPUX 11.00 can support?  I know I can increase maxswapchunks to accomodate additional swap space but is there any limit.  My swap utilization at night sometime closed to 95-96%  I was thinking of adding additional swap but at this moment I already have 25GB of swap space.&lt;BR /&gt;&lt;BR /&gt;# swapinfo -tam&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev        1024     601     423   59%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev        4000     606    3394   15%       0       -    1  /dev/vg00/lvswap&lt;BR /&gt;dev       20000     611   19389    3%       0       -    1  /dev/vg01/lvswap&lt;BR /&gt;reserve       -   22164  -22164&lt;BR /&gt;memory     3963     892    3071   23%&lt;BR /&gt;total     28987   24874    4113   86%       -       0    -&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Jul 2003 23:53:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012728#M911673</guid>
      <dc:creator>kholikt</dc:creator>
      <dc:date>2003-07-01T23:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: maximum swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012729#M911674</link>
      <description>There is no real theoretical limit on swap for HP-UX.&lt;BR /&gt;&lt;BR /&gt;Long before you reach any limit, your system will go so slowly you'll pull any hair you have left out waiting for any command to run.&lt;BR /&gt;&lt;BR /&gt;If you are thinking about running swap much higher than twice physical memory, you need more physical memory.&lt;BR /&gt;&lt;BR /&gt;Between 1.5 and 2.0 times physical memory is considered optimal, but you'll get some debate on that.&lt;BR /&gt;&lt;BR /&gt;Based on your swapinfo, you have 25 Gig of Swap and around 4 Gigabytes of RAM.&lt;BR /&gt;&lt;BR /&gt;In my experience, adding swap will not help.  It will impede system performance.  Before you add any more swap, add memory, you'll get better performance.&lt;BR /&gt;&lt;BR /&gt;I'm attaching some performance measurement scripts that will show you whether your bottleneck is swap or memory.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 02 Jul 2003 00:04:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012729#M911674</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-02T00:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: maximum swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012730#M911675</link>
      <description>Hi,&lt;BR /&gt; Have alook at this thread.&lt;BR /&gt;&lt;A href="http://bizforums.itrc.hp.com/cm/QuestionAnswer/1,,0x9d7b42308663d611abdb0090277a778c,00.html" target="_blank"&gt;http://bizforums.itrc.hp.com/cm/QuestionAnswer/1,,0x9d7b42308663d611abdb0090277a778c,00.html&lt;/A&gt;</description>
      <pubDate>Wed, 02 Jul 2003 00:06:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012730#M911675</guid>
      <dc:creator>V.Tamilvanan</dc:creator>
      <dc:date>2003-07-02T00:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: maximum swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012731#M911676</link>
      <description>The maximum swap space is dictated by the maxswapchunks kernel parameter, which in HP-UX 11.0 has a max value of 16,384 which allows you to have 32,768 MB of swap space.&lt;BR /&gt;&lt;BR /&gt;By the way, here is a web page for the maxswapchunks kernel parm:&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparam.MaxSwapChunks.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparam.MaxSwapChunks.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;But instead of worrying about adding swap space, I'd worry more about adding more RAM.  You are VERY SERIOUSLY short of RAM if you have that much swap space and it actually being utilized that extensively.  You can get RAM very cheaply from Kingston, Dataram or Crucial and it works every bit as well as HP RAM at about 10-20% of the cost of HP RAM.&lt;BR /&gt;&lt;BR /&gt;What type of machine is this?  How much RAM does it have?  What application(s) are you running?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Jul 2003 00:09:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012731#M911676</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-07-02T00:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: maximum swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012732#M911677</link>
      <description>First off how much memory have you got??&lt;BR /&gt;Your problem is much more likely to be addressed by adding additonal memory or investigating what processes are using your memory?&lt;BR /&gt;&lt;BR /&gt;The idea is to ensure that your system does not swap at all.  Once a system starts swapping, performance severely suffers.&lt;BR /&gt;&lt;BR /&gt;My advice is to look at your memory issues &amp;amp; why the system is swapping in the first place.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Jul 2003 00:10:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012732#M911677</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2003-07-02T00:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: maximum swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012733#M911678</link>
      <description>I'd be very interested in knowing what applications you are running.&lt;BR /&gt;&lt;BR /&gt;I learned something new from Patrick, thanks for that.&lt;BR /&gt;&lt;BR /&gt;I've read the links and Patrick's comments and the issue here is not swap, its RAM.&lt;BR /&gt;&lt;BR /&gt;Please note that I've spoken to several HP CE's who stated if you put non HP ram in a system it invalidates the hardware contract.  &lt;BR /&gt;&lt;BR /&gt;I don't take that as the gospel, but if you want to maintain a hardware contact, it is something to think about.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 02 Jul 2003 00:23:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012733#M911678</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-02T00:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: maximum swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012734#M911679</link>
      <description>SEP and others,&lt;BR /&gt;&lt;BR /&gt;I have been told by HP CEs that IF we were to put non-HP ram in a machine and IF there happened to be a problem that MIGHT be related to RAM then the first thing they would do is pull out the non-HP RAM.  If that happens to solve the problem then you might have to pay for a time-and-materials support call. :(  BUT if the problem is unrelated to RAM, then what they don't know won't hurt them. ;)&lt;BR /&gt;&lt;BR /&gt;If HP would get realistic on their RAM pricing then we customers wouldn't have to resort to non-HP products. But as it is now, I recommend buying a minimum amount of HP Ram in the machine and the rest 3rd party.  It can cut the price of a machine by SEVERAL THOUSANDS of $$$$$.&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Jul 2003 00:40:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012734#M911679</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-07-02T00:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: maximum swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012735#M911680</link>
      <description>Actually, you're not using that much swap.  According to the numbers you posted, this system is using about 1.8GB of swap out of 25GB.  Also, memory allocation is at 23% (67% of RAM is free).   You have 22GB of reseerved space, which is swap that has not been allocated so far.&lt;BR /&gt;&lt;BR /&gt;Try tunning vmstat doring the night and checking for high po values, indicating memory pressure.&lt;BR /&gt;&lt;BR /&gt;Also check on sar -u for cpu wait I/O time, sar -b for buffer cache hots and misses, and sar -d for the amt. your disks are busy.</description>
      <pubDate>Wed, 02 Jul 2003 00:41:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012735#M911680</guid>
      <dc:creator>Bill Douglass</dc:creator>
      <dc:date>2003-07-02T00:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: maximum swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012736#M911681</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I've noticed there is an assumption that the memory line in swapinfo output is indicitive of RAM in the system. &lt;BR /&gt;I'd always assumed that this figure was not related to Physical RAM.  Anyone want to clarify this??&lt;BR /&gt;If you don't have glance then the "free" column (4K pages)in vmstat is a more reliable indicator of free memory.&lt;BR /&gt;I'd be looking very carefully at what your memory usage is - glance (-m option) can give you a good idea.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con</description>
      <pubDate>Wed, 02 Jul 2003 00:55:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012736#M911681</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2003-07-02T00:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: maximum swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012737#M911682</link>
      <description>When a program is executed, the newly created process will consume memory.  This memory is used to hold the process' text, data and stack areas. These areas are stored in  memory in units of pages. The working set changes as the program is executed. As the number of processes on a node increases, the available memory will  decrease. When the available memory drops to some threshold point, the o/s needs to take action in order to  'free up' some memory. This is accomplished by moving pages from memory to disk. This is known as 'paging'. The o/s will always try to move pages that are not in a current working set. So we cannot say how much swap space we need, but a general rule is 2 times of physical memory. &lt;BR /&gt;Hope this can give you some hints.   &lt;BR /&gt;</description>
      <pubDate>Wed, 02 Jul 2003 02:40:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012737#M911682</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-07-02T02:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: maximum swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012738#M911683</link>
      <description>You real problem has already been addressed but the answer to the question about what the maximum swap can be theoretically is one terabyte (1.09 trillion bytes). Remember that total swap space is defined by: swchunk x maxswapchunks x DEV_BSIZE.&lt;BR /&gt;Can I take an order for those disks please.  :-)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Trond</description>
      <pubDate>Wed, 02 Jul 2003 08:33:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maximum-swap/m-p/3012738#M911683</guid>
      <dc:creator>Trond Haugen</dc:creator>
      <dc:date>2003-07-02T08:33:13Z</dc:date>
    </item>
  </channel>
</rss>

