From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=35.83.148.184 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796292875; b=fqw1UN6BDTwTf+BDPbRQMmH39+aSfb1Li74iFmSitgm+djnq1Bcra64aytFWMlf9oCcP 6/TKUqPE35TfQFsoN5HVDFYGPJ+yUWASKnSqChe21K8T3s7kxdumxbWxjzYJ2V4NtX26g IMVCfzMusvt4hRUvz7piyMkQWYO002E3wiXxv9qjHbDhSBd62zWOV7dicXV+96NQoTIT5 j66aM3aO17FHvWcp6vjuP6YC6uiZ5ixy8Nua2avHzE9C7v6VwaLnIP4zOqw0lZt/UZRra 6k9FenyD9i5FSVgHNFBkcDiqk3tWTi4bSWf0Gyt/w+G0WbySvPIP1I/RziUVK31Vxlg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796292875; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:Received:Received:X-Farcaster-Flow-ID:Received:Received: From:To:CC:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:X-Originating-IP:X-ClientProxiedBy:Content-Type: Content-Transfer-Encoding; bh=1jtFTpZ/L7WYZ/I3mHgw6LoYGTPCC2fWFXFsZ3A2Skk=; b=cWs22ASSLZCAuugGpvcBbIt+Ct7orJBZ4L1xcciGlman3/zYb7DsyRY/pE7vrjrY2gRv OrscVmc7x8mo4DWJeBioLcHcAeAzH9yn5fVuJI7Mds1w4ktQwKwYeIr9IfqLNem4eOO0w E636v0kVtu9afSkt2Alu1xH025mSOrP0ogpG4LExSvIcsPf8soeHXfFCnXxAzKRyLYk5v mxAAUBQphnRuCNDMXfjJI89QCgbSwaEDvLghId3WG5hCtW8gDFR5HX0jRPWeJMOI9/M/Q 8cgkl0X/gJ5yY29QsPjyXdd+aEYYWkroUdmzdchGg7VHQqS/jqYcaQDWoh6RZGNoUlA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=amazon.com; spf=pass smtp.mailfrom=amazon.it; dkim=pass header.d=amazon.com header.i=@amazon.com header.a=rsa-sha256 header.s=amazoncorp2 header.b=lqC0j2YJ; arc=none smtp.remote-ip=35.83.148.184 Received: from pdx-out-014.esa.us-west-2.outbound.mail-perimeter.amazon.com (pdx-out-014.esa.us-west-2.outbound.mail-perimeter.amazon.com [35.83.148.184]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D4E7B60A2610; Thu, 3 Dec 2026 10:14:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D4E7B60A2610 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amazon.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=amazon.com header.i=@amazon.com header.a=rsa-sha256 header.s=amazoncorp2 header.b=lqC0j2YJ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazoncorp2; t=1796292872; x=1827828872; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=1jtFTpZ/L7WYZ/I3mHgw6LoYGTPCC2fWFXFsZ3A2Skk=; b=lqC0j2YJ6KqBmM5/uaCwnrNMRjrZGYAPYLfuaV6Ihgz0PHlhPdv/3TRd hlb/Nm6bgunnfVeIofLDX78kqzysCgnWXyYVhyk1A31e/x0DKFuGlZrfY aWgVgfJeDZfXIyWDlbLg+g3VSWQgQjmI1p5V31LVXQJkzBrtCykQH5MV4 A4MUwDh9h97xHPmgCKJvnTE5WwFoO2O8ASc26qK5SNTzyag1bErCeqhVp pHeAe4iXES7ZB8PQMZc/T97FsaKIqcoifIjgAB4hYtv5skS0ulWqTv0mR nEImcBBevbyWpHHraKUDhOxrGQMpEr/Twd62twdQYXY55UGHwr72P4N99 w==; X-CSE-ConnectionGUID: wuCsT05sTcGaDFZ8EFmylQ== X-CSE-MsgGUID: X1dxy3eGTiKaii4tMeF4iQ== X-IronPort-AV: E=Sophos;i="6.27,248,1787011200"; d="scan'208";a="35597619" Received: from ip-10-5-12-219.us-west-2.compute.internal (HELO smtpout.naws.us-west-2.prod.farcaster.email.amazon.dev) ([10.5.12.219]) by internal-pdx-out-014.esa.us-west-2.outbound.mail-perimeter.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2026 10:14:28 +0000 Received: from EX19MTAUWB001.ant.amazon.com [205.251.233.104:13496] by smtpin.naws.us-west-2.prod.farcaster.email.amazon.dev [10.0.11.100:2525] with esmtp (Farcaster) id 3d1a0b1d-87df-4611-bd97-096c699b2920; Thu, 3 Dec 2026 10:14:27 +0000 (UTC) X-Farcaster-Flow-ID: 3d1a0b1d-87df-4611-bd97-096c699b2920 Received: from EX19D001UWA001.ant.amazon.com (10.13.138.214) by EX19MTAUWB001.ant.amazon.com (10.250.64.248) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.2562.57; Thu, 3 Dec 2026 10:14:27 +0000 Received: from dev-dsk-dipiets-1b-77b833da.eu-west-1.amazon.com (10.253.66.177) by EX19D001UWA001.ant.amazon.com (10.13.138.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.2562.57; Thu, 3 Dec 2026 10:14:20 +0000 From: Salvatore Dipietro To: CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH 0/2] mm, iomap: account dirty at page granularity for per-block dirty folios Date: Thu, 3 Dec 2026 10:14:00 +0000 Message-ID: <20261203101400.257462-1-dipiets@amazon.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: References: X-Mailing-List: linux-xfs@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-ClientProxiedBy: EX19D031UWC002.ant.amazon.com (10.13.139.212) To EX19D001UWA001.ant.amazon.com (10.13.138.214) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Fri, Nov 13, 2026 at 07:13 PM, Pedro Falcato wrote: > I think you'll face strong resistance to any of these options. That's fair, and I'm not pushing any of them. They are just some tests we ran to understand the problem, not a proposal. I'd like ideas from the community on how this should be fixed. In the fio test the regression cuts write throughput by 59% (from 9,984 to 4,061 IOPS), and anything that reads files sequentially and then rewrites them in place with small writes can hit it. The fio reproducer is in [1]. What approach would you suggest to fix this? Thanks, Salvatore [1] https://lore.kernel.org/linux-mm/20261027112702.3747009-1-dipiets@amazon.it/T/#m3e489f6e0f25f3499b1e95f36eecd4e346324342 AMAZON DEVELOPMENT CENTER ITALY SRL, viale Monte Grappa 3/5, 20124 Milano, Italia, Registro delle Imprese di Milano Monza Brianza Lodi REA n. 2504859, Capitale Sociale: 10.000 EUR i.v., Cod. Fisc. e P.IVA 10100050961, Societa con Socio Unico