From owner-svn-src-head@FreeBSD.ORG Mon Oct 13 16:42:34 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2906517B; Mon, 13 Oct 2014 16:42:34 +0000 (UTC) Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 40793E52; Mon, 13 Oct 2014 16:42:33 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id y10so8943654wgg.3 for ; Mon, 13 Oct 2014 09:42:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=hij1nsnA4eaXTgzamcVaZFOuTI7DquuizqYG/t8FcwQ=; b=ArAZ40GkHatpioXB6M4EbzcSXT97Mq9cZrm6/9Hsjqbqdi/wPDBDnm93AsmgyQRgh7 0umhvyYWDSY88eq6PpiYm3oLYMVaD6/LyDocAuY5sy30wZwZL7XiQFdIiw2Pcm5t1qYS hH5r2HkRw2qr+Jy2JII4TE61+PS2pDoZ0DTgk//SBMaR0FMJn4fZf8ieaviWa4eLyfmE uQ4HUr2BiT13vUUrcwzGjeLX01K4SHnt2BzkFNChKWPpCsjAtyAzOUehitpKX3hS6NsZ 4AK69/syK+dQ96pl93W7qLSXx9HqGXso1UdCDRyjUvKYG1TRyzFR+eTGKY8/lhpcXQ0T gzkQ== X-Received: by 10.194.8.232 with SMTP id u8mr22738418wja.64.1413218551490; Mon, 13 Oct 2014 09:42:31 -0700 (PDT) MIME-Version: 1.0 Sender: cochard@gmail.com Received: by 10.194.164.73 with HTTP; Mon, 13 Oct 2014 09:42:11 -0700 (PDT) In-Reply-To: <201410101926.s9AJQRY1049602@svn.freebsd.org> References: <201410101926.s9AJQRY1049602@svn.freebsd.org> From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Date: Mon, 13 Oct 2014 18:42:11 +0200 X-Google-Sender-Auth: 29Nqn1rlLtya3W3YnW-QFtLBy5Q Message-ID: Subject: Re: svn commit: r272906 - in head/sys: conf libkern netpfil/pf sys To: "George V. Neville-Neil" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: svn-src-head , svn-src-all , src-committers X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2014 16:42:34 -0000 On Fri, Oct 10, 2014 at 9:26 PM, George V. Neville-Neil 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