Hi,

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

Thanks.

On Sunday 30 January 2005 22:12, Ísak 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.
>
>
> --
> Ísak Ben,
> http://www.isak.is
>
> ---------- Original Message -----------
> From: "Karl M. Joch" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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

-- 
/"\  Best regards,                      | [EMAIL PROTECTED]
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | [EMAIL PROTECTED]
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
Index: if_rl.c
===================================================================
RCS file: /usr/store/mlaier/fcvs/src/sys/pci/if_rl.c,v
retrieving revision 1.145
diff -u -r1.145 if_rl.c
--- 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 = ifp->if_capabilities;
 	IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN);
-	ifp->if_snd.ifq_drv_maxlen = IFQ_MAXLEN;
+	ifp->if_snd.ifq_drv_maxlen = 0;
 	IFQ_SET_READY(&ifp->if_snd);
 
 	callout_handle_init(&sc->rl_stat_ch);

Attachment: pgp2w9R38nBiD.pgp
Description: PGP signature

Reply via email to