Bob,
    I saw the earlier posting earlier and thought I would throw my $0.02 in as well.

I ran the test using the following four machines:

eugsrv1- Dual PII 350, 512 MB Ram, Intel 82559 Fast Ethernet NIC, LVD-SE Drives
lnxets1 - PPro200, 196 Mb Ram, 3Com 3c595 100baseTx - SCSI2 Drives
lnxets2 - Dual PPro200, 256 Mb Ram, 3Com 3c595 100baseTx - SCSI2 Drives
nfsets2 - Dual Sun UltraSparc II, 2 Gb Ram, A10000 Raid Array (mode 5) - Ultra160 
Drives

Here is what I saw with a ~27 Mb file.

[root@lnxets1 /]# mount -t nfs -o nfsvers=2  lnxets2:/scratch /mnt/tmpmnt
[root@lnxets1 /scratch]# time cp tmgver8.0.341.nt.exe /mnt/tmpmnt/

real    0m7.504s
user    0m0.000s
sys     0m1.000s
[root@lnxets1 /scratch]# !um
umount /mnt/tmpmnt
[root@lnxets1 /scratch]# mount -t nfs -o nfsvers=3 lnxets2:/scratch /mnt/tmpmnt
[root@lnxets1 /scratch]# time cp tmgver8.0.341.nt.exe /mnt/tmpmnt/

real    0m7.556s
user    0m0.020s
sys     0m0.960s

[root@lnxets1 /scratch]# mount -t smb -o username=ggrigsby,password=******** 
//eugsrv1/userdisk /mnt/tmpmnt
[root@lnxets1 /scratch]# time  cp /mnt/tmpmnt/temp/1garl/tmgver8.0.341.nt.exe ./

real    0m12.348s
user    0m0.020s
sys     0m2.210s
[root@lnxets1 /scratch]# time  cp /mnt/tmpmnt/temp/1garl/tmgver8.0.341.nt.exe ./

real    0m12.199s
user    0m0.030s
sys     0m2.260s
nfsets2:/app_data/software on /mnt/software type nfs 
(rw,vers=3,soft,addr=146.122.20.28)
[root@lnxets1 /scratch]# time cp /mnt/software/tmgver8.0.341.nt.exe ./

real    0m4.870s
user    0m0.020s
sys     0m0.320s

SMB sucks for performance. That is all there is to it. NFS Vers 3 should give you much 
better performance than you are seeing. I would guess you are either having a network 
problem, you have a bad NIC, or the NFS software you are using really  blows. I would 
recommend using
either Interdrive 5.0 or maybe Reflectios NFS. Both are decent nfs clients.

Garl


Bob Crandell wrote:

> There are 2 Linux boxes and 1 Windows box.  My test is a directory with a little 
>over 5 M of various size files copied between the 2 Linux boxes using either Windows 
>or Linux.  Linux is, understandably, faster but it is still slow.  Windoze took 15 
>minutes to do this copy.
>
> Windoze is using nfsAxe from http://LabF.com.  This allows Windoze to be a nfs 
>client or server.
>
> Both /etc/exports files look like this:
> /home  192.168.1.0/22(rw,no_root_squash)
>
> One /etc/fstab looks like this:
> oci:/home  /mnt  nfs  rw,noauto,user  1  1
>
> The other looks like this:
> server:/home  /mnt  nfs  rw,noauto,user  1  1
>
> >>> [EMAIL PROTECTED] 08/19/01 03:39PM >>>
> On Sun, Aug 19, 2001 at 09:36:05AM -0700, Bob Crandell wrote:
> > I've been trying to use NFS instead of Samba or MARS_NWE and
> > although it works, it is really ssslllooowww.  It this the nature of
> > the beast?  Can it be tuned?
>
> When NFS is working properly (and over UDP on a local ethernet) it is
> very fast.  What's your configuration?
>
> Randolph

--
=============================================================================
Garl R. Grigsby
Senior Customer Applications Engineering - Analysis Team
-----------------------------------------------------------------------------
Structural Dynamics Research Corporation      Phone: (800)242-7372
TAO Americas Support Center                   FAX: (541)342-8277
1750 Willow Creek Circle                      Email:  [EMAIL PROTECTED]
Eugene, OR 97402                              Internet:  http://www.sdrc.com
=============================================================================
-FEA makes a good engineer great, and a poor engineer dangerous-
=============================================================================

Reply via email to