Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2002 20:33:44 +0000 (GMT)
From:      Mike Silbersack <silby@silby.com>
To:        Yann GROSSEL <y.grossel@hexanet.fr>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: dc TX underrun message
Message-ID:  <20020225203050.U21168-100000@patrocles.silby.com>
In-Reply-To: <20020225113938.12bf08be.y.grossel@hexanet.fr>

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

On Mon, 25 Feb 2002, Yann GROSSEL wrote:

> Hi,
>
> We have a new machine that is about to become a firewall.
>
> For now this machine is running but idle, that is, it has
> no services running but sshd, and no default route. The
> machine has been up for about 20 days, wihtout doing
> anything.
>
> However 3 messages has been logged :
>
> Feb  5 14:30:18 blade /kernel: dc3: TX underrun -- increasing TX threshold
> Feb  5 14:58:33 blade /kernel: dc3: TX underrun -- increasing TX threshold
> Feb 19 09:38:39 blade /kernel: dc3: TX underrun -- increasing TX threshold
>
> What do these message mean ? Is there a hardware problem ?

Don't worry too much about those messages; as far as I understand it, the
default mode of the NIC is to start transmitting the packet as it is being
DMA'd into the card.  However, the default buffer size is too small, and
the NIC gets ahead of the DMA transfer.  Hence, the buffer is
automatically being increased in size until the problem goes away.
So, you've really only lost 4 packets to the problem, then it stabilized.
You'll probably see the exact same behavior on every reboot.

There have been patches to up the default buffer size and/or enable
features to work around the problem on certain chipsets, but everything
works well enough that I haven't been motivated to give them a serious
look.

Mike "Silby" Silbersack


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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