Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [ltt-dev] PMC support for ARMv6
@ 2009-01-14  5:48 Gaurav Singh
  2009-01-14  5:48 ` Gaurav Singh
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Gaurav Singh @ 2009-01-14  5:48 UTC (permalink / raw)


Hi Mathieu / all,
I have integrated PMC in ARMv6 primarily for 2 aims:
1. CPI calculations - this trace_mark is triggered triggered after X no. of
clock cycles. The number of instructions executed and the no. of clock
cycles is noted.
2. Cache Hit rate calculation - Here I have not used the PMC registers in
the ARM processor - rather have used L2 Cache controller  registers to find
out this information - but this does not provide information about the L1
cache hit/miss behaviour.

Any other suggestions on what else can be done in PMC?

Also have ported LTTng to 2.6.24 for two Nomadik Boards - NDK15 and
NDK20. Doing some tests and will send it over to you guys soon for your
comments.

Cheers!
Have a Nice Day!
Gaurav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/ltt-dev/attachments/20090114/65dfe16f/attachment.htm>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ltt-dev] PMC support for ARMv6
  2009-01-14  5:48 [ltt-dev] PMC support for ARMv6 Gaurav Singh
@ 2009-01-14  5:48 ` Gaurav Singh
  2009-01-14  5:48 ` Gaurav Singh
  2009-01-15 20:32 ` Mathieu Desnoyers
  2 siblings, 0 replies; 4+ messages in thread
From: Gaurav Singh @ 2009-01-14  5:48 UTC (permalink / raw)


Hi Mathieu / all,
I have integrated PMC in ARMv6 primarily for 2 aims:
1. CPI calculations - this trace_mark is triggered triggered after X no. of
clock cycles. The number of instructions executed and the no. of clock
cycles is noted.
2. Cache Hit rate calculation - Here I have not used the PMC registers in
the ARM processor - rather have used L2 Cache controller  registers to find
out this information - but this does not provide information about the L1
cache hit/miss behaviour.

Any other suggestions on what else can be done in PMC?

Also have ported LTTng to 2.6.24 for two Nomadik Boards - NDK15 and
NDK20. Doing some tests and will send it over to you guys soon for your
comments.

Cheers!
Have a Nice Day!
Gaurav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20090114/65dfe16f/attachment-0002.htm>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ltt-dev] PMC support for ARMv6
  2009-01-14  5:48 [ltt-dev] PMC support for ARMv6 Gaurav Singh
  2009-01-14  5:48 ` Gaurav Singh
@ 2009-01-14  5:48 ` Gaurav Singh
  2009-01-15 20:32 ` Mathieu Desnoyers
  2 siblings, 0 replies; 4+ messages in thread
From: Gaurav Singh @ 2009-01-14  5:48 UTC (permalink / raw)


Hi Mathieu / all,
I have integrated PMC in ARMv6 primarily for 2 aims:
1. CPI calculations - this trace_mark is triggered triggered after X no. of
clock cycles. The number of instructions executed and the no. of clock
cycles is noted.
2. Cache Hit rate calculation - Here I have not used the PMC registers in
the ARM processor - rather have used L2 Cache controller  registers to find
out this information - but this does not provide information about the L1
cache hit/miss behaviour.

Any other suggestions on what else can be done in PMC?

Also have ported LTTng to 2.6.24 for two Nomadik Boards - NDK15 and
NDK20. Doing some tests and will send it over to you guys soon for your
comments.

Cheers!
Have a Nice Day!
Gaurav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20090114/65dfe16f/attachment-0001.htm>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ltt-dev] PMC support for ARMv6
  2009-01-14  5:48 [ltt-dev] PMC support for ARMv6 Gaurav Singh
  2009-01-14  5:48 ` Gaurav Singh
  2009-01-14  5:48 ` Gaurav Singh
@ 2009-01-15 20:32 ` Mathieu Desnoyers
  2 siblings, 0 replies; 4+ messages in thread
From: Mathieu Desnoyers @ 2009-01-15 20:32 UTC (permalink / raw)


* Gaurav Singh (gausinghnsit at gmail.com) wrote:
> Hi Mathieu / all,
> I have integrated PMC in ARMv6 primarily for 2 aims:
> 1. CPI calculations - this trace_mark is triggered triggered after X no. of
> clock cycles. The number of instructions executed and the no. of clock
> cycles is noted.
> 2. Cache Hit rate calculation - Here I have not used the PMC registers in
> the ARM processor - rather have used L2 Cache controller  registers to find
> out this information - but this does not provide information about the L1
> cache hit/miss behaviour.
> 
> Any other suggestions on what else can be done in PMC?
> 

I'd like to see this trace_mark turned into a tracepoint probe. Having a
periodical interrupt which saves this information is good, but I would
also like to have a tracepoint probe that we could attach at important
execution sites, like sched change, irq, softirq, nmi entry/exit where
we would read the performance counter.


> Also have ported LTTng to 2.6.24 for two Nomadik Boards - NDK15 and
> NDK20. Doing some tests and will send it over to you guys soon for your
> comments.
> 

I'd be interested in merging your patchesfor 2.6.28 into the LTTng tree.
Please keep us posted.

Mathieu

> Cheers!
> Have a Nice Day!
> Gaurav

-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-01-15 20:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-14  5:48 [ltt-dev] PMC support for ARMv6 Gaurav Singh
2009-01-14  5:48 ` Gaurav Singh
2009-01-14  5:48 ` Gaurav Singh
2009-01-15 20:32 ` Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox