[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NFS performance in 2.0.30?



On Fri, 12 Dec 1997, Doron Shikmoni wrote:

> >> This may be an embarrasingly-FA-Q, but I'm scratching my head on it:
> >>
> >> I have a 2.0.30 (Slackware) system, on a ppro. I'm exporting the root
> >> file system via NFS (yes, yes, I know; don't ask...).
> >>
> >> >From an AIX 4 system, I'm mounting this FS. It mounts OK; however the
> >> performance is HORRIBLE. I mean, "cp /mnt/halfmeg.file ." can take
> >> a few *minutes*. Nothing you can work with.
> >>
> >> Is this known? is there a known solution? Anything I should check?
> >
> >Hi Doron,
> >
> >
> >
> >  Two things. One, get the latest nfs server for Linux. It's somewhere on
> >ftp.funet.fi hmmm, I think it's on /pub/linux/kernel/net-source/base/nfs
> >
> >(also on ftp.tau.ac.il in /pub/OS/linux/kernel/net-source/base/nfs I
> >think, I can't remember if it's linux or Linux).
> 
> OK; got 2.2beta29. Ran nfsd and mountd from that one.
> 
> >Then, add a these two optimization flags in the mount options:
> >
> >rsize=8192,wsize=8192
> 
> Done that, too.
> 
> >See what happens then.
> 
> Same thing. :-(



  Hi Doron,



   I have tried it at TAU, on a switched network, between my machine
(Linux 2.0.32 , same nfs server as you have, and with the wsize and rsize
flags, hardware Cyrix 150+, 10Mbit net, 48MB memory, and a RS/6000 590,
256MB memory, 10Mbit, AIX 4.1.5).

  I have mounted a file system from the AIX machine to my machine, and
created a 10MB file on that filesystem. Then, I have done:

time cp FILE /var/tmp

The output was:

real    0m15.874s
user    0m0.060s
sys     0m3.500s

My calculation shows that this means:

10000*8/15.874=5039.6875  --> 5.0396875Mbit/s

I have also done the other way around, and I got about 5.3Mbit. 

I assume that this is acceptable using NFS.

What exact hardware are you using, and on what type of network ??

--Ariel



> 
> Thanks!
> Doron
> 

   +---------------------------------------------------------------+
   | Ariel Biener                                                  |
   | e-mail: ariel@post.tau.ac.il        Work ph: 03-6406086       |
   | fingerprint = 07 D1 E5 3E EF 6D E5 82 0B E9 21 D4 3C 7D 8B BC |
   +---------------------------------------------------------------+