- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Oracle and fs_async
Operating System - HP-UX
1753850
Members
7190
Online
108807
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-07-2001 03:39 AM
тАО06-07-2001 03:39 AM
Hi everyone,
I would like some advice on fs_async being turned on.
We have L2000's with FC60's and SC10's with fully redundancy. Is it really risky to turn fs_async to 1.
Cheers
Darren
I would like some advice on fs_async being turned on.
We have L2000's with FC60's and SC10's with fully redundancy. Is it really risky to turn fs_async to 1.
Cheers
Darren
Can you imagine life without beer?
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2001 03:54 AM
тАО06-07-2001 03:54 AM
Re: Oracle and fs_async
If fs_async is set to 1 it is enabled:
fs_async specifies whether or not asychronous writing of file
system data structures to disk is allowed. If no value for
fs_async is specified, synchronous writes are used.
If asynchronous writes are selected, HP-UX file system semantics
for NFS cluster environments are preserved. In addition, files
opened using open() with the 0_SYNC flag (synchronous writing)
will continue to be written synchronously when the asynchronous-writes
feature has been configured into the kernel.
Asynchronous writes to disk can improve file system performance
significantly. However, asynchronous writes can leave file system
data structures in an inconsistent state in the event of a system
crash.
Asynchronous writing as it relates to the fs_async kernel parameter
allows the system to update file system information on the disk in
a more convenient (hence faster) sequence rather than in a more
secure (safer but slower) sequence, thus reducing search and move
delays between writes. However, if a system crash occurs while these
operations are being performed, the risk of an inconsistent file system
that cannot be automatically repaired by fsck is significantly greater
than with synchronous writes.
If fs_async is set to allow asynchronous writes and a crash occurs,
fsck does not know what sequence was used, and thus will probably
require interactive assistance from the administrator while fixing
inconsistent file system information, repairing directory and inode
entries, etc.
Consequences of a Crash
If only synchronous writing is used, all updates to directories, file
inodes, free space lists, etc. are handled in a sequence that is known
to fsck. If a crash occurs while updating any disk block in the
sequence, fsck can readily determine where the crash occurred and
repair the missing update information, probably without assistance
from the system administrator.
If fs_async is set to allow asynchronous writes and a crash occurs,
fsck does not know what sequence was used, and thus will probably
require interactive assistance from the administrator while fixing
inconsistent file system information, repairing directory and inode
Why Allow Asynchronous Writes?
Waiting for synchronous writing and updating of disk blocks when
closing files after writing to them degrades the performance of
programs and applications that require frequent file and directory
write and close operations. Allowing asynchronous writing significantly
reduces those delays, producing a corresponding improvement in
performance. However, when applications are CPU intensive with
relatively little disk I/O, performance improvements are much lower.
When you should use Asynchronous Writes:
Asynchronous writing is advisable for improving system performance
if:
? Risk of power failure is low (very dependable power source
and/or uninterruptible power sources).
? Precautions have been taken to enhance data security
(sophisticated file system backup or redundancy strategies), or
potential loss of data due to a system crash is less important
than system performance.
? User applications require frequent opening, writing, and closing
of disk files and directories.
? Elimination of synchronous writing would improve system
performance sufficiently to offset any associated risks.
fs_async specifies whether or not asychronous writing of file
system data structures to disk is allowed. If no value for
fs_async is specified, synchronous writes are used.
If asynchronous writes are selected, HP-UX file system semantics
for NFS cluster environments are preserved. In addition, files
opened using open() with the 0_SYNC flag (synchronous writing)
will continue to be written synchronously when the asynchronous-writes
feature has been configured into the kernel.
Asynchronous writes to disk can improve file system performance
significantly. However, asynchronous writes can leave file system
data structures in an inconsistent state in the event of a system
crash.
Asynchronous writing as it relates to the fs_async kernel parameter
allows the system to update file system information on the disk in
a more convenient (hence faster) sequence rather than in a more
secure (safer but slower) sequence, thus reducing search and move
delays between writes. However, if a system crash occurs while these
operations are being performed, the risk of an inconsistent file system
that cannot be automatically repaired by fsck is significantly greater
than with synchronous writes.
If fs_async is set to allow asynchronous writes and a crash occurs,
fsck does not know what sequence was used, and thus will probably
require interactive assistance from the administrator while fixing
inconsistent file system information, repairing directory and inode
entries, etc.
Consequences of a Crash
If only synchronous writing is used, all updates to directories, file
inodes, free space lists, etc. are handled in a sequence that is known
to fsck. If a crash occurs while updating any disk block in the
sequence, fsck can readily determine where the crash occurred and
repair the missing update information, probably without assistance
from the system administrator.
If fs_async is set to allow asynchronous writes and a crash occurs,
fsck does not know what sequence was used, and thus will probably
require interactive assistance from the administrator while fixing
inconsistent file system information, repairing directory and inode
Why Allow Asynchronous Writes?
Waiting for synchronous writing and updating of disk blocks when
closing files after writing to them degrades the performance of
programs and applications that require frequent file and directory
write and close operations. Allowing asynchronous writing significantly
reduces those delays, producing a corresponding improvement in
performance. However, when applications are CPU intensive with
relatively little disk I/O, performance improvements are much lower.
When you should use Asynchronous Writes:
Asynchronous writing is advisable for improving system performance
if:
? Risk of power failure is low (very dependable power source
and/or uninterruptible power sources).
? Precautions have been taken to enhance data security
(sophisticated file system backup or redundancy strategies), or
potential loss of data due to a system crash is less important
than system performance.
? User applications require frequent opening, writing, and closing
of disk files and directories.
? Elimination of synchronous writing would improve system
performance sufficiently to offset any associated risks.
love computers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2001 04:07 AM
тАО06-07-2001 04:07 AM
Solution
Hi Darren:
Eran's comments certainly cover the 'fs_async' parameter's pros and cons.
If you are running vxfs filesystems (as I would assume you are) then take a look at the Knowledge Base documents "Mount options explained" (#KBAN00000258) and "VXFS intent log explained" (#KBAN00000151). These offer good explanations of various JFS (vxfs) mount options, along with some suggestions for trading performance and integrity.
...JRF...
Eran's comments certainly cover the 'fs_async' parameter's pros and cons.
If you are running vxfs filesystems (as I would assume you are) then take a look at the Knowledge Base documents "Mount options explained" (#KBAN00000258) and "VXFS intent log explained" (#KBAN00000151). These offer good explanations of various JFS (vxfs) mount options, along with some suggestions for trading performance and integrity.
...JRF...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP