- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- help to disable dbc and set nbuf
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 11:31 AM
01-08-2003 11:31 AM
help to disable dbc and set nbuf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 11:37 AM
01-08-2003 11:37 AM
Re: help to disable dbc and set nbuf
You cannot set dbc_* parameters to 0. To disable them you need to activate nbuf and bufpages.
Look at the following scenarios from the kernel config document.
nbuf interacts with bufpages as follows:
-----
bufpages = 0, nbuf = 0: Enables dynamic buffer cache.
bufpages not zero, nbuf = zero: Creates BufPages/2 buffer headers and allocates bufpages times 4 Kbytes of buffer pool space at system boot time.
bufpages = 0, nbuf not zero: Allocates Nbuf*2 pages of buffer pool space and creates Nbuf headers at boot time..
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.
----
More details here
http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparams.OverviewAll.html
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 11:44 AM
01-08-2003 11:44 AM
Re: help to disable dbc and set nbuf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 11:55 AM
01-08-2003 11:55 AM
Re: help to disable dbc and set nbuf
No. the minimum value for dbc* parameters is 2. If you are enabling nbuf and bufpages, then dbc* s will be insignificant.
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.
Lemme put it in a formula
nbuf= BUFFER_CACHE/(2*4096)
(provided bufpages is set to 0)
The other way is to make nbuf 0 and make bufpages = (BUFFER_CACHE/4096). Simple.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 12:03 PM
01-08-2003 12:03 PM
Re: help to disable dbc and set nbuf
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 12:14 PM
01-08-2003 12:14 PM
Re: help to disable dbc and set nbuf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 12:16 PM
01-08-2003 12:16 PM
Re: help to disable dbc and set nbuf
THanks,
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 12:21 PM
01-08-2003 12:21 PM
Re: help to disable dbc and set nbuf
OK. If you don't want to use dbc* parameters, below is your configuration
dbc_max_pct: 2
dbc_min_pct: 2
nbuf : 0
bufpages : 100000
I never heard of your dbc* overriding issue. Interesting.
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.
dbc_max_pct : 10
dbc_min_pct : 5
nbuf : 0
bufpages : 0
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 12:31 PM
01-08-2003 12:31 PM
Re: help to disable dbc and set nbuf
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:
nodatainlog,mincache=direct,convosync=direct
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.
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.
Bill Hassell, sysadmin