From owner-freebsd-performance@FreeBSD.ORG Wed Sep 21 01:27:34 2011 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BFB71065673 for ; Wed, 21 Sep 2011 01:27:34 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id D18CA8FC0C for ; Wed, 21 Sep 2011 01:27:33 +0000 (UTC) Received: by ywp17 with SMTP id 17so1032868ywp.13 for ; Tue, 20 Sep 2011 18:27:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=O1ujiBgAZr0FfC8WdmqRUR8z8Tn5w8gJ8efUIylmhRM=; b=rMs4xAKUaxbyd4xzMA/7AWVWa+JyPbfdaSGe6pmLS1zGcEGKGBKDnwD7M9B7iFxURy 6wvtAsZjUHdDs9VLb3s0DS2MMG817aOU/sC66/6KKc5WkkBLOmExN8OffIYrMiizxUuM df5ix5DpcO4O9wwI8bQAEis6A5osLDK4bNdHk= MIME-Version: 1.0 Received: by 10.236.75.227 with SMTP id z63mr949670yhd.55.1316568453109; Tue, 20 Sep 2011 18:27:33 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.236.111.42 with HTTP; Tue, 20 Sep 2011 18:27:33 -0700 (PDT) In-Reply-To: References: Date: Wed, 21 Sep 2011 09:27:33 +0800 X-Google-Sender-Auth: DOil1Mv-AYvkPUzpA3avXxAbE-Y Message-ID: From: Adrian Chadd To: Anton Yuzhaninov Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-performance@freebsd.org Subject: Re: hwpmc overflow X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2011 01:27:34 -0000 Is this an AMD class CPU? The way the counters work on some platforms is that they count _up_ to an overflow value, trigger the overflow interrupt, and PMC then is supposed to calculate what the original value was. It sounds like maybe that isn't working correctly for a certain class of counters? Adrian