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

Re: nfs is very slow



On Thu, 07 Aug 2003 14:30:18 +0200, Gregor Stößer wrote:
> I'm having some trouble with my nfs-server. Performance is very bad, but
> all ather protocols (ftp, http, scp) are quite fast. Using scp I can
> write around 7 MB per second on the nsf-disk, while with nfs it's just
> 300 kB. I checked the net, all switches and the ethernet cards, so I'm
> sure all the hardware is okay.
> I'm running woody(ia64) on a HP I2000 workstation. Everything worked
> fine until last week and I'm not able to find any failures. I exceeded
> the number of nfs servers in /etc/init.d/nfs-kernel-server from 8 to 32.
> All rpc programms are running, everything seems fine but performance is
> rather horrible. Any hints?
> Regards

I've managed to boost my NFS performance to around 1.7MB/s (much more
and the CPU on my NFS server starts maxing out) by using the NFS
kernel server, rebuilding the kernel on my server & clients for NFS
v3. On the server, I export directories with async on the server
/home   192.168.1.0/24(rw,no_root_squash,async)

and mount this directory with rsize and wsize at 8k, to stream the
data iin 8k blocks
seagoon:/home  /home             nfs    defaults,rsize=8192,wsize=8192

hope this helps.
-- 
Stephen Patterson http://www.lexx.uklinux.net http://patter.mine.nu
steve@SPAM.lexx.uklinux.net  remove SPAM to reply        
Linux Counter No: 142831 GPG Public key: 252B8B37        
Last one down the pub's an MCSE



Reply to: