<?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 Question about a kernel parameter : fs_async in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-a-kernel-parameter-fs-async/m-p/2596615#M33469</link>
    <description>&lt;BR /&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;I'm trying to tune my HPUX 11.00 systems. We &lt;BR /&gt;use these systems for softwares :&lt;BR /&gt;&lt;BR /&gt;   - about 250 binaries&lt;BR /&gt;   - Ingres (6.4) Database (from CA)&lt;BR /&gt;   &lt;BR /&gt;I saw in one of these system that fs_async is&lt;BR /&gt;activate... and it seems to work faster than &lt;BR /&gt;other... But I don't know if this parameter can&lt;BR /&gt;be dangerous for the system integrity ?&lt;BR /&gt;Do you have some experience about this ?&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;&lt;BR /&gt;Herv?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 17 Oct 2001 15:09:04 GMT</pubDate>
    <dc:creator>Herve BRANGIER</dc:creator>
    <dc:date>2001-10-17T15:09:04Z</dc:date>
    <item>
      <title>Question about a kernel parameter : fs_async</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-a-kernel-parameter-fs-async/m-p/2596615#M33469</link>
      <description>&lt;BR /&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;I'm trying to tune my HPUX 11.00 systems. We &lt;BR /&gt;use these systems for softwares :&lt;BR /&gt;&lt;BR /&gt;   - about 250 binaries&lt;BR /&gt;   - Ingres (6.4) Database (from CA)&lt;BR /&gt;   &lt;BR /&gt;I saw in one of these system that fs_async is&lt;BR /&gt;activate... and it seems to work faster than &lt;BR /&gt;other... But I don't know if this parameter can&lt;BR /&gt;be dangerous for the system integrity ?&lt;BR /&gt;Do you have some experience about this ?&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;&lt;BR /&gt;Herv?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Oct 2001 15:09:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-a-kernel-parameter-fs-async/m-p/2596615#M33469</guid>
      <dc:creator>Herve BRANGIER</dc:creator>
      <dc:date>2001-10-17T15:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Question about a kernel parameter : fs_async</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-a-kernel-parameter-fs-async/m-p/2596616#M33470</link>
      <description>fs_async parameter is to enable asynchronous writes to the disk subsystem. Check the following tutorial for more information. The drawback of having async writes is that in case of system crash, we may end up doing an fsck of the file system which may result a bit of loss of data.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com//hpux/onlinedocs/os/KCparam.FSasync.html" target="_blank"&gt;http://docs.hp.com//hpux/onlinedocs/os/KCparam.FSasync.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Oct 2001 15:22:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-a-kernel-parameter-fs-async/m-p/2596616#M33470</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-10-17T15:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Question about a kernel parameter : fs_async</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-a-kernel-parameter-fs-async/m-p/2596617#M33471</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;i found a great doc that will explen to you if you should change this param .&lt;BR /&gt;&lt;BR /&gt;If fs_async is set to 1 it is enabled:&lt;BR /&gt;fs_async specifies whether or not asychronous writing of file&lt;BR /&gt;system data structures to disk is allowed. If no value for&lt;BR /&gt;fs_async is specified, synchronous writes are used.&lt;BR /&gt;&lt;BR /&gt;If asynchronous writes are selected, HP-UX file system semantics&lt;BR /&gt;for NFS cluster environments are preserved. In addition, files&lt;BR /&gt;opened using open() with the 0_SYNC flag (synchronous writing)&lt;BR /&gt;will continue to be written synchronously when the asynchronous-writes&lt;BR /&gt;feature has been configured into the kernel.&lt;BR /&gt;&lt;BR /&gt;Asynchronous writes to disk can improve file system performance&lt;BR /&gt;significantly. However, asynchronous writes can leave file system&lt;BR /&gt;data structures in an inconsistent state in the event of a system&lt;BR /&gt;crash.&lt;BR /&gt;&lt;BR /&gt;Asynchronous writing as it relates to the fs_async kernel parameter&lt;BR /&gt;allows the system to update file system information on the disk in&lt;BR /&gt;a more convenient (hence faster) sequence rather than in a more&lt;BR /&gt;secure (safer but slower) sequence, thus reducing search and move&lt;BR /&gt;delays between writes. However, if a system crash occurs while these&lt;BR /&gt;operations are being performed, the risk of an inconsistent file system&lt;BR /&gt;that cannot be automatically repaired by fsck is significantly greater&lt;BR /&gt;than with synchronous writes.&lt;BR /&gt;&lt;BR /&gt;If fs_async is set to allow asynchronous writes and a crash occurs,&lt;BR /&gt;fsck does not know what sequence was used, and thus will probably&lt;BR /&gt;require interactive assistance from the administrator while fixing&lt;BR /&gt;inconsistent file system information, repairing directory and inode&lt;BR /&gt;entries, etc.&lt;BR /&gt;&lt;BR /&gt;Consequences of a Crash&lt;BR /&gt;&lt;BR /&gt;If only synchronous writing is used, all updates to directories, file&lt;BR /&gt;inodes, free space lists, etc. are handled in a sequence that is known&lt;BR /&gt;to fsck. If a crash occurs while updating any disk block in the&lt;BR /&gt;sequence, fsck can readily determine where the crash occurred and&lt;BR /&gt;repair the missing update information, probably without assistance&lt;BR /&gt;from the system administrator.&lt;BR /&gt;&lt;BR /&gt;If fs_async is set to allow asynchronous writes and a crash occurs,&lt;BR /&gt;fsck does not know what sequence was used, and thus will probably&lt;BR /&gt;require interactive assistance from the administrator while fixing&lt;BR /&gt;inconsistent file system information, repairing directory and inode&lt;BR /&gt;&lt;BR /&gt;Why Allow Asynchronous Writes?&lt;BR /&gt;&lt;BR /&gt;Waiting for synchronous writing and updating of disk blocks when&lt;BR /&gt;closing files after writing to them degrades the performance of&lt;BR /&gt;programs and applications that require frequent file and directory&lt;BR /&gt;write and close operations. Allowing asynchronous writing significantly&lt;BR /&gt;reduces those delays, producing a corresponding improvement in&lt;BR /&gt;performance. However, when applications are CPU intensive with&lt;BR /&gt;relatively little disk I/O, performance improvements are much lower.&lt;BR /&gt;&lt;BR /&gt;When you should use Asynchronous Writes:&lt;BR /&gt;&lt;BR /&gt;Asynchronous writing is advisable for improving system performance&lt;BR /&gt;if:&lt;BR /&gt;&lt;BR /&gt;    ?  Risk of power failure is low (very dependable power source&lt;BR /&gt;       and/or uninterruptible power sources).&lt;BR /&gt;&lt;BR /&gt;    ?  Precautions have been taken to enhance data security&lt;BR /&gt;       (sophisticated file system backup or redundancy strategies), or&lt;BR /&gt;       potential loss of data due to a system crash is less important&lt;BR /&gt;       than system performance.&lt;BR /&gt;&lt;BR /&gt;    ?  User applications require frequent opening, writing, and closing&lt;BR /&gt;       of disk files and directories.&lt;BR /&gt;&lt;BR /&gt;    ?  Elimination of synchronous writing would improve system&lt;BR /&gt;       performance sufficiently to offset any associated risks.&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Oct 2001 15:46:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-a-kernel-parameter-fs-async/m-p/2596617#M33471</guid>
      <dc:creator>eran maor</dc:creator>
      <dc:date>2001-10-17T15:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Question about a kernel parameter : fs_async</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-a-kernel-parameter-fs-async/m-p/2596618#M33472</link>
      <description>an important question is: what kind of disk storage are you using, and what levels of protection?</description>
      <pubDate>Wed, 17 Oct 2001 15:49:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-a-kernel-parameter-fs-async/m-p/2596618#M33472</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-10-17T15:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Question about a kernel parameter : fs_async</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-a-kernel-parameter-fs-async/m-p/2596619#M33473</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Thanks for your replies...&lt;BR /&gt;&lt;BR /&gt;We use non-raid or mirror disks. These systems&lt;BR /&gt;can be on non secure powered environment...&lt;BR /&gt;Data are important (Database doesn't like write&lt;BR /&gt;errors). &lt;BR /&gt;So I prefer to use synchronous writing.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Herv?&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Oct 2001 15:57:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-a-kernel-parameter-fs-async/m-p/2596619#M33473</guid>
      <dc:creator>Herve BRANGIER</dc:creator>
      <dc:date>2001-10-17T15:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Question about a kernel parameter : fs_async</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-a-kernel-parameter-fs-async/m-p/2596620#M33474</link>
      <description>Hi Herve:&lt;BR /&gt;&lt;BR /&gt;In lieu of enabling asynchronous I/O with the 'fs_async' kernel parameter, consider that Online JFS filesystems offer different mount options to balance integrity and performance.&lt;BR /&gt;&lt;BR /&gt;Consider adding "mincache=direct,convosync=direct" to your database filesystem's mount options in /etc/fstab if you have Online JFS.&lt;BR /&gt;&lt;BR /&gt;The documents "Mount options explained" (ID #KBAN00000258) and "VXFS intent log explained" &lt;BR /&gt;(ID #KBAN00000151) offfer good explanations of various JFS mount options, along with some suggestions for trading performance and integrity. &lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 17 Oct 2001 18:15:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-a-kernel-parameter-fs-async/m-p/2596620#M33474</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-10-17T18:15:15Z</dc:date>
    </item>
  </channel>
</rss>

