Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Nov 2024 19:43:27 -0500
From:      George Neville-Neil <gnn@neville-neil.com>
To:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   An interesting anomaly in NFS client...
Message-ID:  <7FFE3D2B-4DD9-4657-ADC1-9C40CB54991F@neville-neil.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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



[-- Attachment #2 --]
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body><div style="font-family: sans-serif;"><div class="markdown" style="white-space: normal;">
<p dir="auto">Howdy,</p>
<p dir="auto">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: <a href="https://people.freebsd.org/~gnn/oct_8_2024.pcapng" style="color: #3983C4;">oct_8_2024.pcapng</a></p>
<p dir="auto">I also note that an issue was raised on the forums that seems similar, way back between FreeBSD 10 and 11:</p>
<p dir="auto"><a href="https://forums.freebsd.org/threads/nfs-cache-misses-after-upgrading-to-11-1-from-10-3.65491/" style="color: #3983C4;">https://forums.freebsd.org/threads/nfs-cache-misses-after-upgrading-to-11-1-from-10-3.65491/</a></p>;
<p dir="auto">I'm seeing this on 15 currentish (last few months).</p>
<p dir="auto">Best,<br>
George</p>

</div>
</div>
</body>

</html>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7FFE3D2B-4DD9-4657-ADC1-9C40CB54991F>