<?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: write back caching and data loss in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243493#M616107</link>
    <description>&amp;gt; does anybody have statistic as to how much percent faster is writeback compared to say writethrough data caching.&lt;BR /&gt; &lt;BR /&gt;I think you'll have to explain your terminology. These terms are normally applied to the electrical design of a CPU chip or to the design of a data cache such as the HP-UX buffer cache (Unified File Cache for 11.31). You can learn all about it here:&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://h20338.www2.hp.com/enterprise/w1/en/os/hpux11i-kod-unified-file-cache.html" target="_blank"&gt;http://h20338.www2.hp.com/enterprise/w1/en/os/hpux11i-kod-unified-file-cache.html&lt;/A&gt;</description>
    <pubDate>Mon, 14 Jun 2010 13:56:26 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2010-06-14T13:56:26Z</dc:date>
    <item>
      <title>write back caching and data loss</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243485#M616099</link>
      <description>i read about write back data caching and have question&lt;BR /&gt;&lt;BR /&gt;is HP-UX write back data caching ?&lt;BR /&gt;&lt;BR /&gt;when data in cache dirty, if system goes down. is it data loss?&lt;BR /&gt;is there some way to get that data back. like some utility that&lt;BR /&gt;read the system core dump and rebuild the cache or something like that.&lt;BR /&gt;&lt;BR /&gt;Scotty</description>
      <pubDate>Sat, 12 Jun 2010 15:46:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243485#M616099</guid>
      <dc:creator>Scotty HD</dc:creator>
      <dc:date>2010-06-12T15:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: write back caching and data loss</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243486#M616100</link>
      <description>HP-UX has disk data in several places, not just the buffer cache, which is primarily filesystem data and directory values. There can be memory mapped files which are also memory resident as well as possible page-in and page-out activities plus all the programs with local data and shared memory segments.&lt;BR /&gt; &lt;BR /&gt;So if the system goes down, memory is never saved unless the system performs a TOC or has a system crash. Then a memory dump is taken with the contents sent to the dump area. However, today's RAM can be enormously large (32 GB to 256 GB) so not every part of RAM is saved. With crashconf, the selected memory sections can be included or excluded.&lt;BR /&gt; &lt;BR /&gt;Although there is no utility to "rebuild the cache" since there would be no way to start all the programs in a way that they could  synchronize and use the data.&lt;BR /&gt; &lt;BR /&gt;The first step towards reliability is power and air conditioning. A simple UPS for a server is not enough -- the data center needs a big UPS with a backup generator. Or the big UPS comes with software to force an orderly shutdown of every system *and* disk arrays. Similarly, the air conditioning must also provide an orderly of all servers when the temperature exceed 95F or higher.&lt;BR /&gt; &lt;BR /&gt;Programs and databases must be designed for crash recovery -- it will happen. Crash prevention includes patching the OS at least twice a year and the applications and database engine as required.</description>
      <pubDate>Sat, 12 Jun 2010 16:54:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243486#M616100</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-06-12T16:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: write back caching and data loss</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243487#M616101</link>
      <description>&amp;gt;I read about write back data caching and have question&lt;BR /&gt;&lt;BR /&gt;Are you talking about the cache in disk controllers or what?&lt;BR /&gt;&lt;BR /&gt;There are CPU caches.  The file cache in RAM and various caches in array controllers.</description>
      <pubDate>Sat, 12 Jun 2010 21:48:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243487#M616101</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-06-12T21:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: write back caching and data loss</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243488#M616102</link>
      <description>Hi Scotty:&lt;BR /&gt;&lt;BR /&gt;When using the JFS (VxFS) filesystem, various mount options control data integrity across a crash.  You can ramp up performance at the expense of some data loss (e.g. mounting with 'tmplog') or chose to record data and metadata changes before returning to the calling program with the 'log' mount option.&lt;BR /&gt;&lt;BR /&gt;See the manpages for 'mount_vxfs' for more information.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Sat, 12 Jun 2010 22:07:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243488#M616102</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-06-12T22:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: write back caching and data loss</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243489#M616103</link>
      <description>Dennis Handly&amp;gt;&amp;gt;&lt;BR /&gt;i was referring to data cache which termed as buffer cache in hp-ux.&lt;BR /&gt;&lt;BR /&gt;Bill Hassell&amp;gt;&amp;gt;&lt;BR /&gt;did you mean,&lt;BR /&gt;if system crashed due to some bug in some component and lets say there is&lt;BR /&gt;dirty data in cache. then that data will be lost.&lt;BR /&gt;the program/application should be written such that it would deal with this&lt;BR /&gt;scenario ?&lt;BR /&gt;&lt;BR /&gt;Scotty</description>
      <pubDate>Sun, 13 Jun 2010 05:09:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243489#M616103</guid>
      <dc:creator>Scotty HD</dc:creator>
      <dc:date>2010-06-13T05:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: write back caching and data loss</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243490#M616104</link>
      <description>&amp;gt;termed as buffer cache in hp-ux.&lt;BR /&gt;&lt;BR /&gt;On 11.31, it is now called the Unified File Cache.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;the program/application should be written such that it would deal with this scenario?&lt;BR /&gt;&lt;BR /&gt;Are you using a database?  They may have their own transaction managers to handle this.</description>
      <pubDate>Sun, 13 Jun 2010 06:56:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243490#M616104</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-06-13T06:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: write back caching and data loss</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243491#M616105</link>
      <description>&amp;gt; if system crashed due to some bug in some component and lets say there is&lt;BR /&gt;dirty data in cache. then that data will be lost.&lt;BR /&gt; &lt;BR /&gt;Correct.&lt;BR /&gt; &lt;BR /&gt;&amp;gt; the program/application should be written such that it would deal with this&lt;BR /&gt;scenario ?&lt;BR /&gt; &lt;BR /&gt;Yes.&lt;BR /&gt; &lt;BR /&gt;When any computer crashes, everything you know about the OS is gone. In HP-UX, if there is an OS crash, selected portions of memory are written to the crash dump area on disk (assuming that the disk is working). Then the system boots up and you start your application again. Assuming that you knew enough about the HP-UX kernel and memory mapping (and adb and other tools), if you had a copy of the data, what would you do with it? Your program has no way to know where it was when the crash occurred.&lt;BR /&gt; &lt;BR /&gt;Your programs should be written to recover from a crash, that is, keep transaction and rollback logs. Given that a well-patched HP-UX system very seldom crashes, I would be more concerned about mirroring your vg00 disks, taking regular Ignite backups and rehearsing a hard disk recovery.</description>
      <pubDate>Sun, 13 Jun 2010 10:41:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243491#M616105</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-06-13T10:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: write back caching and data loss</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243492#M616106</link>
      <description>Bill Hassell&amp;gt;&amp;gt;&lt;BR /&gt;well written reply. easy to understand.&lt;BR /&gt;&lt;BR /&gt;if talk about writeback advantage.&lt;BR /&gt;does anybody have statistic as to how much percent faster is writeback&lt;BR /&gt;compared to say writethrough data caching.&lt;BR /&gt;&lt;BR /&gt;Scotty</description>
      <pubDate>Mon, 14 Jun 2010 12:07:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243492#M616106</guid>
      <dc:creator>Scotty HD</dc:creator>
      <dc:date>2010-06-14T12:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: write back caching and data loss</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243493#M616107</link>
      <description>&amp;gt; does anybody have statistic as to how much percent faster is writeback compared to say writethrough data caching.&lt;BR /&gt; &lt;BR /&gt;I think you'll have to explain your terminology. These terms are normally applied to the electrical design of a CPU chip or to the design of a data cache such as the HP-UX buffer cache (Unified File Cache for 11.31). You can learn all about it here:&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://h20338.www2.hp.com/enterprise/w1/en/os/hpux11i-kod-unified-file-cache.html" target="_blank"&gt;http://h20338.www2.hp.com/enterprise/w1/en/os/hpux11i-kod-unified-file-cache.html&lt;/A&gt;</description>
      <pubDate>Mon, 14 Jun 2010 13:56:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243493#M616107</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-06-14T13:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: write back caching and data loss</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243494#M616108</link>
      <description>Bill Hassell&amp;gt;&amp;gt;&lt;BR /&gt;by cache i refer to buffer cache (data cache)&lt;BR /&gt;&lt;BR /&gt;write through&lt;BR /&gt;Application does write IO&lt;BR /&gt;- data written to cache&lt;BR /&gt;- data written to disk&lt;BR /&gt;- IO completes&lt;BR /&gt;&lt;BR /&gt;Write back&lt;BR /&gt;Application does write IO&lt;BR /&gt;- data written to cache&lt;BR /&gt;- IO completes&lt;BR /&gt;- data written to disk based on write back policy&lt;BR /&gt;&lt;BR /&gt;write back give better performance compared to write through.&lt;BR /&gt;i wanted to know if anybody has some percentage numbers.&lt;BR /&gt;&lt;BR /&gt;Scotty</description>
      <pubDate>Thu, 17 Jun 2010 13:12:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243494#M616108</guid>
      <dc:creator>Scotty HD</dc:creator>
      <dc:date>2010-06-17T13:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: write back caching and data loss</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243495#M616109</link>
      <description>experts,&lt;BR /&gt;any idea on this ?&lt;BR /&gt;&lt;BR /&gt;Scotty</description>
      <pubDate>Thu, 24 Jun 2010 14:19:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243495#M616109</guid>
      <dc:creator>Scotty HD</dc:creator>
      <dc:date>2010-06-24T14:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: write back caching and data loss</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243496#M616110</link>
      <description>no replies.&lt;BR /&gt;nobody came accoss the statistics for these?&lt;BR /&gt;&lt;BR /&gt;Scotty</description>
      <pubDate>Fri, 09 Jul 2010 13:34:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243496#M616110</guid>
      <dc:creator>Scotty HD</dc:creator>
      <dc:date>2010-07-09T13:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: write back caching and data loss</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243497#M616111</link>
      <description>&amp;gt;nobody came across the statistics for these?&lt;BR /&gt;&lt;BR /&gt;I'm not sure what you would do with these statistics?&lt;BR /&gt;What you are asking for is HP-UX design considerations.</description>
      <pubDate>Fri, 09 Jul 2010 17:49:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243497#M616111</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-07-09T17:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: write back caching and data loss</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243498#M616112</link>
      <description>closing this thread&lt;BR /&gt;&lt;BR /&gt;Scotty</description>
      <pubDate>Fri, 30 Jul 2010 14:42:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-back-caching-and-data-loss/m-p/5243498#M616112</guid>
      <dc:creator>Scotty HD</dc:creator>
      <dc:date>2010-07-30T14:42:37Z</dc:date>
    </item>
  </channel>
</rss>

