Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2013 11:57:44 +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:  <87k3kzxp53.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_Wed_Jul_10_11:57:44_2013-1
Content-Type: text/plain; charset=US-ASCII

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

    Rick> Hmm, this is interesting. ken@'s file handle affinity patch
    Rick> works for NFSv3, but not NFSv4. If I understood his posts
    Rick> correctly, the fh affinity patch was needed, so ZFS's
    Rick> heuristic for recognizing sequential reading would function
    Rick> correctly. (A file handle affinity patch for NFSv4 will take
    Rick> some time, since all RPCs in NFSv4 are compounds, with
    Rick> reads/writes imbedded in them, along with other ops.)

These are all very small files, not much large, so it's not some kind
of sequential reading/writing test. Just thousands of small files
being written, and a fair amount of reads.


    Rick> Also, I can't remember if you've bumped up the # of nfsd
    Rick> threads, but I'd go for 256.  nfs_server_flags="-u -t -n
    Rick> 256" - in your /etc/rc.conf

Didn't. But only one client was writing, so I figured that shouldn't matter.

--
All the best,

Berend de Boer


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


--pgp-sign-Multipart_Wed_Jul_10_11:57:44_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)

iQIcBAABCAAGBQJR3KN4AAoJEKOfeD48G3g576cP/3A0slrBgVVBqJ82XaNTOSd7
oMWOXe5RyK3YxrlbpfjfziGZkeCIVQSp/ip1gqZKABYHaGi+UD0Hw6apZNuyeuDa
miHlYLBMijzqh8O1E0rJ72rrbdhlD4t+9J0jCjCwoGIz69WToz1ckUyW/y0iL+lq
nkwMzi3JwXo0vO3RtIY4x0DBMyqjNH0LR3ROHLemz7CxoixJibWnRpLnrJO7Zx/y
tUQo5l3CI4/EQQ6qCK0y9Hb27MJ3u4fjIJ3XgRpHdsekFDk32JpCzQ2mPeC8XmQx
/Ftu59lk+hf5V2e93vmdV7mzLpsrW4IIu1A9WVXsVCkbzxaNX76f7Oo3/6tjvGUV
R1JenQUtj5SKhPa4o80KSN24OEdaLhM5XPa1BisCy8un+4lgFZe6OBGLjZB0+MQ8
W1H8tWgZYHcPA4KMWLWWF5uNibZTSp8FzJyg6Z+H+NOwVagvokhdy45Q1UXa0J1q
DnJsoQGpWCa6nDCEmLMBg5AezNYVPbLENtGn20uov0yCIMtSp0N4Yv8G6Dt4ntPL
pRnkaL3+cmN5lrXT28BqIZBT2VeO5UczbitSpe/kRHbJKCfuox8/Qa2q/B6SFpXh
Br+MEAWCkPru/w3mCqs17AhUpAnkoIjOirT+Pa40Hw/dl6GW4CFRynbpZGKkT0IC
bFyq80l8ZjjaFsNFq2QZ
=g89k
-----END PGP SIGNATURE-----

--pgp-sign-Multipart_Wed_Jul_10_11:57:44_2013-1--



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