Weird NFS client lock up with Mellanox cards :/

Justin Clift justin at
Tue Jul 19 13:28:21 UTC 2016

Hi all,

Brian Krusic (CC'd), has been kind enough to put time into some
performance testing of Mellanox ConnectX-3 Pro cards in 40GbE mode,
with FreeNAS 9.10-STABLE.  (That uses FreeBSD 10-STABLE as it's
base OS)

Weirdly, his NFS clients are locking up when using Mellanox cards,
but not with SolarFlare ones.

Comparing the OFED code in FreeNAS 9.10-STABLE to FreeNSD 10-STABLE,
there's one patch difference.  It's a recent one from 3 days ago:

  MFC r301877
  Add a missing error check for a malloc() call in idr_get().

Does anyone know if this missing patch could result in a slow down
of NFS clients (but not Samba/SMB)?  Maybe memory leak style, leading
to a lack of resources or something?

Hoping it's really this simple.  But if not... does anyone have
suggestions on what to try for figuring this out?

Regards and best wishes,

Justin Clift

"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi

More information about the freebsd-infiniband mailing list