From owner-freebsd-bugs@FreeBSD.ORG Fri Aug 16 20:30:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D9EBED32 for ; Fri, 16 Aug 2013 20:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9FF622F85 for ; Fri, 16 Aug 2013 20:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7GKU0D5095316 for ; Fri, 16 Aug 2013 20:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7GKU0Sl095315; Fri, 16 Aug 2013 20:30:00 GMT (envelope-from gnats) Resent-Date: Fri, 16 Aug 2013 20:30:00 GMT Resent-Message-Id: <201308162030.r7GKU0Sl095315@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, adrian chadd Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 33BCBCED for ; Fri, 16 Aug 2013 20:27:17 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2163B2F6D for ; Fri, 16 Aug 2013 20:27:17 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r7GKRGIP097849 for ; Fri, 16 Aug 2013 20:27:16 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r7GKRGtV097848; Fri, 16 Aug 2013 20:27:16 GMT (envelope-from nobody) Message-Id: <201308162027.r7GKRGtV097848@oldred.freebsd.org> Date: Fri, 16 Aug 2013 20:27:16 GMT From: adrian chadd To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/181346: [hwpmc] Sandy Bridge Xeon - workaround required for some perf events X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 20:30:00 -0000 >Number: 181346 >Category: misc >Synopsis: [hwpmc] Sandy Bridge Xeon - workaround required for some perf events >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 16 20:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: adrian chadd >Release: >Organization: >Environment: >Description: There's a workaround required for some events on Sandy bridge Xeon hardware. http://software.intel.com/en-us/articles/performance-monitoring-on-intel-xeon-processor-e5-family Here's the workaround packaged up in a linux-specific python script. ugh. https://github.com/andikleen/pmu-tools/blob/master/latego.py I have no idea about the specifics of the workaround; only that we should likely add support to hwpmc to do this. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: