Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Nov 2016 23:06:26 +0000
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        Alan Somers <asomers@freebsd.org>, Konstantin Belousov <kostikbel@gmail.com>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: NFSv4 performance degradation with 12.0-CURRENT client
Message-ID:  <YQBPR01MB01806976D2A8EDB53DEBDA95DD880@YQBPR01MB0180.CANPRD01.PROD.OUTLOOK.COM>
In-Reply-To: <CAOtMX2ikX7a==pKNdLnzihM0Hw2Ok=Rw2PWx8ioW3TVtzAvDzg@mail.gmail.com>
References:  <CAOtMX2jJ2XoQyVG1c04QL7NTJn1pg38s=XEgecE38ea0QoFAOw@mail.gmail.com> <20161124090811.GO54029@kib.kiev.ua> <YTXPR01MB0189E0B1DB5B16EE6B388B7DDDB60@YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM> <CAOtMX2hBXAJN_udED-u5%2B6UznR2%2BW88xgb=RqKSZL65Z3%2BcKOw@mail.gmail.com> <YTXPR01MB0189C3E11821E4F7B7DF1814DDB60@YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM> <20161125084106.GX54029@kib.kiev.ua> <YTXPR01MB018969FB21212700C4043AEADD890@YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM> <20161125135725.GD54029@kib.kiev.ua>, <CAOtMX2ikX7a==pKNdLnzihM0Hw2Ok=Rw2PWx8ioW3TVtzAvDzg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Alan Somers wrote:
[stuff snipped]
>Mounting nullfs with the nocache option, ad kib suggested, fixed the
>problem.  Also, applying kib's patch and then mounting nullfs with
>default options also fixed the problem.  Here is the nfsstat output
>for "ls -al" when using kib's patch.  Notice the client has far fewer
>opens:
I did a quick test which confirmed that the opens get closed when the "noca=
che"
option is used on the nullfs mount as well.

Kostik, I think your patch is a good idea and you can consider it reviewed =
by me
if you'd like.

I also did a quick test wth unionfs and it did not accumulate opens, so it =
doesn't
seem to suffer from this problem. (It does have issues, as noted by the BUG=
S
section of the mount_unionfs man page.)

rick




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YQBPR01MB01806976D2A8EDB53DEBDA95DD880>