* Performance Impact of Systemtap
@ 2011-09-06 19:45 ydev
2011-09-07 14:26 ` Frank Ch. Eigler
0 siblings, 1 reply; 3+ messages in thread
From: ydev @ 2011-09-06 19:45 UTC (permalink / raw)
To: systemtap
Hi,
I want to measure the overhead introduced by systemtap scripts.
For example, say I were to introduce a SCSI fault during a read
or write op and I want to measure the overhead by systemtap in doing
this.
What would be the best way to do it.
Thanks,
Yathi
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Performance Impact of Systemtap
2011-09-06 19:45 Performance Impact of Systemtap ydev
@ 2011-09-07 14:26 ` Frank Ch. Eigler
[not found] ` <be418a6f9779e6bffd7c70c64777e8db@cs.utah.edu>
0 siblings, 1 reply; 3+ messages in thread
From: Frank Ch. Eigler @ 2011-09-07 14:26 UTC (permalink / raw)
To: ydev; +Cc: systemtap
ydev wrote:
> I want to measure the overhead introduced by systemtap scripts. For
> example, say I were to introduce a SCSI fault during a read or write
> op and I want to measure the overhead by systemtap in doing this. [...]
General time costs come in two pieces: the costs of dispatching the
underlying event to the systemtap module, and the execution time of
the systemtap probe handler itself. The former depends on what kind
of probe point you attach to (and may vary with kernel version,
architecture, tracepoints cheaper than kprobes, etc.); the latter
depends on your script contents (and may very with systemtap version).
The former may be (under)estimated with microbenchmarks that
repeatedly trigger the particular kind of probe for a null kind of
handler (as in a -DSTP_ALIBI mode run). The latter may be
(under)estimated with stap -t (timing mode), which prints cycles taken
up by the handlers themselves.
The best way is to measure the impact of your particular workload. It
may be immeasurably small there.
- FChE
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-09-10 0:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-06 19:45 Performance Impact of Systemtap ydev
2011-09-07 14:26 ` Frank Ch. Eigler
[not found] ` <be418a6f9779e6bffd7c70c64777e8db@cs.utah.edu>
[not found] ` <20110910001315.GA1560@redhat.com>
2011-09-10 0:14 ` Frank Ch. Eigler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).