Hello,
I've recently read this article (found the link on this forum):
"The end of block barriers"
http://lwn.net/Articles/400541/
It explains fairly clearly why enabling barriers is so bad for fsync performance,
(try pveperf on a filesystem with and without barriers enabled),
and why kernel developers decided to deprecate that mechanism
(the article was posted in 2010).
The barriers mechanism was abandoned in favor to a more flexible one.
The new mechanism (WRITE_FLUSH_FUA) was introduced by Tejun Heo:
http://lwn.net/Articles/399715/
The article reports also the message on lkmlabout a set of patches
"replace barriers with explicit flush / FUA usage"
http://lwn.net/Articles/400777/
that: "converts over all filesystems to the new WRITE_FLUSH_FUA
primitive that Tejun added. XFS, btrfs, gfs2, reiserfs, ext3 and ext4
have passed extensive xfstests coverage with this"
What is the state of current pve kernel about this? Are these modifications already backported,
so we should consider safe to disable barriers on that filesystems (XFS, btrfs, gfs2, reiserfs,
ext3 and ext4) ?
bye,
rob
I've recently read this article (found the link on this forum):
"The end of block barriers"
http://lwn.net/Articles/400541/
It explains fairly clearly why enabling barriers is so bad for fsync performance,
(try pveperf on a filesystem with and without barriers enabled),
and why kernel developers decided to deprecate that mechanism
(the article was posted in 2010).
The barriers mechanism was abandoned in favor to a more flexible one.
The new mechanism (WRITE_FLUSH_FUA) was introduced by Tejun Heo:
http://lwn.net/Articles/399715/
The article reports also the message on lkmlabout a set of patches
"replace barriers with explicit flush / FUA usage"
http://lwn.net/Articles/400777/
that: "converts over all filesystems to the new WRITE_FLUSH_FUA
primitive that Tejun added. XFS, btrfs, gfs2, reiserfs, ext3 and ext4
have passed extensive xfstests coverage with this"
What is the state of current pve kernel about this? Are these modifications already backported,
so we should consider safe to disable barriers on that filesystems (XFS, btrfs, gfs2, reiserfs,
ext3 and ext4) ?
bye,
rob