mbuf leakage with nfs/zfs?

Willem Jan Withagen wjw at digiware.nl
Sat Feb 27 21:53:03 UTC 2010


On 27-2-2010 21:32, Eirik Øverby wrote:
> I've had a discussion with some folks on this for a while. I can easily
> reproduce this situation by mounting a FreeBSD ZFS filesystem via
> NFS-UDP from an OpenBSD machine. Telling the OpenBSD machine to use TCP
> instead of UDP makes the problem go away.
>
> Other FreeBSD systems mounting the same share, either using UDP or TCP,
> does not cause the problem to show up.
>
> A patch was suggested by Rick Macklem, but that did not solve the issue:
> http://lists.freebsd.org/pipermail/freebsd-current/2009-December/014181.html

I concur.
Everything in my network is now on TCP, and there is no mbuf leakage.
I just don't get over the 5500 mark, no matter what I throw at it.

I do feel that TCP is not as well performing on a local net with Linux,
hence the choice for UDP. But TCP is workable as next best.

--WjW



More information about the freebsd-fs mailing list