From owner-freebsd-questions@FreeBSD.ORG Wed Nov 2 23:53:59 2011 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C46CF1065670 for ; Wed, 2 Nov 2011 23:53:59 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 64CF38FC0A for ; Wed, 2 Nov 2011 23:53:59 +0000 (UTC) Received: by wyg36 with SMTP id 36so955010wyg.13 for ; Wed, 02 Nov 2011 16:53:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.205.2 with SMTP id fo2mr8458896wbb.21.1320278038246; Wed, 02 Nov 2011 16:53:58 -0700 (PDT) Received: by 10.180.81.193 with HTTP; Wed, 2 Nov 2011 16:53:58 -0700 (PDT) In-Reply-To: <4EB1D792.8070103@unsane.co.uk> References: <4EB1D792.8070103@unsane.co.uk> Date: Wed, 2 Nov 2011 16:53:58 -0700 Message-ID: From: Michael Sierchio To: Vincent Hoffman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD-Questions@freebsd.org Subject: Re: nfs client speed lower than expected. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Nov 2011 23:53:59 -0000 Mount via tcp. On Wed, Nov 2, 2011 at 4:51 PM, Vincent Hoffman wrote: > Hi all, > =A0 =A0 =A0 =A0What kind of speed should I be expecting over an NFS mount= from > a linux box using a gig interface (igb)? I'm seeing linux clients > getting approx 2 or 3 times the throughput rsyncing files from a linux > nfs server that i get from a 8-stable FreeBSD client. > representative results > 7.26MB/s - Freebsd client > 21.10MB/s liunx client > I've tried a variety of files to try and take caching out of the > equation, I've tweaked a few sysctls after much googling > > kern.ipc.maxsockbuf=3D4000000 > net.inet.tcp.sendbuf_max=3D16777216 > net.inet.tcp.recvbuf_max=3D16777216 > net.inet.tcp.sendbuf_inc=3D16384 > net.inet.tcp.recvbuf_inc=3D524288 > net.inet.udp.recvspace=3D65535 > net.local.stream.recvspace=3D65535 > net.local.stream.sendspace=3D65535 > > with no obvious improvement. > freebsd mount options > ro,noatime,noexec,nosuid,udp,nfsv3,rsize=3D1024,wsize=3D1024,bg,hard,intr= ,timeout=3D4,retrans=3D4 > linux mount options > _netdev,ro,noatime,nodev,noexec,nosuid,proto=3Dudp,vers=3D3,rsize=3D1k,ws= ize=3D1k,bg,hard,intr,timeo=3D4,retrans=3D4 > > I have seen that using the linux server as an nfs client to write to the > NFS server on the freebsd box gives similar performance to a linux > client pulling from the linux server so I'm guessing its something to do > with the freebsd nfs client? > > Any suggestions/clues welcome. > > Thanks, > Vince > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >