<?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: help to disable dbc and set nbuf in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/help-to-disable-dbc-and-set-nbuf/m-p/2877416#M100013</link>
    <description>Hi Roland,&lt;BR /&gt;&lt;BR /&gt;No. the minimum value for dbc* parameters is 2. If you are enabling nbuf and bufpages, then dbc* s will be insignificant.&lt;BR /&gt;&lt;BR /&gt;Each buffer page is of 4096bytes (4k). So if you set nbuf to 400, then your buffer pool would be 2*400*4k=3200 which is 3.2 MB. So, if you want to set 400MB of buffer, you would need to set nbuf to 50000. &lt;BR /&gt;&lt;BR /&gt;Lemme put it in a formula&lt;BR /&gt;&lt;BR /&gt;nbuf= BUFFER_CACHE/(2*4096)&lt;BR /&gt;&lt;BR /&gt;(provided bufpages is set to 0)&lt;BR /&gt;&lt;BR /&gt;The other way is to make nbuf 0 and make bufpages = (BUFFER_CACHE/4096). Simple.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
    <pubDate>Wed, 08 Jan 2003 19:55:34 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2003-01-08T19:55:34Z</dc:date>
    <item>
      <title>help to disable dbc and set nbuf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-to-disable-dbc-and-set-nbuf/m-p/2877413#M100010</link>
      <description>I would like to disable dbc_min_pct and dbc_max_pct by setting them to 0 and set nbuf to 400mg, to do this does nbuf setting set in MB so I should just specify 400 in the kernal?</description>
      <pubDate>Wed, 08 Jan 2003 19:31:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-to-disable-dbc-and-set-nbuf/m-p/2877413#M100010</guid>
      <dc:creator>Roland Rebstock_1</dc:creator>
      <dc:date>2003-01-08T19:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: help to disable dbc and set nbuf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-to-disable-dbc-and-set-nbuf/m-p/2877414#M100011</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You cannot set dbc_* parameters to 0. To disable them you need to activate nbuf and bufpages.&lt;BR /&gt;&lt;BR /&gt;Look at the following scenarios from the kernel config document.&lt;BR /&gt;&lt;BR /&gt;nbuf interacts with bufpages as follows:&lt;BR /&gt;-----&lt;BR /&gt;bufpages = 0, nbuf = 0: Enables dynamic buffer cache.&lt;BR /&gt;&lt;BR /&gt;bufpages not zero, nbuf = zero: Creates BufPages/2 buffer headers and allocates bufpages times 4 Kbytes of buffer pool space at system boot time.&lt;BR /&gt;&lt;BR /&gt;bufpages = 0, nbuf not zero: Allocates Nbuf*2 pages of buffer pool space and creates Nbuf headers at boot time..&lt;BR /&gt;&lt;BR /&gt;bufpages not zero, nbuf not zero: Allocates BufPages pages of buffer pool space and creates Nbuf buffer headers at boot time. If the two values conflict such that it is impossible to configure a system using both of them, bufpages takes precedence.&lt;BR /&gt;&lt;BR /&gt;----&lt;BR /&gt;More details here&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparams.OverviewAll.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparams.OverviewAll.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jan 2003 19:37:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-to-disable-dbc-and-set-nbuf/m-p/2877414#M100011</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-01-08T19:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: help to disable dbc and set nbuf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-to-disable-dbc-and-set-nbuf/m-p/2877415#M100012</link>
      <description>so I could set dbc_min_pct and dbc_max_pct to 0 and set nbuf to 400.. This would set nbuf to 400MG of ram and automatically setup buffpages to 800?</description>
      <pubDate>Wed, 08 Jan 2003 19:44:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-to-disable-dbc-and-set-nbuf/m-p/2877415#M100012</guid>
      <dc:creator>Roland Rebstock_1</dc:creator>
      <dc:date>2003-01-08T19:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: help to disable dbc and set nbuf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-to-disable-dbc-and-set-nbuf/m-p/2877416#M100013</link>
      <description>Hi Roland,&lt;BR /&gt;&lt;BR /&gt;No. the minimum value for dbc* parameters is 2. If you are enabling nbuf and bufpages, then dbc* s will be insignificant.&lt;BR /&gt;&lt;BR /&gt;Each buffer page is of 4096bytes (4k). So if you set nbuf to 400, then your buffer pool would be 2*400*4k=3200 which is 3.2 MB. So, if you want to set 400MB of buffer, you would need to set nbuf to 50000. &lt;BR /&gt;&lt;BR /&gt;Lemme put it in a formula&lt;BR /&gt;&lt;BR /&gt;nbuf= BUFFER_CACHE/(2*4096)&lt;BR /&gt;&lt;BR /&gt;(provided bufpages is set to 0)&lt;BR /&gt;&lt;BR /&gt;The other way is to make nbuf 0 and make bufpages = (BUFFER_CACHE/4096). Simple.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jan 2003 19:55:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-to-disable-dbc-and-set-nbuf/m-p/2877416#M100013</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-01-08T19:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: help to disable dbc and set nbuf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-to-disable-dbc-and-set-nbuf/m-p/2877417#M100014</link>
      <description>Here is why Im attempting to do this. And with this, if I have 4GB of Ram, what should I set dbc_min_pct, dbc_max_pct and nbuf to only use 400mg of Ram. I have seen big improvements on a HPUX 11 L Class with 720GB of EMC Storage, 4 HBA's and changed dbc/max/min to 5% from 50%.  About 30MB/s of large read and writes.  Though this helped, I would like to not use dbc at all.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All, I have had a  World Specialized Support Team (WSP) from HP investigating a HPUX issue with a Dynamic Buffer Cache problem where a system can completely over-ride its max and min DBC setting.  They identified this to be a bug with HPUX 10.20, 11.0, 11.11 (11i).. Thought the bug is not impacting to operations of HPUX it does create issues on how large files (Larger than the DBC setting) will not even touch the allocated  DBC setting.  Correction to this matter is to disable the max and min DBC setting and set NBUF's to correct.</description>
      <pubDate>Wed, 08 Jan 2003 20:03:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-to-disable-dbc-and-set-nbuf/m-p/2877417#M100014</guid>
      <dc:creator>Roland Rebstock_1</dc:creator>
      <dc:date>2003-01-08T20:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: help to disable dbc and set nbuf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-to-disable-dbc-and-set-nbuf/m-p/2877418#M100015</link>
      <description>You simply need to set bufpages=102400 and nbuf=0. Regardless of the setting of dbc*, a non-zero bufpages values will override any dynamic buffer cache settings. I suggest that you leave nbuf at zero as the default buffer header allocation behavior is normally good. Typically limits of 400MB apply to 10.20 and 11.0 but 11.11 performs well with buffer cache in the 800MB-1GB range so you might double the above bufpages value if you are running 11.11.&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jan 2003 20:14:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-to-disable-dbc-and-set-nbuf/m-p/2877418#M100015</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-01-08T20:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: help to disable dbc and set nbuf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-to-disable-dbc-and-set-nbuf/m-p/2877419#M100016</link>
      <description>Thank You very much, excellent detail answers and you put up with me on this topic.&lt;BR /&gt;&lt;BR /&gt;THanks,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Roland</description>
      <pubDate>Wed, 08 Jan 2003 20:16:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-to-disable-dbc-and-set-nbuf/m-p/2877419#M100016</guid>
      <dc:creator>Roland Rebstock_1</dc:creator>
      <dc:date>2003-01-08T20:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: help to disable dbc and set nbuf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-to-disable-dbc-and-set-nbuf/m-p/2877420#M100017</link>
      <description>Hi Roland,&lt;BR /&gt;&lt;BR /&gt;OK. If you don't want to use dbc* parameters, below is your configuration&lt;BR /&gt;&lt;BR /&gt;dbc_max_pct: 2&lt;BR /&gt;dbc_min_pct: 2&lt;BR /&gt;nbuf       : 0&lt;BR /&gt;bufpages   : 100000&lt;BR /&gt;&lt;BR /&gt;I never heard of your dbc* overriding issue. Interesting.&lt;BR /&gt;&lt;BR /&gt;The advantage with dbc* is that the parameters are dynamic. I would set the dbc's to the following for a 4 GB RAM system.&lt;BR /&gt;&lt;BR /&gt;dbc_max_pct : 10&lt;BR /&gt;dbc_min_pct :  5&lt;BR /&gt;nbuf        :  0&lt;BR /&gt;bufpages    :  0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jan 2003 20:21:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-to-disable-dbc-and-set-nbuf/m-p/2877420#M100017</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-01-08T20:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: help to disable dbc and set nbuf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-to-disable-dbc-and-set-nbuf/m-p/2877421#M100018</link>
      <description>Prior to 10.xx, there was no dynamic buffer cache and if nbuf=bufpages=0 then the cache would always be 10% RAM. I'm a fan of disabling the DBC since changing RAM means the cache silently changes too. bufpages is the recommended method to set the cache size (simpler formula).&lt;BR /&gt;&lt;BR /&gt;Now, while bypassing the buffer cache completely is possible using Online JFS mount options, be prepared for some heavy design work. If you are running a database like Oracle, then using the additional options: &lt;BR /&gt;&lt;BR /&gt;nodatainlog,mincache=direct,convosync=direct&lt;BR /&gt;&lt;BR /&gt;for a specific mountpoint will bypass the cache, BUT be prepared for a measureable impact on backup speeds. While Oracle can use it's SGA smart cache rules, backing up the data without a cache may starve the backup program. You'll have to test to make sure. &lt;BR /&gt;&lt;BR /&gt;Additionally, many Oracle layouts mix executables, data, rollback and archive logs and indexes on one mountpoint. Not only is this a bad idea overall, turning off the cache on thyis volume will seriously impact throughput. Only data volumes should bypass the cache (and increase SGA to add more data buffering). But the indexes, temp sort areas, archive/rollback logs, etc should by normal mounts using the buffer cache.</description>
      <pubDate>Wed, 08 Jan 2003 20:31:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-to-disable-dbc-and-set-nbuf/m-p/2877421#M100018</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-01-08T20:31:38Z</dc:date>
    </item>
  </channel>
</rss>

