From nobody Thu Nov 7 21:59:36 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 4XkwwQ46Lmz5chbv for ; Thu, 07 Nov 2024 21:59:50 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (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 4XkwwQ1c6Pz47YH for ; Thu, 7 Nov 2024 21:59:50 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-5ceca7df7f0so1708662a12.1 for ; Thu, 07 Nov 2024 13:59:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731016787; x=1731621587; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=itj/Wt82eTDa5ezyFXxwpqGw/Jgl+EVO/y67et05Bxc=; b=ECT1tg5tcVfwxVbgrEvXbLxo7oxGrVy7sa+oBKsNGlRRUgPEphHQBQmNSC96Q/GY2Q Yo6M2y3gG40IeLlTFeHPdiHbubHfqPr54K9BAOrYZIzTEmuoNiJEKlr2Ooc91bQw3Ft0 4CISZL9e0xV3dY92iLorvXQ7opZ3vDR9bRIqL0uWwY6NPrTl+bx7zAkWEP0+iBRMuLqo s0AFqa8TI5CS9tGgKpE6RW6IEAls++lCdoLtrRs+wBpGwvQXE3wceeqIwwWCRk3J/JWW mvCaMjxs3pVYzOOp4D9vrPx/5Xw94YLj9QXPOQKX/LD0kFIwBY/2Ok/2AG31aTfKAQk8 sQpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731016787; x=1731621587; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=itj/Wt82eTDa5ezyFXxwpqGw/Jgl+EVO/y67et05Bxc=; b=g5PQMA7a6OQFaO2ExqjtbjZnsCCLiW1PfWOp8qs3wE++/LnlbqTnlKxB8dqbvPpTou d2vwoqmn/ehdv0dD6c+Oo/8C7PppHwkMNiBn3BhJegb5+ijKv+26OgA69vlteX0EgLDt zEHYDSBmDc+1U+EXBr4chg1vnlbVuADoHRHCe5lSn4ot5Sf/ZAesF6M3wZEbNm86JQ9e tnbPRCdAQUMwkaLAEa4DFycvUyGDj++Vvwz0JynUNkpg2G8+PRxHeLpQYU1cIwwqT1fh 68dpwkeg0qeVELK1KyqG0FwRYJTEHsB64S5/yQIDW8auOJnG0mFbGyOk/quGihND+IM8 YpTA== X-Forwarded-Encrypted: i=1; AJvYcCV6+3MIKkxjKswl575AIMCTB29HLgTBqwtM1Ib66iBteJDVDYEVw8VtUdOA552Z4zAxiAcRqKBDmOWDQQ==@freebsd.org X-Gm-Message-State: AOJu0YxgQ1xGsR0646WFRoaDsG1pZSpS/bIQ5EVpluDCecjjcmueQsZd /xxpXhD7vtpq+tQSqooNeKP5sHCw9W4V885ljZCYsizsrWNkMInuQs//skGjLB101tmxIN58+HV 6G2lbHAkyCfVK6e9PJj+5P3QwfQ== X-Google-Smtp-Source: AGHT+IGxh2RkQT3fa/Q1lrjmrHmUwu7N4QdPgItgHK41aQ56szA8q4cpJuo/AEISOjDxSIM10ljkFjM3TKmEYfzg3+Q= X-Received: by 2002:a05:6402:254a:b0:5cf:763:e003 with SMTP id 4fb4d7f45d1cf-5cf0a308df8mr332643a12.7.1731016787324; Thu, 07 Nov 2024 13:59:47 -0800 (PST) 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 References: <8187509e-c9fb-403f-8569-28ba58425cff@FreeBSD.org> <9BD96F0F-363F-45BF-B3AF-BDEBD4B46175@neville-neil.com> In-Reply-To: <9BD96F0F-363F-45BF-B3AF-BDEBD4B46175@neville-neil.com> From: Rick Macklem Date: Thu, 7 Nov 2024 13:59:36 -0800 Message-ID: Subject: Re: An interesting anomaly in NFS client... To: George Neville-Neil Cc: Mark Saad , freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4XkwwQ1c6Pz47YH X-Spamd-Bar: ---- On Thu, Nov 7, 2024 at 9:34=E2=80=AFAM George Neville-Neil wrote: > > > > On 7 Nov 2024, at 4:15, Mark Saad wrote: > > >> > >> On Nov 7, 2024, at 12:29=E2=80=AFAM, Andriy Gapon wr= ote: > >> > >> =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 client. Here is the scenario. I have a FreeBSD VM on my Mac, the Mac is= the NFS server, the VM is the client. > > > > What are you using to run the vm ? What architecture is the vm ? What a= bout the Mac ? > > qemu, aarch64, M3 Mac. > > I doubt this is the source of the issue. > > I was poking through the code and I wonder if a slight time skew might be= an issue. I'm going to check into that. The VM and the Mac both us NTP t= o stay in sync with the world, but who knows... Hi George, I'll take a look at the packet trace later, but... If you can easily reproduce the issue, do a: # nfsstat -E -c -z - before reproducing it, and a # nfsstat -E -c - after. Then look at the Cache Info: at the end of the output. rick > > Best, > George >