<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Disk Immediate Reporting in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739291#M67288</link>
    <description>Hi (again) Tim,&lt;BR /&gt;&lt;BR /&gt; 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?&lt;BR /&gt;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?&lt;BR /&gt; If it's production data, it's PURE $. &lt;BR /&gt;Now who wants to quibble over a few measly microseconds...that seems like right now, you don't even need.&lt;BR /&gt; That cache is fairly large, you could miss quite a few transactions if something that *never will* happen - does.&lt;BR /&gt;&lt;BR /&gt;My 2 cents,&lt;BR /&gt;Jeff</description>
    <pubDate>Thu, 06 Jun 2002 17:12:03 GMT</pubDate>
    <dc:creator>Jeff Schussele</dc:creator>
    <dc:date>2002-06-06T17:12:03Z</dc:date>
    <item>
      <title>Disk Immediate Reporting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739280#M67277</link>
      <description>Does anyone have an opinion or horror story they'd like to share on the kernel parameter default_disk_ir?&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any comments.&lt;BR /&gt;&lt;BR /&gt;Tim&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jun 2002 14:59:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739280#M67277</guid>
      <dc:creator>Tim Medford</dc:creator>
      <dc:date>2002-06-06T14:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Immediate Reporting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739281#M67278</link>
      <description>Tim,&lt;BR /&gt;&lt;BR /&gt;From Sam's help on default_disk_ir:&lt;BR /&gt;&lt;BR /&gt;With Immediate Reporting ON, disk drives that have data caches&lt;BR /&gt; return from a write() system call when the data is cached, rather&lt;BR /&gt; than returning after the data is written on the media.&lt;BR /&gt;&lt;BR /&gt;To me it sounds dangerous to turn it on, especially in a database application environment.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 06 Jun 2002 15:06:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739281#M67278</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-06T15:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Immediate Reporting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739282#M67279</link>
      <description>You are not experiencing performance problems, why would you want to change things? "If it ain't broke, don't fix it!"&lt;BR /&gt;&lt;BR /&gt;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!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Marty</description>
      <pubDate>Thu, 06 Jun 2002 15:17:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739282#M67279</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2002-06-06T15:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Immediate Reporting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739283#M67280</link>
      <description>Hi Tim,&lt;BR /&gt;&lt;BR /&gt; Straight from the man pages&lt;BR /&gt;&lt;BR /&gt;\Quote&lt;BR /&gt;&lt;BR /&gt;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).&lt;BR /&gt;&lt;BR /&gt;When Should the Tunable Be Turned On? &lt;BR /&gt;When a third party application vendor recommends it. For normal use, HP strongly recommends you don't enable this tunable.&lt;BR /&gt;&lt;BR /&gt;What Are the Side Effects of Turning the Tunable On? &lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;When Should the Tunable Be Turned Off? &lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;What Are the Side Effects of Turning the Tunable Off? &lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;\EndQuote&lt;BR /&gt;&lt;BR /&gt;Sure sounds straight-forward to me!&lt;BR /&gt;&lt;BR /&gt;I'd say if mgmnt wants it turned on, get them to sign off on it. No sign-off - No turn on.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jun 2002 15:32:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739283#M67280</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-06-06T15:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Immediate Reporting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739284#M67281</link>
      <description>&lt;BR /&gt;KEEP IT AT ZERO!!!!!!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;default_disk_ir&lt;BR /&gt;&lt;BR /&gt; The &lt;DEFAULT_DISK_IR&gt; (ir = immediate report)&lt;BR /&gt;&lt;BR /&gt;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 &lt;DEFAULT_DISK_IR&gt; set to 1 on workstations.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.comet.ucar.edu/strc/unix/textfiles/SystemTune.txt" target="_blank"&gt;http://www.comet.ucar.edu/strc/unix/textfiles/SystemTune.txt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And then tell your PSEUDO-expert CON-sulk-Ants to get a life and maybe another job! Maybe they should take a KomPewter class?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry&lt;/DEFAULT_DISK_IR&gt;&lt;/DEFAULT_DISK_IR&gt;</description>
      <pubDate>Thu, 06 Jun 2002 15:37:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739284#M67281</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-06-06T15:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Immediate Reporting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739285#M67282</link>
      <description>The 12H controllers are not just there for cache, they are the CPUs behind keeping the AutoRaid running efficiently, figuring out the appropriate RAID configuration, it's internal bus IO, etc, etc. The default_disk_ir parameter (if enabled) does seems like it would improve performance because from what I understand it does not wait till the data is physically written to the disk, it assumes the disk controller knows how to handle that part, hence the system calls cycle is much faster. Having said that I have not got around enabling it, simply because ..&lt;BR /&gt;1- For now the IO performance is good (no complaints)&lt;BR /&gt;2- I want the to make sure anyway the data is pysically written.</description>
      <pubDate>Thu, 06 Jun 2002 15:37:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739285#M67282</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-06-06T15:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Immediate Reporting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739286#M67283</link>
      <description>Geez, Harry - I wish you wouldn't be so wishy-washy with your advice.&lt;BR /&gt;&lt;BR /&gt;;^)</description>
      <pubDate>Thu, 06 Jun 2002 15:48:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739286#M67283</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-06T15:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Immediate Reporting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739287#M67284</link>
      <description>Pete,&lt;BR /&gt;&lt;BR /&gt;I had to go though an audit yesterday of a huge project with E&amp;amp;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.&lt;BR /&gt;&lt;BR /&gt;I could have done that and saved us money!&lt;BR /&gt;&lt;BR /&gt;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 :-))&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Thu, 06 Jun 2002 15:59:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739287#M67284</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-06-06T15:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Immediate Reporting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739288#M67285</link>
      <description>Harry,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 06 Jun 2002 16:02:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739288#M67285</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-06T16:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Immediate Reporting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739289#M67286</link>
      <description>Tim,&lt;BR /&gt;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.&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jun 2002 16:17:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739289#M67286</guid>
      <dc:creator>Steve Lewis</dc:creator>
      <dc:date>2002-06-06T16:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Immediate Reporting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739290#M67287</link>
      <description>Thanks everyone for your opinions.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.  &lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;Tim</description>
      <pubDate>Thu, 06 Jun 2002 16:30:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739290#M67287</guid>
      <dc:creator>Tim Medford</dc:creator>
      <dc:date>2002-06-06T16:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Immediate Reporting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739291#M67288</link>
      <description>Hi (again) Tim,&lt;BR /&gt;&lt;BR /&gt; 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?&lt;BR /&gt;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?&lt;BR /&gt; If it's production data, it's PURE $. &lt;BR /&gt;Now who wants to quibble over a few measly microseconds...that seems like right now, you don't even need.&lt;BR /&gt; That cache is fairly large, you could miss quite a few transactions if something that *never will* happen - does.&lt;BR /&gt;&lt;BR /&gt;My 2 cents,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 06 Jun 2002 17:12:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739291#M67288</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-06-06T17:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Immediate Reporting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739292#M67289</link>
      <description>Hi Tim:&lt;BR /&gt;&lt;BR /&gt;You should have asked "Have you measured this?".&lt;BR /&gt;&lt;BR /&gt;By a remarkable coincidence my Sandbox server (an old K260/1 with a 12H attached) is running HP-UX 11.11. &lt;BR /&gt;&lt;BR /&gt;I put together this test:&lt;BR /&gt;&lt;BR /&gt;timex dd if=/dev/zero of=/u01/tempdata bs=64k count=10000&lt;BR /&gt;&lt;BR /&gt;Here are the averaged results over 5 trials for each setting:&lt;BR /&gt;&lt;BR /&gt;default_disk_ir    real  user  sys&lt;BR /&gt;0                 31.35   .10   9.93&lt;BR /&gt;1                 31.50   .11   9.57&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Note that the total time actually increased slightly with default_disk_ir set to 1 although&lt;BR /&gt;the system time decreased by about 3.6%.&lt;BR /&gt;&lt;BR /&gt;I also used arraymgr to set the apparent read and write cache state to on and that made no significant change either.&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jun 2002 17:14:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739292#M67289</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-06-06T17:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Immediate Reporting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739293#M67290</link>
      <description>In My Humble Opinion (IMHO),&lt;BR /&gt;&lt;BR /&gt;Always take a consultant's advice with a grain of salt.&lt;BR /&gt;&lt;BR /&gt;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!&lt;BR /&gt;&lt;BR /&gt;Marty</description>
      <pubDate>Thu, 06 Jun 2002 18:11:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-immediate-reporting/m-p/2739293#M67290</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2002-06-06T18:11:50Z</dc:date>
    </item>
  </channel>
</rss>

