svn commit: r342908 - head/sys/netpfil/ipfw

Kristof Provost kp at freebsd.org
Thu Jan 10 08:45:32 UTC 2019


On 2019-01-09 23:38:27 (-0800), Gleb Smirnoff <glebius at freebsd.org> wrote:
> On Thu, Jan 10, 2019 at 01:47:57AM +0000, Andrey V. Elsukov wrote:
> A>   glebius@ has reported that they at Netflix discovered, that initialization
> A>   of this variable produces significant overhead on packet processing.
> A>   After patching I managed to increase performance of packet processing on
> A>   simple routing with ipfw(4) firewalling to about 11% from 9.8Mpps up to
> A>   11Mpps (Xeon E5-2660 v4@ + Mellanox 100G card).
> 
> And with ipfw being processed at driver level, rather than ip_input()
> the boost is even more dramatic than 11%.
> 
> https://github.com/glebius/FreeBSD/commits/pfil
> 
> Soon to reach FreeBSD head :)
> 
Nice! That pfil epoch-ification change should help pf too.

Kristof


More information about the svn-src-all mailing list