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

slow nfs server



Hi!

I have a couple raid arrays (software raid, 2.4 kernel) that I've
been exporting to a variety of other boxen where I work.  Now that
more than a few machines have these mounted (> 10, < 25), NFS has
become incredibly sluggish.  It's almost impossible to edit files on
the imported filesystems because the writes hang for several seconds
every so often interrupting my typing.  And remote logins on machines
where my home directory is imported can take 5-10 seconds before the
machine can set my home directory to the NFS mount.

I've tried both the user space and kernel space nfs packages, and am
currently exporting with these options:

    (rw,root_squash,no_subtree_check)

and mounting with these options:

    rw,bg,hard,intr,rsize=8192,wsize=8192

(although I've also tried it without the rsize and wsize options)

I've got CONFIG_NFS_FS and CONFIG_NFS_V3 compiled into my 2.4 kernels
on the clients, and CONFIG_NFSD and CONFIG_NFSD_V3 on the servers.
Things are also slow on my IRIX boxes that mount these directories,
so I think it's a server issue.

I don't think it's a raid problem because the raid arrays (dual P-III
800 machines, SCSI drives) are plain zippy when I'm logged into the
actual raid machines.  It's only when I NFS import them.

Any suggestions / other options?  Do I need to further tweak the
kernel somehow, or change some network settings?

Thanks,

Chris
-- 
Christopher S. Swingley         930 Koyukuk Drive
System / Network Manager        University of Alaska Fairbanks
IARC -- Frontier Program        Fairbanks, AK 99775

phone: 907-474-2689             fax: 907-474-2643
email: cswingle@iarc.uaf.edu    GNUPG and PGP2 keys at my web site
  web: http://www.frontier.iarc.uaf.edu/~cswingle

Attachment: pgphsNNq5oHem.pgp
Description: PGP signature


Reply to: