Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2019 23:38:27 -0800
From:      Gleb Smirnoff <glebius@freebsd.org>
To:        "Andrey V. Elsukov" <ae@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r342908 - head/sys/netpfil/ipfw
Message-ID:  <20190110073827.GE18452@FreeBSD.org>
In-Reply-To: <201901100147.x0A1lvQX035635@repo.freebsd.org>
References:  <201901100147.x0A1lvQX035635@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 :)

-- 
Gleb Smirnoff



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190110073827.GE18452>