<?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: swapinfo showing wrong memory info in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-showing-wrong-memory-info/m-p/5262132#M472240</link>
    <description>see above</description>
    <pubDate>Tue, 09 Nov 2010 19:00:10 GMT</pubDate>
    <dc:creator>balaji_vvv</dc:creator>
    <dc:date>2010-11-09T19:00:10Z</dc:date>
    <item>
      <title>swapinfo showing wrong memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-showing-wrong-memory-info/m-p/5262125#M472233</link>
      <description>We have system with 16G physical memory.  But swapinfo -tam showing only  12G?  But glance and other commands showing right memory 16g?&lt;BR /&gt;OS is 11iv1 on PA-risc&lt;BR /&gt;&lt;BR /&gt;            Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;&lt;BR /&gt;dev        4096       0    4096    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;&lt;BR /&gt;dev       12000       0   12000    0%       0       -    2  /dev/vg01/lvol11&lt;BR /&gt;&lt;BR /&gt;reserve       -    5033   -5033&lt;BR /&gt;&lt;BR /&gt;memory    12724    9210    3514   72%&lt;BR /&gt;&lt;BR /&gt;total     28820   14243   14577   49%       -       0    -&lt;BR /&gt;&lt;BR /&gt;Here is part of glance memory output&lt;BR /&gt;&lt;BR /&gt;Total VM :  5.29gb   Sys Mem  :  2.57gb   User Mem:  3.57gb   Phys Mem:  16.0gb&lt;BR /&gt;&lt;BR /&gt;Active VM:  2.75gb   Buf Cache:  8.00gb   Free Mem:  1.86gb</description>
      <pubDate>Tue, 09 Nov 2010 16:42:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-showing-wrong-memory-info/m-p/5262125#M472233</guid>
      <dc:creator>balaji_vvv</dc:creator>
      <dc:date>2010-11-09T16:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo showing wrong memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-showing-wrong-memory-info/m-p/5262126#M472234</link>
      <description>The 'memory' line of swapinfo does NOT mean the total memory in the system.&lt;BR /&gt;&lt;BR /&gt;Have a look at the 'swapinfo' man page.  Basically the memory line is the amount of memory used for 'pseudo-swap', which is roughly 75% of the total RAM in the system.&lt;BR /&gt;&lt;BR /&gt;So if you have 16GB of RAM, the approximately 12GB value in the memory line is absolutely correct.</description>
      <pubDate>Tue, 09 Nov 2010 16:46:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-showing-wrong-memory-info/m-p/5262126#M472234</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2010-11-09T16:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo showing wrong memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-showing-wrong-memory-info/m-p/5262127#M472235</link>
      <description>Thank you, that make sense.  But in my other servers i'm seeing my physical memory and swapinfo memory matches.  I need to tune the buffer cache anyways, its too much 8g?</description>
      <pubDate>Tue, 09 Nov 2010 16:53:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-showing-wrong-memory-info/m-p/5262127#M472235</guid>
      <dc:creator>balaji_vvv</dc:creator>
      <dc:date>2010-11-09T16:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo showing wrong memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-showing-wrong-memory-info/m-p/5262128#M472236</link>
      <description>&amp;gt;&amp;gt;Thank you, that make sense. But in my &lt;BR /&gt;&amp;gt;&amp;gt;other servers i'm seeing my physical &lt;BR /&gt;&amp;gt;&amp;gt;memory and swapinfo memory matches. I need &lt;BR /&gt;&amp;gt;&amp;gt;to tune the buffer cache anyways, its too &lt;BR /&gt;&amp;gt;&amp;gt;much 8g?&lt;BR /&gt;&lt;BR /&gt;Examples, please?  I've never seen an instance where the 'memory' line in swapinfo matches the amount of RAM in the system.&lt;BR /&gt;&lt;BR /&gt;Also, this has nothing to do with buffer cache.  The 'memory' line is 'pseudo-swap' which is enabled by the 'swapmem_on' kernel parameter being set to '1' (at least up to HP-UX 11.23 -- I think it is always on in 11.31).&lt;BR /&gt;&lt;BR /&gt;Having buffer cache set to 8GB may be fine for you, but you should check the usage.  You can check your read and write buffer cache activity by using 'sar -b' ('man sar' for details).&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Nov 2010 16:59:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-showing-wrong-memory-info/m-p/5262128#M472236</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2010-11-09T16:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo showing wrong memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-showing-wrong-memory-info/m-p/5262129#M472237</link>
      <description>Balaji,&lt;BR /&gt;&lt;BR /&gt;The answers are absolutely right. The mem column of swapinfo is always pseudo swap when memory paging is enabled and is always enabled in HPUX 11iv3. Therefore it should not be reflecting the complete physical memory. Glance and the other commands are real time monitoring tools and will show you the right output and so will the commands machinfo and print_manifest.</description>
      <pubDate>Tue, 09 Nov 2010 18:28:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-showing-wrong-memory-info/m-p/5262129#M472237</guid>
      <dc:creator>Ismail Azad</dc:creator>
      <dc:date>2010-11-09T18:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo showing wrong memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-showing-wrong-memory-info/m-p/5262130#M472238</link>
      <description>Thanks you all. &lt;BR /&gt;See above</description>
      <pubDate>Tue, 09 Nov 2010 18:32:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-showing-wrong-memory-info/m-p/5262130#M472238</guid>
      <dc:creator>balaji_vvv</dc:creator>
      <dc:date>2010-11-09T18:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo showing wrong memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-showing-wrong-memory-info/m-p/5262131#M472239</link>
      <description>a)&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;&lt;BR /&gt;dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2&lt;BR /&gt;dev 12000 0 12000 0% 0 - 2 /dev/vg01/lvol11&lt;BR /&gt;reserve - 5033 -5033&lt;BR /&gt;memory 12724 9210 3514 72%&lt;BR /&gt;total 28820 14243 14577 49% - 0 -&lt;BR /&gt;&lt;BR /&gt;Here is how you find your total swap:&lt;BR /&gt;&lt;BR /&gt;dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2&lt;BR /&gt;dev 12000 0 12000 0% 0 - 2 /dev/vg01/lvol11&lt;BR /&gt;&lt;BR /&gt;(* make sure you add up all the 'dev' swap not just line 2 *)&lt;BR /&gt;&lt;BR /&gt;b) Tuning Buffer Cache&lt;BR /&gt;&lt;BR /&gt;Question:  Do users complain of the system hanging for a few seconds?  &lt;BR /&gt;&lt;BR /&gt;This is often an indication of a need for buffer cache tuning.  Use sar -b and check these parameters:&lt;BR /&gt;&lt;BR /&gt;%rcache &amp;gt;= 90, and %wcache &amp;gt;= 70%&lt;BR /&gt;&lt;BR /&gt;You can also adjust the kernel parameters:&lt;BR /&gt;'dbc_min_pct' from (* 2 -to- 5 *) &amp;amp; 'dbc_max_pct' (* 5 -to- 10 *) kernel parameters.&lt;BR /&gt;&lt;BR /&gt;Tune until the users say the hesitation goes away (* or gets as low as you can get it. *)&lt;BR /&gt;&lt;BR /&gt;Note:  This is problem is also often fixed by have the DBA re-indexing his database, especially in Oracle, which uses it's own cache in the SGA as well as the O/S system cache.&lt;BR /&gt;&lt;BR /&gt;Also note that raw logical volumes have no buffer cache since the database is now performing reads and writes and the oupput from sar -b will be fairly worthless.&lt;BR /&gt;&lt;BR /&gt;And finally note that unordered data, like a filesystem dedicated to writing oracle archive logs, will never see high cache hit rates because it is a flat file and not an ordered realational database.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Nov 2010 18:44:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-showing-wrong-memory-info/m-p/5262131#M472239</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2010-11-09T18:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo showing wrong memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-showing-wrong-memory-info/m-p/5262132#M472240</link>
      <description>see above</description>
      <pubDate>Tue, 09 Nov 2010 19:00:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-showing-wrong-memory-info/m-p/5262132#M472240</guid>
      <dc:creator>balaji_vvv</dc:creator>
      <dc:date>2010-11-09T19:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo showing wrong memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-showing-wrong-memory-info/m-p/5262133#M472241</link>
      <description>As long as you learned how to add, np.</description>
      <pubDate>Tue, 09 Nov 2010 20:37:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-showing-wrong-memory-info/m-p/5262133#M472241</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2010-11-09T20:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo showing wrong memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-showing-wrong-memory-info/m-p/5262134#M472242</link>
      <description>&lt;!--!*#--&gt;Hi (especially Patrick),&lt;BR /&gt;&lt;BR /&gt;I have at least 4 systems where the memory line in swapinfo shows the whole physical memory.&lt;BR /&gt;&lt;BR /&gt;System Hardware&lt;BR /&gt;Model: ia64 hp server rx4640 &lt;BR /&gt;Main Memory:        8160 MB&lt;BR /&gt;&lt;BR /&gt;HP UX B.11.23&lt;BR /&gt;&lt;BR /&gt;borpd021:/homeroot# 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       12288     115   12173    1%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -    5148   -5148&lt;BR /&gt;memory     8161    2674    5487   33%&lt;BR /&gt;total     20449    7937   12512   39%       -       0    -&lt;BR /&gt;Regards,&lt;BR /&gt;Roland</description>
      <pubDate>Wed, 10 Nov 2010 09:02:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-showing-wrong-memory-info/m-p/5262134#M472242</guid>
      <dc:creator>Roland van Lochem</dc:creator>
      <dc:date>2010-11-10T09:02:18Z</dc:date>
    </item>
  </channel>
</rss>

