From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [patch] Performance Counters for Linux, v2 Date: Tue, 9 Dec 2008 12:02:46 +0100 Message-ID: <20081209110246.GC21618@elte.hu> References: <20081208012211.GA23106@elte.hu> <7c86c4470812082237ne58c814s7218cc663f3b49e9@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mx3.mail.elte.hu ([157.181.1.138]:59466 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753179AbYLILDQ (ORCPT ); Tue, 9 Dec 2008 06:03:16 -0500 Content-Disposition: inline In-Reply-To: <7c86c4470812082237ne58c814s7218cc663f3b49e9@mail.gmail.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: eranian@gmail.com Cc: linux-kernel@vger.kernel.org, Thomas Gleixner , linux-arch@vger.kernel.org, Andrew Morton , Eric Dumazet , Robert Richter , Arjan van de Veen , Peter Anvin , Peter Zijlstra , Steven Rostedt , David Miller , Paul Mackerras * stephane eranian wrote: > > There's also more generic x86 support: all 4 generic PMCs of Nehalem > > / Core i7 are supported - i've run 4 instances of KernelTop and they > > used up four separate PMCs. > > Core/Atom have 5 counters, Nehalem has 7. Why are you not using all of > them already? no, Nehalem has 4 generic purpose PMCs and 3 fixed-purpose PMCs (7 total), Core/Atom has 2 generic PMCs and 3 fixed-purpose PMCs (5 total). Saying that it has 7 is misleading. (and even the generic PMCs have constraints) Ingo