Re: NFS small files

From: Jon Noack (noackjr_at_alumni.rice.edu)
Date: 03/10/05

  • Next message: Peter Hessler: "Re: NFS small files"
    Date: Wed, 09 Mar 2005 17:31:31 -0600
    To: Peter Hessler <phessler@coverity.com>
    
    

    Peter Hessler wrote:
    > On Tue, 08 Mar 2005 20:24:56 -0600
    > Eric Anderson <anderson@centtech.com> wrote:
    > :Peter Hessler wrote:
    > :> I'm setting up an NFS server to be used for compiling, and it seems that
    > :> while speeds are acceptable for large files, small files take much
    > :> longer than expected.
    > :>
    > :> Copying 10000 16K files (in a directory) takes 54seconds, while copying
    > :> a 170M single file takes 5s.
    > :>
    > :> Are there any tricks for speeding up small file performance? I'm
    > :> willing to give up large file performance.
    > :
    > :What mount options are you using on the client?
    >
    > nfsvers=3,tcp,noac,intr,lock,rsize=65536,wsize=65536 on linux and freebsd
    > clients. No speed difference between udp and tcp.

    I don't see some of those in mount_nfs(8):
    nfsvers=3 -> nfsv3
    noac -> ? (does this option exist on FreeBSD?)
    lock -> lockd (which is the default)
    rsize=65536 -> -r=65536
    wsize=65536 -> -w=65536

    It is possible the documentation is not complete and those options are
    perfectly valid. If so, I apologize.

    Jon
    _______________________________________________
    freebsd-performance@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-performance
    To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"


  • Next message: Peter Hessler: "Re: NFS small files"

    Relevant Pages

    • Re: tracking multiple machine
      ... Are the /etc/make.conf files in sync on client and server? ... Any other unusual exports or mount options? ...
      (freebsd-stable)
    • Re: NFS high load when writing
      ... But we were talking about the mount options on the client. ... And BTW changing the export on the server between sync and async when the ...
      (comp.os.linux.networking)
    • Re: nfs and 2.4 / 2.6 compatibility
      ... > do not think it is a kernel matter. ... > Check wich server version you are running and configure the client ... > version as needed within the mount options. ...
      (comp.os.linux.networking)
    • Re: nfs-server twice as fast written to as read from
      ... > What were your mount options on the client? ... Claus ... To unsubscribe, ...
      (freebsd-current)
    • Re: NIS problem
      ... The hard drive on our NIS master server just died. ... 100000 2 tcp 111 portmapper ... 100000 2 udp 111 portmapper ... I then go over to an NIS client. ...
      (alt.os.linux.redhat)