From: frank.rowand@am.sony.com (Frank Rowand)
To: linux-arm-kernel@lists.infradead.org
Subject: IRQS off tracer - is it useful or not?
Date: Tue, 28 Jun 2011 16:08:05 -0700 [thread overview]
Message-ID: <4E0A5ED5.8010207@am.sony.com> (raw)
In-Reply-To: <20110625132112.GH23234@n2100.arm.linux.org.uk>
On 06/25/11 06:21, Russell King - ARM Linux wrote:
> I've just been looking at the IRQS off tracer for the first time. I'm
> getting output such as:
< snip >
> So, from what I can see, the irqsoff tracing support is next to useless,
> and given that, anyone got a good reason why I should care about its
> hooks? If I should care about them, it really needs to be fixed so it
> actually provides useful information.
Here are my experiences as a data point that I hope can be useful...
Having irqsoff instrumentation has been crucial for my work.
Unfortunately I don't have experience with the current mainline
implementation.
I started using irqsoff measurements in 2.6.24 plus the RT_PREEMPT
patch 2.6.24-rt1. I found the overhead of the tools at that time
to be larger than desired for my purposes. So I took the concepts
and framework from the RT_PREEMPT patch 2.6.24-rt1 and wrote a
more light weight (but much less user friendly and much less
mainline acceptable) version of irqsoff and preempt off measurement
tools.
The team that I wrote the tools for found enough value in them
to port them forward to 2.6.29 plus the RT_PREEMPT patches
when 2.6.29 arrived. That team is now considering moving the
tools forward to 2.6.35 plus the RT_PREEMPT patches.
To sum up, the RT_PREEMPT irqsoff instrumentation that eventually
evolved into what is in mainline today had too much overhead for
__my purposes__. But my kernel development teams and product
development teams have derived found similar (but lower overhead)
instrumentation to be critical for their tuning needs.
If Todd Poyner helps clean things up (as he offered in an earlier
reply), maybe I'll be able to find some time to help him out (not
sure how much I can promise to squeeze into my schedule yet).
-Frank Rowand
Sony Network Entertainment
prev parent reply other threads:[~2011-06-28 23:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-25 13:21 IRQS off tracer - is it useful or not? Russell King - ARM Linux
2011-06-25 13:42 ` murali at embeddedwireless.com
2011-06-27 16:26 ` Stephen Boyd
2011-06-27 16:54 ` Russell King - ARM Linux
2011-06-27 17:31 ` Nicolas Pitre
2011-06-27 20:17 ` Gilles Chanteperdrix
2011-06-27 20:38 ` Todd Poynor
2011-06-28 23:08 ` Frank Rowand [this message]
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=4E0A5ED5.8010207@am.sony.com \
--to=frank.rowand@am.sony.com \
--cc=linux-arm-kernel@lists.infradead.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.