Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932325AbVK2ScI (ORCPT ); Tue, 29 Nov 2005 13:32:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932327AbVK2ScI (ORCPT ); Tue, 29 Nov 2005 13:32:08 -0500 Received: from jade.aracnet.com ([216.99.193.136]:26515 "EHLO jade.spiritone.com") by vger.kernel.org with ESMTP id S932325AbVK2ScH (ORCPT ); Tue, 29 Nov 2005 13:32:07 -0500 Message-ID: <438C9E1B.8040204@BitWagon.com> Date: Tue, 29 Nov 2005 10:29:47 -0800 From: John Reiser Organization: - User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andi Kleen CC: Stephane Eranian , Ray Bryant , discuss@x86-64.org, linux-kernel@vger.kernel.org, perfctr-devel@lists.sourceforge.net Subject: Re: [Perfctr-devel] Re: Enabling RDPMC in user space by default References: <20051129151515.GG19515@wotan.suse.de> <200511291056.32455.raybry@mpdtxmail.amd.com> <20051129180903.GB6611@frankl.hpl.hp.com> <20051129181344.GN19515@wotan.suse.de> In-Reply-To: <20051129181344.GN19515@wotan.suse.de> X-Enigmail-Version: 0.92.0.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 910 Lines: 21 Andi Kleen wrote: > I think it's also a useful convention - RDTSC is becomming more and more > useless and you cannot expect user applications who just want to > measure some cycles to rely on ever changing instable or non existing > performance counter APIs. Users are even more unhappy with ever-changing ABIs -- such as the kernel taking away RDTSC. RDTSC+perfctr [Pettersson] still is the fastest way for user-mode code to count something that is highly correlated with both "billable" CPU time and "code quality" for a fixed task. With a little care RDTSC is close enough to monotonic that I find it very useful. Please don't take away user-mode RDTSC. -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/