Re: [Perfctr-devel] Re: quick overview of the perfmon2 interface

From: William Cohen
Date: Thu Dec 22 2005 - 13:21:28 EST


Christoph Hellwig wrote:
On Thu, Dec 22, 2005 at 10:37:56AM -0500, William Cohen wrote:

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.


What about improving oprofile then? Unlike the vtune or perfoman people
the oprofile authors have shown they actually are able to design sensible
interfaces, and oprofile has broad plattform support over most support
architectures.

At what point would adding interfaces to OProfile turn it into perfmon? Some of the additions like per-thread monitoring would require signicant changes in the kernel that perfmon already implements. The IA64 OProfile already uses the perfmon support in the kernel.

Perfmon2 has support for ia64, p6, pentium4, x86_64, ppc, and mips, so there is multiple architectures support. OProfile currently supports more architectures: alpha, arm, i386 (p6/pentium4/athlon), ia64, mips, ppc, ppc64, x86-64, and a fall-back timer mechanisms.

-Will
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/