NFS performance: a question

Per Erik Sundberg ps at diab.UUCP
Tue Feb 2 18:44:27 AEST 1988


In article <663 at noao.UUCP> brown at noao.arizona.edu (Mike Brown) writes:
>
>Why is the transfer rate when a process writes to a remote NFS file 3-4 times
>smaller than the transfer rate when reading a remote NFS file?
>
>	- Is this asymmetry a characteristic of NFS?

Yes it is. Due to the statelessnes of the NFS protocol, writes are SYNCRONOUS.
This is to make sure that the data written is on stable storage when the
client call returns. Local file writes are normally asyncronous, which will
make it possible to optimize the writes to disk using delayed writes.
BTW, early Lachman System V NFS implementations have a bug in them, that
will use async writes on the server side. Will improve performance a bit
though :-)

-- 
Per-Erik Sundberg,  Diab Data AB
SNAIL: Box 2029, S-183 02 Taby, Sweden
ANALOG: +46 8-7680660
UUCP: mcvax!enea!diab!ps



More information about the Comp.unix.wizards mailing list