Terrible NFS4 performance: FreeBSD 9.1 + ZFS + AWS EC2

Berend de Boer berend at pobox.com
Tue Jul 9 23:57:55 UTC 2013


>>>>> "Rick" == Rick Macklem <rmacklem at 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/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP Digital Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20130710/8bf6281e/attachment.sig>


More information about the freebsd-fs mailing list