Patch to improve mountd performance for reload of exports

Rick Macklem rmacklem at uoguelph.ca
Mon May 13 00:18:20 UTC 2019


Hi,

I have created PR#237860 to keep track of a patch I have to try and improve
the performance of mountd when reloading exports for an NFS server with a
lot of file systems. Peter reported that the nfsd threads would be stalled for
16sec when exports were reloaded (via SIGHUP) for his file server with 72000+
file systems on it.

Peter will be testing this patch, but I would appreciate it if anyone else can test
it as well. It doesn't matter if your NFS file server only exports a few file systems,
because I would like to find out if the patch results in any regressions.
(The new capability of incrementally updating the exports in the kernel upon a
  reload is only enabled if mountd is started with the new "-I" option the patch adds.)

If anyone can test the patch (it is the attachment in the PR), please let me know how
it goes.

Thanks, rick


More information about the freebsd-stable mailing list