- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- dynamic 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
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
04-25-2001 10:01 AM
04-25-2001 10:01 AM
dynamic buffer cache
Group,
Currently I have dbc_min_pct set to 5 and dbc_max_pct set to 50. During times of the day when memory usage is at it's peak, users are complaining of slow response. I realize that this is due to pageouts because the buffer is using 50%. I now realize that I need to reset this buffer to somewhere between 10-30%. However, it was my understanding that the dbc was supposed to give up memory resources at times of peak user and system memory usage. I do not see this occuring. In fact what I see occuring is that the dbc is remaining roughly 50% and user processes are being swapped out. So what's the deal - is the dbc supposed to give up these memory resources or not during peak usage?
THANKS!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2001 10:27 AM
04-25-2001 10:27 AM
Re: dynamic buffer cache
http://us-support.external.hp.com/cki/bin/doc.pl/sid=ac9cfee90752a165a3/screen=ckiDisplayDocument?docId=200000049436468
50% dbc_max_pct is way too high on servers. I find that about 15% does well and if you have the time or a sandbox I suggest that you
forget dynamic buffer cacheing and set bufpages.
On most servers and especially database servers
I think you will find that after about 400 MB (and this is generous) marginal improvements in buffer cache hit rates are very small.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2001 10:34 AM
04-25-2001 10:34 AM
Re: dynamic buffer cache
thanks for the response, but I had already figured that part out. What I'm looking for is if anyone knows whether the dbc is supposed to give up resources on a busy system or not.
If it is supposed to give up these memory resources, then it really shouldn't matter what you have dbc_max_pct set to, because during busy times the dbc would be at far less than "max"? Make sense?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2001 11:09 AM
04-25-2001 11:09 AM
Re: dynamic buffer cache
A better answer to your question is that yes
dbc_mac_pct does limit buffer cache growth. If the systems is under pressure from process memory requirements, the kernel will shrink
buffer cache space down to a minimum value of dbc_min_pct. All of that is fine; the problem occurs when the system is under pressure from both process space and block I/O buffer cache requirements. The system tries to free buffer
cache pages to use for process space while at the same time trying to allocate pages for block I/O. A vicious thrashing cycle is thus in play. Stephen Ciullo goes into great detail
in one of his performance tuning talks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2001 11:12 AM
04-25-2001 11:12 AM
Re: dynamic buffer cache
Manoj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2001 11:18 AM
04-25-2001 11:18 AM
Re: dynamic buffer cache
2gb - thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2001 01:15 PM
04-25-2001 01:15 PM
Re: dynamic buffer cache
Manoj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2001 02:25 PM
04-25-2001 02:25 PM
Re: dynamic buffer cache
I vaguely remember someone from HP stating that
dynamic buffer cache does not work so well when
it comes to actually reducing its size due to memory
pressures. Supposively it works, but it is so bad on
system performance that you may as well try to avoid
the situation by not setting dbc_max_pct too high
(50% is too high in your case). I do not have much
experience with this, but that's what I heard from HP.
Perhaps someone from HP could clarify this further.
Mladen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2001 06:14 AM
04-26-2001 06:14 AM
Re: dynamic buffer cache
thanks for the info. I currently have plans to drop the dbc_max_pct to 30% and see how that plays out.
If there is an "official" hp answer to my original question about memory pressures / I/O pressures and dbc, I'm still very interested to hear it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2001 06:33 AM
04-26-2001 06:33 AM
Re: dynamic buffer cache
For you to get effective dynamic buffer caching. Set NBUF and BUFPAGES to 0(zero). Also set swapmem_on=1 to give you 75% of Physical memory as pseudo memory.
I advice you set your dbc_max_pct to 12. Check with sysdef or run this command "echo bufpages/D |adb -k /stand/vmunix /dev/kmem" to get the actual max value of bufpages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2001 06:34 AM
04-26-2001 06:34 AM
Re: dynamic buffer cache
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2001 06:43 AM
04-26-2001 06:43 AM
Re: dynamic buffer cache
For you to get effective dynamic buffer caching. Set NBUF and BUFPAGES to 0(zero). Also set swapmem_on=1 to give you 75% of Physical memory as pseudo memory.
I advice you set your dbc_max_pct to 12. Check with sysdef or run this command "echo bufpages/D |adb -k /stand/vmunix /dev/kmem" to get the actual max value of bufpages. Also check your total swap space (swapinfo -tm)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2001 06:46 AM
04-26-2001 06:46 AM
Re: dynamic buffer cache
If you want the official HP position on this issue checkout 'HP-UX Kernel Tuning and Performance Guide' by Stephen Ciullo (Revised March 15,2000) from docs.hp.com. There the
reccommended setting for dbc_max_pct is 25% with bufpages set to 0 to allow for dynamic buffer cache. However, the best HP-UX performance tuner I know (who might also be the author of this paper) will tell you to ignore that dynamic buffer cache stuff and set
bufpages to no more than about 400MB (and that this is overkill in most cases.) One other point is that it is much easier to tune the remainder of the system when the buffer cache is held constant.