Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jul 2013 14:20:05 +1200
From:      Berend de Boer <berend@pobox.com>
To:        Rick Macklem <rmacklem@uoguelph.ca>
Cc:        freebsd-fs <freebsd-fs@freebsd.org>
Subject:   Re: Terrible NFS4 performance: FreeBSD 9.1 + ZFS + AWS EC2
Message-ID:  <87k3l0zd7u.wl%berend@pobox.com>
In-Reply-To: <580122426.2916694.1373242759482.JavaMail.root@uoguelph.ca>
References:  <87y59i0yni.wl%berend@pobox.com> <580122426.2916694.1373242759482.JavaMail.root@uoguelph.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
--pgp-sign-Multipart_Tue_Jul__9_14:20:05_2013-1
Content-Type: text/plain; charset=US-ASCII

>>>>> "Rick" == Rick Macklem <rmacklem@uoguelph.ca> writes:


    Rick> After you apply the patch and boot the rebuilt kernel, the
    Rick> cpu overheads should be reduced after you increase the value
    Rick> of vfs.nfsd.tcphighwater.

Have set it to 10,000, max cpu for nfsd I've seen is below 6%. Makes
no real difference whatsoever to the great slowness of nfs4 in this
use-case.

I.e. did two tests: 17.5 minutes with sync=disabled, 21.5 minutes with
sync=enabled, but difference in this case could simply be due to
whatever else was going on that that time.

FYI, in the nfs3 mount nfsd is at 0% at all times, basically uses no
cpu whatsoever.

The weird thing is that nfs3 performance seems to have been greatly
affected: the same test which ran at 2 minutes on udp is now between 7-11
minutes.

As this could be a problem with how I'm testing now (I recompiled the
kernel), I'll try to see what numbers I get when I undo the patch and
work against a recompiled kernel.

--
All the best,

Berend de Boer


          ------------------------------------------------------
          Awesome Drupal hosting: https://www.xplainhosting.com/

--pgp-sign-Multipart_Tue_Jul__9_14:20:05_2013-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
Content-Description: OpenPGP Digital Signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iQIcBAABCAAGBQJR23NVAAoJEKOfeD48G3g5fqoP/16z4OGMu//AEaKoMkXNbWMo
a6M0BWyKec0BKKL1V1tKoyp5oKu3IjYvZ7RPWRCmd6TxPd8h1wigr+PayyL4VekX
Wuz1u/Jgd18BNTWYyIqqNCi/cH/hMYS58AAf5Jq5SEmOZy3V3bFnPmdoM+jovTzR
fkM26Hw9siFtcMoPzCw8SnRC3jFiLScfHtzNib2BQa/FerTeA+gKe5M8C5ylyhP/
wa5k4Lt+NtFZEXfHnsXNK11fOmITmrfaz6vnMnVURkcf4j0ITa45dQiufYjHxl6a
9MqC8YnVo18i/3coaKKDnD4qf5m3fGpNoW1Pmkmb+uiwDnqne8G0eVTUW5lqBug7
gblxstadl/diFMiEuv5oBXnUSfZTVraihyFAiShkj79fISA4mLpthmY6Pm50k1ov
fjVj+2tpSfx1/FGQNTOwaVMqLfa+QeWrVePirfQU2e+JMgkdr/F6VckIkIeYhCZB
b0G9KlaEf8V283xOlQ7tuFUkuXhFq9jRB3E13+73DW/QhMcq2RGa2Qv04BAWoB0U
ICD5+ZIQRqIfVOvlXsxtn2yN3cEoWMq5+NhKwWTKA2WDxqzh4+15s/s5+G3j9qvL
oIca+U8qn1WficYYqPqxMDHH/bjGSVe10pUV1oiSD1Dv52DhJY44TeLaFmXdnZFi
+Z5vILE394P0eFdjBzmw
=4kgg
-----END PGP SIGNATURE-----

--pgp-sign-Multipart_Tue_Jul__9_14:20:05_2013-1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87k3l0zd7u.wl%berend>