Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4254078pxj; Mon, 21 Jun 2021 17:50:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx++jPS6ikUwVtZyHpp7EX3EDndr9upiqajY/bgnUc+o/a6ZO0rrboQtrtgASt0xz1Ggw0l X-Received: by 2002:a05:6402:419:: with SMTP id q25mr1341345edv.331.1624323043301; Mon, 21 Jun 2021 17:50:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624323043; cv=none; d=google.com; s=arc-20160816; b=fCZgh93Fdk/XY1lMle9sAa7VxUf8COcjTIEpFzTdSDfoVYCyzyBBSuJ+zCJewKraW6 4YZXOXD2lo/6Bq5TjbIJq4dXQq5aphK8Dcu4QZuU6Q6FRFYj05FSLN6wGr0CQDTVL4C7 zb0Lgge9aJUTSJvSAI4BDrb1IS7irWn+oXwYLT4tfXqsu3ObZ1NGmBJ7Qi1bWCwM/eN5 SKMJkES8qTvvQcRGhliU/+Lp9+TzpBInuCoafxHZ5+j7rHcpImThFaxSdJVwXuO3Kpt0 yxVNVVKvrZ0Aq1GFWG3dUEIh4iufGusTJOtVwY/9phVe+AH7STkeOvaDeP5XCY4MlPFF ykbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=9eldDyQA++qoFzO7hCTNTbCYp8KItiVM/rYw2DU6q8g=; b=glTHHiRMDGYHyhmvlRt68ozLkcL3lcmRnpV2MRZi78MtX4je6GMEUMkdDXseqBTaUs YLDbXrgMxUpGbwPenveFk6TdGxQRgw+Q3+p+VQ/qS4NcXyyBGcUKOsu3I44NBs58L4TF 5Rhw+GBTaK+iFe0U1MUUgxlkDk9DaDlhzNkgYhkBiOO9ADUWBXVrDMJmev8jZUszL0I+ oD53dP75ynT+uNdmLzlRc/CuKwsk1XlsnWLfx6KB+2uK3PVGUKkK/TGCrNsHJu2EyOHP DCBzPexcTETqp+wE7/sE+LR+L0F/wI5HZqOSqqyEXAmdfN+yknIZcLYTXpbD3Q9OLbiO W83Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joshtriplett.org header.s=fm1 header.b=ZM1Y0Avv; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=ohNed3FJ; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v21si17900108edc.453.2021.06.21.17.50.14; Mon, 21 Jun 2021 17:50:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@joshtriplett.org header.s=fm1 header.b=ZM1Y0Avv; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=ohNed3FJ; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230028AbhFVAw0 (ORCPT + 99 others); Mon, 21 Jun 2021 20:52:26 -0400 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:55719 "EHLO new2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229762AbhFVAw0 (ORCPT ); Mon, 21 Jun 2021 20:52:26 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 8BE6D58093D; Mon, 21 Jun 2021 20:50:10 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 21 Jun 2021 20:50:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= joshtriplett.org; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=fm1; bh=9el dDyQA++qoFzO7hCTNTbCYp8KItiVM/rYw2DU6q8g=; b=ZM1Y0Avv66T3WGVuick vUdnaOf+vbdFr4u50MLDZNef0VtKUjvLoJRvYDI5Iu8Xi3PavbTAoVpnz9VBh92P /Ua1jGiJjgp6PZ7kIQ2kLDcpGrGaszoklMISnBqVrdz8/BAQNZyxMNpXtYLA6w/t vXmpcD9cYpyhS1IuFSeHGgMYSAWPSCz7V88Xc9FjtXIX1EagGhfuErVvI5BfX8vL BNnTKqEPe1QJ0c+riqo07jZQTitFUOsnEyy+Z1dhpqIHvioP81/WL/JNTVrpKpVs L1fG6J6Q3WXjcpmGsTB8uQ4Wt9YRE/9zA/wUhzmRA7iBVfUrA4g9e7yY4uILU4wT S/g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=9eldDy QA++qoFzO7hCTNTbCYp8KItiVM/rYw2DU6q8g=; b=ohNed3FJtDIhPEJntkS3nD 7+3c79cNNvwa7iwIKmE8vF8prSOxHrn6MQpGubSCMezZoobu+mPxUzwpM5XxPTAo D/A7vXud4vXvHMzcXUL/dBwdB6MQ8XZNO2ZmmjBIDDVnH1UQpTSTB+90k07lq0H9 ImG3mhbHrqpFTMtPD9yrPbvb/YZM0DS7q5GT74aoyXpaGCjSV3oR3JcUz0bljy79 d1hHCTBS0K1fONjInBVJ8IuBHp+CwGlKh6R5cvDwQwm5pXn5lR+w4dI22U3thiJp 9jUyGqNYBtzUZYbpHRPGXAJHphuOFxS+vq/3/hHVWfjqnlwPiv/9NCttFA4y8l9w == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeegtddggedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeflohhshhcu vfhrihhplhgvthhtuceojhhoshhhsehjohhshhhtrhhiphhlvghtthdrohhrgheqnecugg ftrfgrthhtvghrnhepteffkefhtdeitdfhteekfffhhfffheetfedujeeftefhjeegleeu ffeftdehheffnecuffhomhgrihhnpehoiihlrggsshdrohhrghenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjohhshhesjhhoshhhthhrihhp lhgvthhtrdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 21 Jun 2021 20:50:08 -0400 (EDT) Date: Mon, 21 Jun 2021 17:50:07 -0700 From: Josh Triplett To: Andreas Dilger Cc: David Howells , Theodore Ts'o , "Darrick J. Wong" , Chris Mason , Ext4 Developers List , xfs , linux-btrfs , linux-cachefs@redhat.com, linux-fsdevel , NeilBrown Subject: Re: How capacious and well-indexed are ext4, xfs and btrfs directories? Message-ID: References: <206078.1621264018@warthog.procyon.org.uk> <6E4DE257-4220-4B5B-B3D0-B67C7BC69BB5@dilger.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org 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