- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Strange buffer cache question.
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
09-28-2002 08:31 AM
09-28-2002 08:31 AM
Strange buffer cache question.
I reduced our buffer cache from 1.56 gigs to 756 megs to see if I could gain any performance improvements.
The system did respond fairly well to this change.
Though after a few hours one of our database files became corrupted (Universe PIC db). Whats the chances that lowering the buffer cache could corrupt a database? The system was under low to moderate load at the time. And database corruption happens occasionaly every month or so.
But, since I had made the buffer cache change the night before, all fingers are pointed at me and the buffer cache. Our development test systems performed flawlessly with 300 megs buffer cache, before I did the change to the live machines.
Could you guys please respond with:
*) Chances a buffer cache drop to 756 from 1.56 gigs would corrupt a database.
*) HP's recommended buffer cache settings, and why they are recommended.
This is worth some points for you guys :) And the more responses I can get, the better chances I will be able to keep the buffer cache at the recommended setting.
I personally think the database corruption just happened to be a fluke, since it has happened in the past.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2002 08:47 AM
09-28-2002 08:47 AM
Re: Strange buffer cache question.
I would suspect that dropping the buffer cache has nothing to do with the database corruption problem, especially if it happens on a regular basis. With less buffer cache, the data will have less memory to live in and should be flushed to disk more frequently. If you aren't logging any kind of disk errors from the operating system, I would suspect the database programs, and then possible the disk array. Even at that, most modern disk arrays are so good that disk corruption really isn't an issue unless you have some bad hardware (bad disk, bad buffer cache in the array, etc.) so I'm inclined to think it is a database problem. Also, with a lower buffer cache, there should be more memory for the database application, assuming that it can take advantage of the addditional memory. What type of disk storage are you using on that system?
Also, using Glance and/or MeasureWare, you should be able to track your buffer cache hit percentage, and I'm willing to be that it is in the high 90 percent range with the lower buffer cache size.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2002 08:54 AM
09-28-2002 08:54 AM
Re: Strange buffer cache question.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2002 08:54 AM
09-28-2002 08:54 AM
Re: Strange buffer cache question.
The Filesystem (VxFS 3.1) is not logging any errors at all.
Using Glance, CPU, disk IO, and RAM utilization are all extremly low.
Thanks for the replies so far!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2002 08:55 AM
09-28-2002 08:55 AM
Re: Strange buffer cache question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2002 09:06 AM
09-28-2002 09:06 AM
Re: Strange buffer cache question.
I don't know of any way to trace or log the writes to a particular file, but maybe one of the other real wizards on the forum will have an idea. If you could track the programs that write to that file, and tie it to when the header record gets corrupted, you might be able to narrow down the corruption to a certain program.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2002 12:34 PM
09-28-2002 12:34 PM
Re: Strange buffer cache question.
As for a recommendation, the range is 200-800megs for most modern (1999 and newer) machines with at least 4 Gb of memory. For Universe, when there is a lot of report writing, you can bump it up but as always, it all depends. Most important, the cache is simply improving filesystem performance...there is no magic value that might cause corruption.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2002 12:35 PM
09-28-2002 12:35 PM
Re: Strange buffer cache question.
The reccomended buffer cache settings are really "it depends". On most 11.0 boxes going above about 400MB is pointless; on 11.11 buffer caches of 800-1000MB perform well in MOST cases.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2002 01:18 PM
09-28-2002 01:18 PM
Re: Strange buffer cache question.
As far as patching is concerned. I am pactched up to June 2002. Always stay up to date with latest patch releases, latest lvm patches, and latest vxfs patches, etc.
Are you guys saying the buffer cache performance has improved with 11.11? Is it possible to load 11.11 on a k460? I may load a test copy on one of my dev boxes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2002 02:19 PM
09-28-2002 02:19 PM
Re: Strange buffer cache question.
Yes it is possible to run 11.11 on a K460, and the 64 bit version as well. Check the table in this link.
http://devresource.hp.com/STK/serversupport.html
I haven't loaded the June 2002 release on any of my production servers, but have on a test system. I see no big problems with it.
I've not measured a difference in 11 Vs 11i as far as buffer cache is concerned, but the 11i version is very stable and we use on most of our production servers. My opinion is that it depends entirely on the combination of hardware, software, applications and databases.
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2002 05:02 PM
09-29-2002 05:02 PM
Re: Strange buffer cache question.
I have seen corruptions when a site is using EMC physical devices and have not set the correct values for pv timeout and bad block relocation.
------
If you using EMC Physical devices/disks, you may want to ensure you have the physical volume timeout set to the required value.
Also that Bad Block Relocation should be set to 'None' on all Logical volumes that are on the EMC physical devices.
-------
The PV timeout should be set to 180 for all EMC devices.
check the value with 'pvdisplay' command
pvdisplay /dev/dsk/cXtXdX
look for line 'IO Timeout' if its set as default this is 30 seconds. (if I remember correctly)
change with 'pvchange' command
pvchange -t 180 /dev/dsk/cXtXdX
---
Logical volumes should have 'bad block relocation' set to 'None'
check the value with
lvdisplay /dev/vgXX/lvolX
look for line "Bad block"
this setting should be either 'on/off/None'
If not set to 'None' set with below command.
lvchange -r N /dev/vgxx/lvolx
Hope this helps,
regards
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2002 03:50 AM
09-30-2002 03:50 AM
Re: Strange buffer cache question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2002 04:12 AM
09-30-2002 04:12 AM
Re: Strange buffer cache question.
As a result of this we reduced our buffer cache right down to 10% without problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2002 04:15 AM
09-30-2002 04:15 AM