Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Aug 95 12:33 CDT
From:      steve@simon.chi.il.us (Steven E. Piette)
To:        taob@gate.sinica.edu.tw, terry@cs.weber.edu
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Making a FreeBSD NFS server
Message-ID:  <m0skEFY-0006IJC@simon.chi.il.us>

next in thread | raw e-mail | index | archive | help

> From: terry@cs.weber.edu (Terry Lambert)
> Subject: Re: Making a FreeBSD NFS server
> To: taob@gate.sinica.edu.tw (Brian Tao)
> Date: Sat, 19 Aug 95 11:51:13 MDT
>
> >     What can I do to improve NFS writes to a FreeBSD server?  The
> > machine was idle at the time, with four nfsd's running.  Should I be
> > using UDP or TCP (I turned both on)?
> 
> The SGI, being SVR4 based, is doing async writes on the server by
> default.  The BSD box is waiting for the write to be comitted to
> the server disk before continuing.
> 
> You can turn on async writes in the BSD NFS server.
> 
> Be warned that, though Sun and SVR4 do this too, this is a cache
> coherency violation and can result in Bad Things Happening in case
> of a server power failure or other failure that results in the
> server going down, then coming back up while the app on a client
> is still running.  This is because the client will think the data
> was written and may depend on being able to retrieve it later
> (ie: a database index).

Terry, Do you bother checking your references before you make blanket
statements or do you like to just wing it? Do you bother checking them
after someone points out your errors?



> 
> One alternative is to use NFSv3 on both the client and the server.
> This means going all BSD or including OSF/1, since the code is not
> distributed for other platforms (Sun has promised "soon" on several
> occasions).  NFSv3 implements a distributed cache coherency
> protocol that allows async writes with less chance of failure (you
> can't eliminate the possibility entirely without using sync writes --
> what BSD does now).
> 
> Since I *don't* want everyone going of and tweaking their systems
> for async NFS writes unless they are *deadly* serious, you can dig
> the information out of the docs and sources yourself.
> 
> 
> 					Terry Lambert
> 					terry@cs.weber.edu
> ---
> Any opinions in this posting are my own and not those of my present
> or previous employers.
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0skEFY-0006IJC>