From nobody Thu Nov 7 12:15:08 2024 X-Original-To: freebsd-net@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 4Xkgy14ZsQz5bnW9 for ; Thu, 07 Nov 2024 12:15:21 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xkgy04rSrz4ckQ for ; Thu, 7 Nov 2024 12:15:20 +0000 (UTC) (envelope-from nonesuch@longcount.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=longcount.org header.s=google header.b="NJbx/AJ5"; spf=pass (mx1.freebsd.org: domain of nonesuch@longcount.org designates 2607:f8b0:4864:20::72a as permitted sender) smtp.mailfrom=nonesuch@longcount.org; dmarc=none Received: by mail-qk1-x72a.google.com with SMTP id af79cd13be357-7b15d7b7a32so63280285a.1 for ; Thu, 07 Nov 2024 04:15:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=longcount.org; s=google; t=1730981719; x=1731586519; darn=freebsd.org; h=to:in-reply-to:references:message-id:date:subject:mime-version:from :content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=WJasQZOohdxt8bjtHwtjErLCQuy+wosiH1eMr2roJhk=; b=NJbx/AJ5bugiFOeS1Qf7qaNMPxvBhl4ZwWgNIukJUEwwe8l4cVYf6IqH+h7DwHPI+P RVN5lT8C4OGOPX6oGwBO7kvvccLM8gaOyqst3poV+qKYMb28goVWkaNP3LGVLBqtNAaV qnvEd7uG4HOYx1h/RBhlfHwMmiyKvscnUzv7CHCA4baEwRErXLeB6ATsQnn9IMmQEkMd Ozfz14AWUd09TnyLf+zJOsiLQR9A3jnEbvUXunjSJjcyHR+9mBuPZsFg/LMvcZQLzpiO iboiEdGEWTMWl/vpY3byn/MuA1vfn4MLuA2GM+21KmIlHTqrmYOjKBUwVsXuMWE/B65j FV7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730981719; x=1731586519; h=to:in-reply-to:references:message-id:date:subject:mime-version:from :content-transfer-encoding:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=WJasQZOohdxt8bjtHwtjErLCQuy+wosiH1eMr2roJhk=; b=eT9nW4gqPWqVFc09CNeMtEaxaHC/IJwFjcqpc5inK7+X+bCwhhzJxM9EZ+14D9NwX6 ZpexfMu4f4CEi9aVTitGiVOT8Cms75zDTuZpqIMDM0uWnT4bA9WvfAm6xktqREQ5NbSH lC+A+oq07a3L20DP0Qxrcn8PwSbq+J8PZRJ2JnHmBAOtAFw0KIR4mdHFni7f2d7VTkVP wHSh+nwbMfGsLR7ObeKlgKDvjnCkgvVs9dABWto+PB+LMEoBWzgfUhwTNjBcXop9PFSl YQ4TDvSOF5MJquJg3d0m1ausGj8RqURqvmY7W57D7Tx1KaRsPO1F5SYN/4HodmY0TImU 1iIA== X-Gm-Message-State: AOJu0YwPydZcMAz+Uc9iSi2dvtAqUacnnEJR9RfRT9UjiflqqeLnJ1ai AeNOflDDazetC55DvLW06q9amtpPwO44zfN56oz2p7fIy2EzMij1X7IyAJYk63G0Uvb8grZhOgW c X-Google-Smtp-Source: AGHT+IGnQsc3jveIt6D9IL3rqcYb6HGmJOuJB++H20mqtfgn2oBC8GSlAH+RHpQCnFx5xySw0rHtlg== X-Received: by 2002:a05:620a:2410:b0:7a9:abee:992 with SMTP id af79cd13be357-7b193f4d8e8mr6118669985a.50.1730981719042; Thu, 07 Nov 2024 04:15:19 -0800 (PST) Received: from smtpclient.apple (pool-68-161-195-36.nycmny.fios.verizon.net. [68.161.195.36]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b32ac42bcesm56539085a.28.2024.11.07.04.15.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Nov 2024 04:15:18 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Mark Saad List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org Mime-Version: 1.0 (1.0) Subject: Re: An interesting anomaly in NFS client... Date: Thu, 7 Nov 2024 07:15:08 -0500 Message-Id: References: <8187509e-c9fb-403f-8569-28ba58425cff@FreeBSD.org> In-Reply-To: <8187509e-c9fb-403f-8569-28ba58425cff@FreeBSD.org> To: freebsd-net@freebsd.org X-Mailer: iPhone Mail (22A3370) X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; R_DKIM_ALLOW(-0.20)[longcount.org:s=google]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; DKIM_TRACE(0.00)[longcount.org:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[longcount.org]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; APPLE_IOS_MAILER_COMMON(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::72a:from] X-Rspamd-Queue-Id: 4Xkgy04rSrz4ckQ X-Spamd-Bar: --- >=20 > On Nov 7, 2024, at 12:29=E2=80=AFAM, Andriy Gapon wrote:= >=20 > =EF=BB=BFOn 07/11/2024 02:43, George Neville-Neil wrote: >> Howdy, >> We've been digging into an interesting possible issue in the FreeBSD NFS c= lient. Here is the scenario. I have a FreeBSD VM on my Mac, the Mac is the N= FS server, the VM is the client. What are you using to run the vm ? What architecture is the vm ? What about t= he Mac ?=20 >> I then attempt to build an out of tree kernel module that I'm working on.= The build looks like it's hanging for 1.5 seconds, and when we look at the p= ackets (pcap file attached) we see a ton of GETATTRs over the first 1.5 seco= nds. I've put the pcap up here: oct_8_2024.pcapng >> I also note that an issue was raised on the forums that seems similar, wa= y back between FreeBSD 10 and 11: >> https://forums.freebsd.org/threads/nfs-cache-misses-after-upgrading-to-11= -1- from-10-3.65491/ >> I'm seeing this on 15 currentish (last few months). >=20 > Could it be just make checking for stale targets? > I.e., stat-ing various files to check their timestamps. >=20 >=20 > -- > Andriy Gapon --- Mark Saad | nonesuch@longcount.org >=20