[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0907031729040.17432@pianoman.cluster.toy>
Date: Fri, 3 Jul 2009 17:43:12 -0400 (EDT)
From: Vince Weaver <vince@...ter.net>
To: Ingo Molnar <mingo@...e.hu>
cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Paul Mackerras <paulus@...ba.org>,
linux-kernel@...r.kernel.org, Mike Galbraith <efault@....de>
Subject: Re: [numbers] perfmon/pfmon overhead of 17%-94%
On Fri, 3 Jul 2009, Ingo Molnar wrote:
> That would give a mixture of hardware and software counter based IRQ
> instrumentation features that looks quite compelling. Any comments
> on what features/capabilities you'd like to see in this area?
I'm mainly interested in just an aggregate total of "this many interrupts
occurred". It wouldn't even need to be separated out by type or number.
I don't know if the metric would be useful to anyone else. I tried to
hack this up a long time ago, to have the result reported with rusage()
but never got anywhere with it.
> Btw., perfcounters still has no support for older Intel CPUs such as
> P3's and P2's - and they have pretty sane PMUs - so if you have such
> a machine (which your perfmon contribution suggests you might
> have/had) and are interested it would be nice to get support for
> them. P4 support is interesting too but more challenging.
I was indeed the one who got perfmon2 running on Pentium Pro, Pentium II,
and MIPS R12k. For all those though there was an existing PMU driver and
I just added the appropriate "case" statements to enable support, and then
provided an updated list of available counters to the userspace utility.
The only real kernel hacking involved was the week spent tracking down a
hard-to-debug interrupt issue on the MIPS machine.
Unfortunately I think writing PMU drivers is a bit beyond me, for the
amount of time I have. Especially as the relevant machines I have are
located in relatively inaccessible locations (and PMU mistakes can lock up
the machines) plus it can take the better part of a day to compile 2.6
kernels on some of those machines.
Vince
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists