problems with em(4)

Gleb Smirnoff glebius at FreeBSD.org
Sat Oct 8 00:42:17 PDT 2005


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> 
M> M> (1) Two 82543GC with fiber 
M> M> 
M> M> (2) One 82544
M> M> 
M> M> All of them are shared irq 11( from vmstat -i)
M> M> 
M> M>  
M> M> 
M> M> The problem is:
M> M> 
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> 
M> M>          I use "sysctl hw.em0.stats=1", found there are a lot of "missed
M> M> packets" and some "Receive with no buffers".
M> M> 
M> M>          Em0 is in polling mode, and hz is 2000, burst_max and
M> M> each_burst is the default value.
M> M> 
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> 
M> M>          And pps is less than 30k.
M> M> 
M> M>          After 3 hours, the ierrs raise quickly every 1 minutes!
M> M> 
M> M>          From pciconf, I found the driver version is "1.7.35".
M> M> 
M> M>  
M> M> 
M> M>          I think is a problem with em(4) driver.
M> M> 
M> M>          Anyone meet such condition?
M> 
M> Do you have ip fastforwarding enabled? Do you use any firewall filtering
M> or any other additional packet processing on your router?
M> 
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.

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


More information about the freebsd-net mailing list