NFS and /etc/exports

Alfred Perlstein alfred at freebsd.org
Tue Apr 15 03:34:45 UTC 2008


* Robert Blayzor <rblayzor.bulk at inoc.net> [080414 17:04] wrote:
> On Apr 14, 2008, at 7:28 PM, Alfred Perlstein wrote:
> >
> >>Are -r and -w really needed/useful for TCP mounts?
> >
> >yes.
> 
> 
> Really?  Please explain then, because the mount_nfs man page  
> contradicts this...

The documentation you cite is only relevant for UDP mounts.

Basically, making the read/write size larger will allow more
data to be sent with each RPC which reduces the uh, overhead. :)

-Alfred

> 
> "Set the read data size to the specified value.  It should nor-
>  mally be a power of 2 greater than or equal to 1024.  This should
>  be used for UDP mounts when the ``fragments dropped due to
>  timeout'' value is getting large while actively using a mountpoint."
> 
> and
> 
> "Set the write data size to the specified value.  Ditto the comments  
> w.r.t.
>  the -r option, but using the ``fragments dropped due to timeout''  
> value on
>  the server instead of the client.  Note that both the -r and -w  
> options should
>  only be used as a last ditch effort at improving performance when  
> mounting servers
>  that do not support TCP mounts."
> 
> 
> -- 
> Robert Blayzor, BOFH
> INOC, LLC
> rblayzor at inoc.net
> http://www.inoc.net/~rblayzor/
> 
> Mac OS X. Because making Unix user-friendly is easier than debugging  
> Windows.
> 
> 
> 
> 
> 
> 
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"

-- 
- Alfred Perlstein


More information about the freebsd-stable mailing list