From nobody Thu Nov 07 05:28:59 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 4XkVxJ1hX5z5cNxC for ; Thu, 07 Nov 2024 05:29:08 +0000 (UTC) (envelope-from andriy.gapon@uabsd.com) Received: from sender-op-o18.zoho.eu (sender-op-o18.zoho.eu [136.143.169.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XkVxG6PgMz57cv for ; Thu, 7 Nov 2024 05:29:06 +0000 (UTC) (envelope-from andriy.gapon@uabsd.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of andriy.gapon@uabsd.com designates 136.143.169.18 as permitted sender) smtp.mailfrom=andriy.gapon@uabsd.com; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none); arc=pass ("zohomail.eu:s=zohoarc:i=1") ARC-Seal: i=1; a=rsa-sha256; t=1730957343; cv=none; d=zohomail.eu; s=zohoarc; b=H1r6ifpzN0ukmK7+Qi8Dz8U4pcp2MPKUCRU9oBAyUM7roC5JMNPVKG7o0nT7n9C01MLg1o7qXXcnkIwX5IS5g3VdeYqzRiTTAHFiMTBoAo88045J7brq80WrcK1kNEqb42HAa4w6BME8OJbQTRxnktP9Ije8oZRgB2O+z+T1JrU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1730957343; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=1gKMqrdcgwxzN8a2RXRadRnyPU/YgYAZeLoFEhvSBCE=; b=RvtCmaE3yAwMcHK3Ri+IBexz58zMo+R7mpVThA5gAnUAyRcLMsxycLVfLu1C2oTRomG6smzG722CA93OYsLNm8nl0wALHoVsLlCGlNZTi2+cg+4v4FEiXS8js7B7UijL21HKhSDIapW0oV0P+pOnWpSPg/LqoHEIXitzIgsFoK0= ARC-Authentication-Results: i=1; mx.zohomail.eu; spf=pass smtp.mailfrom=andriy.gapon@uabsd.com; dmarc=pass header.from= Received: by mx.zoho.eu with SMTPS id 1730957340696685.6752911482208; Thu, 7 Nov 2024 06:29:00 +0100 (CET) Message-ID: <8187509e-c9fb-403f-8569-28ba58425cff@FreeBSD.org> Date: Thu, 7 Nov 2024 07:28:59 +0200 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 User-Agent: Mozilla Thunderbird Subject: Re: An interesting anomaly in NFS client... To: freebsd-net@freebsd.org References: <7FFE3D2B-4DD9-4657-ADC1-9C40CB54991F@neville-neil.com> Content-Language: en-US From: Andriy Gapon In-Reply-To: <7FFE3D2B-4DD9-4657-ADC1-9C40CB54991F@neville-neil.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ZohoMailClient: External X-Spamd-Result: default: False [-1.77 / 15.00]; ARC_ALLOW(-1.00)[zohomail.eu:s=zohoarc:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.67)[0.668]; NEURAL_HAM_MEDIUM(-0.44)[-0.444]; FORGED_SENDER(0.30)[avg@FreeBSD.org,andriy.gapon@uabsd.com]; RWL_MAILSPIKE_VERYGOOD(-0.20)[136.143.169.18:from]; R_SPF_ALLOW(-0.20)[+ip4:136.143.168.0/22]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; XM_UA_NO_VERSION(0.01)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:41913, ipnet:136.143.168.0/23, country:CH]; RCPT_COUNT_ONE(0.00)[1]; TO_DOM_EQ_FROM_DOM(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[avg@FreeBSD.org,andriy.gapon@uabsd.com]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[136.143.169.18:from] X-Rspamd-Queue-Id: 4XkVxG6PgMz57cv X-Spamd-Bar: - On 07/11/2024 02:43, George Neville-Neil wrote: > 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 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/ upgrading-to-11-1-from-10-3.65491/> > > I'm seeing this on 15 currentish (last few months). Could it be just make checking for stale targets? I.e., stat-ing various files to check their timestamps. -- Andriy Gapon