I'm experiencing huge performance penalty on ZFS - NFS - ESXI, the write performance only 3MB/s on 4disks server with RAID10, and 10-22 with SSD as ZIL.
After reading the following article, disabling zfs.cache_flush_disable gave me huge performance boosted on virtual machine up to 60-70MB/s even without SSD as ZIL.
http://christopher-technicalmusings.blogspot.com/2010/09/zfs-and-nfs-performance-with-zil.html
I'm wondering whether disabling zfs.cache_flush_disable will result to data corruption after power failure? Does it same as sync=disabled? Will adding SSD as ZIL solve the problem?
Another question, does sync=standard perform quite equivalent to sync=always to prevent data corruption during write operation? My understanding is sync=standard will write it to intent log at the first place and flush it to the disk later, so I can assume it is safe right?
After reading the following article, disabling zfs.cache_flush_disable gave me huge performance boosted on virtual machine up to 60-70MB/s even without SSD as ZIL.
http://christopher-technicalmusings.blogspot.com/2010/09/zfs-and-nfs-performance-with-zil.html
I'm wondering whether disabling zfs.cache_flush_disable will result to data corruption after power failure? Does it same as sync=disabled? Will adding SSD as ZIL solve the problem?
Another question, does sync=standard perform quite equivalent to sync=always to prevent data corruption during write operation? My understanding is sync=standard will write it to intent log at the first place and flush it to the disk later, so I can assume it is safe right?