<?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: dynamic buffer cache in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521383#M23630</link>
    <description>Guys,&lt;BR /&gt;&lt;BR /&gt;thanks for the info.  I currently have plans to drop the dbc_max_pct to 30% and see how that plays out.  &lt;BR /&gt;&lt;BR /&gt;If there is an "official" hp answer to my original question about memory pressures / I/O pressures and dbc, I'm still very interested to hear it.</description>
    <pubDate>Thu, 26 Apr 2001 13:14:08 GMT</pubDate>
    <dc:creator>Charles McCary</dc:creator>
    <dc:date>2001-04-26T13:14:08Z</dc:date>
    <item>
      <title>dynamic buffer cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521375#M23622</link>
      <description>&lt;BR /&gt;Group,&lt;BR /&gt;&lt;BR /&gt;Currently I have dbc_min_pct set to 5 and dbc_max_pct set to 50.  During times of the day when memory usage is at it's peak, users are complaining of slow response.  I realize that this is due to pageouts because the buffer is using 50%.  I now realize that I need to reset this buffer to somewhere between 10-30%.  However, it was my understanding that the dbc was supposed to give up memory resources at times of peak user and system memory usage.  I do not see this occuring.  In fact what I see occuring is that the dbc is remaining roughly 50% and user processes are being swapped out.  So what's the deal - is the dbc supposed to give up these memory resources or not during peak usage?&lt;BR /&gt;&lt;BR /&gt;THANKS!</description>
      <pubDate>Wed, 25 Apr 2001 17:01:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521375#M23622</guid>
      <dc:creator>Charles McCary</dc:creator>
      <dc:date>2001-04-25T17:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic buffer cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521376#M23623</link>
      <description>Check out this link (It is 10.10 but applies to 11x as well)&lt;BR /&gt;&lt;A href="http://us-support.external.hp.com/cki/bin/doc.pl/sid=ac9cfee90752a165a3/screen=ckiDisplayDocument?docId=200000049436468" target="_blank"&gt;http://us-support.external.hp.com/cki/bin/doc.pl/sid=ac9cfee90752a165a3/screen=ckiDisplayDocument?docId=200000049436468&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;50% dbc_max_pct is way too high on servers. I find that about 15% does well and if you have the time or a sandbox I suggest that you&lt;BR /&gt;forget dynamic buffer cacheing and set bufpages.&lt;BR /&gt;On most servers and especially database servers&lt;BR /&gt;I think you will find that after about 400 MB (and this is generous) marginal improvements in buffer cache hit rates are very small.</description>
      <pubDate>Wed, 25 Apr 2001 17:27:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521376#M23623</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-04-25T17:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic buffer cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521377#M23624</link>
      <description>A. Clay,&lt;BR /&gt;&lt;BR /&gt;thanks for the response, but I had already figured that part out.  What I'm looking for is if anyone knows whether the dbc is supposed to give up resources on a busy system or not.&lt;BR /&gt;&lt;BR /&gt;If it is supposed to give up these memory resources, then it really shouldn't matter what you have dbc_max_pct set to, because during busy times the dbc would be at far less than "max"?  Make sense?</description>
      <pubDate>Wed, 25 Apr 2001 17:34:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521377#M23624</guid>
      <dc:creator>Charles McCary</dc:creator>
      <dc:date>2001-04-25T17:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic buffer cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521378#M23625</link>
      <description>Charles, I stepped on your toes didn't I?&lt;BR /&gt;A better answer to your question is that yes&lt;BR /&gt;dbc_mac_pct does limit buffer cache growth. If the systems is under pressure from process memory requirements, the kernel will shrink&lt;BR /&gt;buffer cache space down to a minimum value of dbc_min_pct. All of that is fine; the problem occurs when the system is under pressure from both process space and block I/O buffer cache requirements. The system tries to free buffer&lt;BR /&gt;cache pages to use for process space while at the same time trying to allocate pages for block I/O. A vicious thrashing cycle is thus in play. Stephen Ciullo goes into great detail&lt;BR /&gt;in one of his performance tuning talks.</description>
      <pubDate>Wed, 25 Apr 2001 18:09:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521378#M23625</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-04-25T18:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic buffer cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521379#M23626</link>
      <description>What is the total memory of the system ?&lt;BR /&gt;&lt;BR /&gt;Manoj</description>
      <pubDate>Wed, 25 Apr 2001 18:12:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521379#M23626</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2001-04-25T18:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic buffer cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521380#M23627</link>
      <description>Manoj,&lt;BR /&gt;&lt;BR /&gt;2gb - thanks</description>
      <pubDate>Wed, 25 Apr 2001 18:18:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521380#M23627</guid>
      <dc:creator>Charles McCary</dc:creator>
      <dc:date>2001-04-25T18:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic buffer cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521381#M23628</link>
      <description>This implies that the DATA buffer cache can go upto from 100mb to 1 GB . Typically Oracle recommends that this difference should not be more than 500mb . We have got the production server with 32 GB RAM and we have set the dbc_max to 3% and min to 2 %. Again the question is what is the upper limit , typically I have seen in system with about 2Gb the best bet is 30 as MAX and 5 as MIN , I think this would give you a lot of respite .&lt;BR /&gt;&lt;BR /&gt;Manoj</description>
      <pubDate>Wed, 25 Apr 2001 20:15:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521381#M23628</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2001-04-25T20:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic buffer cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521382#M23629</link>
      <description>Charles,&lt;BR /&gt;&lt;BR /&gt;I vaguely remember someone from HP stating that&lt;BR /&gt;dynamic buffer cache does not work so well when&lt;BR /&gt;it comes to actually reducing its size due to memory&lt;BR /&gt;pressures.  Supposively it works, but it is so bad on&lt;BR /&gt;system performance that you may as well try to avoid&lt;BR /&gt;the situation by not setting dbc_max_pct too high &lt;BR /&gt;(50% is too high in your case).  I do not have much&lt;BR /&gt;experience with this, but that's what I heard from HP.&lt;BR /&gt;Perhaps someone from HP could clarify this further.&lt;BR /&gt;&lt;BR /&gt;Mladen</description>
      <pubDate>Wed, 25 Apr 2001 21:25:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521382#M23629</guid>
      <dc:creator>Mladen Despic</dc:creator>
      <dc:date>2001-04-25T21:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic buffer cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521383#M23630</link>
      <description>Guys,&lt;BR /&gt;&lt;BR /&gt;thanks for the info.  I currently have plans to drop the dbc_max_pct to 30% and see how that plays out.  &lt;BR /&gt;&lt;BR /&gt;If there is an "official" hp answer to my original question about memory pressures / I/O pressures and dbc, I'm still very interested to hear it.</description>
      <pubDate>Thu, 26 Apr 2001 13:14:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521383#M23630</guid>
      <dc:creator>Charles McCary</dc:creator>
      <dc:date>2001-04-26T13:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic buffer cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521384#M23631</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;For you to get effective dynamic buffer caching. Set NBUF and BUFPAGES to 0(zero). Also set swapmem_on=1 to give you 75% of Physical memory as pseudo memory.&lt;BR /&gt;I advice you set your dbc_max_pct to 12. Check with sysdef or run this command "echo bufpages/D |adb -k /stand/vmunix /dev/kmem" to get the actual max value of bufpages.</description>
      <pubDate>Thu, 26 Apr 2001 13:33:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521384#M23631</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2001-04-26T13:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic buffer cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521385#M23632</link>
      <description>The recommendation from the HPUX Performance Tuning Class was that buf cache should not be larger than 300MB.  This appears to be the point of diminishing returns and beyond this point can actually have decreasing benefit.</description>
      <pubDate>Thu, 26 Apr 2001 13:34:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521385#M23632</guid>
      <dc:creator>Philip P. Hartl</dc:creator>
      <dc:date>2001-04-26T13:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic buffer cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521386#M23633</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;For you to get effective dynamic buffer caching. Set NBUF and BUFPAGES to 0(zero). Also set swapmem_on=1 to give you 75% of Physical memory as pseudo memory.&lt;BR /&gt;I advice you set your dbc_max_pct to 12. Check with sysdef or run this command "echo bufpages/D |adb -k /stand/vmunix /dev/kmem" to get the actual max value of bufpages. Also check your total swap space (swapinfo -tm)</description>
      <pubDate>Thu, 26 Apr 2001 13:43:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521386#M23633</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2001-04-26T13:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic buffer cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521387#M23634</link>
      <description>Charles,&lt;BR /&gt;If you want the official HP position on this issue checkout 'HP-UX Kernel Tuning and Performance Guide' by Stephen Ciullo (Revised March 15,2000) from docs.hp.com. There the&lt;BR /&gt;reccommended setting for dbc_max_pct is 25% with bufpages set to 0 to allow for dynamic buffer cache. However, the best HP-UX performance tuner I know (who might also be the author of this paper) will tell you to ignore that dynamic buffer cache stuff and set&lt;BR /&gt;bufpages to no more than about 400MB (and that this is overkill in most cases.) One other point is that it is much easier to tune the remainder of the system when the buffer cache is held constant. &lt;BR /&gt;</description>
      <pubDate>Thu, 26 Apr 2001 13:46:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dynamic-buffer-cache/m-p/2521387#M23634</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-04-26T13:46:09Z</dc:date>
    </item>
  </channel>
</rss>

