Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2244017lqb; Mon, 27 May 2024 12:43:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUmN9cmpPKkyo3Drg03txCXmBf73Khn2Lzg2OzU6/XCULZkTByvCjJ7wpFKqwFAY8YLPf8eYJ/gDhn8ahQ7nK87sJyEhWHNdGkTDMRckg== X-Google-Smtp-Source: AGHT+IHWmetTmvgktmnUDWphEuvZ97L+iqpoJfsJ4cYLIfkOgmn4o66xjmBZRRRYVWEybrNLB1eN X-Received: by 2002:a2e:9012:0:b0:2db:348f:5c33 with SMTP id 38308e7fff4ca-2e95b0c227fmr65990961fa.16.1716838997533; Mon, 27 May 2024 12:43:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716838997; cv=pass; d=google.com; s=arc-20160816; b=uWINYSmk5I+vLxC06gvTc/80ji3NFXSYfV/W9AzjUMzH0Z1+eFgoCn5hQJEItk7eaF Xjsmc8W5Up0R9DCf4LiI+rncvRtIn/l9oQqZ/fJE0wbJu6fZZJwuSffWfBmXKfFKxPOs uXMLPHiNGIV8qal7G9BDfRBTOsZCMpQwmmi+TyxFgoqxkv5jJ7kbXtUPSWFFgykIFt4I TBoDFxHsadUpizVIS223QsEacj7hTLK9nj6Z7KqVaUiyvanQG02MuGNOXIvqEjU91zQ8 y5Vl4Ix0m9l83WV6V6xq2RDDt2TBw/AFsFcFz2iFQkxAVt4iyTyHbSozip2ur5V5invy Gzhg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=Q6guQNGi0jjNGbWxILSZGcvVmCxeCsFldicxz8i+EQI=; fh=GzelmP1wrIUweInZ6BTT3R0beYp9v06VyYJqwzE2ymo=; b=O4clYQPhKZcJ1NZAXCXiwny0fGiIry/EJFPhVZYHVSh1wMneIqWyU2OsOYFsyYcCT0 BpEotUXpGLqrWQjOE2oPB/FU0zy6yRYp2J3aPOEHFCbUwXgKqba+DXqNHs/9iCm+apFR /DMXxlzMTHjGWRfALIa/o9cgQlJ3ccmjFIf327XmO1yZC3UTp68tWZs+FumuJogX1+UJ YsyHW3AvSqSZNQgDXVzyHRWha41LSKa0yUZJVCivnSEOuFN5SnJXVsBlgZQt7ioJtXSz jltBD+BUWsOvNYL3uJmnPNjsfPdxowlFReMnzkO1bs4sXjsU1lapZn7lotQqkbkhWxgb j6+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-nfs+bounces-3425-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3425-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5786cb43e05si3105866a12.436.2024.05.27.12.43.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 12:43:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs+bounces-3425-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-nfs+bounces-3425-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3425-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 346CA1F21409 for ; Mon, 27 May 2024 19:43:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0D30B15FD04; Mon, 27 May 2024 19:43:15 +0000 (UTC) X-Original-To: linux-nfs@vger.kernel.org Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 645A217E8FC; Mon, 27 May 2024 19:43:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716838994; cv=none; b=uOU/JElTTW6BhU9v4HUuUt0Ky21W9sthj6L7rvJzrV3QeeZvTaF4OBCP8C9C/x2/H8d3BC9CVvgBD6yBBW6hC1Tlzr6GKmPqfhRoWFfmDmUlZwFb3zWax4o+tT6ZRCZ4Tye1qTal0oBtcd0F1xBH0QX7PeK4uk2xSXX0WWeDU3Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716838994; c=relaxed/simple; bh=Q6guQNGi0jjNGbWxILSZGcvVmCxeCsFldicxz8i+EQI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=fEfWs4x+prred9zZ8rV+KtvvE6t7lR05xA2Trju0MEnT3lSOx8mm0kRxHgYH7w9DL8Bl3dpuUVk1BJKLxabSsloCzYRIW/LCdes+XsxZL1YP1uUgf5HbfbBMSwuNQFuiZ45VpuYrYGKfdZT5RUAbNWfJRmyb0y9wQAz+826/5c4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=grimberg.me; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.128.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=grimberg.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-4210d426325so74555e9.2; Mon, 27 May 2024 12:43:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716838992; x=1717443792; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Q6guQNGi0jjNGbWxILSZGcvVmCxeCsFldicxz8i+EQI=; b=Vr8eFrWgEHMoH8MkxNsZO2saW3JeLWAM2Q7hNG6SNRT0pDxkChem2q7sSxJlTPpkVH lz8hLucevEvjhmuzgW1CGE2yxlvVSVsQ7NLCjYVovnWZt6tnktjAz8gGXDcumaufa855 A7vmyZf7FpgABbvEdByhUQzL/EjSmd2B/mO4VzWQhMtV7lXB1rI1Zyo6fXCab0QYB0Ow ubxZTdb2T01QbWSHjmcBtmlj8N5yS7IKCYjXzoIsUE1tDeLgEMV25TDlHy/OSKCJk8Fd R1Z6TffBSqcnmfTMlXAmNzzcR2+of/I7lzvm0lcw9j1Tr4MtCsbwwjXqEWd5/EVITtWd rVGg== X-Forwarded-Encrypted: i=1; AJvYcCXXsWL/rLqCNVltasIIRQvN995NigLujjg49EovZHH3fvVhAMK7arPorIvEHkm+Y90c07FG/3bCZd/j2kz7VH5DkpVEu6gOzY8+rJ5VeQ== X-Gm-Message-State: AOJu0YwTKU6R7aHRy6mOwwSKxe+QfEY+hFoeFBMfPR13XZM+ukpWzaMU II7CoKRx4/u5NZE/xde86x04WX8izohIEbkW9ARQoPYXjFwI7KN0 X-Received: by 2002:adf:f9ce:0:b0:356:7963:fe9e with SMTP id ffacd0b85a97d-3567963ffb8mr5148264f8f.6.1716838991524; Mon, 27 May 2024 12:43:11 -0700 (PDT) Received: from [10.100.102.74] (85.65.193.189.dynamic.barak-online.net. [85.65.193.189]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35579d7ed6fsm9840902f8f.9.2024.05.27.12.43.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 May 2024 12:43:11 -0700 (PDT) Message-ID: <68098d8a-0193-4bb0-8cee-e72e7442c661@grimberg.me> Date: Mon, 27 May 2024 22:43:09 +0300 Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: support large folios for NFS To: Christoph Hellwig , Trond Myklebust , Anna Schumaker , Matthew Wilcox Cc: linux-nfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org References: <20240527163616.1135968-1-hch@lst.de> Content-Language: en-US From: Sagi Grimberg In-Reply-To: <20240527163616.1135968-1-hch@lst.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 27/05/2024 19:36, 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. I'll confirm that NFS buffered writes saw a dramatic >2x improvement against my test system. For the series: Tested-by: Sagi Grimberg