Date: Sat, 20 Oct 2012 14:42:56 +0300 From: Nikolay Denev <ndenev@gmail.com> To: "freebsd-hackers@freebsd.org Hackers" <freebsd-hackers@freebsd.org> Cc: Rick Macklem <rmacklem@uoguelph.ca>, Ivan Voras <ivoras@freebsd.org> Subject: Re: NFS server bottlenecks Message-ID: <23D7CB3A-BD66-427E-A7F5-6C9D3890EE1B@gmail.com> In-Reply-To: <6DAAB1E6-4AC7-4B08-8CAD-0D8584D039DE@gmail.com> References: <937460294.2185822.1350093954059.JavaMail.root@erie.cs.uoguelph.ca> <302BF685-4B9D-49C8-8000-8D0F6540C8F7@gmail.com> <k5gtdh$nc0$1@ger.gmane.org> <0857D79A-6276-433F-9603-D52125CF190F@gmail.com> <CAF-QHFUU0hhtRNK1_p9zks2w%2Be22bfWOtv%2BXaqgFqTiURcJBbQ@mail.gmail.com> <6DAAB1E6-4AC7-4B08-8CAD-0D8584D039DE@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 18, 2012, at 6:11 PM, Nikolay Denev <ndenev@gmail.com> wrote: >=20 > On Oct 15, 2012, at 5:34 PM, Ivan Voras <ivoras@freebsd.org> wrote: >=20 >> On 15 October 2012 16:31, Nikolay Denev <ndenev@gmail.com> wrote: >>>=20 >>> On Oct 15, 2012, at 2:52 PM, Ivan Voras <ivoras@freebsd.org> wrote: >>=20 >>>> http://people.freebsd.org/~ivoras/diffs/nfscache_lock.patch >>>>=20 >>>> It should apply to HEAD without Rick's patches. >>>>=20 >>>> It's a bit different approach than Rick's, breaking down locks even = more. >>>=20 >>> Applied and compiled OK, I will be able to test it tomorrow. >>=20 >> Ok, thanks! >>=20 >> The differences should be most visible in edge cases with a larger >> number of nfsd processes (16+) and many CPU cores. >=20 > I'm now rebooting with your patch, and hopefully will have some = results tomorrow. >=20 Here are the results from testing both patches : = http://home.totalterror.net/freebsd/nfstest/results.html Both tests ran for about 14 hours ( a bit too much, but I wanted to = compare different zfs recordsize settings ), and were done first after a fresh reboot. The only noticeable difference seems to be much more context switches = with Ivan's patch.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23D7CB3A-BD66-427E-A7F5-6C9D3890EE1B>