From owner-freebsd-current@FreeBSD.ORG Wed Oct 13 23:58:17 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 C639C16A4CE; Wed, 13 Oct 2004 23:58:17 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9426243D45; Wed, 13 Oct 2004 23:58:17 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C322F52FE8; Wed, 13 Oct 2004 16:58:16 -0700 (PDT) Date: Wed, 13 Oct 2004 16:58:16 -0700 From: Kris Kennaway To: Andrey Chernov , Bruce M Simpson , Robert Watson , Robert Huff , current@FreeBSD.ORG Message-ID: <20041013235816.GA35652@xor.obsecurity.org> References: <16749.29947.220930.46409@jerusalem.litteratus.org> <20041013232318.GN718@empiric.icir.org> <20041013234411.GA29777@nagual.pp.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline In-Reply-To: <20041013234411.GA29777@nagual.pp.ru> User-Agent: Mutt/1.4.2.1i 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: Wed, 13 Oct 2004 23:58:17 -0000 --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 14, 2004 at 03:44:12AM +0400, Andrey Chernov wrote: > On Wed, Oct 13, 2004 at 04:23:18PM -0700, Bruce M Simpson wrote: > > On Wed, Oct 13, 2004 at 04:27:22PM -0400, Robert Watson wrote: > > > There appears to bea problem with if_de cards and Giant-free operatio= n. > > > I'm working with John Baldwin to try and diagnose it. Could you try > > > putting debug.mpsafenet=3D0 in /boot/loader.conf and reboot to confir= m that > > > this is what's going on? > >=20 > > The de(4) driver is a bit of a mess as regards locking. > > I had a look at this back in June/July but no longer have the hardware. > > It would probably be best to bring it under IFF_NEEDSGIANT. >=20 > 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? :-) ---- rwatson 2004-08-28 15:11:13 UTC FreeBSD src repository Modified files: sys/conf options sys/sys kernel.h sys/net netisr.c Log: Change the default disposition of debug.mpsafenet from 0 to 1, which will cause the network stack to operate without the Giant lock by default. This change has the potential to improve performance by increasing parallelism and decreasing latency in network processing. [...] ---- debug.mpsafenet=3D0 is the known workaround, already mentioned in this thread. It hides the locking bugs by running the driver under Giant. Kris --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBbcEYWry0BWjoQKURAjKaAJsHHZVfCNHe54pcAwF+uI8Ss67XjwCgknIj eUQ5SrmNAFT5VCm6EXGHaKo= =1vYM -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE--