<?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: Memory analyze in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216639#M326892</link>
    <description>Memoud,&lt;BR /&gt;&lt;BR /&gt;If you search the archives of Encompassus, you may find Bill Hassell's earlier performance guidelines.   Additionally, Steve Cuillo, another HP-UX performce guru  posted his perfomence notes from last years HP TEch Forum there. One last item you may want to download is an HP white paper on the most mis-configured kernel paramaters.  the two most mentioned in this thread are among the most mis-configurede there are.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Chuck Ciesinski</description>
    <pubDate>Sun, 15 Jun 2008 13:56:59 GMT</pubDate>
    <dc:creator>Chuck Ciesinski</dc:creator>
    <dc:date>2008-06-15T13:56:59Z</dc:date>
    <item>
      <title>Memory analyze</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216627#M326880</link>
      <description>Hi &lt;BR /&gt;With RX7620 4GB, 1 partition&lt;BR /&gt;top command shows me:&lt;BR /&gt;Memory: 218796K (95308K) real, 358004K (180620K) virtual, 970136K free  Page# 1/1&lt;BR /&gt;&lt;BR /&gt;Where is the rest of memory? &lt;BR /&gt;Somebody can explain me this output ?&lt;BR /&gt;Thanks All&lt;BR /&gt;Mem</description>
      <pubDate>Sat, 14 Jun 2008 09:59:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216627#M326880</guid>
      <dc:creator>memoud</dc:creator>
      <dc:date>2008-06-14T09:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Memory analyze</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216628#M326881</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Memory: 218796K (95308K) real, 358004K (180620K) virtual, 970136K free Page# 1/1&lt;BR /&gt;&lt;BR /&gt;Memory: 218796K (Total physical memory in the system DEDICATED to text, data or stack segments for all processes on the system)&lt;BR /&gt;&lt;BR /&gt;(95308K) real: (Total physical memory for runnable processes, as opposed to sleeping processes)&lt;BR /&gt;&lt;BR /&gt;358004K : (Total memory dedicated to text, data or stack segments for all processes on the system. Some of this is paged out to disk (that is, not all of this is in current physical memory)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(180620K) virtual: (Total memory for runnable processes, as opposed to sleeping or stopped processes)&lt;BR /&gt;&lt;BR /&gt;970136K free: (Physical memory the system considers to be unused and available to new processes)&lt;BR /&gt;&lt;BR /&gt;So you have got 947MB free.&lt;BR /&gt;&lt;BR /&gt;If you want more, just give the swapinfo -tam and glance -m (footer) output.&lt;BR /&gt;&lt;BR /&gt;Rgds.</description>
      <pubDate>Sat, 14 Jun 2008 11:02:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216628#M326881</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2008-06-14T11:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Memory analyze</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216629#M326882</link>
      <description>Hi Rasheed&lt;BR /&gt;Thanks for you reply.&lt;BR /&gt;glance not installed&lt;BR /&gt;swapinfo -tam :&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        4096       0    4096    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -     237    -237&lt;BR /&gt;memory     4075     881    3194   22%&lt;BR /&gt;total      8171    1118    7053   14%       -       0    -&lt;BR /&gt;&lt;BR /&gt;My problem is : with no charge, and 4 GB, we have just  947MB free ?? it's normal ?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;mem</description>
      <pubDate>Sat, 14 Jun 2008 12:05:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216629#M326882</guid>
      <dc:creator>memoud</dc:creator>
      <dc:date>2008-06-14T12:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Memory analyze</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216630#M326883</link>
      <description>Hi mem,&lt;BR /&gt;&lt;BR /&gt;Just give the output of&lt;BR /&gt;&lt;BR /&gt;kctune|grep dbc&lt;BR /&gt;&lt;BR /&gt;may be you are allocating 50% of RAM to buffer cache.&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -e -o ruser,vsz,pid,args | sort -rnk2|more  (calculate the total and see how much memory your processes are using).&lt;BR /&gt;&lt;BR /&gt;If you are still confused, and suspect a memory leak, get a reboot, and just start the OS only and see how much memory left without using any application/db, etc.&lt;BR /&gt;&lt;BR /&gt;rgds.</description>
      <pubDate>Sat, 14 Jun 2008 12:19:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216630#M326883</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2008-06-14T12:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Memory analyze</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216631#M326884</link>
      <description>Hi Rasheed&lt;BR /&gt;After reboot, same thing &lt;BR /&gt;&lt;BR /&gt;# kctune |grep dbc&lt;BR /&gt;dbc_max_pct                      50  Default     Immed&lt;BR /&gt;dbc_min_pct                       5  Default     IAmmed&lt;BR /&gt;&lt;BR /&gt;Help please&lt;BR /&gt;Thanks&lt;BR /&gt;Mem</description>
      <pubDate>Sat, 14 Jun 2008 12:36:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216631#M326884</guid>
      <dc:creator>memoud</dc:creator>
      <dc:date>2008-06-14T12:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Memory analyze</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216632#M326885</link>
      <description>&amp;gt; # kctune |grep dbc&lt;BR /&gt;&amp;gt; dbc_max_pct 50 Default Immed&lt;BR /&gt;&amp;gt; dbc_min_pct 5 Default IAmmed&lt;BR /&gt; &lt;BR /&gt;These are the (bad) defaults. Change dbc_max_pct to 20. Note that top is very difficult to use as a memory reporter. The only thing you need to concerned about is vmstat, specifically the po (page out) column. If this is 0 to 9 (single digits) most of the time, you have plenty of memory. 2 digits (10-99) is a concern because swap is being used. This can impact your applications. 3 digits or more has a major impact on performance. You'll need a lot more RAM (double or triple).&lt;BR /&gt; &lt;BR /&gt;Are you having performance problems or are there programs that abort as out of memory?</description>
      <pubDate>Sat, 14 Jun 2008 15:13:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216632#M326885</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-06-14T15:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Memory analyze</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216633#M326886</link>
      <description>Hi Memoud,&lt;BR /&gt;See the response regarding kmeminfo in the following thread.&lt;BR /&gt;&lt;A href="http://forums12.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1213463617046+28353475&amp;amp;threadId=1214356" target="_blank"&gt;http://forums12.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1213463617046+28353475&amp;amp;threadId=1214356&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Asif Sharif</description>
      <pubDate>Sat, 14 Jun 2008 16:17:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216633#M326886</guid>
      <dc:creator>Asif Sharif</dc:creator>
      <dc:date>2008-06-14T16:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Memory analyze</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216634#M326887</link>
      <description>Hi Bill&lt;BR /&gt;Thnks for replies&lt;BR /&gt;I changed dbc_max_pct from 50 to 20 and vmstat &lt;BR /&gt;(free) change from 391598 to 515087.&lt;BR /&gt;vmstat/po  still 0.&lt;BR /&gt;My main problem is to know where is my 4GB of memory.&lt;BR /&gt;for example, SAM shows :&lt;BR /&gt;Physical Memory:         4078.9 MB            &lt;BR /&gt;Real Memory:                                  &lt;BR /&gt;  Active:                109753.2 KB          &lt;BR /&gt;  Total:                 243341.0 KB          &lt;BR /&gt;Virtual Memory:                               &lt;BR /&gt;  Active:                186099.4 KB          &lt;BR /&gt;  Total:                 398106.3 KB          &lt;BR /&gt;Free Memory Pages:       511568 at 4 KB/page  &lt;BR /&gt;Swap Space:                                   &lt;BR /&gt;  Avail:                 4096 MB              &lt;BR /&gt;  Used:                  253 MB               &lt;BR /&gt;&lt;BR /&gt;What does means ?&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Memoud</description>
      <pubDate>Sat, 14 Jun 2008 16:35:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216634#M326887</guid>
      <dc:creator>memoud</dc:creator>
      <dc:date>2008-06-14T16:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Memory analyze</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216635#M326888</link>
      <description>Hi Memoud,&lt;BR /&gt;&lt;BR /&gt;Did you see the thread which i posted? run kmeminfo and it will show you detailed memory information.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Asif Sharif</description>
      <pubDate>Sat, 14 Jun 2008 17:37:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216635#M326888</guid>
      <dc:creator>Asif Sharif</dc:creator>
      <dc:date>2008-06-14T17:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Memory analyze</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216636#M326889</link>
      <description>HI Memoud,&lt;BR /&gt;&lt;BR /&gt;See the Technical knowledge base - document&lt;BR /&gt;How to account for memory usage on an HP-UX system?&lt;BR /&gt;&lt;A href="http://www12.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&amp;amp;docId=emr_na-c01011582-5" target="_blank"&gt;http://www12.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&amp;amp;docId=emr_na-c01011582-5&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Asif Sharif</description>
      <pubDate>Sat, 14 Jun 2008 17:40:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216636#M326889</guid>
      <dc:creator>Asif Sharif</dc:creator>
      <dc:date>2008-06-14T17:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Memory analyze</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216637#M326890</link>
      <description>Hi Asif&lt;BR /&gt;Thanks, for your help&lt;BR /&gt;(see attached result of kmeminfo &amp;amp; memdetail)&lt;BR /&gt;&lt;BR /&gt;Two new diffÃ©rents results (sam/top/kmeminfo/memdetail/vmstat etc..)&lt;BR /&gt;&lt;BR /&gt;Very big confusion !!&lt;BR /&gt;&lt;BR /&gt;I try read Technical knowledge base - document &lt;BR /&gt;&lt;BR /&gt;Bests regards&lt;BR /&gt;Memoud</description>
      <pubDate>Sat, 14 Jun 2008 19:25:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216637#M326890</guid>
      <dc:creator>memoud</dc:creator>
      <dc:date>2008-06-14T19:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Memory analyze</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216638#M326891</link>
      <description>I don't understand what you're confused about.&lt;BR /&gt;&lt;BR /&gt;Look, from your prior comments you've set dbc_max_pct to 20. Assuming you left dbc_min_pct to 5, that means that the system will use between 5% to 20% of total memory for buffers in the buffer cache to improve performance. 20% if there is more than enough free memory that it would be sitting around idle, and down to 5% *when there is memory pressure*. 25% of memory free (or 50% in this output) is not memory pressure. (Closer to 1% free). Idle RAM is wasted RAM.&lt;BR /&gt;&lt;BR /&gt;So -- according to the first output, your kernel is consuming around 20% for kernel dynamic data and another 20% for DBC. Since you told it it could, that's to be expected. (Obviously there's actually some buffered I/O going on to generate these). 50% or so of the memory is free, and the remaining 10% of the memory is User (7%) or Static system.&lt;BR /&gt;&lt;BR /&gt;Within the 20% of the kernel dynamic memory allocations since you chose to break it down -- 4% is in the superpage cache of the kernel [free kernel dynamic memory pages which are subsets of large page kernel translations for improved Translation Lookaside Buffer (TLB) performance -- if you can access multiple kernel addresses without causing a TLB miss fault on the processor, you get better performance. These will be used for new allocations or returned to the system when entirely free (if Garbage Collection runs... which it _won't_ with this much memory laying around. Again, HP-UX favors actually using your memory for performance until you need it for something else.] Another 3% is in metadata needed for the buffer cache... the rest (11%) is split across general metadata and other stuff needed for the kernel to support what you're doing, but dominated by VxFS related metadata -- so I have to assume you're doing a bunch of read/write operations across one or more (probably large) file systems... hence you cause the kernel to allocate file system metadata, buffers for the read/writes, etc... &lt;BR /&gt;&lt;BR /&gt;This all looks perfectly normal and fine. If you started putting an actual load on the box such that the User component rises and free memory goes down to 1%, memory will be reclaimed from the Buffer Cache, kernel garbage collection will run as needed, etc. to flush some of these performance enhancing caches to get you memory for your user space activities.</description>
      <pubDate>Sat, 14 Jun 2008 20:30:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216638#M326891</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2008-06-14T20:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Memory analyze</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216639#M326892</link>
      <description>Memoud,&lt;BR /&gt;&lt;BR /&gt;If you search the archives of Encompassus, you may find Bill Hassell's earlier performance guidelines.   Additionally, Steve Cuillo, another HP-UX performce guru  posted his perfomence notes from last years HP TEch Forum there. One last item you may want to download is an HP white paper on the most mis-configured kernel paramaters.  the two most mentioned in this thread are among the most mis-configurede there are.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Chuck Ciesinski</description>
      <pubDate>Sun, 15 Jun 2008 13:56:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-analyze/m-p/4216639#M326892</guid>
      <dc:creator>Chuck Ciesinski</dc:creator>
      <dc:date>2008-06-15T13:56:59Z</dc:date>
    </item>
  </channel>
</rss>

