svn commit: r272906 - in head/sys: conf libkern netpfil/pf sys

Olivier Cochard-Labbé olivier at cochard.me
Mon Oct 13 16:42:34 UTC 2014


On Fri, Oct 10, 2014 at 9:26 PM, George V. Neville-Neil <gnn at freebsd.org>
wrote:

> Author: gnn
> Date: Fri Oct 10 19:26:26 2014
> New Revision: 272906
> URL: https://svnweb.freebsd.org/changeset/base/272906
>
> Log:
>   Change the PF hash from Jenkins to Murmur3.  In forwarding tests
>   this showed a conservative 3% incrase in PPS.
>
>

It's not easy to measure 3% of difference ;-)

My benchs didn't reach to measure it (about 2000 flows of minimum
packet-size, result displayed in packet-per-second):

In state-full:


x 272685.pf-statefull
+ 273009.pf-statefull
+----------------------------------------------------------------------+
|x                        x        +   +  xx  x    ++                 +|
|            |__________________A_________M_______|                    |
|                                   |____________A_M___________|       |
+----------------------------------------------------------------------+
    N           Min           Max        Median           Avg        Stddev
x   5       1297273       1332110       1329176     1321089.2     14527.702
+   5       1324108       1351078       1336257     1335044.2     10562.448
No difference proven at 95.0% confidence


Neither in stateless:

x 272685.pf-stateless
+ 273009.pf-stateless
+----------------------------------------------------------------------+
|x   x      +     x+                x x   +                       +   +|
| |_______________M_A________________|                                 |
|              |__________________________A_________________________|  |
+----------------------------------------------------------------------+
    N           Min           Max        Median           Avg        Stddev
x   5       1311342       1316466       1313645     1313898.6     2378.5845
+   5       1312893       1320772       1316878     1316927.4     3607.1013
No difference proven at 95.0% confidence

Regards,

Olivier


More information about the svn-src-all mailing list