Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Oct 2004 16:58:16 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Andrey Chernov <ache@nagual.pp.ru>, Bruce M Simpson <bms@spc.org>, Robert Watson <rwatson@FreeBSD.ORG>, Robert Huff <roberthuff@rcn.com>, current@FreeBSD.ORG
Subject:   Re: network slowness/freez-up since update 10/11
Message-ID:  <20041013235816.GA35652@xor.obsecurity.org>
In-Reply-To: <20041013234411.GA29777@nagual.pp.ru>
References:  <16749.29947.220930.46409@jerusalem.litteratus.org> <Pine.NEB.3.96L.1041013162621.84384S-100000@fledge.watson.org> <20041013232318.GN718@empiric.icir.org> <20041013234411.GA29777@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041013235816.GA35652>