HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Dynamic Buffer Cache Sizing
Operating System - HP-UX
1834134
Members
1885
Online
110064
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
05-09-2002 02:47 PM
05-09-2002 02:47 PM
Hello All,
In some of our systems, when I run "sar -b" I am getting very low ratios for %wcache. Sometimes I get low ratios for %rcache as well.
1. Is this a good thing or a bad thing?
2. What would be the 'right size' for the dynamic buffer cache?
3. As a rule of thumb, what size should the dynamic buffer cache be?
We have Oracle running on all of these systems.
Your thoughts on this matter would be really appreciated. Thanks to all of you in advance.
Regards,
Suren Selva
In some of our systems, when I run "sar -b" I am getting very low ratios for %wcache. Sometimes I get low ratios for %rcache as well.
1. Is this a good thing or a bad thing?
2. What would be the 'right size' for the dynamic buffer cache?
3. As a rule of thumb, what size should the dynamic buffer cache be?
We have Oracle running on all of these systems.
Your thoughts on this matter would be really appreciated. Thanks to all of you in advance.
Regards,
Suren Selva
Experience is worth nothing if not gained from!
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 03:12 PM
05-09-2002 03:12 PM
Solution
1. Is this a good thing or a bad thing?
If %read cache hit ratio is below 95% it may be a bad thing
2. What would be the 'right size' for the dynamic buffer cache?
Enough to maintain ~>95% read cache hit ratio
3. As a rule of thumb, what size should the dynamic buffer cache be?
10-15% of ram with 512MB ram or above then monitor %read hit ratio and increase if needed.
There are a lot of previous posts on buffer cache sizing and measuring performance. I recommend you use the ITRC Forums search function to find some of these posts, they are very useful. I find Bill Hassell's posts especially useful.
In summmary:
Percent read cache hit ratio is the most important factor with a hit ratio above 95% considered as OK. If I had a consistent ratio below %95 percent (say as averaged over the period of the busiest few hours of the busiest day of the week) I would consider increasing the buffer cache if there was sufficient free memory.
I only monitor %read hit ratio and do not bother with %write hit ratio. Others may differ.
If you have Online JFS then you will be able to take advantage of special mount options that allow bypassing of the buffer cache for some Oracle objects. This can improve database write performance and avoid "double buffering" of writes to database files and indexes. These mount option are convosync=direct,mincahce =direct. Only use these options on file systems used for data files and indexess, not redo logs, archive logs and control files. Check Oracle technical support for more info. Do not use these options for general purpose filesystems as they may dramatically increase response times.
The HP Glance performance tools can help enourmously in identifying buffer cache size. Contact your HP sales rep to get an evaluation copy (60 days I think)
In the end if response times are satisfactory I would tend to leave it alone.
If %read cache hit ratio is below 95% it may be a bad thing
2. What would be the 'right size' for the dynamic buffer cache?
Enough to maintain ~>95% read cache hit ratio
3. As a rule of thumb, what size should the dynamic buffer cache be?
10-15% of ram with 512MB ram or above then monitor %read hit ratio and increase if needed.
There are a lot of previous posts on buffer cache sizing and measuring performance. I recommend you use the ITRC Forums search function to find some of these posts, they are very useful. I find Bill Hassell's posts especially useful.
In summmary:
Percent read cache hit ratio is the most important factor with a hit ratio above 95% considered as OK. If I had a consistent ratio below %95 percent (say as averaged over the period of the busiest few hours of the busiest day of the week) I would consider increasing the buffer cache if there was sufficient free memory.
I only monitor %read hit ratio and do not bother with %write hit ratio. Others may differ.
If you have Online JFS then you will be able to take advantage of special mount options that allow bypassing of the buffer cache for some Oracle objects. This can improve database write performance and avoid "double buffering" of writes to database files and indexes. These mount option are convosync=direct,mincahce =direct. Only use these options on file systems used for data files and indexess, not redo logs, archive logs and control files. Check Oracle technical support for more info. Do not use these options for general purpose filesystems as they may dramatically increase response times.
The HP Glance performance tools can help enourmously in identifying buffer cache size. Contact your HP sales rep to get an evaluation copy (60 days I think)
In the end if response times are satisfactory I would tend to leave it alone.
I've got a little black book with me poems in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 03:14 PM
05-09-2002 03:14 PM
Re: Dynamic Buffer Cache Sizing
Suren,
This is at times a hot topic here in the forums. (Along with swap spcae size, but I will not get into that here...) You can find a large number of posts about this if you do a "search" (to the left) and search on 'buffer cache' in the forums.
Anyway, it is my feeling, (and I really have not seen performance issues that show otherwise) that the buffer cache should be fairly limited when you are talking about fairly new disks. The disks out today are very fast compared to a few years ago. I try to set my cache at a range of 50MB - 300MB. I generally do not go over 400MB on any machine, but just about all my machines are less than 2 years old...
The reason why you do not want such a large buffer cache is that every time your system has to do a read or write, it has to look at that cache every time before it goes to disk. Every time. If you configure a very large cache, you will end up spending more overhead on a system than if the system just goes out and reads the disk without a cache every time. That is why I limit my cache.
No need to waste memory or cause your system to page unnecessarily if you have a relatively small amount of memory...
You will problibly see posts or have people reply that say not to have a dynamic cache. It's up to you if you want a fixed cache or a dynamic cache.
Hope it helps
John
This is at times a hot topic here in the forums. (Along with swap spcae size, but I will not get into that here...) You can find a large number of posts about this if you do a "search" (to the left) and search on 'buffer cache' in the forums.
Anyway, it is my feeling, (and I really have not seen performance issues that show otherwise) that the buffer cache should be fairly limited when you are talking about fairly new disks. The disks out today are very fast compared to a few years ago. I try to set my cache at a range of 50MB - 300MB. I generally do not go over 400MB on any machine, but just about all my machines are less than 2 years old...
The reason why you do not want such a large buffer cache is that every time your system has to do a read or write, it has to look at that cache every time before it goes to disk. Every time. If you configure a very large cache, you will end up spending more overhead on a system than if the system just goes out and reads the disk without a cache every time. That is why I limit my cache.
No need to waste memory or cause your system to page unnecessarily if you have a relatively small amount of memory...
You will problibly see posts or have people reply that say not to have a dynamic cache. It's up to you if you want a fixed cache or a dynamic cache.
Hope it helps
John
Spoon!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 03:57 PM
05-09-2002 03:57 PM
Re: Dynamic Buffer Cache Sizing
Hi,
Have a look at these two links. They provide some valuable opinions.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6752a22831ebd5118ff40090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf49203bbece8d5118ff40090279cd0f9,00.html
Have a look at these two links. They provide some valuable opinions.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6752a22831ebd5118ff40090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf49203bbece8d5118ff40090279cd0f9,00.html
Anyone for a Mutiny ?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP