From owner-freebsd-questions@FreeBSD.ORG Sat Jan 31 16:36:02 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 DC3E616A4CE for ; Sat, 31 Jan 2004 16:36:01 -0800 (PST) Received: from mail-in.m-online.net (mail-in.m-online.net [62.245.150.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE8D943D31 for ; Sat, 31 Jan 2004 16:35:58 -0800 (PST) (envelope-from h@schmalzbauer.de) Received: from mail.m-online.net (svr14.m-online.net [192.168.3.144]) by svr8.m-online.net (Postfix) with ESMTP id E94E322B60; Sun, 1 Feb 2004 01:35:56 +0100 (CET) Received: from cale.flintsbach.schmalzbauer.de (ppp-62-245-163-150.mnet-online.de [62.245.163.150]) by mail.m-online.net (Postfix) with ESMTP id A4755411C1; Sun, 1 Feb 2004 01:35:54 +0100 (CET) From: Harald Schmalzbauer To: Melvyn Sopacua , freebsd-questions@freebsd.org Date: Sun, 1 Feb 2004 01:35:53 +0100 User-Agent: KMail/1.5.4 References: <20040131150221.GA24039@trefle.ens.fr> <200401311711.35680.freebsd-questions@webteckies.org> <200401311903.41247@harrymail> In-Reply-To: <200401311903.41247@harrymail> X-Birthday: 06 Oktober 1972 X-Name: Harald Schmalzbauer X-Phone1: +49 (0) 163 555 3237 X-Phone2: +49 (0) 89 18947781 X-Address: Munich, 80686 X-Country: Germany MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_qnEHAORw/RcY6c9"; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200402010135.54238@harrymail> 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: Sun, 01 Feb 2004 00:36:02 -0000 --Boundary-02=_qnEHAORw/RcY6c9 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Saturday 31 January 2004 19:03, Harald Schmalzbauer wrote: > On Saturday 31 January 2004 17:11, Melvyn Sopacua wrote: > > On Saturday 31 January 2004 16:02, Jacques Beigbeder wrote: > > > time dd=3D/fileserver/aFile of=3D/fileserver/otherFile bs=3D32768 > > > > > > > > > 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 > > > > > > All FreeBSD uses: mount_nfs -U -3 -r 32768 -w 32768 ... > > > > > > Question: is there any tuning on 5.1 to get better performances? > > > > Did you read the notes in src/UPDATING saying: > > NOTE TO PEOPLE WHO THINK THAT FreeBSD 5.x IS SLOW: > > Could you pleas explain that numbers? I did almost the same test and found > the following values in MByte/s: > > FBSD 5.2 -> 5.2 / 4,6 (Client 1,1G Cel, Server C3 800) > Linux -> 5.2 / lockup (Client 733 PIII, Server C3 800) > FBSD 4.9 -> 5.2 / 2,8 (CLient 233MMX, Server C3 800) > > FBSD 5.2 -> 5.1 / 6,5 (Client 1,1G Cel, Server C3 800) > Linux -> 5.1 / 9,8 (Client 733 PIII, Server C3 800) > > FBSD 5.2 -> 4.9 / 5,8 (Client 1,1G Cel, Server C3 800) > Linux -> 4.9 / 9,8 (Client 733 PIII, Server C3 800) > FBSD 4.9 -> 4.9 / 3,0 (Client 233MMX, Server C3 800) > > DragonFlyBSD as Server resulted in about 5% more performance than 4.9 > (linear exept Linux Client as it performs with the maximum Ethernet Speed) > > My tests were without modifying any rsize/wsize. But even with (rw)size 3= 2k > i had expected to be able to transfer about 9 MByte/s from a 233MMX box. > 3MByte/s is absolutely lousy. What hardware do we need for just tranfseri= ng > bytes? 1GHz? I think 233 MHz with 64MB for OS should be more than enough. > Regrettably I haven't had time to install a Linux on the 233 box. > > Btw. Linux =3D DebWoody (2.4.22) and all clients have fxp interfaces! > > Summary: 5.1 as server was a lot faster than 5.2 as server so is 4.9. > Fastest was DragonFlyBSD but anyhow, just Linux as Client does a reasonab= le > job. And not to forget the broken Linux -> 5.2 support!!! Oh, I forgot to mention one very important thing: The idle cycles while NFS= =20 transfers. Like mentioned, the server is a C3 800 Processor with 256MB RAM= =20 nothing doing else than feeding NFS and SMB Clients (via SAMBA 3.0.1). In case of my NFS mesurements, 5.2 had 20% idle while feeding 5.2 with=20 3,5MByte/s!!! Best was Dragonfly which had 60% idle when feeding the Linux box with=20 9.8MByte/s while 4.9 only had 50% idle (while feeding the Linux Client with= =20 9.8Mbyte/s). > > -Harry --Boundary-02=_qnEHAORw/RcY6c9 Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQBAHEnqBylq0S4AzzwRAmaLAJ9G6/SoP1UrxguDU7TFqI8rQnPoSACbBf66 RR2YY4GlD6QDe6v6W/AUGh0= =K2EL -----END PGP SIGNATURE----- --Boundary-02=_qnEHAORw/RcY6c9--