26 May
2021
26 May
'21
2:08 p.m.
Hello, It turns out that the macOS NFS client supports connecting to an NFS server over AF_LOCAL (UNIX domain) sockets. It is undocumented, but a hint of this is here: https://github.com/apple/darwin-xnu/blob/xnu-7195.101.1/bsd/nfs/nfs_subs.c#L... This has performance improvements over using IP loopback. I'm wondering if this area has ever been explored or worked on? After a quick look I feel it should be an approachable task. There is already AF_VSOCK support, which sounds very similar. FWIW it looks like this was upgraded from a debug build feature around 2020-02: https://github.com/apple/darwin-xnu/blame/18c0ee9fc565c37827391eaa2f42f265a3... Thank you, Matt