From nobody Thu Nov 7 00:43:27 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 4XkNbt2gsLz5c4D4 for ; Thu, 07 Nov 2024 00:43:38 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XkNbs20pWz4VDx for ; Thu, 7 Nov 2024 00:43:37 +0000 (UTC) (envelope-from gnn@neville-neil.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of gnn@neville-neil.com designates 2001:4b98:dc4:8::228 as permitted sender) smtp.mailfrom=gnn@neville-neil.com; dmarc=none Received: by mail.gandi.net (Postfix) with ESMTPSA id AE0161BF204 for ; Thu, 7 Nov 2024 00:43:33 +0000 (UTC) From: George Neville-Neil To: FreeBSD Net Subject: An interesting anomaly in NFS client... Date: Wed, 06 Nov 2024 19:43:27 -0500 X-Mailer: MailMate (1.14r5937) Message-ID: <7FFE3D2B-4DD9-4657-ADC1-9C40CB54991F@neville-neil.com> 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 Content-Type: multipart/alternative; boundary="=_MailMate_777B0B86-AA2D-4B0C-AF65-9C69B97D87EA_=" X-GND-Sasl: gnn@neville-neil.com X-Spamd-Result: default: False [-1.49 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_MISSING_CHARSET(0.50)[]; NEURAL_SPAM_SHORT(0.41)[0.413]; R_SPF_ALLOW(-0.20)[+ip6:2001:4b98:dc4:8::/64]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[2001:4b98:dc4:8::228:from]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:29169, ipnet:2001:4b98::/32, country:FR]; FREEFALL_USER(0.00)[gnn]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; DMARC_NA(0.00)[neville-neil.com]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[]; ARC_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4XkNbs20pWz4VDx X-Spamd-Bar: - --=_MailMate_777B0B86-AA2D-4B0C-AF65-9C69B97D87EA_= Content-Type: text/plain; format=flowed; markup=markdown Content-Transfer-Encoding: quoted-printable Howdy, We've been digging into an interesting possible issue in the FreeBSD NFS = client. Here is the scenario. I have a FreeBSD VM on my Mac, the Mac = is the NFS server, the VM is the client. 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 packets (pcap file = attached) we see a ton of GETATTRs over the first 1.5 seconds. I've put = the pcap up here: = [oct_8_2024.pcapng](https://people.freebsd.org/~gnn/oct_8_2024.pcapng) I also note that an issue was raised on the forums that seems similar, = way 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). Best, George --=_MailMate_777B0B86-AA2D-4B0C-AF65-9C69B97D87EA_= Content-Type: text/html Content-Transfer-Encoding: quoted-printable

Howdy,

We've been digging into an interesting possible issue in = the FreeBSD NFS client. Here is the scenario. I have a FreeBSD VM on my= Mac, the Mac is the NFS server, the VM is the client. 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 packets (pcap= file attached) we see a ton of GETATTRs over the first 1.5 seconds. I'v= e put the pcap up here: oct_8_2024.pcapng

I also note that an issue was raised on the forums that s= eems similar, way back between FreeBSD 10 and 11:

https://forums.freebsd.org/threads/nfs-cache-misses-after-upgrading-to-1= 1-1-from-10-3.65491/

I'm seeing this on 15 currentish (last few months).

Best,
George

--=_MailMate_777B0B86-AA2D-4B0C-AF65-9C69B97D87EA_=--