Can anyone test a patch for an NFS server with Mellanox/Chelsio?

Rick Macklem <[email protected]>
Newsgroups gmane.os.freebsd.devel.net
Message-ID <CAM5tNy6=1bBTZ+=HzbxsffS-qJ=ni4U4AknwhUFxdEZD6gfN6A@mail.gmail.com>
Hi,

I have a little patch for the NFS server which checks for
IFCAP_MEXTPG and, if set, fills the reply to Reads into
M_EXTPG mbufs.

I can test this by pretending that IFCAP_MEXTPG is set,
but that means that mb_unmapped_to_ext() gets called
on the mbuf chain in ip_output().

So, if there is anyone out there that has a NFS server
with either Mellanox or Chelsio NICs and can test the
patch, it can be found here:
https://people.freebsd.org/~rmacklem/extpg.patch

Also, when I test with a localhost mount, I actually
get better performance if I pretend that IFCAP_MEXTPG
is set. (I cannot determine if this is a localhost quirk or
an actual indication that generating M_EXTPG mbufs and
then mapping them via mb_unmapped_to_ext() is more
efficient than having NFS use mbuf clusters as it does now?

Thanks in advance for any help testing this, rick
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.