Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3185111pxb; Mon, 16 Nov 2020 07:56:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJzvRWOqlOJXtIK1dvp40IzMjBVxroVDr2nyrcKwHRWoWfeoSogj+DgzmTQQyrSzP0Fj0y5T X-Received: by 2002:a17:906:1159:: with SMTP id i25mr14261157eja.398.1605542161872; Mon, 16 Nov 2020 07:56:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605542161; cv=none; d=google.com; s=arc-20160816; b=B5P0fUj9cPiVruyK+W8M1lVD/rMoVJbDXgAPUDhYskp9e0Vo24t1RMVu/ELUli1oj0 92OI3VMz/1SAUB0UBy5cjU9PRTlOEy31W/2zowNBK993Ze/OOGMxYCVRIxP2ayw/qEpq MuPMkawbZGmdm+GI2GmfSJZQWkPjdIWY6Lu7ImQEeqZ3nAtIBiFEECuND7IHBYl7qr8x CxqL8P3RPA1OHNncew46Dq8M1UeIWfR91Y3iAMJbMtV587owk95fX6kqw8Y+GB8BL8Vt 3Khep3y/y08aQx4iherINb7pZhbboxCjneafRxGDv/UvDfzpCu9y9Pb4jZLZoWgkLGT4 xgDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=Ny07iHxjWLoj2q2R1rtuW/nJcivEp1XpS+prISCHZfw=; b=p3p/s09D++RAMkuKvgydphObjF20rNniXjc6wQlCSaJVmrppC3sIFqtSV/Qay91cLD Uxx4rnkgGUqdwvE5w3k4Nj/0hMK/NCBEE7EoyrIUvbtfpejjgEb4q6w2Wokd/Vnm7o0a QChzvRHdvKCIeEYWB+z3Tf55K470/Bdlob8iJOjTTeu6oPMAhtqOP7pr7In7gOp1aRX/ Nol3EriUNBFt7T53IOfwqULkxoGEF3U9lnc2ZmU8Vo9AQw6apd2TlbwHcUX97uQtICII Me+YVmQOlXDaSSSLbkzcx8bA1rrEw8hRsOzCgPmTIJ5t3oIyCV4tQlBUnGlVTnb0eCPo Q1qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=sYvoy3ft; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-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 h19si11333752ejg.9.2020.11.16.07.55.30; Mon, 16 Nov 2020 07:56:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-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=@fieldses.org header.s=default header.b=sYvoy3ft; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731618AbgKPPxb (ORCPT + 99 others); Mon, 16 Nov 2020 10:53:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730396AbgKPPxa (ORCPT ); Mon, 16 Nov 2020 10:53:30 -0500 Received: from fieldses.org (fieldses.org [IPv6:2600:3c00:e000:2f7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DC9DC0613CF for ; Mon, 16 Nov 2020 07:53:30 -0800 (PST) Received: by fieldses.org (Postfix, from userid 2815) id 7A8201C15; Mon, 16 Nov 2020 10:53:29 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org 7A8201C15 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1605542009; bh=Ny07iHxjWLoj2q2R1rtuW/nJcivEp1XpS+prISCHZfw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sYvoy3ft+Hzey6TdgRfVwLQwKwo7GnaqgDYfbN0h2jF14GRcUwsJe7CTqS5wZpwE5 jS+F54oovFHzYCeMLfTC7+IFJqI7Cj8fvNWdD5F2Jh5J6d2bqbbbbS64+1zb4OGZLO ywtlf7IjGAsi0/v/IWVVKIEmX++It6mlPAX9HugY= Date: Mon, 16 Nov 2020 10:53:29 -0500 From: bfields To: Daire Byrne Cc: Trond Myklebust , linux-cachefs , linux-nfs Subject: Re: Adventures in NFS re-exporting Message-ID: <20201116155329.GE898@fieldses.org> References: <943482310.31162206.1599499860595.JavaMail.zimbra@dneg.com> <1744768451.86186596.1605186084252.JavaMail.zimbra@dneg.com> <20201112135733.GA9243@fieldses.org> <444227972.86442677.1605206025305.JavaMail.zimbra@dneg.com> <20201112205524.GI9243@fieldses.org> <883314904.86570901.1605222357023.JavaMail.zimbra@dneg.com> <20201113145050.GB1299@fieldses.org> <20201113222600.GC1299@fieldses.org> <217712894.87456370.1605358643862.JavaMail.zimbra@dneg.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <217712894.87456370.1605358643862.JavaMail.zimbra@dneg.com> User-Agent: Mutt/1.5.21 (2010-09-15) Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Sat, Nov 14, 2020 at 12:57:24PM +0000, Daire Byrne wrote: > Now if anyone has any ideas why all the read calls to the originating > server are limited to a maximum of 128k (with rsize=1M) when coming > via the re-export server's nfsd threads, I see that as the next > biggest performance issue. Reading directly on the re-export server > with a userspace process issues 1MB reads as expected. It doesn't > happen for writes (wsize=1MB all the way through) but I'm not sure if > that has more to do with async and write back caching helping to build > up the size before commit? I'm not sure where to start with this one.... Is this behavior independent of protocol version and backend server? > I figure the other remaining items on my (wish) list are probably more > in the "won't fix" or "can't fix" category (except maybe the NFSv4.0 > input/output errors?). Well, sounds like you've found a case where this feature's actually useful. We should make sure that's documented. And I think it's also worth some effort to document and triage the list of remaining issues. --b.