@VAMike:
the elephant in the room here is that linux can route 1gbps on that hardware just fine–the issue is scalability limits in freebsd/pf...
@newabc:
In my memory in college in China around 1999, the teachers in network center use a FreeBSD machine with pentium 166 as a BGP router for the whole campus. At that time, FreeBSD is perfect for network already. pfSense is based on FreeBSD.
I think he was commenting on that? Which btw, are there any long term plans to upgrade PF in FreeBSD to address this?
EDIT: answered my own question
https://www.netgate.com/blog/further-a-roadmap-for-pfsense.html
pfSense software version 3.0 is a longer-term project. pfSense 3.0 is a major re-write consisting of 4 major components…
...Third, the core of pfSense (pf, packet forwarding, shaping, link bonding/sharing, IPsec, etc) will be re-written using Intel’s DPDK...
...We have a goal of being able to forward, with packet filtering at rates of at least 14.88Mpps. This is “line rate” on a 10Gbps interface. There is simply no way to use today’s FreeBSD (or linux) in-kernel stacks for this type of load. Since this work is only available on certain, select Ethernet cards (mostly 1Gbps/10Gbps/40Gbps Intel interfaces as well as various VMware and Xeon ‘virtualization’ NICs. Other vendors, including Broadcom, Myrianet, Chelsio and Cisco have shown interest. This also means that the underlying kernel and system will be 64-bit only...
https://www.netgate.com/blog/pfsense-around-the-world-better-ipsec-tryforward-and-netmap-fwd.html
Back in February, I wrote a blog post that discussed our plans for pfSense software version 2.3, which is now in alpha, and our plans for pfSense 3.0. While I promoted DPDK then, we’ve since found that netmap provides a simpler API, and substantially better safety, as the device drivers remain in the kernel, rather than running in userspace with DPDK. Still, DPDK provides a set of libraries, such as longest-prefix match, which uses a variation of the DIR-24-8 algorithm for routing lookups, which we should find useful in our pursuit of the ultimate open source software router.