From owner-freebsd-net@FreeBSD.ORG Wed Feb 25 08:01:06 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3BFF050F for ; Wed, 25 Feb 2015 08:01:06 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 11D2CBAB for ; Wed, 25 Feb 2015 08:01:06 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1P815qh030021 for ; Wed, 25 Feb 2015 08:01:05 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1P815Pl030020; Wed, 25 Feb 2015 08:01:05 GMT (envelope-from root) Date: Wed, 25 Feb 2015 08:01:05 +0000 To: freebsd-net@freebsd.org From: "arybchik (Andrew Rybchenko)" Subject: [Differential] [Commented On] D1697: sfxge: Expect required init_state on data path and in periodic calls Message-ID: X-Priority: 3 Thread-Topic: D1697: sfxge: Expect required init_state on data path and in periodic calls X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: MTVmZWRhZmFiZTk2YzBiOTY0NjE3OTVjNDBkIFTtgUE= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2015 08:01:06 -0000 arybchik added a comment. I did measurements when implemented the patch and just retested once again using pmcstat instruction and BR_MISP_RETIRED.ALL_BRANCHES counters. With the patch applied the number of instruction events is 1% less and number of mispredicted branch events is 5% less. REVISION DETAIL https://reviews.freebsd.org/D1697 To: arybchik, gnn Cc: freebsd-net