<?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 swap memory issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4760642#M610293</link>
    <description>&lt;!--!*#--&gt;Dear all,&lt;BR /&gt;&lt;BR /&gt;I am facing swap memory problem,&lt;BR /&gt;&lt;BR /&gt;actually while running glance i am getting swap memory utilization as 93 %&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Glance C.04.70.000             15:01:11 lambodar     ia64                                                 Current  Avg  High&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;CPU  Util   S        SN   NU       U                                                                        | 25%   33%   41%&lt;BR /&gt;Disk Util   F                 F                                                                             | 20%   14%   31%&lt;BR /&gt;Mem  Util   S                 SU                                                                UB        B | 99%   99%   99%&lt;BR /&gt;Swap Util   U                        UR                                                              R      | 93%   93%   93%&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;but when i run swapinfo -tam it showing following &lt;BR /&gt;&lt;BR /&gt;root #/ &amp;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        8192       0    8192    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev        8160       0    8160    0%       0       -    1  /dev/vg_sec_swap/lvol1&lt;BR /&gt;dev       16352       0   16352    0%       0       -    1  /dev/vg_tertiary_swap/lvol1&lt;BR /&gt;reserve       -   32704  -32704&lt;BR /&gt;memory    16362   13063    3299   80%&lt;BR /&gt;total     49066   45767    3299   93%       -       0    -&lt;BR /&gt;&lt;BR /&gt;hp rx 2660&lt;BR /&gt;physical memory 16GB&lt;BR /&gt;hpux 11v2&lt;BR /&gt;&lt;BR /&gt;please let me know what is the issue.&lt;BR /&gt;</description>
    <pubDate>Thu, 03 Mar 2011 09:41:32 GMT</pubDate>
    <dc:creator>sunil2singh</dc:creator>
    <dc:date>2011-03-03T09:41:32Z</dc:date>
    <item>
      <title>swap memory issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4760642#M610293</link>
      <description>&lt;!--!*#--&gt;Dear all,&lt;BR /&gt;&lt;BR /&gt;I am facing swap memory problem,&lt;BR /&gt;&lt;BR /&gt;actually while running glance i am getting swap memory utilization as 93 %&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Glance C.04.70.000             15:01:11 lambodar     ia64                                                 Current  Avg  High&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;CPU  Util   S        SN   NU       U                                                                        | 25%   33%   41%&lt;BR /&gt;Disk Util   F                 F                                                                             | 20%   14%   31%&lt;BR /&gt;Mem  Util   S                 SU                                                                UB        B | 99%   99%   99%&lt;BR /&gt;Swap Util   U                        UR                                                              R      | 93%   93%   93%&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;but when i run swapinfo -tam it showing following &lt;BR /&gt;&lt;BR /&gt;root #/ &amp;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        8192       0    8192    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev        8160       0    8160    0%       0       -    1  /dev/vg_sec_swap/lvol1&lt;BR /&gt;dev       16352       0   16352    0%       0       -    1  /dev/vg_tertiary_swap/lvol1&lt;BR /&gt;reserve       -   32704  -32704&lt;BR /&gt;memory    16362   13063    3299   80%&lt;BR /&gt;total     49066   45767    3299   93%       -       0    -&lt;BR /&gt;&lt;BR /&gt;hp rx 2660&lt;BR /&gt;physical memory 16GB&lt;BR /&gt;hpux 11v2&lt;BR /&gt;&lt;BR /&gt;please let me know what is the issue.&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Mar 2011 09:41:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4760642#M610293</guid>
      <dc:creator>sunil2singh</dc:creator>
      <dc:date>2011-03-03T09:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: swap memory issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4760643#M610294</link>
      <description>&lt;P&gt;HP-UX uses a swap "reservation" system. It will not allow a thread to allocate memory unless there is enough swap space available to accommodate the request. This insures that anything in physical memory will always be able to be paged out if necessary, and up to 7/8 of the physical memory is used as "pseudo swap."&lt;BR /&gt;&lt;BR /&gt;This means that on a 16GB system, you must have at least 2GB of device swap in order to be able to use all physical memory.&lt;BR /&gt;&lt;BR /&gt;There's a good discussion of it on this thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/System-Administration/Help-understand-swapping-in-HPUX/m-p/3961848#M291832" target="_blank"&gt;http://h30499.www3.hp.com/t5/System-Administration/Help-understand-swapping-in-HPUX/m-p/3961848#M291832&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From ITRC Royalty Don Morris:&lt;BR /&gt;-----&lt;BR /&gt;Memory/pseudo-swap is an accounting trick where the kernel allows physical memory to account for the swap reservation as well. The primary use of this is on systems with working sets that fit into physical memory so that they don't need large amounts of swap -- it is also used when memory is locked (and is unpagable). Since you mentioned Oracle which is a big lockable memory client -- I expect your memory line being 75% used reflects locked memory.&lt;BR /&gt;-----&lt;BR /&gt;&lt;BR /&gt;And he refers readers to the VM White Paper:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/1218/mem_mgt.html" target="_blank"&gt;http://docs.hp.com/en/1218/mem_mgt.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2011 20:52:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4760643#M610294</guid>
      <dc:creator>mvpel</dc:creator>
      <dc:date>2011-08-25T20:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: swap memory issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4760644#M610295</link>
      <description>you want to say my swap is  not going to use by unix until and unless my physical memory is completely  used ??</description>
      <pubDate>Thu, 03 Mar 2011 13:05:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4760644#M610295</guid>
      <dc:creator>sunil2singh</dc:creator>
      <dc:date>2011-03-03T13:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: swap memory issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4760645#M610296</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&amp;gt; you want to say my swap is not going to use by unix until and unless my physical memory is completely used ??&lt;BR /&gt;&lt;BR /&gt;PRIMARY SWAP is required at the minimum for your system to boot! You are slightly approaching the concept but physical memory is normally never completely used because the virtual memory subsystem has two thresholds for free pages called as "minfree" and "lotsfree" depending on which there would be a page out. So interms of paging in and paging out, there is a limit that has to be crossed but if your system is pretty idle, you could observe what the pis and pos would be on your vmstat output!.&lt;BR /&gt;&lt;BR /&gt;The algorithm that is followed is called as two hand clock where you talk about a "steal hand"... Pretty interesting!..&lt;BR /&gt;&lt;BR /&gt;So the question is are you facing a "performance" issue??&lt;BR /&gt;&lt;BR /&gt;Welcome to ITRC.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ismail Azad</description>
      <pubDate>Thu, 03 Mar 2011 18:29:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4760645#M610296</guid>
      <dc:creator>Ismail Azad</dc:creator>
      <dc:date>2011-03-03T18:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: swap memory issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4760646#M610297</link>
      <description>&amp;gt;my swap is not going to use by HP-UX until and unless my physical memory is completely used?&lt;BR /&gt;&lt;BR /&gt;Basically you have reserved all of your device swap, 45.7 Gb.  If your application actually touches all of those pages, your device swap will be used.&lt;BR /&gt;&lt;BR /&gt;So if you want to run more applications, you need more device swap.</description>
      <pubDate>Thu, 03 Mar 2011 18:56:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4760646#M610297</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-03-03T18:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: swap memory issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4760647#M610298</link>
      <description>also check &lt;BR /&gt;#ipcs -bom&lt;BR /&gt;&lt;BR /&gt;This will give the list of user using memeory segments &lt;BR /&gt;&lt;BR /&gt;Refer man page of ipcs for more info&lt;BR /&gt;&lt;BR /&gt;Regds,&lt;BR /&gt;INH</description>
      <pubDate>Mon, 07 Mar 2011 01:23:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4760647#M610298</guid>
      <dc:creator>INH</dc:creator>
      <dc:date>2011-03-07T01:23:48Z</dc:date>
    </item>
  </channel>
</rss>

