From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C2227C43334 for ; Mon, 20 Jun 2022 10:20:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240275AbiFTKUX (ORCPT ); Mon, 20 Jun 2022 06:20:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241007AbiFTKTj (ORCPT ); Mon, 20 Jun 2022 06:19:39 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD22114007 for ; Mon, 20 Jun 2022 03:19:31 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id cf14so4664017edb.8 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=3z01vfQRgaJig/RXg+EKB+eSLCiKpuk1u6NCpPRAVfWuH5pitY4OtWTIEZxYxIDdx7 i/f4uMQJmweQ+v34yxLb8TgqfDg7YHP76K05jpcWsaG7gPAabxgqR9nUrKtuCkjW8gIW XI1XZ8BAuIAkYrpy1sVZmLjnkICcuCb4uIjJKe1lBqgo4udjXm4IFwR96IcbHZakpc2/ r8GT0NUDEytMRYV70202BPGTB6OLzkqIvoLcbXjOLN1VcJyLVNozdAyNCPrys7k7yU7B einAjJ7MTAtFQ/6zME2LD51fvvo6DGAblp3kWNm7uc0DG0rXm+j+a4EinqnVF5Xgumqj +AAg== X-Gm-Message-State: AJIora8Zoa7tuiqiRZL29c/CEzuW9TNgoxoqkOn5592mtIM0zi6u6TyS 8bb90kOn8EIP5J4qtaftP+k78XQHuoTAHFX104aH7g== X-Google-Smtp-Source: AGRyM1v3loEzZn5lCQNqmOyLVmDEpgbjQ28MHr2qrJ0Tw5WoguppyU5q5kmkj9+DYNYOI2kZiD6bH1OO306e/es4Hr8= 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" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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