From: Philip Mucci <mucci@cs.utk.edu>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: Linux-mips@linux-mips.org, perfmon@napali.hpl.hp.com,
Stephane Eranian <eranian@hpl.hp.com>
Subject: Re: 2.6.13-rc2 perfmon2 new code base with MIPS5K/20K support + libpfm available
Date: Thu, 19 Jan 2006 15:04:17 +0100 [thread overview]
Message-ID: <1137679457.6648.137.camel@localhost.localdomain> (raw)
In-Reply-To: <20060119133609.GA3398@linux-mips.org>
Hi Ralf,
Thanks for the link on the wiki...
I'm sure Stefane can answer this question more accurately, but I do know
that oprofile and perfmon have coexisted quite happily for a while in
the IA64 line..Of course, you can't use both at the same time. oprofile
takes over the counters and uses them from a 'global' context, and you
need to be root to set them.
perfmon is intended up be used for performance tuning in production
multiprogrammed environments, although it also has system-wide and
per-cpu counting modes. So you can have multiple people using the
counters inside their processes and threads and all the counts are
preserved as the state and the full 64 bit values are part of the
process context, for the per-thread monitoring modes.
Again, this is a laymans answer and I'll let Stefane fill in the gaps of
how oprofile and perfmon2 are integrated on the IA64 platform and how we
make that work similarly on the MIPS platform.
As I haven't updated my tree quite yet to 2.6.15, I haven't yet seen the
oprofile code for the below...but it integration should be quite simple.
(My tree only has the rm9000). As soon as I reintegrate to 2.6.15, I'll
be sure to make sure oprofile and perfmon2 play nice.
Anyways, glad to hear other folks are as interested in performance
analysis!
Regards,
Philip
> More recently myself and others have verified that Oprofile is working
> on the 5K, 20K, 24K, 25K cores and the SB1 and SB1A cores in the Sibyte
> SOCs - and a few more in the queue. So now I wonder how perfmon2 is
> going to interfear with oprofile which already is in the kernel?
>
> I've put a quick page into the wiki at http://www.linux-mips.org/wiki/Perfmon2
> It's really just a starting point but people should know what's there.
>
> Ralf
next prev parent reply other threads:[~2006-01-19 14:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-19 10:30 2.6.13-rc2 perfmon2 new code base with MIPS5K/20K support + libpfm available Philip Mucci
2006-01-19 13:36 ` Ralf Baechle
2006-01-19 14:04 ` Philip Mucci [this message]
2006-01-19 15:33 ` Nigel Stephens
2006-01-19 15:41 ` Philip Mucci
2006-01-19 18:16 ` Stephane Eranian
2006-01-19 18:38 ` [perfmon] " Philip Mucci
2006-01-19 19:14 ` Stephane Eranian
2006-01-19 19:30 ` Philip Mucci
2006-01-19 19:59 ` 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=1137679457.6648.137.camel@localhost.localdomain \
--to=mucci@cs.utk.edu \
--cc=Linux-mips@linux-mips.org \
--cc=eranian@hpl.hp.com \
--cc=perfmon@napali.hpl.hp.com \
--cc=ralf@linux-mips.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.