NFS performance: a question

Mike Brown brown at noao.arizona.edu
Mon Feb 1 08:40:08 AEST 1988


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?
	- Do Ultrix(2.0) and 4.3BSD/NFS from Mt. Xinu both have brain damaged
		NFS implementations?
	- Is my test brain damages?


I am surprized at the difference in the tranfer rate for writing a file
compared to reading a file.  I understand that creating/writing a file in
Unix is slower because of extra overhead involved during file allocation.
The difference I see is far greater than the difference in performance for
reads/writes on a local file system in Unix.  The disks I use have effective
transfer rates of about 280-300 Kilobytes/sec.

The test I ran was:

    writing:
	time /bin/cp /local/2_megabytes /remote/2_megabytes
	time /bin/cp /local/2_megabytes /remote/2_megabytes
	time /bin/cp /local/2_megabytes /remote/2_megabytes

    reading:
	time /bin/cp /remote/2_megabytes /local/2_megabytes
	time /bin/cp /remote/2_megabytes /local/2_megabytes
	time /bin/cp /remote/2_megabytes /local/2_megabytes

The test was run between microvaxes running 4.3BSD from Mt. Xinu
and it was also run between microvaxes running Ultrix 2.0.  The systems
were running multiuser with no other user processes active.

The transfer rates were:	reading (110-90 Kbytes/sec)
				writing (20-25 Kbytes/sec)


	Regards,
	Mike Brown		Biomedical Computer Lab.
				Washington University
				700 S. Euclid Ave.
				St. Louis, MO  63110
				(314) 362-2135


uucp:		uunet!wucs1!brown	or	{...}!noao!brown
internet:	brown at noao.arizona.edu


( Please excuse my posting this from arizona. )
( News out of Wash. Univ. is broken. )



More information about the Comp.unix.wizards mailing list