You are not logged in.

#1 2005-04-30 11:47:35

mico
Member
From: Slovenia
Registered: 2004-02-08
Posts: 247

NFS performance

My nfs server has a 10 Mbit NIC, the client and router support 10/100 Mbit.

When I copy files (mostly large files) from server to client I get speed of 400-700 kBytes/s. It seems a bit low to me. And the cpu usage on both machines is 100%. top doesn't show the process that is eating all cpu (because it runs in kernel space?), but I see 100% usage in xfce cpu graph. Eating all cpu is probably not normal? At least not with only 400-700 kBytes/s. And at least not on the client, which is a P4.

/etc/exports on the server:

/nfs-share 192.168.1.111(rw,root_squash,sync)

/etc/fstab on the client:

192.168.1.222:/nfs-share /mnt/nfs nfs rw,noauto,user,nosuid,rsize=8192,wsize=8192,timeo=14,intr 0 0

I added "nosuid,rsize=8192,wsize=8192,timeo=14" recently to improve performance, but it didn't make any difference. I tried async on server, it also didn't help.

How could I increase transfer speed and reduce cpu usage? Hard disks are fine. Cables should also be ok, although one is less than 1 m long, but that probably shouldn't matter in my case.

Offline

Board footer

Powered by FluxBB