From owner-freebsd-current@FreeBSD.ORG Thu Oct 14 01:10:53 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 E215916A4CE; Thu, 14 Oct 2004 01:10:53 +0000 (GMT) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 379CA43D2D; Thu, 14 Oct 2004 01:10:53 +0000 (GMT) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 8E14865414; Thu, 14 Oct 2004 02:10:51 +0100 (BST) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 33719-03-5; Thu, 14 Oct 2004 02:10:50 +0100 (BST) Received: from empiric.dek.spc.org (dhcp120.icir.org [192.150.187.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 01C1A653FF; Thu, 14 Oct 2004 02:10:48 +0100 (BST) Received: by empiric.dek.spc.org (Postfix, from userid 1001) id 62C7963E8; Wed, 13 Oct 2004 18:10:40 -0700 (PDT) Date: Wed, 13 Oct 2004 18:10:40 -0700 From: Bruce M Simpson To: Andrey Chernov , Kris Kennaway , Robert Watson , Robert Huff , current@FreeBSD.ORG Message-ID: <20041014011040.GO718@empiric.icir.org> References: <16749.29947.220930.46409@jerusalem.litteratus.org> <20041013232318.GN718@empiric.icir.org> <20041013234411.GA29777@nagual.pp.ru> <20041013235816.GA35652@xor.obsecurity.org> <20041014000822.GA30887@nagual.pp.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lQSB8Tqijvu1+4Ba" Content-Disposition: inline In-Reply-To: <20041014000822.GA30887@nagual.pp.ru> Subject: Re: network slowness/freez-up since update 10/11 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: Thu, 14 Oct 2004 01:10:54 -0000 --lQSB8Tqijvu1+4Ba Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 14, 2004 at 04:08:23AM +0400, Andrey Chernov wrote: > > > Even with its locking mess it works perfectly in -current until late= =20 > > > August. > > You mean, until rwatson changed the default to debug.mpsafenet=3D1? :-) > Your guess is precisely right! :-) >=20 > (IMHO making such commit without testing major drivers such as if_de was= =20 > wrong step) To be fair, de(4) is quite tangled and complex compared to other network card drivers we have in the tree. As a result, it has had less maintenance than the other drivers. It's also for older hardware than dc(4) is able to support, or hardware which is more common on a non-tier-one platform such as FreeBSD/alpha. One solution I proposed (but haven't had time or hardware to follow up on) is that the tlp(4) driver be ported from NetBSD, which would be a better starting point for the locking work we need, as this driver supports dc(4) and de(4)'s target hardware, and uses busdma, etc. Bringing it under IFF_NEEDSGIANT is probably the right way to deal with it for now. Regards, BMS --lQSB8Tqijvu1+4Ba Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: '' iD8DBQFBbdIPueUpAYYNtTsRAnXPAKCoTAZQ8IOEi/3WRtW10WBvi11JQQCfXvDi Y6gYywb/EaXm8nLhvI05Vh0= =3jVO -----END PGP SIGNATURE----- --lQSB8Tqijvu1+4Ba--