<?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: swainfo and memory usage issue... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631967#M237835</link>
    <description>Collect somre more data and see it this situation is temporary.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/system.perf.sh" target="_blank"&gt;http://www.hpux.ws/system.perf.sh&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Post kmtune output to this thread.&lt;BR /&gt;&lt;BR /&gt;An article:&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000079989196" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000079989196&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/enterService.do?category=c1s3ss6" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/enterService.do?category=c1s3ss6&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I'd say your system is being stressed.&lt;BR /&gt;&lt;BR /&gt;The load could be too high or it could be a poorly written application. What does the server do? What does it run?&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Wed, 21 Sep 2005 23:27:48 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2005-09-21T23:27:48Z</dc:date>
    <item>
      <title>swainfo and memory usage issue...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631965#M237833</link>
      <description>Dear all,&lt;BR /&gt;I have to face a trouble: current, my system's memory is always almost used.&lt;BR /&gt;I check in glance for a few days and the usaged very hight:&lt;BR /&gt;Mem  Util .........  95%   97%  100%&lt;BR /&gt;Swap Util .........  80%   85%   95%&lt;BR /&gt;&lt;BR /&gt;The out put of swapinfo:&lt;BR /&gt;             Kb      Kb      Kb   PCT  START/      Kb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev     8388608 1015236 7373372   12%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       - 6758764 -6758764&lt;BR /&gt;memory  12237992 7759204 4478788   63%&lt;BR /&gt;&lt;BR /&gt;The total of RAM in my system is 16GB:&lt;BR /&gt;(here is from cstm)&lt;BR /&gt;Basic Memory Description&lt;BR /&gt;&lt;BR /&gt;    Module Type: MEMORY&lt;BR /&gt;    Total Configured Memory   : 16384 MB&lt;BR /&gt;    Page Size: 4096 Bytes&lt;BR /&gt;&lt;BR /&gt;    Memory interleaving is supported on this machine and is ON.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I think there is something wrong when setting for memory.&lt;BR /&gt;Could someone give me some advice?&lt;BR /&gt;What should I do?&lt;BR /&gt;Do I have modify any kernel parameter?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any advice will much appreciated!&lt;BR /&gt;&lt;BR /&gt;Regard,&lt;BR /&gt;Hoang Chi Cong</description>
      <pubDate>Wed, 21 Sep 2005 22:22:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631965#M237833</guid>
      <dc:creator>Hoang Chi Cong_1</dc:creator>
      <dc:date>2005-09-21T22:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: swainfo and memory usage issue...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631966#M237834</link>
      <description>&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=791999" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=791999&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 21 Sep 2005 22:56:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631966#M237834</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-09-21T22:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: swainfo and memory usage issue...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631967#M237835</link>
      <description>Collect somre more data and see it this situation is temporary.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/system.perf.sh" target="_blank"&gt;http://www.hpux.ws/system.perf.sh&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Post kmtune output to this thread.&lt;BR /&gt;&lt;BR /&gt;An article:&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000079989196" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000079989196&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/enterService.do?category=c1s3ss6" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/enterService.do?category=c1s3ss6&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I'd say your system is being stressed.&lt;BR /&gt;&lt;BR /&gt;The load could be too high or it could be a poorly written application. What does the server do? What does it run?&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 21 Sep 2005 23:27:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631967#M237835</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-09-21T23:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: swainfo and memory usage issue...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631968#M237836</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Allthough the memory is 16Gb the primary swap in only 8Gb. Is it done intentionally ?&lt;BR /&gt;&lt;BR /&gt;Please post&lt;BR /&gt;#swapinfo -atm&lt;BR /&gt;&lt;BR /&gt;Also what is the application running on the system? Even in this scenario if everything is running fine and processes does not go out of memory then everything should be fine but you should plan for memory upgrade.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Thu, 22 Sep 2005 00:06:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631968#M237836</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-09-22T00:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: swainfo and memory usage issue...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631969#M237837</link>
      <description>Thanks to all.&lt;BR /&gt;&lt;BR /&gt;S.E.P, I attached the kernel parameters...&lt;BR /&gt;&lt;BR /&gt;The out put of swapinfo -atm:&lt;BR /&gt;&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     987    7205   12%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -    6603   -6603&lt;BR /&gt;memory    11951    7763    4188   65%&lt;BR /&gt;total     20143   15353    4790   76%       -       0    -&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Rgd,&lt;BR /&gt;Hoang Chi Cong</description>
      <pubDate>Thu, 22 Sep 2005 00:34:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631969#M237837</guid>
      <dc:creator>Hoang Chi Cong_1</dc:creator>
      <dc:date>2005-09-22T00:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: swainfo and memory usage issue...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631970#M237838</link>
      <description>We normally  have swap 2X RAM, unless specified by your application.You must calculate your max swap like this:&lt;BR /&gt;&lt;BR /&gt;max swap = (maxswapchunks x swchunk x 1024)&lt;BR /&gt;&lt;BR /&gt;I see your swap = 20 GB, I think you must have at least 36 GB swap because you have 16 GB RAM.</description>
      <pubDate>Thu, 22 Sep 2005 00:48:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631970#M237838</guid>
      <dc:creator>morganelan</dc:creator>
      <dc:date>2005-09-22T00:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: swainfo and memory usage issue...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631971#M237839</link>
      <description>Sorry I mistake to type, I mean that your swap = 20 GB, I think you must have at least 32 GB swap (2 x 16 GB) because you have 16 GB RAM.</description>
      <pubDate>Thu, 22 Sep 2005 00:54:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631971#M237839</guid>
      <dc:creator>morganelan</dc:creator>
      <dc:date>2005-09-22T00:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: swainfo and memory usage issue...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631972#M237840</link>
      <description>Do you have glance?? glance -m&lt;BR /&gt;&lt;BR /&gt;How is memeory used?? If buffer cache used optimum?? &lt;BR /&gt;sar -b 2 5&lt;BR /&gt;&lt;BR /&gt;Is write hit ration good?? Should be in the range to about 90 or more.&lt;BR /&gt;&lt;BR /&gt;Your kernel settings look ok, except following. (May depend upon your apps)&lt;BR /&gt;&lt;BR /&gt;nfile&lt;BR /&gt;msgmax&lt;BR /&gt;msgmnb&lt;BR /&gt;&lt;BR /&gt;Watch the real time usage and modify ccordingly??&lt;BR /&gt;&lt;BR /&gt;sar -v 3 4&lt;BR /&gt;glance -t</description>
      <pubDate>Thu, 22 Sep 2005 00:58:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631972#M237840</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-09-22T00:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: swainfo and memory usage issue...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631973#M237841</link>
      <description>From your kernel parameters:&lt;BR /&gt;When I calculate (maxswapchunks x swchunk x 1024) to get maximum swap device can be configured on your server is: 4096x2048x1024= 8589934592 == 8 GB, I think you must change your maxswapchunks and swchunk to get at least 32 GB. &lt;BR /&gt;</description>
      <pubDate>Thu, 22 Sep 2005 01:03:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631973#M237841</guid>
      <dc:creator>morganelan</dc:creator>
      <dc:date>2005-09-22T01:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: swainfo and memory usage issue...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631974#M237842</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I suspect dbc_max_pct and dbc_min_pct values. These are set a bit high 30 &amp;amp; 10. Allthough in my case with similar memory the same is set to 8 &amp;amp; 5 respectively. But it also depends on application. What is that ?&lt;BR /&gt;&lt;BR /&gt;-Devender</description>
      <pubDate>Thu, 22 Sep 2005 01:05:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631974#M237842</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-09-22T01:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: swainfo and memory usage issue...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631975#M237843</link>
      <description>check the following kernel parameters:&lt;BR /&gt;&lt;BR /&gt;dbc_max_pct&lt;BR /&gt;dbc_min_pct&lt;BR /&gt;&lt;BR /&gt;If you don't need file cache frequently (for example raw device instead of file system), you can decrase dbc_max_pct to 5 or 10. Decreasing dbc_max_pct will give you more memory for applications.&lt;BR /&gt;&lt;BR /&gt;usage:&lt;BR /&gt;kcusage -l dbc_max_pct&lt;BR /&gt;kcusage -l dbc_min_pct&lt;BR /&gt;&lt;BR /&gt;kctune dbc_max_pct &lt;VALUE&gt;&lt;BR /&gt;&lt;/VALUE&gt;</description>
      <pubDate>Thu, 22 Sep 2005 02:22:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631975#M237843</guid>
      <dc:creator>Hakan Aribas</dc:creator>
      <dc:date>2005-09-22T02:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: swainfo and memory usage issue...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631976#M237844</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Let see on the attachment. I have checked and log the out put.&lt;BR /&gt;&lt;BR /&gt;My system is a banking system. We use Oracle 8i Database and Tuxedo as MiddleWare and of course, our system is a OLTP system.&lt;BR /&gt;&lt;BR /&gt;Regard,&lt;BR /&gt;Hoang Chi Cong&lt;BR /&gt;&lt;BR /&gt;Point will be submit later...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Sep 2005 02:51:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631976#M237844</guid>
      <dc:creator>Hoang Chi Cong_1</dc:creator>
      <dc:date>2005-09-22T02:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: swainfo and memory usage issue...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631977#M237845</link>
      <description>Hi;&lt;BR /&gt;Try running the following command" &lt;BR /&gt;ps -elf|awk '{print $10, $3, $4, $15, $16}'|sort -nr|more&lt;BR /&gt;&lt;BR /&gt;This gives you all the current processes accoring to the most mem hungry, then check out who is out of order. Below is a sample of my oracle8i &amp;amp; Tuxedo on one of my servers where the first coloum is memory by page size, in my case is 512 byte&lt;BR /&gt;&lt;BR /&gt;@@@@@@@@@&lt;BR /&gt;124:28 /opt/ecc/exec/MHR520/mhragent&lt;BR /&gt;6542 indepth 23293 55:41 pss_rx&lt;BR /&gt;5390 indepth 23274 15:51 /indepth/java/1.4.2/JRE/bin/PA_RISC2.0/java&lt;BR /&gt;5263 oracle8i 16329 2:39 oracleSYS8&lt;BR /&gt;5247 oracle8i 15645 0:45 oracleSYS8&lt;BR /&gt;5231 oracle8i 17422 7:12 oracleSYS8&lt;BR /&gt;5179 oracle8i 17094 4:35 oracleSYS8&lt;BR /&gt;5023 oracle8i 15821 0:14 oracleSYS8&lt;BR /&gt;4931 oracle8i 16577 0:22 oracleSYS8&lt;BR /&gt;4923 oracle8i 7485 0:23 oracleSYS8&lt;BR /&gt;4923 oracle8i 15845 0:01 oracleSYS8&lt;BR /&gt;4859 oracle8i 24918 oracleSYS8 (LOCAL=NO)&lt;BR /&gt;4851 oracle8i 27639 oracleSYS8 (LOCAL=NO)&lt;BR /&gt;4843 oracle8i 14400 0:03 oracleSYS8&lt;BR /&gt;4843 oracle8i 128 oracleSYS8 (LOCAL=NO)&lt;BR /&gt;4675 oracle8i 15606 0:00 oracleSYS8&lt;BR /&gt;4551 oracle8i 9341 2:45 ora_dbw0_SYS8&lt;BR /&gt;4539 oracle8i 9343 2:43 ora_dbw1_SYS8&lt;BR /&gt;4431 oracle8i 28970 oracleSYS8 (LOCAL=NO)&lt;BR /&gt;4410 root 3686 11:25 /opt/ecc/exec/EGO520/egoagent&lt;BR /&gt;4407 oracle8i 16745 5:02 oracleSYS8&lt;BR /&gt;@@@@@@@&lt;BR /&gt;&lt;BR /&gt;Matthew from Boston</description>
      <pubDate>Fri, 23 Sep 2005 12:12:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631977#M237845</guid>
      <dc:creator>Matthew Ghofrani</dc:creator>
      <dc:date>2005-09-23T12:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: swainfo and memory usage issue...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631978#M237846</link>
      <description>First thing the values of dbc_min_pct and dbc_max_pct are seems to be little high.&lt;BR /&gt;dbc_max_pct=30% i.e. 4.80GB of physical memory is used as system buffer. The usage of buffer seems to be OK in term of % , but doesn't necessarily to be optimum. It is not always possible to fulfill the required data&lt;BR /&gt;only from system buffer through logical reads and involves physical I/O to storage devices. Now its depends on how storage is configured and optimized to take care of physical I/O load and your application behaviour.&lt;BR /&gt;&lt;BR /&gt;Secondly, I would advice to put on swap in term of physical device instead of using memory which is more precious . If possible add device swap equal to 16GB and remove pseudo swap by changing kernel paramter&lt;BR /&gt;swapmem_on=0 . This will release memory of about 7.75GB as shown in swapinfo and system will be out of swapping as well ( it is now using 12% device swap actually )&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Sep 2005 13:14:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631978#M237846</guid>
      <dc:creator>Sameer_Nirmal</dc:creator>
      <dc:date>2005-09-23T13:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: swainfo and memory usage issue...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631979#M237847</link>
      <description>Actually, setting swapmem_on to 0 will NOT release memory.  HP-UX does not actually use physical memory when swapmem_on is set to 1.  It is a number that HP-UX uses, approx. 75% of actual RAM size, to add to available swap space for reservation purposes.  But actual physical RAM is never used.&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Sep 2005 14:05:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631979#M237847</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-09-23T14:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: swainfo and memory usage issue...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631980#M237848</link>
      <description>I would agree that it is very likely you can reduce the dbc_min_pct and dbc_max_pct, but I would suggest that you first use glance to see what the hit ratio is for the buffer cache, so that you can see if it is substantially reduced by your actions after reducing those values.  Also,  first look to see if you are actually doing any page-outs.  If you are not, then you are simply using the memory you have purchased which isn't bad.  You do have to have enough swap chunks to cover the swap size.  The amount of swap you need depends on the application, but may not need to be increased unless you turn off pseudo-swap.  Pseudo-swap is good as long as you never do any real page-outs.  If you do page-out then the limited number of pages of RAM that can be swapped out will get hit unfairly, compared to those assigned as psuedo-swap pages which effectively locks them in memory.  Since assignment of pages into psuedo-swap is arbitrary, this can mean that performance can be quite irregular if page-outs do occur.  It was designed for large memory configurations where the likelyhood of page-outs was very small.</description>
      <pubDate>Mon, 26 Sep 2005 13:04:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swainfo-and-memory-usage-issue/m-p/3631980#M237848</guid>
      <dc:creator>Ted Buis</dc:creator>
      <dc:date>2005-09-26T13:04:32Z</dc:date>
    </item>
  </channel>
</rss>

