<?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 Usage in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/4999841#M777545</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1) You are most likely using default settings for a dynamic OS buffer cache, which grows to consume nearly all available RAM.  Currently, your buffer cache is consuming half of your physical RAM (Buf Cache: 1.98gb).  As was already suggested, you should reduce the amount of memory dedicated to buffer cache by setting kernel tunable 'bufpages' to a fixed value and 'nbuf' to zero.&lt;BR /&gt;&lt;BR /&gt;System performance will be greatly improved by allocating this unused RAM to Oracle's buffer cache (which does a much better job of caching data than the OS buffer cache).  See the attached "HP-UX Performance Cookbook" for more information.&lt;BR /&gt;&lt;BR /&gt;2) What you're referring to is called the 'PGA' or 'Program Global Area', which is created for each Oracle session.  This region contains data and control info for a session.   Under Oracle 9i and later, PGA size for dedicated server connections is determined by the DBMS based on PGA_AGGREGATE_TARGET.&lt;BR /&gt;&lt;BR /&gt;PGA size for shared server connections is determined by SORT_AREA_SIZE, HASH_AREA_SIZE,  and a few other parameters.&lt;BR /&gt;&lt;BR /&gt;These parameters are set in init&lt;SID&gt;.ora.&lt;BR /&gt;&lt;BR /&gt;In both types of connection, a small portion of PGA is dedicated to OS overhead, and cannot be changed.&lt;BR /&gt;&lt;BR /&gt;PCS&lt;/SID&gt;</description>
    <pubDate>Mon, 28 Aug 2006 08:11:23 GMT</pubDate>
    <dc:creator>spex</dc:creator>
    <dc:date>2006-08-28T08:11:23Z</dc:date>
    <item>
      <title>Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/4999839#M777543</link>
      <description>I've a HP UX Server (B.11.11 U 9000/800 83399158)&lt;BR /&gt;&lt;BR /&gt;From GlancePlus&lt;BR /&gt;Total VM :  2.09gb   Sys Mem  :  1.23gb   User Mem: 756.8mb   Phys Mem:  4.00gb&lt;BR /&gt;Active VM: 680.4mb   Buf Cache:  1.98gb   Free Mem:  57.4mb&lt;BR /&gt;&lt;BR /&gt;There are 2 oracle instance running &lt;BR /&gt;DB1 : Total System Global Area  252013040 bytes&lt;BR /&gt;with 26 dedicated processes&lt;BR /&gt;DB2 : Total System Global Area  114191048 bytes&lt;BR /&gt;with 13 dedicated processes&lt;BR /&gt;&lt;BR /&gt;I have questions &lt;BR /&gt;1. Why just only 57.4 MB Free Memory&lt;BR /&gt;2. Why each Oracle dedicated process consumes 70 ~ 130 MB&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Mon, 28 Aug 2006 00:38:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/4999839#M777543</guid>
      <dc:creator>FredLam</dc:creator>
      <dc:date>2006-08-28T00:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/4999840#M777544</link>
      <description>Hi FredLam&lt;BR /&gt;&lt;BR /&gt;Your system parameter related with memory management is set to too high&lt;BR /&gt;&lt;BR /&gt;It may be dbc_max_pct = 50%&lt;BR /&gt;you can reduce this value to 10~15%&lt;BR /&gt;along with dbc_min_pct must be less then dbc_max_pct.&lt;BR /&gt;&lt;BR /&gt;you can get more physical memory to allocate &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;nanan&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Aug 2006 02:49:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/4999840#M777544</guid>
      <dc:creator>nanan</dc:creator>
      <dc:date>2006-08-28T02:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/4999841#M777545</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1) You are most likely using default settings for a dynamic OS buffer cache, which grows to consume nearly all available RAM.  Currently, your buffer cache is consuming half of your physical RAM (Buf Cache: 1.98gb).  As was already suggested, you should reduce the amount of memory dedicated to buffer cache by setting kernel tunable 'bufpages' to a fixed value and 'nbuf' to zero.&lt;BR /&gt;&lt;BR /&gt;System performance will be greatly improved by allocating this unused RAM to Oracle's buffer cache (which does a much better job of caching data than the OS buffer cache).  See the attached "HP-UX Performance Cookbook" for more information.&lt;BR /&gt;&lt;BR /&gt;2) What you're referring to is called the 'PGA' or 'Program Global Area', which is created for each Oracle session.  This region contains data and control info for a session.   Under Oracle 9i and later, PGA size for dedicated server connections is determined by the DBMS based on PGA_AGGREGATE_TARGET.&lt;BR /&gt;&lt;BR /&gt;PGA size for shared server connections is determined by SORT_AREA_SIZE, HASH_AREA_SIZE,  and a few other parameters.&lt;BR /&gt;&lt;BR /&gt;These parameters are set in init&lt;SID&gt;.ora.&lt;BR /&gt;&lt;BR /&gt;In both types of connection, a small portion of PGA is dedicated to OS overhead, and cannot be changed.&lt;BR /&gt;&lt;BR /&gt;PCS&lt;/SID&gt;</description>
      <pubDate>Mon, 28 Aug 2006 08:11:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/4999841#M777545</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-08-28T08:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/4999842#M777546</link>
      <description>You WANT Oracle to use as much memory as the DBAs can allocate for performance. 4Gb with a couple of instances of Oracle is pretty low, as are the two SGA areas. By using Oracle's memory features, you can significantly improve performance (2 to 8 times better) but you'll need to double your memory.</description>
      <pubDate>Mon, 28 Aug 2006 18:44:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/4999842#M777546</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-08-28T18:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/4999843#M777547</link>
      <description>Thanks for information and the attached guide. That is really helpful.&lt;BR /&gt;&lt;BR /&gt;But both bufpages and nbuf are already Zero.&lt;BR /&gt;&lt;BR /&gt;:D</description>
      <pubDate>Mon, 28 Aug 2006 21:58:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/4999843#M777547</guid>
      <dc:creator>FredLam</dc:creator>
      <dc:date>2006-08-28T21:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/4999844#M777548</link>
      <description>bufpages and nbuf are always zero when dbc_max_pct and dbc_max_pct are set. The actual buffer cache size can be seen in the 'm' screen in Glance. From your example, it is currently 1980 megs (2Gb) which means dbc_max_pct is WAY too high. Drop the maxpct value to 20. Now that gives you about 1000 megs of free space to add to the Oracle SGA for improved performance.</description>
      <pubDate>Tue, 29 Aug 2006 12:51:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/4999844#M777548</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-08-29T12:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/4999845#M777549</link>
      <description>The memory usage is reduced by setting dbc_max_pct from 50 to 20 when both bufpages and nbuf are zero.</description>
      <pubDate>Wed, 30 Aug 2006 04:29:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/4999845#M777549</guid>
      <dc:creator>FredLam</dc:creator>
      <dc:date>2006-08-30T04:29:21Z</dc:date>
    </item>
  </channel>
</rss>

