problems with em(4)

Gleb Smirnoff glebius at FreeBSD.org
Sun Oct 2 12:18:07 PDT 2005


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> 
M> (1) Two 82543GC with fiber 
M> 
M> (2) One 82544
M> 
M> All of them are shared irq 11( from vmstat -i)
M> 
M>  
M> 
M> The problem is:
M> 
M>          After the system run about 3 hours, there will be large "Ierrs"
M> with the em0(BTW, em0 is in promisc mode).
M> 
M>          I use "sysctl hw.em0.stats=1", found there are a lot of "missed
M> packets" and some "Receive with no buffers".
M> 
M>          Em0 is in polling mode, and hz is 2000, burst_max and
M> each_burst is the default value.
M> 
M>          The system is not heavy loaded, incoming rates of em0 is less
M> than 150Mbits/s. em1 and em2 are not connected.
M> 
M>          And pps is less than 30k.
M> 
M>          After 3 hours, the ierrs raise quickly every 1 minutes!
M> 
M>          From pciconf, I found the driver version is "1.7.35".
M> 
M>  
M> 
M>          I think is a problem with em(4) driver.
M> 
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?

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


More information about the freebsd-net mailing list