[Xorp-hackers] FEA: Filter netlink sockets for specific table routes.

Ben Greear greearb at candelatech.com
Wed Nov 4 10:38:27 PST 2009


Implement packet filter on netlink interfaces so that FEA only
gets route updates for the table(s) it cares about.  When running
100 routers with around 300 routes each, this takes system load from
300+ down to max of around 20 (on a dual quad-core system).
This should greatly help scalability as virtual routers increase, since
number of netlink messages will be Routers * Routes, instead of Routers^2
* Routes.
This patch also makes netlink socket reading non-blocking, which is required
to keep fea from hanging when packets are filtered.

Thanks,
Ben

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xorp-netlink-filter.patch
Url: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20091104/cf99bee9/attachment-0001.ksh 


More information about the Xorp-hackers mailing list