Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2014 11:52:37 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        Nikolay Denev <nike_d@cytexbg.com>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   forwarding performance (was Re: missing missing packets in igb stats ?)
Message-ID:  <52FBA6D5.7010308@sentex.net>
In-Reply-To: <CA%2BP_MZEZMe8Z8yJ83AQHdsM82hXTTG9rCe0OHogqRYn_PG60wg@mail.gmail.com>
References:  <52EC573B.109@sentex.net> <CA%2BP_MZEZMe8Z8yJ83AQHdsM82hXTTG9rCe0OHogqRYn_PG60wg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52FBA6D5.7010308>