<?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: Tuning Kernel Parameter dbc_max_pct in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430840#M205708</link>
    <description>Info about buffer cache in this recent thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=749930" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=749930&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;With 8GB of ram - set dbc_max_pct to 8&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
    <pubDate>Fri, 26 Nov 2004 09:08:52 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2004-11-26T09:08:52Z</dc:date>
    <item>
      <title>Tuning Kernel Parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430836#M205704</link>
      <description>Gd Day Forum,&lt;BR /&gt;&lt;BR /&gt;Currently my HP-UX 11.00 server is having the following value Buf Cache:  4.00gb and Phy Mem:8.00bb&lt;BR /&gt;&lt;BR /&gt;I need to reduce the Buf Cache to 3.00gb because Oracle application requires more memory.&lt;BR /&gt;&lt;BR /&gt;Current dbc_mac_pct = 50&lt;BR /&gt;Current dbc_min_pct = 5&lt;BR /&gt;&lt;BR /&gt;Solution: I need to tune dbc_mac_pct = 37 to achieve Buf Cache = 2.96gb. &lt;BR /&gt;&lt;BR /&gt;Query: Can anyone advise me the commands and backup to perform using command mode rather then thru SAM to get this parameter dbc_mac_pct tune? &lt;BR /&gt;&lt;BR /&gt;Quer: Correct me I dun think I need to tune the parameter dbc_min_pct right?&lt;BR /&gt;&lt;BR /&gt;thanks n regards/cliff</description>
      <pubDate>Fri, 26 Nov 2004 00:48:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430836#M205704</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2004-11-26T00:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning Kernel Parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430837#M205705</link>
      <description>Cliff&lt;BR /&gt;&lt;BR /&gt;Buffer cache of 2.96GB??.. That's too much. For 11.0, 600MB will be the maximum needed. I wouldn't go beyond 600 which is 7%. You can set your min_pct to 2% which is minimum. I use the following commands to tune my kernel.If you have enough space in /stand, backup the current kernel to be space&lt;BR /&gt;&lt;BR /&gt;#cd /stand&lt;BR /&gt;#cp system system.112604&lt;BR /&gt;#cp vmunix vmunix.112604&lt;BR /&gt;#/usr/lbin/sysadm/system_prep -s /stand/system&lt;BR /&gt;#kmtune -s dbc_max_pct=7&lt;BR /&gt;#kmtune -s dbc_min_pct=2&lt;BR /&gt;#grep dbc system&lt;BR /&gt;(make sure dbc* values are listed correctly)&lt;BR /&gt;#cp system build&lt;BR /&gt;(build is a directory under /stand)&lt;BR /&gt;#mk_kernel -o /stand/vmunix&lt;BR /&gt;#kmupdate&lt;BR /&gt;#cd /&lt;BR /&gt;#shutdown -r y now&lt;BR /&gt;&lt;BR /&gt;Once the system comes backup, run&lt;BR /&gt;#kmtune -l -q dbc_max_pct&lt;BR /&gt;#kmtune -l -q dbc_min_pct&lt;BR /&gt;&lt;BR /&gt;to verify.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Nov 2004 00:55:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430837#M205705</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-26T00:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning Kernel Parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430838#M205706</link>
      <description>Hi,&lt;BR /&gt; &lt;BR /&gt;if this is an only a database server, you can lower dbc_min_pct and dbc_max_pct to something like 2 &amp;amp; 4.  Oracle is using its own buffer cache, so there is no need in double caching everything on OS level.&lt;BR /&gt; &lt;BR /&gt;regards,&lt;BR /&gt;Thierry.</description>
      <pubDate>Fri, 26 Nov 2004 01:34:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430838#M205706</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2004-11-26T01:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning Kernel Parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430839#M205707</link>
      <description>In addition to the commands mentioned: &lt;BR /&gt;why not use SAM?&lt;BR /&gt;&lt;BR /&gt;;-) &lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Nov 2004 01:52:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430839#M205707</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2004-11-26T01:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning Kernel Parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430840#M205708</link>
      <description>Info about buffer cache in this recent thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=749930" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=749930&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;With 8GB of ram - set dbc_max_pct to 8&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Fri, 26 Nov 2004 09:08:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430840#M205708</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-11-26T09:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning Kernel Parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430841#M205709</link>
      <description>My two cents:&lt;BR /&gt;WE run:&lt;BR /&gt;&lt;BR /&gt;Current dbc_mac_pct = 7&lt;BR /&gt;Current dbc_min_pct = 5&lt;BR /&gt;&lt;BR /&gt;We run very well. Any changes on the fly of the actual system use of these parameters is extremely expensive in cpu terms. Its best to find a couple of numbers that work well for you and stick in a short range.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 26 Nov 2004 09:32:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430841#M205709</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-11-26T09:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning Kernel Parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430842#M205710</link>
      <description>Hi Cliff,&lt;BR /&gt;&lt;BR /&gt;If you are using Oracle application, take a look at this attachment with all tunable kernel parameters because there is a lot of them that influences apps&amp;amp;db performance: maxswapchunks is another one, etc... &lt;BR /&gt;&lt;BR /&gt;As said before, you shouldn't use more than 10-15 for dbc_max_pct. For db cache, use db_block_buffers init&lt;SID&gt;.ora parameter.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric&lt;/SID&gt;</description>
      <pubDate>Fri, 26 Nov 2004 09:34:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430842#M205710</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2004-11-26T09:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning Kernel Parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430843#M205711</link>
      <description>Cliff,&lt;BR /&gt;&lt;BR /&gt;As I often reply to such questions, I will go into the whole explication and I'll reference this thread in future replies :)&lt;BR /&gt;&lt;BR /&gt;As you mentionned, default buffer cache settings are set to dbc_max_pct=50 and dbc_min_pct=5. This will make this IO Cache using 5% of your RAM and slowly grow to something near 50% of your RAM, which is far too much if you consider the following points.&lt;BR /&gt;&lt;BR /&gt;HP-UX IO Cache works as a cache must, it stores in its memory the blocks you read the more. It also (to anticipate sequential reads) stores a little bit more info that you asked for, in order to give it faster to you on your next read.&lt;BR /&gt;&lt;BR /&gt;Problems start here : Oracle does a lot of reads. It also stores those most read blocks. And it also stores a little bit more info to prevent sequential reads. So, when you need some data, Oracle will ask OS to read this data and a little more and will cache it. OS will read this "data and little more" and little more and will cache it. So your system will store more than twice the data it needs, and will consume your memory this fast. In case of an app with lots of IO and few RAM, it will make your system start swapping dramaticaly and make your OS unusable (but it's only extreme case).&lt;BR /&gt;&lt;BR /&gt;Solution reside in these points :&lt;BR /&gt;. Reduce OS IO Cache by tunning these parameters. If your system is only running Oracle, precedent advice of setting dbc_min_pct and dbc_max_pct to 2 and 4 is good. This will prevent OS cache to grow and will offer opportunity to you to increase Oracle SGA settings.&lt;BR /&gt;. If you have Online JFS on your system, make dedicated filesystems for your DB files and mount them with options convosync=direct and mincache=direct. This will bypass the OS cache for this files and will eliminate the problem.&lt;BR /&gt;&lt;BR /&gt;For more info and other points of tunning for Oracle on HP-UX, read this excellent doc :&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/files/unprotected/database/HP3KOracle.ppt" target="_blank"&gt;http://h21007.www2.hp.com/dspp/files/unprotected/database/HP3KOracle.ppt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Nov 2004 09:51:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430843#M205711</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-11-26T09:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning Kernel Parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430844#M205712</link>
      <description>As a complement to Eric's answer, for versions 9i and upper of Oracle, use db_cache_size parameter to set database blocks buffer.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Nov 2004 09:54:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430844#M205712</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-11-26T09:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning Kernel Parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430845#M205713</link>
      <description>And don't forget to start the house by the foundations and not by the roof ;-) :&lt;BR /&gt;&lt;BR /&gt;- Tune SQL (custumizations, reports, etc...) first! This is where you will see great achievments!&lt;BR /&gt;- Tune init&lt;SID&gt;.ora: you may change the following parameters from defaults:&lt;BR /&gt;&lt;BR /&gt;processes = 200&lt;BR /&gt;sort_area_size = 512000&lt;BR /&gt;log_checkpoint_interval = 20000&lt;BR /&gt;log_checkpoint_timeout = 3600&lt;BR /&gt;log_buffer = 1048576&lt;BR /&gt;timed_statistics = true # set this one to collect performance statistics but consider some overhead it will bring...&lt;BR /&gt;shared_pool_size = 192M&lt;BR /&gt;db_block_buffers = 3000&lt;BR /&gt;- Tune Kernel at the end&lt;BR /&gt;&lt;BR /&gt;Eric&lt;/SID&gt;</description>
      <pubDate>Fri, 26 Nov 2004 10:05:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430845#M205713</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2004-11-26T10:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning Kernel Parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430846#M205714</link>
      <description>Guys,&lt;BR /&gt;&lt;BR /&gt;Thanks for all the valuable advices!&lt;BR /&gt;&lt;BR /&gt;Apreciated n Cheers to ITRC/cliff</description>
      <pubDate>Fri, 26 Nov 2004 23:51:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430846#M205714</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2004-11-26T23:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning Kernel Parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430847#M205715</link>
      <description>To avoid double buffering by Oracle and the operating system, OnLineJFS is valuable.  See the Performance Cookbook attached for details.</description>
      <pubDate>Sun, 28 Nov 2004 10:49:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430847#M205715</guid>
      <dc:creator>Ted Buis</dc:creator>
      <dc:date>2004-11-28T10:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning Kernel Parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430848#M205716</link>
      <description>Gd Day Forum,&lt;BR /&gt;&lt;BR /&gt;I just performed tuning of dbc_max_pct=10, rebuilt kernel and rebooted the server.&lt;BR /&gt;&lt;BR /&gt;Upon a bootup and run glance, I realised that the buffer_cache is not at 800MB instead at other values.&lt;BR /&gt;&lt;BR /&gt;kmtune -l -q dbc_max_pct&lt;BR /&gt;&lt;BR /&gt;Parameter:      dbc_max_pct&lt;BR /&gt;Current:        10&lt;BR /&gt;Planned:        10&lt;BR /&gt;Default:        50&lt;BR /&gt;Minimum:        -&lt;BR /&gt;Module:         -&lt;BR /&gt;Version:        -&lt;BR /&gt;Dynamic:        No&lt;BR /&gt;&lt;BR /&gt;Query: Correct me if I am wrong, the setting is for maximum buffer cache and as such will not reflect the true/current cache buffer as shown on glance memory reports?&lt;BR /&gt;&lt;BR /&gt;thanks/cliff&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Nov 2004 23:46:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430848#M205716</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2004-11-30T23:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning Kernel Parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430849#M205717</link>
      <description>Your buffer cache will not be at its maximum value right after a reboot.  Your buffer cache will start out very small and slowly grow to the dbc_max_pct value.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Dec 2004 00:07:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430849#M205717</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-12-01T00:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning Kernel Parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430850#M205718</link>
      <description>initial buffer cache size at boot time is fixed by dbc_min_pct. If you only changed max, you always start with your setting of 5% (i.e. 400MB).&lt;BR /&gt;&lt;BR /&gt;If it is already 800MB (10%) a low time after boot, it shows your buffer cache is growing rapidly. How many time did you wait for you measure ?&lt;BR /&gt;&lt;BR /&gt;Did you add mounting options to your Oracle filesystems ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Dec 2004 01:59:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430850#M205718</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-12-01T01:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning Kernel Parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430851#M205719</link>
      <description>Hi Fred,&lt;BR /&gt;&lt;BR /&gt;The cache_buffer is not growing currently since booted up.&lt;BR /&gt;&lt;BR /&gt;regards/cliff&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Dec 2004 02:13:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430851#M205719</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2004-12-01T02:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning Kernel Parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430852#M205720</link>
      <description>Cliff,&lt;BR /&gt;&lt;BR /&gt;What I meant isn't that it still grows, but it has come fast to its maximal value (800MB).&lt;BR /&gt;&lt;BR /&gt;What about mount options ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Dec 2004 04:11:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-kernel-parameter-dbc-max-pct/m-p/3430852#M205720</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-12-01T04:11:34Z</dc:date>
    </item>
  </channel>
</rss>

