From owner-freebsd-arch@FreeBSD.ORG Tue Oct 7 18:23:22 2014 Return-Path: Delivered-To: arch@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 5FC9F3DD for ; Tue, 7 Oct 2014 18:23:22 +0000 (UTC) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 13C70AD5 for ; Tue, 7 Oct 2014 18:23:22 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id F178825D388C for ; Tue, 7 Oct 2014 18:23:18 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 33F5BC76FF6 for ; Tue, 7 Oct 2014 18:23:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id sQaOAwmNRXtf for ; Tue, 7 Oct 2014 18:23:16 +0000 (UTC) Received: from [IPv6:fde9:577b:c1a9:4420:cabc:c8ff:fe8b:4fe6] (orange-tun0-ula.sbone.de [IPv6:fde9:577b:c1a9:4420:cabc:c8ff:fe8b:4fe6]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id C70C0C76FF5 for ; Tue, 7 Oct 2014 18:23:15 +0000 (UTC) Content-Type: text/plain; charset=windows-1252 Subject: =?windows-1252?Q?PMC_=93unhalted-core-cycles=94_counted_=27Branc?= =?windows-1252?Q?h_Instruction_Retired=27___=5Bwas=3A_Fwd=3A_svn?= =?windows-1252?Q?_commit=3A_r272713_-_head/sys/dev/hwpmc=5D?= Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) From: "Bjoern A. Zeeb" Date: Tue, 7 Oct 2014 18:23:14 +0000 Content-Transfer-Encoding: quoted-printable Reply-To: bz@FreeBSD.org Message-Id: <79B730FB-26F4-4E74-BB68-D8E681278A4F@FreeBSD.org> References: <201410071800.s97I0ZV7023909@svn.freebsd.org> To: arch@FreeBSD.org X-Mailer: Apple Mail (2.1878.6) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2014 18:23:22 -0000 Hi, in case you have used =93unhalted-core-cycles=94 for any PMC = measurements in the last 17 months in HEAD or stable/10 (possibly more = branches), you might want to go and re-visit your results. In the interest of my research I=92d appreciate if you could also drop = me a private email (Reply-To set, don=92t reply to all for this unless = you want to) if this might have affected any of your work. Best Regards, Bjoern Begin forwarded message: > From: "Bjoern A. Zeeb" > Subject: svn commit: r272713 - head/sys/dev/hwpmc > Date: 7 Oct 2014 18:00:35 GMT > To: src-committers@freebsd.org, svn-src-all@freebsd.org, = svn-src-head@freebsd.org >=20 > Author: bz > Date: Tue Oct 7 18:00:34 2014 > New Revision: 272713 > URL: https://svnweb.freebsd.org/changeset/base/272713 >=20 > Log: > Since introducing the extra mapping in r250103 for architectural = performance > events we have actually counted 'Branch Instruction Retired' when = people > asked for 'Unhalted core cycles' using the 'unhalted-core-cycles' = event mask > mnemonic. >=20 > Reviewed by: jimharris > Discussed with: gnn, rwatson > MFC after: 3 days > Sponsored by: DARPA/AFRL >=20 > Modified: > head/sys/dev/hwpmc/hwpmc_core.c >=20 > Modified: head/sys/dev/hwpmc/hwpmc_core.c > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/sys/dev/hwpmc/hwpmc_core.c Tue Oct 7 17:39:30 2014 = (r272712) > +++ head/sys/dev/hwpmc/hwpmc_core.c Tue Oct 7 18:00:34 2014 = (r272713) > @@ -1796,7 +1796,7 @@ iap_is_event_architectural(enum pmc_even > switch (pe) { > case PMC_EV_IAP_ARCH_UNH_COR_CYC: > ae =3D CORE_AE_UNHALTED_CORE_CYCLES; > - *map =3D PMC_EV_IAP_EVENT_C4H_00H; > + *map =3D PMC_EV_IAP_EVENT_3CH_00H; > break; > case PMC_EV_IAP_ARCH_INS_RET: > ae =3D CORE_AE_INSTRUCTION_RETIRED; >=20 =97=20 Bjoern A. Zeeb "Come on. Learn, goddamn it.", WarGames, 1983