From nobody Tue Jul 06 17:22:19 2021 X-Original-To: freebsd-fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9FF8A8D6AA3 for ; Tue, 6 Jul 2021 17:22:33 +0000 (UTC) (envelope-from kungfujesus06@gmail.com) Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GK8WX3twbz4VZh; Tue, 6 Jul 2021 17:22:32 +0000 (UTC) (envelope-from kungfujesus06@gmail.com) Received: by mail-lf1-x12a.google.com with SMTP id y42so4336862lfa.3; Tue, 06 Jul 2021 10:22:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=boHgFx4wXB3OaaORcqZ8ea28Z5kh3ctOOXRMaXF48KA=; b=D03Ycptx9/2d6qsZ6uYd7DIcOvjkD7PgTeHXTPfXCQ1h3+9mw5bVk+b3Qk9m2szVVZ WyLjj2BBgC6i+orKR1lPXyjBXs1ITPIHafa6Yh8/wm2sgFuAI4qQoi5lnITR7XlRFyJG rWkAk2RwnnfAeW1MCG+r+ybGRX54+S1hoalaRHQhoHOSyEbKsAQERJQDyMv/Be5kulxQ TSJw3U58uoz35rehfVUfSOLEY8wJIbkBKM2Msyh3rcgxEIrNt4HdMTrITfxA3H5QcZtX uH7qjUOelVX3QxDYfipwmpo7ZKIm6PJjNC648+8OMnOj7hCfhi6X6BZrn/u0nxxGoOKz UA7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=boHgFx4wXB3OaaORcqZ8ea28Z5kh3ctOOXRMaXF48KA=; b=ikvs4NsF3280k+te13yhxXXqyndwVvy8gyHbi9k9JOW70z3q/u2nUis6vUwwLxkmDt Ug05U8Odgg6Czlom26rUcrUI2yZ4pTEd4u1+jkDxM5sJ68sxeb0aORezW/1Sa3BS2Ph0 n/CcdyXdWiZ4AEu+QZ2+nmChZzvhog6TzF7RCLycNJeLtgPvp0B7LB3+1jLuaahwMBwL rFOSzm5LfRz5Cpy3SxSbKOTou7bYnF0uvBfpn+wEgt1/Nsw2IWiVzOAeAlIGUlIs2xKQ t1ubYrVcn5Dytk5uDgKm8ymexnXETamw247OEuZ28rIKbz4Ky2RfPCvpbBxVz4DfIOI5 rRRw== X-Gm-Message-State: AOAM532LYey+GkZGoqs58aCOB93PK1E32rzsXUaunCUI8eMu7Cc4vOHs hwMVKMdDOZd4V5VT/S3wLZT620U1qCA+IWcOXzkXOgRgccJXFg== X-Google-Smtp-Source: ABdhPJyy7xy0yLcnrbpJJt7Pw6q8jyjUhbn2pASnfmhA92uGiGuPJL6fh0qWqicYIFe/z01zs3211IjI6FFetskhLPw= X-Received: by 2002:ac2:4475:: with SMTP id y21mr13843021lfl.133.1625592150486; Tue, 06 Jul 2021 10:22:30 -0700 (PDT) List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Adam Stylinski Date: Tue, 6 Jul 2021 13:22:19 -0400 Message-ID: Subject: Re: Issues with NFS RPC To: Rick Macklem Cc: rscheff@freebsd.org, freebsd-fs@freebsd.org Content-Type: multipart/alternative; boundary="000000000000adf3c705c677aa41" X-Rspamd-Queue-Id: 4GK8WX3twbz4VZh X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=D03Ycptx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kungfujesus06@gmail.com designates 2a00:1450:4864:20::12a as permitted sender) smtp.mailfrom=kungfujesus06@gmail.com X-Spamd-Result: default: False [0.00 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::12a:from]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::12a:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::12a:from]; NEURAL_HAM_SHORT(-1.00)[-0.997]; NEURAL_SPAM_LONG(1.00)[1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-fs]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: Y --000000000000adf3c705c677aa41 Content-Type: text/plain; charset="UTF-8" Well, I put in a plea in that PR for something to trickle into RELENG, but, if not possible, does that patch you posted in there for -STABLE apply cleanly to the RELENG branch? It looks like it calls some helper functions but from what I can tell they are fully present in the 13.0 releng branch (CC'ing the list and rscheff on this as well). I used gmail for all of this correspondence so hopefully the mutt or other mail users don't lose their mind with all the top posting. Sorry in advance for the poor ML etiquette. On Tue, Jul 6, 2021 at 10:59 AM Rick Macklem wrote: > Adam Stylinski wrote: > >Yes, I'm using 13.0-RELEASE, with the latest security updates from > freebsd-update. If this is that issue, I'm glad it's >known and fixed, but > I'd really hoped it'd get backported to -RELEASE :(. > At this time, you need to build a kernel from patched sources. You can > either use stable/13 kernel > sources (which, of course, pulls in other changes) or apply the patch that > reverts r367492 that is > an attachment on the PR to releng13.0 kernel sources. > > You could ask rscheff@freebsd.org (who is the author of r367492 and the > patch that is in stable/13 > and is believed to have fixed this problem if he has considered asking > re@freebsd.org w.r.t. doing > the patch as an errata for releng13.0. > > >Other info I forgot to include: the firmware on both adapters is the same > and the latest for the ConnectX-3 series. >The ring size, channels, > offload, and all other settings are the driver defaults. This issue is not > limited to just this >workload, it occurs on other files as well. > If you look at r367492, it changed the timing and lock semantics related > to TCP socket upcalls. > As such, it probably doesn't matter what network interface, etc, that you > are using. > --> Although I would not recommend it, you could use NFSv3 over UDP, since > this is a TCP specific issue. > > rick > > --000000000000adf3c705c677aa41--