Hi Mangled&Munged,
thanks a lot for your reply. I had a look at the page you indicated
and thanks to it, I managed to get rid of the "server not responding"
message. I have configured nfs to use TCP instead of UDP and it did
the trick.
On the performance side, still no changes. I had a look at everything
there and there is nothing I can do that will improve the performance.
Any other ideas?
Thanks a lot,
Bertrand.
"Mangled&Munged" <postmaster@127.0.0.1> wrote in message news:<kyfFc.286$(E-Mail Removed)>...
> "Bertrand Sirodot" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) om...
> > Hi,
> >
> > I am having some weird performance problems with NFS under Linux.
> > Here is my configuration:
> > - NFS Server: Ultra2 running Debian unstable with kernel 2.4.24
> > SMP and nfs-kernel-server 1.0.6-3. The NFS server uses the following
> > options for the exported filesystem: rw,no_root_squash,async .
> > - NFS Client: Intel Pentium 3 running Debian unstable with kernel
> > 2.6.5-1. The NFS filesystems are mounted with the following options:
> > rsize=8192,wsize=8192,ti
> > meo=14,retry=1,bg,hard,intr
> >
> > The problem is that even though the NFS server and the NFS client are
> > connected to the network using 100Mbits network cards, I am only
> > getting between 300KB and 400KB per second transfer rate when doing a
> > "dd if=/dev/zero of=./test". I have tried playing with the bs size on
> > the dd and with the rsize and wsize on the mount options without much
> > difference. I have the same directory exported from the NFS server
> > using Samba and if I mount it on the NFS client as a smbfs filesystem,
> > I get around 3MB transfer rate on the same dd.
> >
> > Also, while I am doing the dd on the NFS client, in the
> > /var/log/messages file, I get lots of "nfs: server not responding,
> > still trying" followed by "nfs: server OK" a few seconds later.
> >
> > I have tried playing with the timeo, rsize, wsize options on the
> > server to no avail. I would rather use NFS to share those filesystems
> > between my Linux clients than Samba, but at the moment, the
> > performance is so bad, that I don't have much choice.
> >
> > I am looking for any advice on what I can do to get the NFS
> > performance on par with the Samba one.
> >
> > Thanks a lot in advance for yyour help,
> > Bertrand Sirodot.
>
> See: http://nfs.sourceforge.net
> Lots of performance information there.
>
> Enjoy,
> Mangled&Munged