Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jul 2013 17:48:02 +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 + UFS/ZFS + AWS EC2
Message-ID:  <8761wfvwml.wl%berend@pobox.com>
In-Reply-To: <818900293.3878290.1373413081112.JavaMail.root@uoguelph.ca>
References:  <877gh0yvhm.wl%berend@pobox.com> <818900293.3878290.1373413081112.JavaMail.root@uoguelph.ca>

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

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

    Rick> If you could do some testing where you export a UFS volume,
    Rick> the results might help to isolate the issue to ZFS vs nfsd.

Indeed! Have changed subject, as indeed ZFS is a red herring. Issue
shows up with UFS as well. Very high cpu for nfds, about the same time
to do the operation.

Tried it with these settings:

  vfs.nfsd.tcphighwater=5000
  vfs.nfsd.tcpcachetimeo=300
  nfs_server_flags="-u -t -n 256"


On nfs3 + ufs everything back to normal. I.e. nfs4 was about 15
minutes, same operation was 241s minutes with nfs3 and nfsd using no
cpu at all basically.

Per other reply, tried this too:

  vfs.nfsd.issue_delegations=1

Locks up the client at first write access. Ctrl+C doesn't work, need
to explicitly send a KILL signal from other terminal.

I think it locks up the server in some way as well. Doing an ls on an
exported path locks up. Ctrl+C won't work anymore. Process doesn't
react to any signal. In the end I rebooted the server to get rid of
this.

--
All the best,

Berend de Boer


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

--pgp-sign-Multipart_Sat_Jul_13_17:48:02_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)

iQIcBAABCAAGBQJR4OoSAAoJEKOfeD48G3g5dvkP/jXVqkXYVWlbpdrw5LLOkLua
QQ55z7jvPzQ4oRGCZXAhgX2Xy3h9T2rQcbO6jYWQ+XM93aziBEi6n0nOGeRgQIm/
n/E6s9Vrdy1kaowL5DsdmovYweqnjEEPI0hH4rp5XfJVUCUwkFzZhNeXQ6uvlmmV
jtAUsrcrS5k/xJ1vJ8dANcacFkKKGOQ51/ctNiGEK6j29yk6/fmXHEtnDZPm/Bs5
YINoGpP0QoUegb0SzsQI/7TY1e1ezAvaMZenmQHhKCdNpwyz4AP9XxnIFPUPITFf
dKamuwxHT5RXcHCJYD5G/wYvuBDHY25pGp6bss5vvCaULNnyTZ4M5XFhYnT8OG47
q0vq44LjU7tzFuXFWovh/nEHkvZjBP82AHDD2d7nn974ju6RSrE4t5HnVeUKLa0Y
m9nyPBOZL6CewiBKN8y7Tyn1SgWv8Vw8xeenoVleNcjaWb89dXTmA1m1GpR+pbrH
M9VYSVoMYh9EalSSrPPlkiqtEB61tqNTrvKlykjewkQ0N2IWIM976URyvtvy621p
5wpGXU0pcKudhJXI5laXv3LbGPwye7+ipk64CIQRfjnCXKkjZCWLuQNvbw6RWj95
k8HPJc2EZa+m/XCkA06qrS3UMDAXG7RVwajW2jeV+LbgAHuPcvglRdLeh7C1zHBQ
qa+wHBP6pcZ4TWBjKqN9
=AehI
-----END PGP SIGNATURE-----

--pgp-sign-Multipart_Sat_Jul_13_17:48:02_2013-1--



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