<?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: Disk Buffer Cache in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969937#M417641</link>
    <description>thanx for updates, and I probably shouldn't have thrown the oracle reference in the mix...  Most I/O is file disk read/writes outside of the oracle application.....</description>
    <pubDate>Mon, 27 Mar 2006 13:33:27 GMT</pubDate>
    <dc:creator>Dan Matlock_1</dc:creator>
    <dc:date>2006-03-27T13:33:27Z</dc:date>
    <item>
      <title>Disk Buffer Cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969934#M417638</link>
      <description>Question:  We have many servers that run Oracle and I want more disk buffer cache to handle disk I/O.  Then I go into glance (tui) and use the 'm' option, I see one server at:  Buf Cache:   7.8mb   What kernel parameters affect this value?  I assumed only dbc_max_pct and dbc_min_pct........</description>
      <pubDate>Mon, 27 Mar 2006 13:21:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969934#M417638</guid>
      <dc:creator>Dan Matlock_1</dc:creator>
      <dc:date>2006-03-27T13:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Buffer Cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969935#M417639</link>
      <description>Hi Dan:&lt;BR /&gt;&lt;BR /&gt;Well, 'dbc_max_pct' and 'dbc_min_pct' control the UNIX buffer cache *if* 'nbuf' and 'bufpages' are *both* zero (0).&lt;BR /&gt;&lt;BR /&gt;You can use 'kmtune -l' to examine your current settings.&lt;BR /&gt;&lt;BR /&gt;See here for more details:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/TKP-90202/TKP-90202.pdf" target="_blank"&gt;http://docs.hp.com/en/TKP-90202/TKP-90202.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 27 Mar 2006 13:25:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969935#M417639</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-03-27T13:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Buffer Cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969936#M417640</link>
      <description>Oracle has it's own buffer cache - you do not want to double buffer...&lt;BR /&gt;&lt;BR /&gt;Mount indexes and data volumes like so:&lt;BR /&gt;&lt;BR /&gt;delaylog,nodatainlog,largefiles,mincache=direct,convosync=direct &lt;BR /&gt;&lt;BR /&gt;redo/logs&lt;BR /&gt;&lt;BR /&gt;delaylog,nodatainlog&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 27 Mar 2006 13:27:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969936#M417640</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-03-27T13:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Buffer Cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969937#M417641</link>
      <description>thanx for updates, and I probably shouldn't have thrown the oracle reference in the mix...  Most I/O is file disk read/writes outside of the oracle application.....</description>
      <pubDate>Mon, 27 Mar 2006 13:33:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969937#M417641</guid>
      <dc:creator>Dan Matlock_1</dc:creator>
      <dc:date>2006-03-27T13:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Buffer Cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969938#M417642</link>
      <description>7.8MB is much, much too small even if this is a pure Oracle server running raw/io. &lt;BR /&gt;&lt;BR /&gt;The values dbc_min_pct and dbc_max_pct controll buffer cache iff bufpages = 0. If bufpages is set to a non-zero value (equal to the number of fixed 4KB pages) then it determines the buffer cache size. Even on a machine with little RAM (256MB); you would want the buffer cache to be at least 50MB or so; ideally on a machine with lots of memory, buffer cache on 11.11 should be in the range of 800-1600MB.&lt;BR /&gt;&lt;BR /&gt;The other thing is that the dreaded "double-buffering" is really not so bad (in fact, it's good on HP-UX 11.11 and up). My performance tests indicate that Oracle actually performs best using fully cooked files and large SGA's on 11.11 and up. 11.0 and below worked best when the buffer cache was bypassed.</description>
      <pubDate>Mon, 27 Mar 2006 13:34:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969938#M417642</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-27T13:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Buffer Cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969939#M417643</link>
      <description>In that case, how much ram is in your system and what are the current settings for dbc_max_pct and dbc_min_pct?&lt;BR /&gt;&lt;BR /&gt;As Clay says, around 800 MB works well...&lt;BR /&gt;&lt;BR /&gt;So, if you have 10GB of ram, set dbc_max_pct to 8 to 10...try at 8, measure, then try at 9, measure, etc - and see what works the best...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 27 Mar 2006 13:39:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969939#M417643</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-03-27T13:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Buffer Cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969940#M417644</link>
      <description>I have two systems (11.11) that I am comparing and both have about 6gb of memory and both are set 15-20 (one each).....  Strange that on that seems OK as bufpages at NBUF*2 which is 0 because NBUF=0....  The other which is 100% I/O is seet to NPROC*3 which means for us bufpages=1992!!!!  Not sure why the difference for the same OS.&lt;BR /&gt;I am thinking I need to change the bufpages to NBUF*2 on the problem system.........?</description>
      <pubDate>Mon, 27 Mar 2006 13:44:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969940#M417644</guid>
      <dc:creator>Dan Matlock_1</dc:creator>
      <dc:date>2006-03-27T13:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Buffer Cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969941#M417645</link>
      <description>bufpages should have nothing to to do with nbuf (which should be at 0, the default). I would set set bufpages=204800 (800MB). I actually prefer fixed buffer caches to the dynamic versions.</description>
      <pubDate>Mon, 27 Mar 2006 13:49:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969941#M417645</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-27T13:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Buffer Cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969942#M417646</link>
      <description>Hi Dan,&lt;BR /&gt;&lt;BR /&gt;Are you using raw or cooked volumes? Since you don't have to worry about the OS buffer cache if using raw volumes.&lt;BR /&gt;&lt;BR /&gt;On the other hand for cooked volumes the problem of double buffering (one provided by the kernel and other by Oracle's SGA) comes into play. Application usage patterns of data will be the best guide for tuning this cache.&lt;BR /&gt;&lt;BR /&gt;cheers!</description>
      <pubDate>Mon, 27 Mar 2006 13:58:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969942#M417646</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2006-03-27T13:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Buffer Cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969943#M417647</link>
      <description>Thanks,,,,  My focus is on "Buf Cache" in glance and this is a GOOD system:&lt;BR /&gt;&lt;BR /&gt;Total VM :  4.66gb   Sys Mem  :  1.51gb   User Mem:  4.00gb   Phys Mem:  8.00gb&lt;BR /&gt;Active VM:  2.45gb   Buf Cache:  1.20gb   Free Mem:  1.30gb&lt;BR /&gt;&lt;BR /&gt;This is a BAD system:&lt;BR /&gt;Total VM :  4.35gb   Sys Mem  :  1.01gb   User Mem:  3.62gb   Phys Mem:  7.97gb&lt;BR /&gt;Active VM:  3.03gb   Buf Cache:   7.8mb   Free Mem:  3.33gb&lt;BR /&gt;&lt;BR /&gt;Just trying to increase the Disk Buffer Cache.......   On the bad system bufpages is at 1992 (NPROC*3) and 7.8mb is certainly not db_max_pct of 20 out of 8gb...  &lt;BR /&gt;&lt;BR /&gt;The good system has Buf Cache @ 1.2gb and nbuf/bufpages is at 0 and dbc_max_pct=15 so that looks right if I have 8gb of memory....</description>
      <pubDate>Mon, 27 Mar 2006 13:59:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969943#M417647</guid>
      <dc:creator>Dan Matlock_1</dc:creator>
      <dc:date>2006-03-27T13:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Buffer Cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969944#M417648</link>
      <description>Well your bad system has a static buffer cache i.e. 1992 * 4KB pages is roughly equal to 7.8MB and on your good system the buffer cache is dynamic owing to the nbuf = 0. Suggest you also look at buffer cache hit rates by looking at the output of sar on both systems, for ex:&lt;BR /&gt;&lt;BR /&gt;# sar -b 5 50&lt;BR /&gt;&lt;BR /&gt;and examine the averages at the end of the report for the values of %rcache and %wcache values.&lt;BR /&gt;&lt;BR /&gt;cheers!</description>
      <pubDate>Mon, 27 Mar 2006 14:11:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969944#M417648</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2006-03-27T14:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Buffer Cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969945#M417649</link>
      <description>I wouldn't set buffpages manually anymore - HP seems to be limiting access to it (11.23 - you can't set from kcweb - but you can command line).&lt;BR /&gt;&lt;BR /&gt;11.11&lt;BR /&gt;&lt;BR /&gt;# kmtune |grep buf&lt;BR /&gt;bufcache_hash_locks       128  -  128&lt;BR /&gt;bufpages                    0  -  (NBUF*2)&lt;BR /&gt;nbuf                        0  -  0&lt;BR /&gt;ndilbuffers                30  -  30&lt;BR /&gt;vol_maxstablebufsize      256  -  256&lt;BR /&gt;voliot_errbuf_dflt      16384  -  16384&lt;BR /&gt;voliot_iobuf_default     8192  -  8192&lt;BR /&gt;voliot_iobuf_limit     131072  -  131072&lt;BR /&gt;voliot_iobuf_max        65536  -  65536&lt;BR /&gt;&lt;BR /&gt;11.23&lt;BR /&gt;&lt;BR /&gt;# kctune |grep buf&lt;BR /&gt;physical_io_buffers               768  Default     Auto&lt;BR /&gt;vol_maxstablebufsize              256  Default&lt;BR /&gt;voliot_errbuf_dflt              16384  Default&lt;BR /&gt;voliot_iobuf_default             8192  Default&lt;BR /&gt;voliot_iobuf_limit             131072  Default&lt;BR /&gt;voliot_iobuf_max                65536  Default&lt;BR /&gt;vxfs_bc_bufhwm                      0  Default&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But:&lt;BR /&gt;&lt;BR /&gt;# kctune -q bufpages&lt;BR /&gt;Tunable   Value  Expression&lt;BR /&gt;bufpages      0  Default&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So it is there - but HP wants you to use dbc...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 27 Mar 2006 14:24:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969945#M417649</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-03-27T14:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Buffer Cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969946#M417650</link>
      <description>Thank you all for the feedback and I will make the change to allow dynamic allocation of buffer cache.....</description>
      <pubDate>Mon, 27 Mar 2006 15:03:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-buffer-cache/m-p/4969946#M417650</guid>
      <dc:creator>Dan Matlock_1</dc:creator>
      <dc:date>2006-03-27T15:03:01Z</dc:date>
    </item>
  </channel>
</rss>

