Improving ZFS Synchronous Write, O_SYNC|O_DSYNC Performance
Last updated on MAY 31, 2018
Applies to:Solaris Operating System - Version 10 3/05 to 10 3/05 [Release 10.0]
Information in this document applies to any platform.
A number of workloads, including the Oracle Database, NFS and applications calling fsync(3C) or fdsync require synchronous semantics. When an application opens a file with the O_SYNC|OD_SYNC flag, write(2) system calls to that file return only after the data is committed to the stable storage. This behavior is different from buffered writes which return after writing the data to the file system cache to be later committed to the stable storage (5 seconds or less in ZFS)
ZFS uses the ZIL (ZFS Intent Log) to process synchronous I/O. ZFS offers several tunables to improve write performance.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms