[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200622212612.GA11051@fieldses.org>
Date: Mon, 22 Jun 2020 17:26:12 -0400
From: "J. Bruce Fields" <bfields@...ldses.org>
To: Dave Chinner <david@...morbit.com>
Cc: Masayoshi Mizuma <msys.mizuma@...il.com>,
Eric Sandeen <sandeen@...deen.net>,
"Darrick J. Wong" <darrick.wong@...cle.com>,
Christoph Hellwig <hch@...radead.org>,
Theodore Ts'o <tytso@....edu>,
Andreas Dilger <adilger.kernel@...ger.ca>,
Alexander Viro <viro@...iv.linux.org.uk>,
Masayoshi Mizuma <m.mizuma@...fujitsu.com>,
linux-ext4@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-xfs <linux-xfs@...r.kernel.org>, jlayton@...hat.com
Subject: Re: [PATCH] fs: i_version mntopt gets visible through /proc/mounts
On Sun, Jun 21, 2020 at 09:54:08AM +1000, Dave Chinner wrote:
> On Fri, Jun 19, 2020 at 09:56:33PM -0400, J. Bruce Fields wrote:
> > On Sat, Jun 20, 2020 at 11:49:57AM +1000, Dave Chinner wrote:
> > > However, other people have different opinions on this matter (and we
> > > know that from the people who considered XFS v4 -> v5 going slower
> > > because iversion a major regression), and so we must acknowledge
> > > those opinions even if we don't agree with them.
> >
> > Do you have any of those reports handy? Were there numbers?
>
> e.g. RH BZ #1355813 when v5 format was enabled by default in RHEL7.
> Numbers were 40-47% performance degradation for in-cache writes
> caused by the original IVERSION implementation using iozone. There
> were others I recall, all realted to similar high-IOP small random
> writes workloads typical of databases....
Thanks, that's an interesting bug! Though a bit tangled. This is where
you identified the change attribute as the main culprit:
https://bugzilla.redhat.com/show_bug.cgi?id=1355813#c42
The test was running at 70,000 writes/s (2.2GB/s), so it was one
transaction per write() syscall: timestamp updates. On CRC
enabled filesystems, we have a change counter for NFSv4 - it
gets incremented on every write() syscall, even when the
timestamp doesn't change. That's the difference in behaviour and
hence performance in this test.
In RHEL8, or anything post-v4.16, the frequency of change attribute
updates should be back down to that of timestamp updates on this
workload. So it'd be interesting to repeat that experiment now.
The bug was reporting in-house testing, and doesn't show any evidence
that particular regression was encountered by users; Eric said:
https://bugzilla.redhat.com/show_bug.cgi?id=1355813#c52
Root cause of this minor in-memory regression was inode
versioning behavior; as it's unlikely to have real-world effects
(and has been open for years with no customer complaints) I'm
closing this WONTFIX to get it off the radar.
The typical user may just skip an upgrade or otherwise work around the
problem rather than root-causing it like this, so absence of reports
isn't conclusive. I understand wanting to err on the side of caution.
But if that regression's mostly addressed now, then I'm still inclined
to think it's time to just leave this on everywhere.
--b.
Powered by blists - more mailing lists