- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Tuning Kernel Parameter dbc_max_pct
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
Discussions
Discussions
Forums
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
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
тАО11-25-2004 04:48 PM
тАО11-25-2004 04:48 PM
Currently my HP-UX 11.00 server is having the following value Buf Cache: 4.00gb and Phy Mem:8.00bb
I need to reduce the Buf Cache to 3.00gb because Oracle application requires more memory.
Current dbc_mac_pct = 50
Current dbc_min_pct = 5
Solution: I need to tune dbc_mac_pct = 37 to achieve Buf Cache = 2.96gb.
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?
Quer: Correct me I dun think I need to tune the parameter dbc_min_pct right?
thanks n regards/cliff
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2004 04:55 PM
тАО11-25-2004 04:55 PM
SolutionBuffer 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
#cd /stand
#cp system system.112604
#cp vmunix vmunix.112604
#/usr/lbin/sysadm/system_prep -s /stand/system
#kmtune -s dbc_max_pct=7
#kmtune -s dbc_min_pct=2
#grep dbc system
(make sure dbc* values are listed correctly)
#cp system build
(build is a directory under /stand)
#mk_kernel -o /stand/vmunix
#kmupdate
#cd /
#shutdown -r y now
Once the system comes backup, run
#kmtune -l -q dbc_max_pct
#kmtune -l -q dbc_min_pct
to verify.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2004 05:34 PM
тАО11-25-2004 05:34 PM
Re: Tuning Kernel Parameter dbc_max_pct
if this is an only a database server, you can lower dbc_min_pct and dbc_max_pct to something like 2 & 4. Oracle is using its own buffer cache, so there is no need in double caching everything on OS level.
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2004 05:52 PM
тАО11-25-2004 05:52 PM
Re: Tuning Kernel Parameter dbc_max_pct
why not use SAM?
;-)
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2004 01:08 AM
тАО11-26-2004 01:08 AM
Re: Tuning Kernel Parameter dbc_max_pct
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=749930
With 8GB of ram - set dbc_max_pct to 8
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2004 01:32 AM
тАО11-26-2004 01:32 AM
Re: Tuning Kernel Parameter dbc_max_pct
WE run:
Current dbc_mac_pct = 7
Current dbc_min_pct = 5
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.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2004 01:34 AM
тАО11-26-2004 01:34 AM
Re: Tuning Kernel Parameter dbc_max_pct
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&db performance: maxswapchunks is another one, etc...
As said before, you shouldn't use more than 10-15 for dbc_max_pct. For db cache, use db_block_buffers init
Best Regards,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2004 01:51 AM
тАО11-26-2004 01:51 AM
Re: Tuning Kernel Parameter dbc_max_pct
As I often reply to such questions, I will go into the whole explication and I'll reference this thread in future replies :)
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.
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.
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).
Solution reside in these points :
. 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.
. 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.
For more info and other points of tunning for Oracle on HP-UX, read this excellent doc :
http://h21007.www2.hp.com/dspp/files/unprotected/database/HP3KOracle.ppt
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2004 01:54 AM
тАО11-26-2004 01:54 AM
Re: Tuning Kernel Parameter dbc_max_pct
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2004 02:05 AM
тАО11-26-2004 02:05 AM
Re: Tuning Kernel Parameter dbc_max_pct
- Tune SQL (custumizations, reports, etc...) first! This is where you will see great achievments!
- Tune init
processes = 200
sort_area_size = 512000
log_checkpoint_interval = 20000
log_checkpoint_timeout = 3600
log_buffer = 1048576
timed_statistics = true # set this one to collect performance statistics but consider some overhead it will bring...
shared_pool_size = 192M
db_block_buffers = 3000
- Tune Kernel at the end
Eric