<?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: Understanding Memory Usage in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148050#M156963</link>
    <description>Ken,&lt;BR /&gt;&lt;BR /&gt;I attached the Unix performance cookbook.&lt;BR /&gt;Read the paragraph on buffer pages (bufpages). &lt;BR /&gt;From waht is said on this forum, it quite depends on which version of HPUX you're running (HPUX11.0 or HPUX11i).&lt;BR /&gt;If you run HPUX11.0 300-400Mb should suffice fro the job,&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Jean-Luc</description>
    <pubDate>Thu, 18 Dec 2003 08:40:12 GMT</pubDate>
    <dc:creator>Jean-Luc Oudart</dc:creator>
    <dc:date>2003-12-18T08:40:12Z</dc:date>
    <item>
      <title>Understanding Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148043#M156956</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;I'm trying to understand memory usage on one of my systems. I've attached the lines from the character cell glance memory report of glance which show me that I have 8GB of physical memory but only shows me 4GB of Virtual memory. Where are the ther 4GB of physical memory?&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance,&lt;BR /&gt;&lt;BR /&gt;Ken Polakowski&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Dec 2003 06:47:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148043#M156956</guid>
      <dc:creator>Ken Polakowski_1</dc:creator>
      <dc:date>2003-12-18T06:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148044#M156957</link>
      <description>Ken,&lt;BR /&gt;&lt;BR /&gt;The total private virtual memory (in          &lt;BR /&gt;  KB unless otherwise specified) at     &lt;BR /&gt;  the end of the interval.  This is       &lt;BR /&gt;  the sum of the virtual allocation of   &lt;BR /&gt;  private data and stack regions for      &lt;BR /&gt;  all processes. &lt;BR /&gt;&lt;BR /&gt;from glance &lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Jean-Luc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Dec 2003 06:57:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148044#M156957</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2003-12-18T06:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148045#M156958</link>
      <description>Much Thanks for the quick reply. Its early and I've been swamped with stuff. I'm fairly new at HP-UX and I had a DBA panic last night when he looked at the memory statistics from top and came to the wrong conclusion that the system was only seeing 4GB memory raised the question with the director of MIS, who in turn wanted me to immeidately call HP field service and get the memory replaced. I should have stepped back, taken my normal deep breath and analyzed the situation. Glance really shows me my memory usage as:&lt;BR /&gt;&lt;BR /&gt;System Memory: 1.53GB&lt;BR /&gt;Buf Cache:     1.60GB&lt;BR /&gt;User Mem:      3.05GB&lt;BR /&gt;Free Mem:      1.83GB&lt;BR /&gt;&lt;BR /&gt;The last time I checked that added to 8.01GB.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Dec 2003 07:36:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148045#M156958</guid>
      <dc:creator>Ken Polakowski_1</dc:creator>
      <dc:date>2003-12-18T07:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148046#M156959</link>
      <description>Rule of thumb: ignore what top says about memory. It has always been incomplete and very misleading for today's virtual memory Unix systems. Another note: 1.6Gb for your buffer cache is more than double the recommended maximum size. Keep your buffer cache to about 500 megs (for *Gb of RAM, dbc_max_pct=5, dbc_min_pct=2) and tell your DBA that there's about 3Gb of additional memory available for applications like Oracle. Note that there are severe restrictions for large memory (Gbytes) applications that are old 32bit versions.</description>
      <pubDate>Thu, 18 Dec 2003 08:15:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148046#M156959</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-12-18T08:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148047#M156960</link>
      <description>Ken,&lt;BR /&gt;&lt;BR /&gt;Just ensure you're not paging out (swap space option in glance).&lt;BR /&gt;Buffer cache is too high and you could save some memory in this area.&lt;BR /&gt;&lt;BR /&gt;Don't forget to assign points to people and give appreciation to their response.&lt;BR /&gt;Furthermore, a "bunny" will tell people when a question was answered and solve the problem.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Jean-Luc &lt;BR /&gt;</description>
      <pubDate>Thu, 18 Dec 2003 08:22:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148047#M156960</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2003-12-18T08:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148048#M156961</link>
      <description>I was here when he was experiencing problems during a very large import. Memory usage was approximately 85%. One thing that I noted was that swapinfo showed that my entire 4GB swap space was reserved (-4194303). It also showed the usage on the swap device at zero.&lt;BR /&gt;&lt;BR /&gt;As for the dbc_min and dbc_max. I was here when the systems were installed and they were both set by an HP person to 20%. This effectively disables the dynamic buffer caching (right?). Was this a good idea? How can I monitor the cache usage so that I can tweak these numbers appropriately?&lt;BR /&gt;&lt;BR /&gt;Thanx</description>
      <pubDate>Thu, 18 Dec 2003 08:30:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148048#M156961</guid>
      <dc:creator>Ken Polakowski_1</dc:creator>
      <dc:date>2003-12-18T08:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148049#M156962</link>
      <description>Oops! forgot this. When the import was running. I did have trouble starting applications due to memory unavailable problems.&lt;BR /&gt;&lt;BR /&gt;Anything that I should be aware of when he runs another one of these processes.&lt;BR /&gt;&lt;BR /&gt;There is nothing other then Service Guard and this Oracle instance running on this L class machine.&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Dec 2003 08:37:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148049#M156962</guid>
      <dc:creator>Ken Polakowski_1</dc:creator>
      <dc:date>2003-12-18T08:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148050#M156963</link>
      <description>Ken,&lt;BR /&gt;&lt;BR /&gt;I attached the Unix performance cookbook.&lt;BR /&gt;Read the paragraph on buffer pages (bufpages). &lt;BR /&gt;From waht is said on this forum, it quite depends on which version of HPUX you're running (HPUX11.0 or HPUX11i).&lt;BR /&gt;If you run HPUX11.0 300-400Mb should suffice fro the job,&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Thu, 18 Dec 2003 08:40:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148050#M156963</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2003-12-18T08:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148051#M156964</link>
      <description>Hi Ken,&lt;BR /&gt;&lt;BR /&gt;If swapinfo showed ALL the swap space reserved then you need to add some more swap space. Just add it as secondary swap. You must have enough swap space to accomodate all processes that will be run concurrently or the process will not be allowed to run.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 18 Dec 2003 08:48:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148051#M156964</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-12-18T08:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148052#M156965</link>
      <description>Hi Ken&lt;BR /&gt;&lt;BR /&gt;I always check for amount of physical memory with following command, just another bit of hpux for you.&lt;BR /&gt;&lt;BR /&gt;grep -i phy /var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;:-)</description>
      <pubDate>Thu, 18 Dec 2003 08:57:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148052#M156965</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2003-12-18T08:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148053#M156966</link>
      <description>The buffer cache is not disabled by a certain percentage. The default in HP-UX is 5% and 50% (which is WAY too large for an 8Gb machine). Setting dbc_max_pct to 5% will limit the maximum buffer cache to about 500 megs which is fine. To eliminate the buffer cache feature on a specific mountpoint, you need the optional Online JFS product which will give you new options:&lt;BR /&gt; &lt;BR /&gt;convosync=direct,mincache=direct,nodatainlog&lt;BR /&gt; &lt;BR /&gt;which should be applied only to data directories (not indexes, archive logs, executable directories, etc). Reserved swap is simply mapped but nothing has actually been moved to the swap area. Your only concern as far as swap space is concerned is the page out rate (ignore page in). If it is in the 0-10 range, all is well. over 20 for long periods means you need a bit more RAM, over 100 for long periods means you probably need 50% more RAM to improve performance.&lt;BR /&gt; &lt;BR /&gt;As far as problems with the large import, there have been numerous discussions about Oracle and memory usage--most of the issues are with 32bit programs and the shared memory area. Running out of memory very seldom means that there is not enough virtual memory, it often means that you've hit a kernel safety limit such as maxdsiz (which can be changed).&lt;BR /&gt; &lt;BR /&gt;You can monitor the buffer cache size in Glance. If it stays near the dbc_max_pct value then there is no pressure from applications to require more RAM. The cache is always busy and after a few hours following a reboot, virtually all of the cache will be used. This is by design. The cache will shrink in size if processes need more RAM and you'll see this in Glance. Having more RAM available will not help Oracle until the DBA changes local and shared memory values in the Oracle config files.</description>
      <pubDate>Thu, 18 Dec 2003 09:27:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148053#M156966</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-12-18T09:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148054#M156967</link>
      <description>Thanx for the cookbook. I plan to set aside some time today/this evening to go through it. I'll plan on adding some secondary swap.&lt;BR /&gt;&lt;BR /&gt;Questions about the Min and max parameter:&lt;BR /&gt;&lt;BR /&gt;What effect does setting them equal have? I've been watching the activity this morning and the value never changes.&lt;BR /&gt;&lt;BR /&gt;Should I adjust them say to 5% and 10% and let them float?&lt;BR /&gt;&lt;BR /&gt;Unfortunately, These systems are in a validated state and I need to present justification for making any changes to our change control committee for approval.&lt;BR /&gt;&lt;BR /&gt;I also just ordered the Sauers/Weygant book which I should have in tme to keep me busy for this weekend.&lt;BR /&gt;Thanx again,&lt;BR /&gt;&lt;BR /&gt;Ken</description>
      <pubDate>Thu, 18 Dec 2003 10:23:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148054#M156967</guid>
      <dc:creator>Ken Polakowski_1</dc:creator>
      <dc:date>2003-12-18T10:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148055#M156968</link>
      <description>Making them equal means that the amount allocated will not shrink down in case large amounts of memory are needed. Instead, once physical memory is almost exhausted, some processes will be deactivated and then portions of them will be moved (paged) to the swap area. The purpose of a dynamic buffer cache is to shrink without having to stop processes and swap them out. Two very useful docu,ments for your management and DBA are found in /usr/share/doc: mem_mgt and proc_mgmt. Print or email copies for the curious. A related document (for 32 bit programs) is mem_wndws.txt. If you are running 11.11, this directory was gutted for unknown reasons but you can find them all in 11.00 systems or the memory paper at docs.hp.com:&lt;BR /&gt; &lt;BR /&gt;memory_management: &lt;A href="http://docs.hp.com/cgi-bin/otsearch/getfile?id=/hpux/onlinedocs/1218/mem_mgt.html&amp;amp;searchterms=pde%7cpdir&amp;amp;queryid=20031218-120015" target="_blank"&gt;http://docs.hp.com/cgi-bin/otsearch/getfile?id=/hpux/onlinedocs/1218/mem_mgt.html&amp;amp;searchterms=pde%7cpdir&amp;amp;queryid=20031218-120015&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;I will attach proc_mgmt to this message and mem_wndws to the next message.</description>
      <pubDate>Thu, 18 Dec 2003 14:07:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148055#M156968</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-12-18T14:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148056#M156969</link>
      <description>Here is the memory windows white paper from 11.00 (applicable to 11i). NOTE: you need to be up to date on patches for 11.00 for memory windows to work.</description>
      <pubDate>Thu, 18 Dec 2003 14:08:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148056#M156969</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-12-18T14:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148057#M156970</link>
      <description>Ken,&lt;BR /&gt;&lt;BR /&gt;I let mine float from 5%-10% min-max.&lt;BR /&gt;&lt;BR /&gt;I would probably reduce it on an 8 GB ram Machine. I do get 98% cachs hits, (lucky me).&lt;BR /&gt;&lt;BR /&gt;I would look at the DB parms to see how large SGA and buffers are. I am also a DBA and have found that if they change parms we can go from a running state to a swap condition quickly...&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Thu, 18 Dec 2003 15:09:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/understanding-memory-usage/m-p/3148057#M156970</guid>
      <dc:creator>Tim Sanko</dc:creator>
      <dc:date>2003-12-18T15:09:47Z</dc:date>
    </item>
  </channel>
</rss>

