<?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 vmstat interpretation !!! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-interpretation/m-p/2823017#M86986</link>
    <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;Can anyone tell me the meaning for "avm" and "free" column under the "memory" main column in vmstat output?&lt;BR /&gt;&lt;BR /&gt;From my understanding, each page frame is 4k in size, however, I have no idea on what avm - active virtual memory is composed of!!  Is it talking about the paging space or the real memory or both ?&lt;BR /&gt;&lt;BR /&gt;How the avm and free column related to the system memory and paging spaces?&lt;BR /&gt;&lt;BR /&gt;Appreciated for your clarifications and inputs.&lt;BR /&gt;&lt;BR /&gt;Many thanks,&lt;BR /&gt;&lt;BR /&gt;Chris,</description>
    <pubDate>Thu, 10 Oct 2002 14:16:00 GMT</pubDate>
    <dc:creator>Chris Fung</dc:creator>
    <dc:date>2002-10-10T14:16:00Z</dc:date>
    <item>
      <title>vmstat interpretation !!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-interpretation/m-p/2823017#M86986</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;Can anyone tell me the meaning for "avm" and "free" column under the "memory" main column in vmstat output?&lt;BR /&gt;&lt;BR /&gt;From my understanding, each page frame is 4k in size, however, I have no idea on what avm - active virtual memory is composed of!!  Is it talking about the paging space or the real memory or both ?&lt;BR /&gt;&lt;BR /&gt;How the avm and free column related to the system memory and paging spaces?&lt;BR /&gt;&lt;BR /&gt;Appreciated for your clarifications and inputs.&lt;BR /&gt;&lt;BR /&gt;Many thanks,&lt;BR /&gt;&lt;BR /&gt;Chris,</description>
      <pubDate>Thu, 10 Oct 2002 14:16:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-interpretation/m-p/2823017#M86986</guid>
      <dc:creator>Chris Fung</dc:creator>
      <dc:date>2002-10-10T14:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: vmstat interpretation !!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-interpretation/m-p/2823018#M86987</link>
      <description>&lt;BR /&gt;This is what I understand of VM:&lt;BR /&gt;&lt;BR /&gt;Virtual memory is just that: "virtual". All processes reference virtual memory. The kernel maps virtual memory to real memory (physical and swap).&lt;BR /&gt;&lt;BR /&gt;To be considered active, such pages must belong to processes that are running or have run in the last 20 seconds (during which time some pages may have been paged out).&lt;BR /&gt;&lt;BR /&gt;The number of free pages tells how much physical memory is available for running processes.&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Oct 2002 15:47:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-interpretation/m-p/2823018#M86987</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2002-10-10T15:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: vmstat interpretation !!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-interpretation/m-p/2823019#M86988</link>
      <description>Chris&lt;BR /&gt;&lt;BR /&gt;The AVM columm means ACTIVE VIRTUAL MEMORY, it takes the sum of text, data, and stack pages in use for all processes, not including shared library or shared memory pages.&lt;BR /&gt;&lt;BR /&gt;FREE is the number of free memory pages.&lt;BR /&gt;&lt;BR /&gt;BTW the most important columns on VMSTAT are:&lt;BR /&gt;&lt;BR /&gt;r - the # of processes in the run queue&lt;BR /&gt;b - the # of processes blocked &lt;BR /&gt;w - the # of processes swapped out&lt;BR /&gt;pi/po - the # of pages paged in or out.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;GL.&lt;BR /&gt;&lt;BR /&gt;FG.</description>
      <pubDate>Thu, 10 Oct 2002 17:12:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-interpretation/m-p/2823019#M86988</guid>
      <dc:creator>fg_1</dc:creator>
      <dc:date>2002-10-10T17:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: vmstat interpretation !!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-interpretation/m-p/2823020#M86989</link>
      <description>Active virtual pages are virtual pages owned by a non-system process with at least one thread running during the last 20s.&lt;BR /&gt;&lt;BR /&gt;Not only private data is included:&lt;BR /&gt;&lt;BR /&gt;/*&lt;BR /&gt;                 * For shared segments, calculating "our share" of the&lt;BR /&gt;                 * pages involves dividing by the number of people using&lt;BR /&gt;                 * that shared segment.&lt;BR /&gt;                 */&lt;BR /&gt;&lt;BR /&gt;Regards...&lt;BR /&gt; Dietmar.</description>
      <pubDate>Fri, 11 Oct 2002 09:48:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-interpretation/m-p/2823020#M86989</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2002-10-11T09:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: vmstat interpretation !!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-interpretation/m-p/2823021#M86990</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;Thanks for your inputs, however, I still have difficulties in understand the "avm" and "free" column especially when correlate them with the no. of real memory and no. of paging space.&lt;BR /&gt;&lt;BR /&gt;Can anyone give me some examples on how they are correlated??&lt;BR /&gt;&lt;BR /&gt;E.g.  I have 2GB real memory and 4GB swap space defined.  If the size is 1xxxx and free is 1xx.  What is the significant for the "avm" value and "free" value in the vmstat?&lt;BR /&gt;&lt;BR /&gt;Thank in advance for your further input and advice.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Chris Fung,</description>
      <pubDate>Fri, 11 Oct 2002 14:34:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-interpretation/m-p/2823021#M86990</guid>
      <dc:creator>Chris Fung</dc:creator>
      <dc:date>2002-10-11T14:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: vmstat interpretation !!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-interpretation/m-p/2823022#M86991</link>
      <description>Hi, Chris!&lt;BR /&gt;&lt;BR /&gt;Try to let me explain that by comparing a kememinfo output with vmstat... &lt;BR /&gt;&lt;BR /&gt;vmstat:&lt;BR /&gt;# vmstat -n&lt;BR /&gt;VM&lt;BR /&gt;       memory                     page                          faults&lt;BR /&gt;     avm    free   re   at    pi   po    fr   de    sr     in     sy    cs&lt;BR /&gt;  123292  315155   24    3     0    0     0    0     0   1075   6750   566&lt;BR /&gt;&lt;BR /&gt;kmeminfo:&lt;BR /&gt;Physical memory usage summary (in pages):&lt;BR /&gt;&lt;BR /&gt;Physmem        =  522240  Available physical memory:&lt;BR /&gt;  Freemem      =  314563    Free physical memory&lt;BR /&gt;  Used         =  207677    Used physical memory:&lt;BR /&gt;    System     =   46507      by kernel:&lt;BR /&gt;      Static   =   14815        for text and static data&lt;BR /&gt;      Dynamic  =       0        for dynamic data&lt;BR /&gt;      Bufcache =   31670        for file-system buffer cache&lt;BR /&gt;      Eqmem    =      22        for equiv. mapped page pool&lt;BR /&gt;      SCmem    =       0        for system critical page pool&lt;BR /&gt;    User       =   85690      by user processes&lt;BR /&gt;      Uarea    =    3968        for thread uareas&lt;BR /&gt;    Disowned   =   13080      disowned pages&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In the kmeminfo output you see how your PHYSICAL memory (2GB) is currently used. The "Freemem" value matches (nearly) the vmstat "free" metric, meaning this is the amount of physical memory being currently unused and available. This has nothing to do with swap... we are only talking about physical pages here.&lt;BR /&gt;&lt;BR /&gt;The "avm" metric talks about "virtual memory", see my comment before. There is no direct relationship! Of course there is a chance that "active pages" are still mapped... but see the difference in the examples above ("User" vs. "avm").&lt;BR /&gt;&lt;BR /&gt;If you are really interested in more details, you should have a look at the memory management white paper.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/otsearch/getfile?id=/hpux/onlinedocs/os/11i/mem_mgt.html&amp;amp;searchterms=HP-UX%7cMemory%7cManagement%7cWhite%7cPaper&amp;amp;queryid=20021014-024430" target="_blank"&gt;http://docs.hp.com/cgi-bin/otsearch/getfile?id=/hpux/onlinedocs/os/11i/mem_mgt.html&amp;amp;searchterms=HP-UX%7cMemory%7cManagement%7cWhite%7cPaper&amp;amp;queryid=20021014-024430&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards...&lt;BR /&gt; Dietmar.&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Oct 2002 07:50:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-interpretation/m-p/2823022#M86991</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2002-10-14T07:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: vmstat interpretation !!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-interpretation/m-p/2823023#M86992</link>
      <description>You should run kmeminfo yourself... it's really unreadable without indents.</description>
      <pubDate>Mon, 14 Oct 2002 07:52:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-interpretation/m-p/2823023#M86992</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2002-10-14T07:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: vmstat interpretation !!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-interpretation/m-p/2823024#M86993</link>
      <description>Hi Dietmar,&lt;BR /&gt;&lt;BR /&gt;Thanks for your detail explanation with illustration.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Chris,</description>
      <pubDate>Tue, 15 Oct 2002 12:56:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-interpretation/m-p/2823024#M86993</guid>
      <dc:creator>Chris Fung</dc:creator>
      <dc:date>2002-10-15T12:56:32Z</dc:date>
    </item>
  </channel>
</rss>

