<?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 Memory question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-question/m-p/4234144#M329033</link>
    <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;I got the memory result from SAM as below:&lt;BR /&gt;Physical Memory:  4099.7 MB&lt;BR /&gt;Real Memory:&lt;BR /&gt; Active:  696467.9 KB&lt;BR /&gt; Total:  1063232.7 KB&lt;BR /&gt;Virtual Memory:&lt;BR /&gt; Active:  1786219.9 KB&lt;BR /&gt; Total:  2236969.8 KB&lt;BR /&gt;Free Memory Pages: 81180 at 4 KB/page&lt;BR /&gt;Swap Space:&lt;BR /&gt; Avail:  8192 MB&lt;BR /&gt; Used:  1465 MB&lt;BR /&gt; Free:  6727 MB&lt;BR /&gt;&lt;BR /&gt;The os is HPUX B.11.11 U. &lt;BR /&gt;&lt;BR /&gt;Could anyone explain me what the above memory parameters tell?&lt;BR /&gt;Is the physical memory equal to sum of (Real Memory + Total Virtual Memory + Free Memory Page)?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;Busakorn</description>
    <pubDate>Tue, 15 Jul 2008 12:29:00 GMT</pubDate>
    <dc:creator>Busakorn</dc:creator>
    <dc:date>2008-07-15T12:29:00Z</dc:date>
    <item>
      <title>Memory question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-question/m-p/4234144#M329033</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;I got the memory result from SAM as below:&lt;BR /&gt;Physical Memory:  4099.7 MB&lt;BR /&gt;Real Memory:&lt;BR /&gt; Active:  696467.9 KB&lt;BR /&gt; Total:  1063232.7 KB&lt;BR /&gt;Virtual Memory:&lt;BR /&gt; Active:  1786219.9 KB&lt;BR /&gt; Total:  2236969.8 KB&lt;BR /&gt;Free Memory Pages: 81180 at 4 KB/page&lt;BR /&gt;Swap Space:&lt;BR /&gt; Avail:  8192 MB&lt;BR /&gt; Used:  1465 MB&lt;BR /&gt; Free:  6727 MB&lt;BR /&gt;&lt;BR /&gt;The os is HPUX B.11.11 U. &lt;BR /&gt;&lt;BR /&gt;Could anyone explain me what the above memory parameters tell?&lt;BR /&gt;Is the physical memory equal to sum of (Real Memory + Total Virtual Memory + Free Memory Page)?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;Busakorn</description>
      <pubDate>Tue, 15 Jul 2008 12:29:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-question/m-p/4234144#M329033</guid>
      <dc:creator>Busakorn</dc:creator>
      <dc:date>2008-07-15T12:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Memory question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-question/m-p/4234145#M329034</link>
      <description>Physical -- total actual RAM for the entire system.&lt;BR /&gt;&lt;BR /&gt;Real Active: User space (only) consumed RAM for processes doing actual work.&lt;BR /&gt;Real Total: User space consumed RAM in total (includes Zombie processes, processes sleeping for a long time, etc...).&lt;BR /&gt;&lt;BR /&gt;Virtual Memory -- exactly that, *virtual* memory. May not be consuming any RAM at all (just the result of malloc() and friends). Likely reserving swap -- but not always guaranteed.&lt;BR /&gt;&lt;BR /&gt;Free Memory -- actual system wide completely free RAM.&lt;BR /&gt;&lt;BR /&gt;Physical memory is very unlikely to be Total Real + Free Memory -- because the factor you're missing in there is System/Kernel memory. (Total memory = User + System/Kernel + Free at the simplest level and allowing for various caches, etc. to be considered "system").&lt;BR /&gt;&lt;BR /&gt;So in your case with 317Mb of free physical RAM, it looks like your system is consuming around 2743Mb in caches, kernel dynamic allocations, kernel static allocations, etc. Likely a good part of that is in the buffer cache if you've left the DBC tunables unmodified. Note that this may be good for your workload and performance... there's really no way to tell from just this metrics. (Perhaps this is doing a bunch of network streaming and needs lots of I/O buffers for disks and packets... that would show in the kernel consumptions/caches).&lt;BR /&gt;&lt;BR /&gt;The Swap output is more interesting -- since it lists it as "Used"... but my suspicion is that SAM doesn't distinguish between truly Used (there's actually disk blocks representing past pageouts) and Reserved (which represents the User space side of the Virtual Memory consumption...). "swapinfo -atm" will tell you, you want to see 0 in the USED column for the devices/FS and the total be reflected in the "reserve" and "memory" lines.</description>
      <pubDate>Tue, 15 Jul 2008 12:53:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-question/m-p/4234145#M329034</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2008-07-15T12:53:53Z</dc:date>
    </item>
  </channel>
</rss>

