Current state of FreeBSD routing
Julian Elischer
julian at freebsd.org
Wed Feb 2 07:11:30 UTC 2011
On 2/1/11 10:10 PM, Eugene Grosbein wrote:
> On 02.02.2011 05:11, Markus Oestreicher wrote:
>
>> 2) Fastforwarding vs multiple netisr:
>> In the past (6.x) using fastforwarding=1 was the best option for dedicated routers.
>> I found "multiple netisr" added to 8.0. Can that help with routing on multiple cores?
> Yes, it allows more even distribution of input traffic processing over cores.
>
>> Any experience from using it in production?
> It helps greatly but I was forced to disable it for mpd-based router
> where there are many dynamically born/destroyed network interfaces.
>
> I suspect it increases possibility of kernel panic in such configuration
> due to famous 'dangling pointer' problem: an interface ngXXX got destroyed
> while packets received from it reside in netisr queues. Then kernel might
> panic while processing these packets if needs to check incoming interface,
> f.e. due to ipfw antispoofing rules.
workaround for that may be to delay ng interface destruction by 2
seconds or something.
I'll think about it..
>> 3) lagg:
>> I found lagg(4) mostly mentioned on home user setups.
>> Any experience with using lagg in high-pps environments? (>100k pps)
> Works fine for me.
>
>> Will lagg play nicely together with multiple netisr routing or fastforwarding?
>> How much overhead will it add versus a single connection?
> Unnoticed.
>
> Eugene Grosbein
> _______________________________________________
> 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