- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disk Buffer Cache
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
03-27-2006 05:21 AM
03-27-2006 05:21 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 05:25 AM
03-27-2006 05:25 AM
SolutionWell, 'dbc_max_pct' and 'dbc_min_pct' control the UNIX buffer cache *if* 'nbuf' and 'bufpages' are *both* zero (0).
You can use 'kmtune -l' to examine your current settings.
See here for more details:
http://docs.hp.com/en/TKP-90202/TKP-90202.pdf
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 05:27 AM
03-27-2006 05:27 AM
Re: Disk Buffer Cache
Mount indexes and data volumes like so:
delaylog,nodatainlog,largefiles,mincache=direct,convosync=direct
redo/logs
delaylog,nodatainlog
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 05:33 AM
03-27-2006 05:33 AM
Re: Disk Buffer Cache
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 05:34 AM
03-27-2006 05:34 AM
Re: Disk Buffer Cache
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.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 05:39 AM
03-27-2006 05:39 AM
Re: Disk Buffer Cache
As Clay says, around 800 MB works well...
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...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 05:44 AM
03-27-2006 05:44 AM
Re: Disk Buffer Cache
I am thinking I need to change the bufpages to NBUF*2 on the problem system.........?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 05:49 AM
03-27-2006 05:49 AM
Re: Disk Buffer Cache
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 05:58 AM
03-27-2006 05:58 AM
Re: Disk Buffer Cache
Are you using raw or cooked volumes? Since you don't have to worry about the OS buffer cache if using raw volumes.
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.
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 05:59 AM
03-27-2006 05:59 AM
Re: Disk Buffer Cache
Total VM : 4.66gb Sys Mem : 1.51gb User Mem: 4.00gb Phys Mem: 8.00gb
Active VM: 2.45gb Buf Cache: 1.20gb Free Mem: 1.30gb
This is a BAD system:
Total VM : 4.35gb Sys Mem : 1.01gb User Mem: 3.62gb Phys Mem: 7.97gb
Active VM: 3.03gb Buf Cache: 7.8mb Free Mem: 3.33gb
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...
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....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 06:11 AM
03-27-2006 06:11 AM
Re: Disk Buffer Cache
# sar -b 5 50
and examine the averages at the end of the report for the values of %rcache and %wcache values.
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 06:24 AM
03-27-2006 06:24 AM
Re: Disk Buffer Cache
11.11
# kmtune |grep buf
bufcache_hash_locks 128 - 128
bufpages 0 - (NBUF*2)
nbuf 0 - 0
ndilbuffers 30 - 30
vol_maxstablebufsize 256 - 256
voliot_errbuf_dflt 16384 - 16384
voliot_iobuf_default 8192 - 8192
voliot_iobuf_limit 131072 - 131072
voliot_iobuf_max 65536 - 65536
11.23
# kctune |grep buf
physical_io_buffers 768 Default Auto
vol_maxstablebufsize 256 Default
voliot_errbuf_dflt 16384 Default
voliot_iobuf_default 8192 Default
voliot_iobuf_limit 131072 Default
voliot_iobuf_max 65536 Default
vxfs_bc_bufhwm 0 Default
But:
# kctune -q bufpages
Tunable Value Expression
bufpages 0 Default
So it is there - but HP wants you to use dbc...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 07:03 AM
03-27-2006 07:03 AM