problems with em(4)

Mao Shou Yan david.mao at thomson.net
Sat Oct 8 03:13:13 PDT 2005


My testing is not related with fast forwarding.
It only runs on layer 2(bridge).
But the bridge and fast forwarding are in the same style.
Both of them run in the same path as driver.
I think it's not a problem with fast forwarding.


-----Original Message-----
From: owner-freebsd-net at freebsd.org =
[mailto:owner-freebsd-net at freebsd.org] On Behalf Of Gleb Smirnoff
Sent: 2005=C4=EA10=D4=C28=C8=D5 15:42
To: Mao Shou Yan
Cc: freebsd-net at FreeBSD.org
Subject: Re: problems with em(4)

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

Can you please try to disable fast forwarding and see whether this helps
or not?

P.S. Please do not use top quoting, it make email hard to read.

--=20
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE
_______________________________________________
freebsd-net at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"



More information about the freebsd-net mailing list