Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jan 2005 22:33:51 +0100
From:      Max Laier <max@love2party.net>
To:        isak@isak.is
Cc:        "Karl M. Joch" <k.joch@ctseuro.com>
Subject:   Re: Slow Network with rl0 and 5.3
Message-ID:  <200501302233.57945.max@love2party.net>
In-Reply-To: <20050130211112.M24182@isak.is>
References:  <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAACAAAAAAAAAAcHOr9RDfH0OoaFPARbW9/gAAAADBAAAAAIIBABAAAAB1SknJFcn3Qbs+KqGAbmeqAQAAAAA=@ctseuro.com> <20050130211112.M24182@isak.is>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
--nextPart2386729.JsLvApJGkk
Content-Type: multipart/mixed;
  boundary="Boundary-01=_BLV/BmKhJrrZmkQ"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--Boundary-01=_BLV/BmKhJrrZmkQ
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,

can you try the attached patch (relative to RELENG_5).  It disables batch=20
transfers from the system queue to the driver - an optimization introduced=
=20
while enabling rl(4) for ALTQ.  Please let me know if it improves the=20
situation.  If it does, this is a sign of a more fundamental problem in the=
=20
driver locking (or the card timing) and needs further evaluation.

Thanks.

On Sunday 30 January 2005 22:12, =CDsak Ben. wrote:
> I had a similar problem on a few boxes, you should check the mailing list
> archives for a recent discussion on how crappy the realtec nic's are.
>
>
> --
> =CDsak Ben,
> http://www.isak.is
>
> ---------- Original Message -----------
> From: "Karl M. Joch" <k.joch@ctseuro.com>
> To: <stable@freebsd.org>
> Sent: Sun, 30 Jan 2005 19:10:57 +0100
> Subject: Slow Network with rl0 and 5.3
>
> > hello,
> >
> > after upgrading to 5.3 (cvsup) i have a lot of network problems with
> > realtec 8139 cards. these cards worked fine with 4.x and 5.2.1. the
> > network is slowing down heavily without seeing any problems reports on
> > console or syslog (*.* logged). are there any known problems with these
> > card and 5.3? this happens on different servers updated since the last 2
> > weeks.
> >
> > many thanks,
> >
> > karl

=2D-=20
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

--Boundary-01=_BLV/BmKhJrrZmkQ
Content-Type: text/x-diff;
  charset="iso-8859-1";
  name="unbatch.if_rl.c.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="unbatch.if_rl.c.patch"

Index: if_rl.c
=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=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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /usr/store/mlaier/fcvs/src/sys/pci/if_rl.c,v
retrieving revision 1.145
diff -u -r1.145 if_rl.c
=2D-- if_rl.c	9 Aug 2004 20:22:17 -0000	1.145
+++ if_rl.c	30 Jan 2005 18:24:23 -0000
@@ -964,7 +964,7 @@
 #endif
 	ifp->if_capenable =3D ifp->if_capabilities;
 	IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN);
=2D	ifp->if_snd.ifq_drv_maxlen =3D IFQ_MAXLEN;
+	ifp->if_snd.ifq_drv_maxlen =3D 0;
 	IFQ_SET_READY(&ifp->if_snd);
=20
 	callout_handle_init(&sc->rl_stat_ch);

--Boundary-01=_BLV/BmKhJrrZmkQ--

--nextPart2386729.JsLvApJGkk
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBB/VLFXyyEoT62BG0RAiNQAJ4zRiTO1mk2X+3aUV1DVVzaTDBIYgCeLwXW
Nu6ustG0tYCGemKHR9tQVYI=
=0hr7
-----END PGP SIGNATURE-----

--nextPart2386729.JsLvApJGkk--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?200501302233.57945.max>