From owner-freebsd-questions@FreeBSD.ORG Sat Jan 31 10:04:01 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 8E83B16A4CE for ; Sat, 31 Jan 2004 10:04: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 F3C7943D2F for ; Sat, 31 Jan 2004 10:03:42 -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 E864A22B1E; Sat, 31 Jan 2004 19:03:41 +0100 (CET) Received: from cale.flintsbach.schmalzbauer.de (ppp-62-245-162-166.mnet-online.de [62.245.162.166]) by mail.m-online.net (Postfix) with ESMTP id AF92E40CC4; Sat, 31 Jan 2004 19:03:41 +0100 (CET) From: Harald Schmalzbauer To: Melvyn Sopacua , freebsd-questions@freebsd.org Date: Sat, 31 Jan 2004 19:03:35 +0100 User-Agent: KMail/1.5.4 References: <20040131150221.GA24039@trefle.ens.fr> <200401311711.35680.freebsd-questions@webteckies.org> In-Reply-To: <200401311711.35680.freebsd-questions@webteckies.org> 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=_93+GAmd1Fqg8vai"; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200401311903.41247@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: Sat, 31 Jan 2004 18:04:01 -0000 --Boundary-02=_93+GAmd1Fqg8vai 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 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=20 following values in MByte/s: =46BSD 5.2 -> 5.2 / 4,6 (Client 1,1G Cel, Server C3 800) Linux -> 5.2 / lockup (Client 733 PIII, Server C3 800) =46BSD 4.9 -> 5.2 / 2,8 (CLient 233MMX, Server C3 800) =46BSD 5.2 -> 5.1 / 6,5 (Client 1,1G Cel, Server C3 800) Linux -> 5.1 / 9,8 (Client 733 PIII, Server C3 800) =46BSD 5.2 -> 4.9 / 5,8 (Client 1,1G Cel, Server C3 800) Linux -> 4.9 / 9,8 (Client 733 PIII, Server C3 800) =46BSD 4.9 -> 4.9 / 3,0 (Client 233MMX, Server C3 800) DragonFlyBSD as Server resulted in about 5% more performance than 4.9 (line= ar=20 exept Linux Client as it performs with the maximum Ethernet Speed) My tests were without modifying any rsize/wsize. But even with (rw)size 32k= i=20 had expected to be able to transfer about 9 MByte/s from a 233MMX box.=20 3MByte/s is absolutely lousy. What hardware do we need for just tranfsering= =20 bytes? 1GHz? I think 233 MHz with 64MB for OS should be more than enough.=20 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. Faste= st=20 was DragonFlyBSD but anyhow, just Linux as Client does a reasonable job. An= d=20 not to forget the broken Linux -> 5.2 support!!! =2DHarry --Boundary-02=_93+GAmd1Fqg8vai Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQBAG+39Bylq0S4AzzwRAo7WAJ97RNaPuxrh3f1W/XxzfoLr/J6EEACfZupI phXfXyeRPhHE/Y8yRpdYJjc= =RkHr -----END PGP SIGNATURE----- --Boundary-02=_93+GAmd1Fqg8vai--