fastforward/routing: a 3 million packet-per-second system?

John Jasen jjasen at gmail.com
Thu Jul 24 12:47:23 UTC 2014


On 07/24/2014 05:24 AM, Andrey V. Elsukov wrote:
> On 22.07.2014 19:18, John Jasen wrote:
>> Feedback and/or tips and tricks more than welcome.
>>
>> Outstanding questions:
>>
>> Would increasing the number of processor cores help?
> AFAIR, increasing the number of cores will lead to worse results.
> With patched and tuned FreeBSD we able to route (with fastforwarding)
> about 7 Mpps IPv4 and 2.5Mpps IPv6. But the stock system is far from
> even half of this results.
>

Increasing the physical CPU count can (and probably will) result in
performance degradation. However, from what I've seen, balancing IRQs
across the cores on a single physical CPU seems to help.

I am curious as well, as to how you achieved 7 Mpps. Can you share the
system specs, the patches and tuning?

Thanks!

-- John Jasen (jjasen at gmail.com)


More information about the freebsd-net mailing list