Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2722880iog; Mon, 20 Jun 2022 03:23:31 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v13HWljth3ezwYVJ2kObhpPWT/aKHhOEQEU6Dj8roLvMj5pA1/JdIfeGvyk9TVBDKLZ+X8 X-Received: by 2002:a17:906:a202:b0:711:29a:c96c with SMTP id r2-20020a170906a20200b00711029ac96cmr20880284ejy.407.1655720610712; Mon, 20 Jun 2022 03:23:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655720610; cv=none; d=google.com; s=arc-20160816; b=kCZy7JdmBFvuwc817lBl/TDjzy91kMmOpKhlz9sPFjHuHsZUud0mK8MLMz3+0KuKEp 3V728fxEzPGXWkcaNYnYYWR/BecOOc6zrs/SKcfAZUAHwn6SNydqyqTy0MKEPOBRS8AJ 8Y++ViJsI518kon/qWogfRtoJU/TV4zFtEfnNJsKfT8dw9qlphATkfy76moR+czN7KGd tHSyS4WoP1jAIaepENMhHbtTMlNdrvg2p+idZboAaZK/ga9p1VJVrGLRpj4bg+SvkMb/ U4eQQorreb1LRcsbMJUvwDhIr82XHEwSFLyKAORwWihiHwYgRQABvpNmyU8nT0ygZmmQ expA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=U65sD1RO6KC9zIHsaAh+EyaFvAgiKc478ZRVl8k3cjY=; b=biK8LxhZ6/DNnaopetjLK0i0zizyugnUZUfD+FmfcyDGtWzWknUOJom1N8bUkYpmZW GK3cNZMHbZ40aw2kYf3sk5kwSQnZAGQaD/A7CxDJRLaeOvOIU949PfuGccSBAsO21WoI WssJLWctFQbdUGB/C7QCAVmHdD3UkRTuVM9TFtyS8IUwPGj5+MCn3m7c+MHK7b1qvyBf nh5CJ42Mc42sXRgexUUerEFmKsCgaG6EdNK8HjoGnH56djuZjcZJN/ajomvBF6r/R7jx ENWpoUUsSByVjSYVQGfVUy9++WljR/LaHlt53FJURDSnxVc0vCzIzhe2ZklW6RwTxIMx SnAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dneg.com header.s=google header.b=Q4EL2dBD; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dneg.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g13-20020a056402428d00b004357dec0f7csi3623697edc.571.2022.06.20.03.22.54; Mon, 20 Jun 2022 03:23:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@dneg.com header.s=google header.b=Q4EL2dBD; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dneg.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236682AbiFTKUK (ORCPT + 99 others); Mon, 20 Jun 2022 06:20:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241006AbiFTKTj (ORCPT ); Mon, 20 Jun 2022 06:19:39 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD42514009 for ; Mon, 20 Jun 2022 03:19:31 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id fd6so11683531edb.5 for ; Mon, 20 Jun 2022 03:19:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dneg.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=U65sD1RO6KC9zIHsaAh+EyaFvAgiKc478ZRVl8k3cjY=; b=Q4EL2dBDKjIQpmszEmwyr9zsU80bYo7tPUUVyg7LFHcX8CI6Ol5fdwnL51WfByAyP+ gvH9i0ArcbOcP8Qow1FE8Ribb6qtMBFSduCpjQT8ZPItgMo6NEpG/BBdC0CMSz+ymPwq 1wMpqcXfRXXoPsZtjOXXaOMIg6+YuPx97RqhzdzNMxjBE33zRkJGL3Fvs6PkFGtZNeq3 SfnkL8UzQUaK1c9t4gEySW50dto5z6WJXsD5ygBg+GhobiuTOl1uUv8gvuJsADH2k9MC vQuberct3P4NV3+24n+FnRdNaDY6xiCoFe9FIWbwFXHmL8P1exV9Bz+RPSALOpHLZ97K +y4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=U65sD1RO6KC9zIHsaAh+EyaFvAgiKc478ZRVl8k3cjY=; b=0cPUf20rd29wHfvx1mrU5V13eV1IM6teyhME1kKRpTNDnK0Bbunvq/1/WkBC9kkS2R 0ZbH4u/7Yo8FpHoMW28E3+zvLlF13auziJcF7Is8i91ekr0LZUkmGv1RtOOxpWMEBccc Bsgh/nZTq3ebbTTSwTNanjNumliY/JpWt0Ss+CG8nzcjHT6hVqT+IJ4aU3+2PVerGQTA OHQ9FXoWe6YORRcUgrIXLR4xBrn4bL5uljCSoMpqxe+XdahmE+W6u9sHihr5pSztkAWa 1D/NzjVPcVcXhNVBJezcizU5JHOB4g/SoUzsyxMNt77hjDDVZZcocDZmtlnjLDCg27wI 6OuQ== X-Gm-Message-State: AJIora+txctvmXOAjNkJDVCSkSiXpuLAoHslXGhNWnEDoBXnwroyiEoK 9teHHwRaHyv6mugPyxLu0EKbtpDd13pf3Vhlyj45Mg== X-Received: by 2002:a05:6402:25c2:b0:431:932e:eb6f with SMTP id x2-20020a05640225c200b00431932eeb6fmr13332620edb.296.1655720370201; Mon, 20 Jun 2022 03:19:30 -0700 (PDT) MIME-Version: 1.0 References: <165516173293.21248.14587048046993234326.stgit@noble.brown> <165534094600.26404.4349155093299535793@noble.neil.brown.name> <165544498126.26404.7712330810213588882@noble.neil.brown.name> In-Reply-To: From: Daire Byrne Date: Mon, 20 Jun 2022 11:18:54 +0100 Message-ID: Subject: Re: [PATCH RFC 00/12] Allow concurrent directory updates. To: NeilBrown Cc: Anna Schumaker , Al Viro , Trond Myklebust , Chuck Lever , Linux NFS Mailing List , linux-fsdevel@vger.kernel.org, LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Fri, 17 Jun 2022 at 16:27, Daire Byrne wrote: > This patch does the job for me - no more stack traces and things have > been stable all day. I'm going to run some production loads over the > weekend and then I'll do some more artificial scale testing next week. > > Thanks again for this work! Improving the parallelism anywhere we can > for single clients and then nfsd is great for reexport servers > (especially once you add some "cloud" latency). > > Cheers, > > Daire The patch ran without incident with our production re-export workloads over the weekend (which also helps audit v5.19-rc2). I ran a couple more synthetic tests and got up to 100 clients of a re-export server and ~113 creates/s aggregate to a single directory with 200ms latency to the originating server. This compares well with the ~121 create/s when using 100 threads on a single patched client direct to the remote NFS server. In other words, the NFSD portion of this patch is delivering almost the same performance as the underlying VFS NFS client performance when re-exporting that path to hundreds of clients. Again, without this patch we can only sustain just under 3 create/s in both cases (VFS/NFSD) with 200ms latency. This is a great improvement for our batch workloads with varying amounts of latency >10ms (cloud networking). Tested-by: Daire Byrne Daire