problems with em(4)

Mao Shou Yan david.mao at thomson.net
Fri Oct 7 19:04:12 PDT 2005


I enable fast forwarding!
With or without ipfw, result is the same.

-----Original Message-----
From: Gleb Smirnoff [mailto:glebius at FreeBSD.org]=20
Sent: 2005=C4=EA10=D4=C23=C8=D5 3:18
To: Mao Shou Yan
Cc: freebsd-net at FreeBSD.org
Subject: Re: problems with em(4)

On Fri, Aug 12, 2005 at 01:48:59PM +0800, Mao Shou Yan wrote:
M> I have a machine running 5.4 stable, with 3 em cards:
M>=20
M> (1) Two 82543GC with fiber=20
M>=20
M> (2) One 82544
M>=20
M> All of them are shared irq 11( from vmstat -i)
M>=20
M> =20
M>=20
M> The problem is:
M>=20
M>          After the system run about 3 hours, there will be large =
"Ierrs"
M> with the em0(BTW, em0 is in promisc mode).
M>=20
M>          I use "sysctl hw.em0.stats=3D1", found there are a lot of =
"missed
M> packets" and some "Receive with no buffers".
M>=20
M>          Em0 is in polling mode, and hz is 2000, burst_max and
M> each_burst is the default value.
M>=20
M>          The system is not heavy loaded, incoming rates of em0 is =
less
M> than 150Mbits/s. em1 and em2 are not connected.
M>=20
M>          And pps is less than 30k.
M>=20
M>          After 3 hours, the ierrs raise quickly every 1 minutes!
M>=20
M>          From pciconf, I found the driver version is "1.7.35".
M>=20
M> =20
M>=20
M>          I think is a problem with em(4) driver.
M>=20
M>          Anyone meet such condition?

Do you have ip fastforwarding enabled? Do you use any firewall filtering
or any other additional packet processing on your router?

--=20
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE



More information about the freebsd-net mailing list