[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YNEzvwgqo6pQ50Pq@localhost>
Date: Mon, 21 Jun 2021 17:50:07 -0700
From: Josh Triplett <josh@...htriplett.org>
To: Andreas Dilger <adilger@...ger.ca>
Cc: David Howells <dhowells@...hat.com>, Theodore Ts'o <tytso@....edu>,
"Darrick J. Wong" <djwong@...nel.org>, Chris Mason <clm@...com>,
Ext4 Developers List <linux-ext4@...r.kernel.org>,
xfs <linux-xfs@...r.kernel.org>,
linux-btrfs <linux-btrfs@...r.kernel.org>,
linux-cachefs@...hat.com,
linux-fsdevel <linux-fsdevel@...r.kernel.org>,
NeilBrown <neilb@...e.com>
Subject: Re: How capacious and well-indexed are ext4, xfs and btrfs
directories?
On Tue, May 25, 2021 at 03:13:52PM -0600, Andreas Dilger wrote:
> There was a patch pushed recently that targets "-o discard" performance:
> https://patchwork.ozlabs.org/project/linux-ext4/list/?series=244091
> that needs a bit more work, but may be worthwhile to test if it improves
> your workload, and help put some weight behind landing it?
I just got a chance to test that patch (using the same storage stack,
with ext4 atop dm-crypt on the same SSD). That patch series makes a
*massive* difference; with that patch series (rebased atop latest
5.13.0-rc7) and the test case from my previous mail, `rm -r testdir`
takes the same amount of time (~17s) whether I have discard enabled or
disabled, and doesn't disrupt the rest of the system. Without the
patch, that same removal took many minutes, and stalled out the rest of
the system.
Thanks for the reference; I'll follow up to the thread for that patch
with the same information.
- Josh Triplett
Powered by blists - more mailing lists