Date: Tue, 2 Aug 2016 08:45:07 -0600 From: Alan Somers <asomers@freebsd.org> To: =?UTF-8?B?R2Vycml0IEvDvGhu?= <gerrit.kuehn@aei.mpg.de> Cc: FreeBSD Net <freebsd-net@freebsd.org> Subject: Re: NFS on 10G interfaces still painfully slow Message-ID: <CAOtMX2hTGkm68rY7=hWDNG6YeuE-xd4%2BrV7%2BLoaywaPBo5yjdQ@mail.gmail.com> In-Reply-To: <20160802104929.a10602a4786c68b4547a45b9@aei.mpg.de> References: <20160802104929.a10602a4786c68b4547a45b9@aei.mpg.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 2, 2016 at 2:49 AM, Gerrit K=C3=BChn <gerrit.kuehn@aei.mpg.de> = wrote: > Hi all, > > I already reported this issue here a year ago and unfortunately was not > able to fix it back then. Now I had another run at it, using two recent > 10.3-machines with a direct 10G link. I still see nfs is painfully > slow (around 20-80MB/s). I tried both nfsv3 and nfsv4, with almost the sa= me > results. Everything I tried so far (mtu size, wcommitsize, readahead...) > only makes things worse or at least not much better. > Moving data in different ways (scp, ggate) is much faster, so plain > network speed should not be an issue. > > Is there anyone around here who can confirm that nfs can go faster over > 10G links? > Any hints for further tuning/debugging are greatly appreciated. > > > cu > Gerrit I can get 1GB/s over NFS on a 10G link, so it's not always slow. There's probably something about your setup that's slowing it down. What is your NFS client? If Linux, make sure that you're using the "async" mount option instead of "sync". What benchmark are you using to measure that speed? Did you remember to start lockd and statd? If you post your /etc/exports and the client's /etc/fstab, that might reveal something.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2hTGkm68rY7=hWDNG6YeuE-xd4%2BrV7%2BLoaywaPBo5yjdQ>