From owner-freebsd-stable@FreeBSD.ORG Sun Jan 30 21:34:11 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26D7216A4CE for ; Sun, 30 Jan 2005 21:34:11 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D28243D1F for ; Sun, 30 Jan 2005 21:34:10 +0000 (GMT) (envelope-from max@love2party.net) Received: from [212.227.126.206] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CvMhq-0003KF-00; Sun, 30 Jan 2005 22:34:06 +0100 Received: from [84.128.143.213] (helo=donor.laier.local) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1CvMhq-0002TZ-00; Sun, 30 Jan 2005 22:34:07 +0100 From: Max Laier To: isak@isak.is Date: Sun, 30 Jan 2005 22:33:51 +0100 User-Agent: KMail/1.7.2 References: <20050130211112.M24182@isak.is> In-Reply-To: <20050130211112.M24182@isak.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2386729.JsLvApJGkk"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200501302233.57945.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:61c499deaeeba3ba5be80f48ecc83056 cc: freebsd-stable@freebsd.org cc: "Karl M. Joch" Subject: Re: Slow Network with rl0 and 5.3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jan 2005 21:34:11 -0000 --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" > To: > 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--