Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030216AbVLVPmK (ORCPT ); Thu, 22 Dec 2005 10:42:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030212AbVLVPmG (ORCPT ); Thu, 22 Dec 2005 10:42:06 -0500 Received: from mx1.redhat.com ([66.187.233.31]:4583 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S1030216AbVLVPle (ORCPT ); Thu, 22 Dec 2005 10:41:34 -0500 Message-ID: <43AAC854.6020608@redhat.com> Date: Thu, 22 Dec 2005 10:37:56 -0500 From: William Cohen User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Christoph Hellwig CC: Stephane Eranian , Andrew Morton , linux-kernel@vger.kernel.org, perfmon@napali.hpl.hp.com, linux-ia64@vger.kernel.org, perfctr-devel@lists.sourceforge.net Subject: Re: [Perfctr-devel] Re: quick overview of the perfmon2 interface References: <20051219113140.GC2690@frankl.hpl.hp.com> <20051220025156.a86b418f.akpm@osdl.org> <20051222115632.GA8773@frankl.hpl.hp.com> <20051222120558.GA31303@infradead.org> In-Reply-To: <20051222120558.GA31303@infradead.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2866 Lines: 60 Christoph Hellwig wrote: > On Thu, Dec 22, 2005 at 03:56:32AM -0800, Stephane Eranian wrote: > >>reason: >> - allow support of existing kernel profiling infratructures such as >> Oprofile or VTUNE (the VTUNE driver is open-source) > > > last time I checked it was available in source, but not under an open-source > license. has this changed? In either case intel should contribute to the > kernel profiling infrastructure instead of doing their own thing. Supporting > people to do their own private variant is always a bad thing. Both OProfile and PAPI are open source and could use such an performance monitoring interface. One of the problems right now is there is a patchwork of performance monitoring support. Each instrumentation system has its own set of drivers/patches. Few have support integrated into the kernel, e.g. OProfile. However, the OProfile driver provides only a subset of the performance monitoring support, system-wide sampling. The OProfile driver doesn't allow per-thread monitoring or stopwatch style measurement, which can be very useful for some performance monitoring applications. Having specific drivers for each performance monitoring program is not the way to go. That is one of the reasons that people have problems doing performance monitoring on Linux. Each performance monitoring program has its own driver and/or set of patches to the kernel. Many application programers are not in a position to patch the kernel and to install the custom kernel on the machine so they can use performance monitoring hardware. Not everyone has root access to the machine they use, so they can install and reboot a kernel of their choosing. >>Let's take an example on Itanium. Take a user running a commercial distro >>based on 2.6. This user is given early access to a Montecito machine. > > > That scenario is totally uninteresting for kernel development. we want > to encourage people to use upstream kernels, and not the bastardized vendor > crap. Vendors don't want to provide "bastardized vendor crap" either. The fewer patches in the vendor distributed kernels the better. > I think you're adding totally pointless complexity everywhere for such > scenarious because HP apparently cares for such vendor mess. Maybe you > should concentrate on what's best for upstream kernel development. And > the most important thing is to reduce complexity by at least one magnitude. Specifically what are the things that are "best for upstream kernel development?" What are the things that should be eliminated "to reduce complexity by at least one magnitude?" -Will - 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/