NFS Write performance

Tim Traver tt-list at simplenet.com
Wed Mar 2 08:52:16 PST 2005


Hi all,

ok, I've searched far and wide, but I have to ask the FreeBSD gurus
about it...

I'm using a Netapp NFS server to serve up content to FreeBSD clients,
and I am seeing terrible write performances.

I've turned on these in the rc.conf file :

nfs_client_enable="YES"
nfs_client_flags="-n 4"
nfs_server_enable="YES"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
nfs_bufpackets=8

and I've got these in the sysctl.cnf file :

kern.maxfiles=32768
net.inet.tcp.keepidle=3600
net.inet.tcp.sendspace=65536
net.inet.tcp.recvspace=65536
net.inet.tcp.slowstart_flightsize=2
kern.ipc.somaxconn=16384
kern.ipc.shmall=65536
kern.ipc.shmmax=268435456
kern.ipc.nmbclusters=32768


I'm using 5.3-RELEASE on a dual AMD Opteron machine.

I guess my question is, how do I make NFS writes fly ???

The reads seem to be pretty good. I know that the settings on the netapp
are per their settings...

Thanks,

Tim.




More information about the freebsd-questions mailing list