- 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
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
11-13-2003 02:34 AM
11-13-2003 02:34 AM
Buffer cache
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 02:39 AM
11-13-2003 02:39 AM
Re: Buffer cache
I never get as high as 95% on writes, so this is likely good for you.
However, many sloopy programs show themselves first in sar -b.
for instance, a looping program will load a chunk of data into mem. than i/o to it repeatedly. Cache hit rates go up as a result, appearing to be a well running system.
Usually, high rates are good.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 02:41 AM
11-13-2003 02:41 AM
Re: Buffer cache
http://www1.itrc.hp.com/service/cki/search.do?category=c0&docType=Security&docType=Patch&docType=EngineerNotes&docType=BugReports&docType=Hardware&docType=ReferenceMaterials&docType=ThirdParty&searchString=UPERFKBAN00000726&search.y=8&search.x=28&mode=id&admit=-682735245+1068738026714+28353475&searchCrit=allwords
DocId: UPERFKBAN00000726 Updated: 20031008
I don't think the itrc folks like me pasting in relavent sections.
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-13-2003 02:42 AM
11-13-2003 02:42 AM
Re: Buffer cache
let me quote from a system perf doc:
"The goal of the buffer cache is to increase the speed of disk io reads and writes. The trade off for that increased performance is the usage of a percentage of main memory. It is desirable to see %rcache >= 90, and %wcache >= 70%. Some system configurations (for example systems with raw partitions or applications that perform random reads and writes) will never see these buffer cache hit rates. The goal is to adjust the cache to give the best performance for that particular system."
Regards
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 03:25 AM
11-13-2003 03:25 AM
Re: Buffer cache
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 03:48 AM
11-13-2003 03:48 AM
Re: Buffer cache
That is, if I have a value of 90% for %wcache, itt means that the size of buffer cache is ok. But if I have a value of 30% for %wcache, it means that the buffer cache is too large. That's what I don't undertand yet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 04:19 AM
11-13-2003 04:19 AM
Re: Buffer cache
wcache has to be 100%.
Raise or lower dbc_max_pct and dbc_min_pct as needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 04:39 AM
11-13-2003 04:39 AM
Re: Buffer cache
rcache has to be 100%.
wcache has to be 70% or better.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 04:42 AM
11-13-2003 04:42 AM
Re: Buffer cache
But I'm sure the results are very dependent on the applications needs.
30% write is lower than I've usually seen, and would be an indication that cache size is too low, or that writes are scattered.
If writes were, in theory, totally random across all storage, than cache hit rate would always be very low, and no amount of cache would make much difference.
Also, the higher the rate, the less the effect of more cache will have on the %. Getting that last bit of % requires massive amounts of cache, and as has been well documented on this site, large cache with it's large resource overhead, can reduce performance as cache size increases.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 05:07 AM
11-13-2003 05:07 AM
Re: Buffer cache
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x502aec36c7ff304ca1b648ff65c4ef87%2C00.html&admit=716493758+1068746750314+28353475
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 07:00 PM
11-13-2003 07:00 PM
Re: Buffer cache
%rcache Buffer cache hit ratio for read requests e.g., 1 - bread/lread;
The -b option to sar reports the number of transactions to block or physical devices.
The "bread" and "bwrite" don't refer to the number of bytes or blocks transferred, but
to the number of transers (or transactions) to a block device.
The "pread" and "pwrite" then refer to the number of transactions made to a physical or raw device.
Idealy we want to see an average %wcache of 95% or greater. If system consistently shows
%wchache lower than 75% it would be adviseable to lower the value of dbc_max_pct.
It is adviseable to always keep buffer cache lower or equal to 300Mbytes. This can be controlled by kernel parameter
dbc_min_pct & dbc_max_pct if you are using dynamic buffer.