From owner-freebsd-questions@FreeBSD.ORG Sat Jan 31 09:45:13 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFAB616A4CE for ; Sat, 31 Jan 2004 09:45:13 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-67-119-53-122.dsl.lsan03.pacbell.net [67.119.53.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75B7F43D6A for ; Sat, 31 Jan 2004 09:45:01 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 213B166E48; Sat, 31 Jan 2004 09:45:01 -0800 (PST) Date: Sat, 31 Jan 2004 09:45:01 -0800 From: Kris Kennaway To: Jacques Beigbeder Message-ID: <20040131174500.GB8790@xor.obsecurity.org> References: <20040131150221.GA24039@trefle.ens.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uQr8t48UFsdbeI+V" Content-Disposition: inline In-Reply-To: <20040131150221.GA24039@trefle.ens.fr> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: NFS performances on 5.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2004 17:45:14 -0000 --uQr8t48UFsdbeI+V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 31, 2004 at 04:02:21PM +0100, Jacques Beigbeder wrote: > On a same Ethernet 100 LAN, I have several Unix and > an NFS Solaris fileserver. On these Unix, I tried: > time dd=3D/fileserver/aFile of=3D/fileserver/otherFile bs=3D32768 > On each try, I use new files, to avoid the impact of file caching. >=20 > I measured the time spent and the number of Ethernet packets (with snoop). > I found: >=20 > NFS client time # pkts > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D = =3D=3D=3D=3D=3D=3D > Solaris 3.11s 2296 > Linux Redhat9 2.42s 1929 > FreeBSD 5.1 19.72s 14887 FreeBSD 4.9 3.04s 6380 > FreeBSD 5.2 2.98s 5941 >=20 > All FreeBSD uses: mount_nfs -U -3 -r 32768 -w 32768 ... >=20 > Question: is there any tuning on 5.1 to get better performances? The best way to tune 5.1 is to update it to 5.2 (I'm sure you read all the documentation that states that the 5.x branch is a new technology release with performance not being an initial goal). However, those numbers still look excessive, so I wonder if you forgot to turn off some of the debugging options like WITNESS. Kris --uQr8t48UFsdbeI+V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAG+mcWry0BWjoQKURArGVAKD409E9Fk3jrI9XJ973ONjL18goPgCfR/8f MqyToUTfIkJh5awFevu+vY4= =U/g1 -----END PGP SIGNATURE----- --uQr8t48UFsdbeI+V--