Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Feb 2005 10:35:21 GMT
From:      "Karl M. Joch" <k.joch@ctseuro.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/76948: Slow network with rl0 (rl0 driver problem)
Message-ID:  <200502011035.j11AZLYW096104@www.freebsd.org>
Resent-Message-ID: <200502011040.j11AeJmv049590@freefall.freebsd.org>

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

>Number:         76948
>Category:       i386
>Synopsis:       Slow network with rl0 (rl0 driver problem)
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 01 10:40:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Karl M. Joch
>Release:        5.3
>Organization:
CTS
>Environment:
FreeBSD sv00.ourdomain.com 5.3-STABLE FreeBSD 5.3-STABLE #0: Wed Jan 26 18:10:30 CET 2005    ouradmin@sv00.ourdomain.com:/usr/obj/usr/src/sys/CTSSINGLECPU  i386

>Description:
    Karl,

On Monday 31 January 2005 18:28, Karl M. Joch wrote:
> your patch works like a charme. One of my guys tested it on 2 boxes and it

I was afraid it would :-\

> works now like it worked before. Speed is great again and we think about
> installing it on 2 production boxes where customers really have problems.
> Is it save to patch production boxes with it?

Well, the fact that this patch makes the symptom go away indicates that there 
is some more fundamental problem hiding somewhere in the driver/hardware that 
should get fixed all the way.  It is, however, a valid workaround until the 
real problem is identified.

Can you please submit a PR with the information in this thread?  I will look 
into the driver some more and commit the workaround if I fail to find the 
real cause soon.

EVERYBODY: Could you please check if you have a rl(4) driven NIC and check if 
you experienced a speed degradation as well.  Please let me know either way 
with information about the chipset on your NIC.  Thanks!

> Many thanks,
>
> Keal
>
> > -----Ursprüngliche Nachricht-----
> > Von: Max Laier [mailto:max@love2party.net]
> > Gesendet: Sonntag, 30. Jänner 2005 22:34
> > An: isak@isak.is
> > Cc: Karl M. Joch; freebsd-stable@freebsd.org
> > Betreff: Re: Slow Network with rl0 and 5.3
> >
> > 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" <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
> >
> > --
> > /"\  Best regards,                      | mlaier@freebsd.org
> > \ /  Max Laier                          | ICQ #67774661
> >  X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
> > / \  ASCII Ribbon Campaign              | Against HTML Mail and News
>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"

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

>How-To-Repeat:
      see above
>Fix:
      see full description
>Release-Note:
>Audit-Trail:
>Unformatted:



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