Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp417789lqb; Tue, 28 May 2024 22:14:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUvC5HsI2cgYZR6/ikN/WWnBTCnGBOqrzT1e4oJ4Cre5gPnSR9cWR/peZWZFwrv4MDBxCG2R5tA/a667T66gXfG8hO9RL0vjUbJH6H4dg== X-Google-Smtp-Source: AGHT+IFJ6mErn7GXblqxIfUey6salHxqz6dFCU2hWZR8zQMYozT9c/meSY2cnq3JHQELkdiEgrjA X-Received: by 2002:a17:906:2189:b0:a59:ca33:683f with SMTP id a640c23a62f3a-a62642dac81mr906513666b.28.1716959692720; Tue, 28 May 2024 22:14:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716959692; cv=pass; d=google.com; s=arc-20160816; b=jL6NE1E/6cMM9plJq7CoUVnMGxLjUAaVSS9/k1ordzCpn4EA1s+U5k3w1xWo2JEjXh RGSUhm6dCf4OviP2sjSGnRolVASAgl+xDdZ4e7wJPmki/PEYliv8Si6KclZtJvWq6tQe ydPrGNlL2lRGAQqNjTyOwwnwoNn95UKiKZah7MGreo5zUh3COpi9qSj8GPV5bzxDGXAa vHLa+GkN/5lDRL+dp9nPxqIo/1ICJyYCX3sS1/ni+ILgzZT+UM6Vn5i1VyzVhmvClr/3 bEifmqy08AH4PBqvWYix9LeCt3zHdIhhjIJALn9/xPxIr/WSjYAW5ULWCvbE30fKP+Qs vvuQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=qM+iX7HJjbRYfy6yt2uSJ6+tJDaWSxKJAufKNw8ME0c=; fh=8r56WFx5I6rFbjwVQEEmWbbms35gGilIAfD3/gNPn24=; b=LHrHod470ydG2CsIhG7cBBA82PdASk5qvY1YNJCjKcuOI6VtmYGHfAm2X9lt1JIyl/ G7FNxgEgwyl7kontz5AlHPMBc55idh6L1AfJMaZQRTHHqWloKlT7nj7p48GB5jKeG0Q0 HPlzJ+byU1RaTTHazwkSur96JhPbnKONyhGbLTNf8PknF4Wg5Mid2I2IO1DhMBiuusgf hsCFOGzELMsoHkIqYHCjbFvBR+R9ysCrKK1mUi/VJwYcFLXOv8wpXN7q4tliHvI+KtlO 8CZWwQ6ZoxGgy3dvPfr1dJZcWGMacbB6Iu8mM3KFt/aDtzGKnQmUN30NOn2nN19lzf+/ TvHA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-nfs+bounces-3457-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3457-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6330f12d28si190366766b.734.2024.05.28.22.14.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 22:14:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs+bounces-3457-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-nfs+bounces-3457-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3457-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 73B051F246D6 for ; Wed, 29 May 2024 05:14:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BED7C15B964; Wed, 29 May 2024 05:14:45 +0000 (UTC) X-Original-To: linux-nfs@vger.kernel.org Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 039EA15B96D; Wed, 29 May 2024 05:14:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716959685; cv=none; b=b6CgSfhfI0QBcECY0AUmSuNevf3Qw+YR217xSPLsNn0d9QvXZYyp8Z849aMmgpOZGgAp0fcLMyTaEY/vTRclQ+bQaCFzNmmGi9iDXHdzL63MG4YvYVZGgtBc/QD0ndLu9E1ZtBol7QZQjFjCnlQVSa85pABhVZs7OSWhAspsvQo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716959685; c=relaxed/simple; bh=7BxKPLj69rLkJmA+tbroh+IL3zyP9SfRKrG7EjrLKu0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=r3gcatQu9N7ajxQwMjTQbVMTwidHE8OP2njn+uGz2ATMG7OE+HAg8MWyshr4t4+PMAPFmhDRwjKnrmeDXzXngTXpBcKvHvhy3PLmTdw4KV6RV6FpupWsF5xDYc9zuNFr8sGG9xVxHHpK1p6yxkddklW7VZxtpwl1I2Zs2o0M38o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id D9EB968AFE; Wed, 29 May 2024 07:14:32 +0200 (CEST) Date: Wed, 29 May 2024 07:14:32 +0200 From: Christoph Hellwig To: Matthew Wilcox Cc: Christoph Hellwig , Trond Myklebust , Anna Schumaker , linux-nfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org Subject: Re: support large folios for NFS Message-ID: <20240529051432.GA15188@lst.de> References: <20240527163616.1135968-1-hch@lst.de> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) On Tue, May 28, 2024 at 10:05:58PM +0100, Matthew Wilcox wrote: > On Mon, May 27, 2024 at 06:36:07PM +0200, Christoph Hellwig wrote: > > Hi all, > > > > this series adds large folio support to NFS, and almost doubles the > > buffered write throughput from the previous bottleneck of ~2.5GB/s > > (just like for other file systems). > > > > The first patch is an old one from willy that I've updated very slightly. > > Note that this update now requires the mapping_max_folio_size helper > > merged into Linus' tree only a few minutes ago. > > Kind of surprised this didn't fall over given the bugs I just sent a > patch for ... misinterpreting the folio indices seems like it should > have caused a failure in _some_ fstest. I've run quite few tests with different NFS protocol versions, and there were no new failures, and the existing one is a MM one also reproducible with local XFS. That's indeed a bit odd.