Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4051718iog; Tue, 21 Jun 2022 11:01:08 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v343oO4cXUbPPvqt6T2FGcrnlq8Ve9Q8Lw8akDu3QccEKkp406iwbs0tVOLvoJPucJOMD0 X-Received: by 2002:a62:1b91:0:b0:525:273f:e35f with SMTP id b139-20020a621b91000000b00525273fe35fmr9990614pfb.4.1655834468358; Tue, 21 Jun 2022 11:01:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655834468; cv=none; d=google.com; s=arc-20160816; b=zNNeD//6Gl3X9/u/ADxGz233Dqteziwi/whnAZzSNHngk0eTr4DTqj+Z+iol85ZTd3 vRNJ2MLcGGhikzNaSuLni/b/HBuyGALx9ffwWdGO+Y+lGTPAaYTW+C7p/YnZD7Bl7+Si U6Wdo8dH76cNnoYfuXEvKz9fFgXL+S4lh2lI2VtXUCA9rtTBejjE5X0n72HJcdtAShQk QWnIHfoKFrColP6m3gMb5GaMAnVFxjEfNKsEylqNV0sqb09AY73FGiDuE1flf2tsf88N Joj0ha9WNQK/0rI7siSlhoQ66dbFiBfz7c5ta+U5BOAkiRygdbjMmjxmihwwmLjPqIge hYeQ== 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=cFDZO31WtmbM+MbCOP9ZZ070u64T4Rx82gRNpYfQ9tc=; b=r8Y2P+NBgaJ4xPRCDwOpQ70zimG+iyNS7a3lO3FKflKvaAZ+Op43IRjLtOnKfyJE19 UdBcDFXvna6Gklk7/6mREpYIIPIiX/FKwWqY5u4XRndR+iS+lTEdmmjUT91ctE5PlF4e kBelABod4BpNva6Axgr7BQ7SGKDLU2Y2Gn/csYy4yBCt/LAyS68QQ4gNdbqHqWpThE7j gkNRQo3UDjNcRjzwMNbEGGU4CkwpMLyK4ZERg8JzX2+VBwHZfuGedba2gLyz7iXSgXlL F76LKbg/DOcMDHl4rkFb2MhvHm2RSLQaFf7lk1emJn2ATMJFIAYR7sWy1f25mgwKhIUx jSsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@umich.edu header.s=google-2016-06-03 header.b=GnxCnFkr; 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=umich.edu Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id my7-20020a17090b4c8700b001dc4320e6bcsi25244133pjb.146.2022.06.21.11.00.05; Tue, 21 Jun 2022 11:01:08 -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=@umich.edu header.s=google-2016-06-03 header.b=GnxCnFkr; 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=umich.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233992AbiFURvv (ORCPT + 99 others); Tue, 21 Jun 2022 13:51:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348577AbiFURvu (ORCPT ); Tue, 21 Jun 2022 13:51:50 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1940F1FA55 for ; Tue, 21 Jun 2022 10:51:49 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id e40so7851402eda.2 for ; Tue, 21 Jun 2022 10:51:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=google-2016-06-03; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cFDZO31WtmbM+MbCOP9ZZ070u64T4Rx82gRNpYfQ9tc=; b=GnxCnFkrKOUtivo40IXQyZRBjh4/QuPRfSZDHp5soVeIzPJ7KZ7P3sYQuiUESrdCVr h8RCAHN3Yt3TIUKMnEt8G7rd4gm9FfORumRkVfc2/TnlGe3z6DEb4kuAWOeDltrXoVyH fgRkwXnMSHDvcaPGF+BbxHZaQmIY9xZGtYzieK5W6cr38HNwhf49+rpMfDUwUSXBVXE8 vokpQNgeCM+rnQt7jvBVuSitx8JZJNnV+FjLXvTX9HoOkrutd5AFa7GOEaUjNL2SHysI z6rPUntsaJB/VvijZ+vb7rtgV3/ug1siDoECcfd0iQkQHejEvId05sqpWqbw4C8mUNeE B68w== 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=cFDZO31WtmbM+MbCOP9ZZ070u64T4Rx82gRNpYfQ9tc=; b=u6HDBMNxEZeEZi52cNbXDEuV1mGCL9AC6POck9kZsv2aCm887Oc6BeJWXNKEpZEDSM G+tK0dGe2APzzoH/KuS06Xkl21hTvtgucWUpG4jPmhg6ahjunaQ5BMp5vr09z35Dtt+F +zvgNKMVtVYVLJkamy2mWXbIbojs8CVZHE3gC8l3Hgz93dPfewclzz8NlnSpEfBy89kk FBlEd+e2sc6d3puE3mOFxxDpehHENH3cvLW5c9zavDyKnfic/Sx+pBNqu49jmL8mgQFj sR4+aFBTOys0t19/cenrQoeC9RSJqW70/wSsFDOd2+56kV9fZrqAnQ88HXUXQCoDHjav d9iw== X-Gm-Message-State: AJIora8qJSnXkRi3tpADDy6vecSFPrusEKpiEQQfoPVT6CtXOoJmi9jH EdBighEtKT1idPL2Ol4dI3+TH7+uYXqDM3CoEGg= X-Received: by 2002:a05:6402:5021:b0:435:1e2a:2c83 with SMTP id p33-20020a056402502100b004351e2a2c83mr36563340eda.345.1655833907462; Tue, 21 Jun 2022 10:51:47 -0700 (PDT) MIME-Version: 1.0 References: <979544aa-a7b1-ab22-678f-5ac19f03e17a@cornelisnetworks.com> <04edca2f-d54f-4c52-9877-978bf48208fb@cornelisnetworks.com> <46beb079-fb43-a9c1-d9a0-9b66d5a36163@cornelisnetworks.com> <9d3055f2-f751-71f4-1fc0-927817a07d99@cornelisnetworks.com> <9D98FE64-80FB-43B7-9B1C-D177F32D2814@oracle.com> <1573dd90-2031-c9e9-8d62-b3055b053cd1@cornelisnetworks.com> <1fa761b5-8083-793c-1249-d84c6ee21872@leemhuis.info> <540c0a10-e2eb-57e9-9a71-22cf64babd8e@leemhuis.info> <916910EC-4F57-4071-8A4E-FC21ED76839A@oracle.com> <0faa0fce-52ef-de28-7594-6e93bb47fec6@cornelisnetworks.com> <31af1a7f-51a7-87eb-aba1-ad933a845423@cornelisnetworks.com> In-Reply-To: <31af1a7f-51a7-87eb-aba1-ad933a845423@cornelisnetworks.com> From: Olga Kornievskaia Date: Tue, 21 Jun 2022 13:51:36 -0400 Message-ID: Subject: Re: NFS regression between 5.17 and 5.18 To: Dennis Dalessandro Cc: Chuck Lever III , Thorsten Leemhuis , Trond Myklebust , Linux NFS Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Tue, Jun 21, 2022 at 12:58 PM Dennis Dalessandro wrote: > > On 6/21/22 12:04 PM, Olga Kornievskaia wrote: > > Hi Dennis, > > > > Can I ask some basic questions? Have you tried to get any kinds of > > profiling done to see where the client is spending time (using perf > > perhaps)? > > > > real 4m11.835s > > user 0m0.001s > > sys 0m0.277s > > > > sounds like 4ms are spent sleeping somewhere? Did it take 4mins to do > > a network transfer (if we had a network trace we could see how long > > network transfer were)? Do you have one (that goes along with > > something that can tell us approximately when the request began from > > the cp's perspective, like a date before hand)? > > > > I see that there were no rdma changes that went into 5.18 kernel so > > whatever changed either a generic nfs behaviour or perhaps something > > in the rdma core code (is an mellonax card being used here?) > > > > I wonder if the slowdown only happens on rdma or is it visible on the > > tcp mount as well, have you tried? > > > > Hi Olga, > > I have opened a Kernel Bugzilla if you would rather log future responses there: > https://bugzilla.kernel.org/show_bug.cgi?id=216160 > > To answer your above questions: This is on Omni-Path hardware. I have not tried > the TCP mount, I can though. I don't have any network trace per-se or a profile. > We don't support like a TCP dump or anything like that. However I can tell you > there is nothing going over the network while it appears to be hung. I can > monitor the packet counters. In this thread there are 2 problems raised (1) performance regression and (2) a single time run that hit a hung client. For #1, given that there were no rdma changes that were added to the 5.18, seems like something in the generic nfs is causing issues for you, thus I recommend to first use a linux profiler to get some information about the times spent in kernel functions that are triggered by the cp command. If you can't run the profiler (which I think you should be able to), then perhaps just enable the nfs4 and rpcrdma tracepoints which also have timestamps in them and looking at differences can give some clue where the time is being spent. 4min is a significant chunk of time and should be visible somewhere in those timestamps. For #2, I have personally ran into that stack trace while investigating a hung using soft iWarp as the rdma provider. It was an unpinned request but I think it was due to soft iWarp failure that cause it not to do a completion to rdma which led to the request never getting unpinned. Thus I would recommend looking into failures in your rdma provider for clues on that problem. > If you have some ideas where I could put some trace points that could tell us > something I can certainly add those. > > -Denny > > > > > > > On Mon, Jun 20, 2022 at 1:06 PM Dennis Dalessandro > > wrote: > >> > >> On 6/20/22 10:40 AM, Chuck Lever III wrote: > >>> Hi Thorsten- > >>> > >>>> On Jun 20, 2022, at 10:29 AM, Thorsten Leemhuis wrote: > >>>> > >>>> On 20.06.22 16:11, Chuck Lever III wrote: > >>>>> > >>>>> > >>>>>> On Jun 20, 2022, at 3:46 AM, Thorsten Leemhuis wrote: > >>>>>> > >>>>>> Dennis, Chuck, I have below issue on the list of tracked regressions. > >>>>>> What's the status? Has any progress been made? Or is this not really a > >>>>>> regression and can be ignored? > >>>>>> > >>>>>> Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) > >>>>>> > >>>>>> P.S.: As the Linux kernel's regression tracker I deal with a lot of > >>>>>> reports and sometimes miss something important when writing mails like > >>>>>> this. If that's the case here, don't hesitate to tell me in a public > >>>>>> reply, it's in everyone's interest to set the public record straight. > >>>>>> > >>>>>> #regzbot poke > >>>>>> ##regzbot unlink: https://bugzilla.kernel.org/show_bug.cgi?id=215890 > >>>>> > >>>>> The above link points to an Apple trackpad bug. > >>>> > >>>> Yeah, I know, sorry, should have mentioned: either I or my bot did > >>>> something stupid and associated that report with this regression, that's > >>>> why I deassociated it with the "unlink" command. > >>> > >>> Is there an open bugzilla for the original regression? > >>> > >>> > >>>>> The bug described all the way at the bottom was the origin problem > >>>>> report. I believe this is an NFS client issue. We are waiting for > >>>>> a response from the NFS client maintainers to help Dennis track > >>>>> this down. > >>>> > >>>> Many thx for the status update. Can anything be done to speed things up? > >>>> This is taken quite a long time already -- way longer that outlined in > >>>> "Prioritize work on fixing regressions" here: > >>>> https://docs.kernel.org/process/handling-regressions.html > >>> > >>> ENOTMYMONKEYS ;-) > >>> > >>> I was involved to help with the ^C issue that happened while > >>> Dennis was troubleshooting. It's not related to the original > >>> regression, which needs to be pursued by the NFS client > >>> maintainers. > >>> > >>> The correct people to poke are Trond, Olga (both cc'd) and > >>> Anna Schumaker. > >> > >> Perhaps I should open a bugzilla for the regression. The Ctrl+C issue was a > >> result of the test we were running taking too long. It times out after 10 > >> minutes or so and kills the process. So a downstream effect of the regression. > >> > >> The test is still continuing to fail as of 5.19-rc2. I'll double check that it's > >> the same issue and open a bugzilla. > >> > >> Thanks for poking at this. > >> > >> -Denny