From owner-freebsd-current@FreeBSD.ORG Thu Apr 25 09:28:30 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E6E063A5 for ; Thu, 25 Apr 2013 09:28:30 +0000 (UTC) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.freebsd.org (Postfix) with ESMTP id 42BA0183B for ; Thu, 25 Apr 2013 09:28:30 +0000 (UTC) Received: (qmail 99753 invoked from network); 25 Apr 2013 10:32:57 -0000 Received: from unknown (HELO [62.48.0.94]) ([62.48.0.94]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 25 Apr 2013 10:32:57 -0000 Message-ID: <5178F72F.90008@freebsd.org> Date: Thu, 25 Apr 2013 11:28:15 +0200 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Olivier_Cochard-Labb=E9?= Subject: Re: forwarding/ipfw/pf evolution (in pps) on -current References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: "freebsd-net@freebsd.org" , "freebsd-current@freebsd.org" , Sami Halabi X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Apr 2013 09:28:31 -0000 On 25.04.2013 07:40, Olivier Cochard-Labbé wrote: > On Wed, Apr 24, 2013 at 1:46 PM, Sami Halabi wrote: >> 3. there some point of improved performance (without fw) that went down >> again somewhere before Clang got prod. > > Found it ! > > It's commit 242402: "Rework the known mutexes..." Again one has to be really careful drawing any firm conclusions from this as it was measured on a Pentium4 and UP kernel (GENERIC would add WITNESS and INVARIANT overhead as well). The Pentium4 is about the worst micro-architecture when it comes to locks and easily regresses. At the same time modern Intel Core i[3-7] and AMD64 may actually improve with these changes. Unless more recent micro-archs have been shown to exhibit the same regression we can't claim this change was bad (other than for Pentium4). -- Andre > ministat -s 242401.forwarding 242402.forwarding > x 242401.forwarding > + 242402.forwarding > +---------------------------------------------------------------------------------------+ > | + > | > |+ + + + > x xx x x| > | > |____A____| | > | |_____A_M___| > | > +---------------------------------------------------------------------------------------+ > N Min Max Median Avg Stddev > x 5 417527 420242 418902 419074 1049.7974 > + 5 402211 404828 404096 403689 1237.6696 > Difference at 95.0% confidence > -15385 +/- 1673.69 > -3.67119% +/- 0.399377% > (Student's t, pooled s = 1147.58) > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > >