NFS Comparison.

Chris Higgins (chrish@quay.ie)
Tue, 27 Jun 1995 20:56:58 +0100 (BST)


I've had the feeling that the NFS client has been getting slower recently.
So I tried a simple test.

I've a file which is 6185849 bytes long (it's the Netscape Commercial
server, gzip'ped).

I've got a Linux box
(486 / 100 DX4. 36Mb RAM, 500MB IDE, 2GB SCSI (Seagate), Adaptec 1542CF,
Linux 1.3.4, DEC Etherworks 3 Ethernet card)

I tried copying this file from the Linux box (SCSI Disk)
to an AIX (Yeuch !!!) NFS server.
This is the result:

| Linux:~> time cp communications.sunos.tar.gz /mnt/admin/netscape.httpd/
| 0.050u 11.630s 5:08.31 3.7% 0+0k 0+0io 19pf+0w

I also copied the same file from the NFS server to a Sun Sparc 20

| SunOS:~> time cp communications.sunos.tar.gz /tmp
| 0.210u 1.490s 0:08.70 19.5% 0+111k 759+127io 757pf+0w

and then I copied it back from the SunOS machine to the NFS server,

| SunOS:~> time cp /tmp/communications.sunos.tar.gz comms.2
| 0.080u 2.050s 0:23.38 9.1% 0+102k 112+757io 112pf+0w

So it took 308.31 seconds to write this file on the NFS server
from the Linux box, and 23.38 seconds to write it on the NFS server
from the SunOS box....

The network was very quiet, and there was nothing else running on the Linux
box.....
Should I be seeing these results... FTP'ing the file from
the Linux box to the AIX server took:
! ftp> put communications.sunos.tar.gz comms.3
! 200 PORT command successful.
! 150 Opening BINARY mode data connection for comms.3.
! 226 Transfer complete.
! 6185849 bytes sent in 14.7 secs (4.1e+02 Kbytes/sec)

Can anyone come up with an explaination of why it would be so slow ?

-- 
* Chris Higgins, Network Manager, Quay Financial Software, Dublin    *
* Email: chrish@quay.ie  Phone:+353 1 6612377   Fax:+353 1 6607592   *