Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2019 05:33:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 166724] [re] if_re watchdog timeout
Message-ID:  <bug-166724-7501-SsrtljQf1I@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-166724-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-166724-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D166724

Artem Viklenko <artem@viklenko.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |artem@viklenko.net

--- Comment #41 from Artem Viklenko <artem@viklenko.net> ---
My story.. also had this issue.

Two my home routers run 11.3-RELEASE-p5 amd64 and have realtek nics like th=
is
one:

            re0 pnpinfo vendor=3D0x10ec device=3D0x8168 subvendor=3D0x1458
subdevice=3D0xe000 class=3D0x020000 at slot=3D0 function=3D0 dbsf=3Dpci0:1:=
0:0
handle=3D\_SB_.PCI0.RP01.PXSX
                Interrupt request lines:
                    258
                pcib1 I/O port window:
                    0xe000-0xe0ff
                pcib1 memory window:
                    0xd0700000-0xd0703fff
                    0xd0704000-0xd0704fff

I switched to Realtek's driver. But still have wtchdog timeouts. After some
Googling I found duscussion about issues with jumbo buffers. After cheking =
this
idea I found confirmation - after some time (depending on traffic rate/amou=
nt)
memory became fragmented and requests to 9k buffers fails.

Now I use 1.95 driver from vendor but with very-very dirty hack. I've repla=
ced
Jumbo_Frame_9k with value 3072. So now re driver use only 4k buffers.
I'm ok with MTU of 1500 (this change limits max MTU). But now it is stable =
and
no watchdog timeouts.
And no more failures on buffers:

artem@gate$ vmstat -z | grep buf
mbuf_packet:            256, 2362080,       2,    1265, 9732282,   0,   0
mbuf:                   256, 2362080,     514,    1789,17068586803,   0,   0
mbuf_cluster:          2048, 369076,    1267,      21,  531078,   0,   0
mbuf_jumbo_page:       4096, 184537,     513,     263,7618134369,   0,   0
mbuf_jumbo_9k:         9216,  54677,       0,       0,       0,   0,   0
mbuf_jumbo_16k:       16384,  30756,       0,       0,       0,   0,   0

I know it is stupid trick but at least it works. :)

Hope it can help.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-166724-7501-SsrtljQf1I>