forwarding performance (was Re: missing missing packets in igb stats ?)

Mike Tancsa mike at sentex.net
Wed Feb 12 16:52:52 UTC 2014


On 2/2/2014 6:49 AM, Nikolay Denev wrote:
>
> Just a guess, but this might be happening before the driver.
> Anything interesting in "netstat -s" for ip and udp?
>
> There is some inbound traffic on igb0. Are these ICMP udp port unreach?


In that example it was.  I was overwhelming the traffic sink on the 
other side I think.  Anyways, I have managed to generate errors on the 
forwarding box. I setup a number of vlan interfaces and using fast boxes 
on the edge, I can generate errors.  Now I have been trying to tweak the 
forwarding performance of the box as a router/firewall.  The one box I 
am testing (igb nics) seems to max out at around 1.2Mpps

kern.random.sys.harvest.ethernet=0
kern.random.sys.harvest.interrupt=0
net.inet.ip.fastforwarding=1
net.inet.ip.redirect=0
kern.random.sys.harvest.point_to_point=0

and

hw.igb.max_interrupt_rate=64000


This is a Xeon E31220 @ 3.10GHz.





-- 
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/


More information about the freebsd-net mailing list