Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp4506980pxb; Tue, 25 Jan 2022 11:52:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJyB5uoKq5gXmzq5j2AvQxHfOV0PoMDTRpykjfnpfKsjMyDBJb3jJ7iZWYQveKajPX0uC3Dd X-Received: by 2002:a62:7602:0:b0:4c6:864b:6400 with SMTP id r2-20020a627602000000b004c6864b6400mr20014925pfc.14.1643140341450; Tue, 25 Jan 2022 11:52:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643140341; cv=none; d=google.com; s=arc-20160816; b=Gq1o5jcAoG9drZV0ZEp05PD+f7kqKyiNTINqL/+VTo+rfRIDr2K/MM0ly3eTrOp//f huMhYjOXYFcUYCqufi/YjGGn7rvAnAvC/D5I5twjIo/0HnMsQ7TYzzTHFdJBJaQVtd5r hQgTxHCUCbcunMTGOihaVHlZKYfDhZuzsPOOXTR3UznUb28dXAOKieWEmf19TjuETh1c 5PsDpCvVvb4SOMd7y1Rx+WFzmZT0bHG3n8EXnM6es5HygPVN4sVU8SZs6fKQnVRDhdD/ VEmHK7GZm3SacOrs5nfmWQzCDKOlhUAwYTD6Oh7pSv3RFFSBC0HRm+YutKOxDUEamfI0 ANuQ== 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=wJYCTI1cNAvb6V/2HzymzKxCbRQvolrwzqNItLNYiKA=; b=nvZhMPdNSkpFKtrOIlN5L4HqI2GVxGnmjE14s4lMocl1ahoj+1M8IcV5ZSH2qFiBJB aHI9ahOv00EKUSFURDOmbjAMi6Nr+2ItVLVyvBEOSrnT9KEAUR5xpZFRO76ZW9m/mobm wRzIYe8i5OwuGMmyG6H+97oWUamD1ox7hAmDxizWecrU5oA+k2eVIpnf3hk1a6nUFopk ua34zxLyDbU0YiQa+NWlIIEOD5C3CnsgZdJlFfjAoYveENtXCsfjrNeXQF/KI+mMryDC SqpWsUnNgDkqJwbOW4Q1tonNy58j4SPwwkps6O8+iCOvZYZAUy6RdJNd/a5F4l8xAc/n nN3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b="Ijxh+/FH"; 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 s19si14788981plq.475.2022.01.25.11.51.57; Tue, 25 Jan 2022 11:52:21 -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="Ijxh+/FH"; 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 S1385744AbiAYODL (ORCPT + 99 others); Tue, 25 Jan 2022 09:03:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377618AbiAYOAI (ORCPT ); Tue, 25 Jan 2022 09:00:08 -0500 Received: from fieldses.org (fieldses.org [IPv6:2600:3c00:e000:2f7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 601ECC06175F for ; Tue, 25 Jan 2022 06:00:00 -0800 (PST) Received: by fieldses.org (Postfix, from userid 2815) id 887AFAA2; Tue, 25 Jan 2022 08:59:59 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org 887AFAA2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1643119199; bh=wJYCTI1cNAvb6V/2HzymzKxCbRQvolrwzqNItLNYiKA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ijxh+/FHh0pWJCA7g+sMtK0VQZqYKVDMVOGdl1OPCViipaqrr3yxx6zlXBlbbr5Te q456YussCnQe6+rBhZ+u+T5R0VYfA4oRn9BFCVwJBHf9fNVbQRgKvVHI04ttjkv6q2 5Zpo43+CWY7+KPQscfC8HSWfjQITrCAWJvygsC+8= Date: Tue, 25 Jan 2022 08:59:59 -0500 From: "J. Bruce Fields" To: Daire Byrne Cc: linux-nfs Subject: Re: parallel file create rates (+high latency) Message-ID: <20220125135959.GA15537@fieldses.org> References: <20220124193759.GA4975@fieldses.org> <20220124205045.GB4975@fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Tue, Jan 25, 2022 at 12:52:46PM +0000, Daire Byrne wrote: > Yea, it does seem like the server is the ultimate arbitrar and the > fact that multiple clients can achieve much higher rates of > parallelism does suggest that the VFS locking per client is somewhat > redundant and limiting (in this super niche case). It doesn't seem *so* weird to have a server with fast storage a long round-trip time away, in which case the client-side operation could take several orders of magnitude longer than the server. Though even if the client locking wasn't a factor, you might still have to do some work to take advantage of that. (E.g. if your workload is just a single "untar"--it still waits for one create before doing the next one). --b.