Date: Mon, 27 Apr 2009 12:14:18 +0200 From: "Jan Catrysse" <J.Catrysse@proximedia.be> To: <freebsd-questions@freebsd.org> Cc: ivoras@freebsd.org Subject: RE: NFS slow Message-ID: <009d01c9c720$eefd0510$ccf70f30$@Catrysse@proximedia.be> In-Reply-To: <00cf01c9c501$5113a190$f33ae4b0$@catrysse@proximedia.be> References: <00cf01c9c501$5113a190$f33ae4b0$@catrysse@proximedia.be>
next in thread | previous in thread | raw e-mail | index | archive | help
>Jan Catrysse wrote: >> Hello all, >> >> I am having some problems with NFS and slow performance. >> This is the scenario: >> >> 2x FreeBSD 7.1. (Raid storage server, MP, the works) >> >> GB Lan interface between them. >> >> When I transfer 1 big file the speed is never higher than 10MB/s with a peak >> to 14MB/s. >> >> When I transfer multiple files at the same time speed is about 10MB/s per >> thread. >> Disk speed > 100MB/s >> >> Network speed using samba > 60MB/s (limited by clients disk speed) >> >> Tried enabling NFSlockd, NFSstatd but that changes nothing. >> >> Any help or hunch would be greatly appreciated. > >Here are some ideas for testing: > >* Any firewall in between them? Do you have network errors? >* Any other network problems, like DNS lookup failures? (not that it >should matter for sustained tranfers but still...) >* Are you using TCP or UDP for NFS? TCP should be better in all cases. >* Have you monitored the system with "top"? Try hitting "S" and "H" in >top while transfering files, see if anything looks suspicious. >* Run "iostat 1", check tps and KB/t. >* What file system are you using? Hello Ivoras, NFS TCP did the trick. I tried it already but I didn't properly dismount the volumes before remounting them on TCP. I did a mount -u -a instead. Using netstat it became clear NFS was still using UDP. A umount and mount -a did the trick! Thnx! Jan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009d01c9c720$eefd0510$ccf70f30$>