- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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
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
тАО07-16-2008 12:26 PM
тАО07-16-2008 12:26 PM
I have a hp server which runs hpux-11.23 on rp model. With the output of kmeminfo...we get the below detail
Buffer cache = 6291200 24.0g 50% details with -bufcache
System has total 48 GB of mem . So does this mean that out 48 ..24g is reserved for buffer cache..my clients think that this affects the performance.
please advice
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2008 12:37 PM
тАО07-16-2008 12:37 PM
SolutionIt does effect the performance sometimes good and sometimes bad.
IMHO. Big buffer cache are a burden and negate their purpose except in certain circumstances. ( e.g. big NFS file servers )
HPUX default is 50% of ram for buffer cache. That it too much !!
Depending on the type of work your system does. Reduce dbc_max_pct to about 10% or around 800MB.
If you are running a database then reduce it even further and give the RAM to the application. It can do a better job.
Once you have made a change, monitor the hit rate. If read hits are low, depending on your application, then increase some small amount and monitor again. If hit rates are at 100% or close all the time and you need memory for something else, reduce it some, and monitor again.
It depends on your usage of the system but the poorly chosen 50% default has caused a lot of issues in the past. Try formatting a large database then watch your system hang or surge while the 24GB of buffers are flushing to disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2008 12:39 PM
тАО07-16-2008 12:39 PM
Re: buffer Cache
You should limit it to around 600-800 MB otherwise you see performance hits.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2008 12:41 PM
тАО07-16-2008 12:41 PM
Re: buffer Cache
A file buffer cache is of 50% is generally far too large. The concept of the buffer cache is that file buffers can remain in memory speeding reuse to data. Periodically (every 30-seconds) the 'syncer' daemon flushes modified buffers to disk. WHile 11.23 is far superior in its buffer cache handling than previous releases, a 50% setting (dbc_max_pct=50) is probably a waste of memory and may be an impediment to overall, constant throughput when 'syncer' runs. Something like a 5% value is probably going to give you good value.
http://docs.hp.com/en/B3921-60631/dbc_max_pct.5.html
You can use 'glance' to monitor performance before and after changing the buffer cache size.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2008 12:46 PM
тАО07-16-2008 12:46 PM
Re: buffer Cache
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2008 01:11 PM
тАО07-16-2008 01:11 PM
Re: buffer Cache
With 'glance' you can look at the ratio of physical versus logical I/O. If the buffer cache is begin well utilized, you should see less physical I/O relative to logical I/O.
Remember that your application and your mountpoint options can decide whether or not to involve the buffer cache in the first place. After all, one of the reasons you purchase OnlineJFS is for the use of mount options that bypass the buffer cache when buffering is done by a database engine like Oracle.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2008 01:16 PM
тАО07-16-2008 01:16 PM
Re: buffer Cache
sar -b 10 10
glance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2008 01:26 PM
тАО07-16-2008 01:26 PM
Re: buffer Cache
look for sar -b output and check %rcache value. %90 and above is good usage. if it's %100 you can decrease dbc_max_pct kernel parameter and get more memory back to your applications.
Kenan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2008 07:18 PM
тАО07-16-2008 07:18 PM
Re: buffer Cache
for this you need to tune the kernel parameters dbc_max_pct and dbc_min_pct parameters. for larger memory systems, you may decrease the dbc_max_pct value to 10.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2008 10:26 PM
тАО07-28-2008 10:26 PM
Re: buffer Cache
but this is still the default value in hpux 11.23, COMMON HP! GET OUT OF THE STONE AGE!