From owner-freebsd-questions@FreeBSD.ORG Thu Nov 3 00:06:01 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 3125F106567E for ; Thu, 3 Nov 2011 00:06:01 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from emlpirnp0.waddell.com (emlpirnp0.waddell.com [67.130.252.22]) by mx1.freebsd.org (Postfix) with ESMTP id 032898FC13 for ; Thu, 3 Nov 2011 00:06:00 +0000 (UTC) Received: from emlpfilt2.waddell.com ([10.1.10.30]) by emlpirnp1.waddell.com with ESMTP; 02 Nov 2011 18:55:07 -0500 Received: from emlpfilt2.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 6DDBB308003; Wed, 2 Nov 2011 18:55:07 -0500 (CDT) Received: from ADVPHTCAS0.wradvisors.com (advphtcas0.wradvisors.com [192.168.203.228]) by emlpfilt2.waddell.com (Postfix) with ESMTP id 67EAD308002; Wed, 2 Nov 2011 18:55:07 -0500 (CDT) Received: from WADPMBXV0.waddell.com ([169.254.1.184]) by ADVPHTCAS0.wradvisors.com ([192.168.203.228]) with mapi; Wed, 2 Nov 2011 18:55:07 -0500 From: Gary Gatten To: 'Vincent Hoffman' , "FreeBSD-Questions@freebsd.org" Date: Wed, 2 Nov 2011 18:55:06 -0500 Thread-Topic: nfs client speed lower than expected. Thread-Index: AcyZuoaxrlzu8+MWT8SJHwtsAlvVTwAACUIA Message-ID: <6727_1320278107_4EB1D85B_6727_448_1_D9B37353831173459FDAA836D3B43499CB3E6CF5@WADPMBXV0.waddell.com> References: <4EB1D792.8070103@unsane.co.uk> In-Reply-To: <4EB1D792.8070103@unsane.co.uk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: 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: Thu, 03 Nov 2011 00:06:01 -0000 Is the interface really at 1Gb? Have you tested with iperf, ftp, or anythi= ng other than nfs? -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@f= reebsd.org] On Behalf Of Vincent Hoffman Sent: Wednesday, November 02, 2011 6:52 PM To: FreeBSD-Questions@freebsd.org Subject: nfs client speed lower than expected. Hi all, What 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,t= imeout=3D4,retrans=3D4 linux mount options _netdev,ro,noatime,nodev,noexec,nosuid,proto=3Dudp,vers=3D3,rsize=3D1k,wsiz= e=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.org"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."