public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: William Cohen <wcohen@redhat.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: Stephane Eranian <eranian@hpl.hp.com>,
	Andrew Morton <akpm@osdl.org>,
	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
Date: Thu, 22 Dec 2005 10:37:56 -0500	[thread overview]
Message-ID: <43AAC854.6020608@redhat.com> (raw)
In-Reply-To: <20051222120558.GA31303@infradead.org>

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

  reply	other threads:[~2005-12-22 15:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-19 11:31 quick overview of the perfmon2 interface Stephane Eranian
2005-12-20 10:51 ` Andrew Morton
2005-12-20 11:19   ` [Perfctr-devel] " Mikael Pettersson
2005-12-20 18:05   ` Tony Luck
2005-12-20 18:16     ` [Perfctr-devel] " Stephane Eranian
2005-12-20 23:52   ` David Gibson
2005-12-22 11:56   ` Stephane Eranian
2005-12-22 12:05     ` Christoph Hellwig
2005-12-22 15:37       ` William Cohen [this message]
2005-12-22 17:23         ` [Perfctr-devel] " Christoph Hellwig
2005-12-22 18:17           ` William Cohen
2005-12-22 18:36           ` John Reiser
2005-12-22 18:48   ` [perfmon] " Stephane Eranian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43AAC854.6020608@redhat.com \
    --to=wcohen@redhat.com \
    --cc=akpm@osdl.org \
    --cc=eranian@hpl.hp.com \
    --cc=hch@infradead.org \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perfctr-devel@lists.sourceforge.net \
    --cc=perfmon@napali.hpl.hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox