From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 09:32:26 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A92B316A4CE for ; Mon, 26 Jan 2004 09:32:26 -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 75F3343D77 for ; Mon, 26 Jan 2004 09:32:06 -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 BE7491CB8E for ; Mon, 26 Jan 2004 18:32:04 +0100 (CET) Received: from cale.flintsbach.schmalzbauer.de (ppp-62-245-162-167.mnet-online.de [62.245.162.167]) by mail.m-online.net (Postfix) with ESMTP id 8B7F13E614 for ; Mon, 26 Jan 2004 18:32:04 +0100 (CET) From: Harald Schmalzbauer To: current@freebsd.org Date: Mon, 26 Jan 2004 18:31:59 +0100 User-Agent: KMail/1.5.4 References: <200401261310.15763@harrymail> In-Reply-To: <200401261310.15763@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=_T8UFAg9UwnXzlQE"; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200401261832.03929@harrymail> Subject: Re: 5.2-rel NFS lockup and networking performance X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 17:32:26 -0000 --Boundary-02=_T8UFAg9UwnXzlQE Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Monday 26 January 2004 13:10, Harald Schmalzbauer wrote: > Dear developers, > > I just upgraded one of my servers from 5.1 to 5.2. > Now when I dd from a linux box on a nfs-mounted 5.2 testfile writing 100k= Kb > takes about 5 Minutes because the machine repeatedly "locks up". It seems > every disk access is blocked for a while. (on the linux(debian woody) box: > "dd if=3D/dev/zero of=3D/mnt/nfs/testfile bs=3D1k count=3D100000") Dear coders, I hate replying myself but I think it's neccessary. The "lock up" problem is a bit more complex. Like described I do the following on the linux box: dd if=3D/dev/zero of=3D/mnt/nfs/testfile bs=3D1k count=3D100000 Now the first time it finishes ok (about 3.5Mbyte/s) But when I repeat it takes up to 5 Minutes to finish since the FreeBSD mach= ine=20 seems to be locked up. In fact, the FreeBSD machine is still accessable via the console. Also ICMP= =20 (ping) is working fine (from and to the FreeBSD box) Existing ssh connections are also locked. But I can setablish a second ssh handshake, I get the keyshandshake and ent= er=20 my password (while the network seemed to be locked) but then don't get any= =20 shell. After some minutes when the machine relaxed every connection is fine again = and=20 the newly created ssh connection establishes with the shell. I don't know how this can be, but if someone has an idea what to debug, let= me=20 know. Regrettably this box is my strongly needed production fileserver, so tommor= row=20 I'll give up on 5.2 and go back to 4.9 Best regards, =2DHarry =20 > But not only that NFS is broken with linux (I can do the same from my > 5.2-current without locking up the 5.2-rel machine), also the performence > is even more awful than with 5.1. Max transfers are about 4.5Mbyte/s and > with samba I can get 3.5Mbyte/s. On the same machine with 5.1 it was about > 8Mbyte/ s for NFS and about 5.5Mbyte/s for samba. > I think I'll have to switch back to 4.9 since I can remember having had > more than 9Mbyte/s even for samba with much older hardware arround FreeBSD > 4.4. Can anyone confirm that 4.9 is still performing like this? > > Does anybody know about this NFS bug and this really weak networking > performance? > > Best regards, > > -Harry --Boundary-02=_T8UFAg9UwnXzlQE Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQBAFU8TBylq0S4AzzwRAoF+AJ9PW8jI0jauLTBRFnkG2Qab6H0AYQCfRT3j nVXaXiP8j4ubG+4lIedZgbU= =FL8X -----END PGP SIGNATURE----- --Boundary-02=_T8UFAg9UwnXzlQE--