- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disk Immediate Reporting
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
06-06-2002 07:59 AM
06-06-2002 07:59 AM
I have always had this parameter set to zero (off) since that is the recommended setting from HP. Yesterday a group of consultants who were looking at our kernel config dinged us in a report to mgmt. They claim this should be turned on to maximize database performance.
At first we were defensive about our config, but upon reflection, maybe they are right? We are on an L3000 server, HPUX 11.0, connected to an AutoRAID 12H. The AutoRAID has dual 96mb controllers.
I set up everything in LVM very carefully to balance across the controllers. I'm using extent-based striping and a few other tricks to balance the load. All of our statistics look excellent, no hot-spots. The Oracle statistics show zero wait times.
I guess my real question is, why have 96mb of cache on the controllers if you are waiting until everything is written to disk anyway?
Thanks in advance for any comments.
Tim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 08:06 AM
06-06-2002 08:06 AM
Re: Disk Immediate Reporting
From Sam's help on default_disk_ir:
With Immediate Reporting ON, disk drives that have data caches
return from a write() system call when the data is cached, rather
than returning after the data is written on the media.
To me it sounds dangerous to turn it on, especially in a database application environment.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 08:17 AM
06-06-2002 08:17 AM
Re: Disk Immediate Reporting
It appears to me that you would be compromizing data integrity for speed. Speed which you don't really need right now. Don't do it!
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 08:32 AM
06-06-2002 08:32 AM
Re: Disk Immediate Reporting
Straight from the man pages
\Quote
Cached data can be lost if a device power failure or reset occurs before the device writes the cached data to media. Because of these risks, the recommended value for this parameter on servers is Immediate Reporting disabled (0).
When Should the Tunable Be Turned On?
When a third party application vendor recommends it. For normal use, HP strongly recommends you don't enable this tunable.
What Are the Side Effects of Turning the Tunable On?
Since enabling this tunable circumvents the protections provided by LVM or RAID, there is a strong risk of filesystem corruption and data loss in case of a device power failure or reset.
When Should the Tunable Be Turned Off?
HP recommends you always disable this tunable. This is especially true if you don't want to take the risk of filesystem corruption and data loss in case of a device power failure or reset.
What Are the Side Effects of Turning the Tunable Off?
This might reduce the performance of disk write (not read) access while eliminating the risk of filesystem corruption and data loss in case of a device power failure or reset.
\EndQuote
Sure sounds straight-forward to me!
I'd say if mgmnt wants it turned on, get them to sign off on it. No sign-off - No turn on.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 08:37 AM
06-06-2002 08:37 AM
Re: Disk Immediate Reporting
KEEP IT AT ZERO!!!!!!!
default_disk_ir
The
is explicitly set to 1 on HP workstations. It is 0 by default on HP servers. When it is set to 1 a disk write is considered complete when it is transferred into the cache memory (RAM) in the hard-disk drive. This improves filesystem performance significantly at the expense of a small decrease in data integrity on power failure. When this parameter is "1" it also causes HFS filesystems to be mounted, by default, with the "behind" option active. (see: man 1m mount_hfs) In general, keep
http://www.comet.ucar.edu/strc/unix/textfiles/SystemTune.txt
And then tell your PSEUDO-expert CON-sulk-Ants to get a life and maybe another job! Maybe they should take a KomPewter class?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 08:37 AM
06-06-2002 08:37 AM
Re: Disk Immediate Reporting
1- For now the IO performance is good (no complaints)
2- I want the to make sure anyway the data is pysically written.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 08:48 AM
06-06-2002 08:48 AM
Re: Disk Immediate Reporting
;^)
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 08:59 AM
06-06-2002 08:59 AM
Re: Disk Immediate Reporting
I had to go though an audit yesterday of a huge project with E&Y, one where I designed the technical specs, and it ended up being a waste of my time because they didn't have a question that hadn't already been answered.
I could have done that and saved us money!
I probably could have said that we were going to implement the new java flavored jumping beans, and they would have said, oh yeah that sounds good :-))
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 09:02 AM
06-06-2002 09:02 AM
Re: Disk Immediate Reporting
I think you and I are on exactly the same wave length when it comes to auditors - they're a bunch of time wasting fools that should stick to counting their beans and leave us alone.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 09:17 AM
06-06-2002 09:17 AM
Re: Disk Immediate Reporting
The best way to speed up i/o to an Autoraid 12H is to replace some of the disks (or plug into empty spaces) some new drives which spin at 10k rpm. They REALLY make a difference. I did this to one of my customers and their data capture job suddenly took half the time it used to. One word of warning with this is that you have to replace the disks one at a time, allowing the rebuild on each to complete before you replace the next one.
Also, if the new disks are bigger than the previous disks then make sure that you plug in at least 3 of them (one for hot spare, 2 for RAID). With a full array (ie no free LUN space) I was given no extra space and no more performance until I plugged the 3rd one in, then it flew along at the speed of jbods.
Keep your immediate reporting parameter at zero. If you are using a database then the i/o is probably going to be asyncronous anyway, so changing this parameter will make no difference. If you are just talking about filesystem i/o then use fs_async=1 and buy a UPS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 09:30 AM
06-06-2002 09:30 AM
Re: Disk Immediate Reporting
Steve - Our AutoRAID is fully loaded with 36 gb 10k drives. I have less than 50% of it allocated so I know that everything is running Raid 1/0. The weekly stats that I run on the array relect this since I can see that nothing ever get migrated to Raid5.
I think these consultants were just following some 10yr old boilerplate recommendations. They also made a bunch of Oracle tuning recommedations which were totally bogus.
The default_disk_ir setting is bugging me though. The AutoRAID has battery backups, plus the entire room is on a UPS system. Seems like several redundant systems would all need to fail simultaneously for this to corrupt a file system.
But just to be on the safe side I'll leave it at zero. I have no statistics which indicate it should be set otherwise.
Thanks again,
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 10:12 AM
06-06-2002 10:12 AM
Re: Disk Immediate Reporting
Yes you may never lose power on the array....BUT....can you guarantee that the SCSI bus won't lbolt, or reset, so to speak?
You want to guarantee that a chip won't fail, a resistor won't fry, a cable connector won't oxidize, hell the roof won't leak?
If it's production data, it's PURE $.
Now who wants to quibble over a few measly microseconds...that seems like right now, you don't even need.
That cache is fairly large, you could miss quite a few transactions if something that *never will* happen - does.
My 2 cents,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 10:14 AM
06-06-2002 10:14 AM
SolutionYou should have asked "Have you measured this?".
By a remarkable coincidence my Sandbox server (an old K260/1 with a 12H attached) is running HP-UX 11.11.
I put together this test:
timex dd if=/dev/zero of=/u01/tempdata bs=64k count=10000
Here are the averaged results over 5 trials for each setting:
default_disk_ir real user sys
0 31.35 .10 9.93
1 31.50 .11 9.57
Note that the total time actually increased slightly with default_disk_ir set to 1 although
the system time decreased by about 3.6%.
I also used arraymgr to set the apparent read and write cache state to on and that made no significant change either.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 11:11 AM
06-06-2002 11:11 AM
Re: Disk Immediate Reporting
Always take a consultant's advice with a grain of salt.
We had a group of consultants who recommended that we upgrade from ITO v4 to VPO V6 without the intermediate upgrade to v5 (HP's recommendation). Since they seemed to know what they were talking about we had them do the upgrade. It has been almost a year and we are still trying to straighten things out!
Marty