Pass 4 (non-)optimization speedup
Frank Ch. Eigler
fche@redhat.com
Sun Jul 12 01:51:00 GMT 2009
Mark Wielaard <mjw@redhat.com> writes:
> To make pass 4 a bit more flexible I added -O[0123s] as arguments to
> stap (commit 5a5732). [...]
> The default is -O0 which makes pass 4 a lot faster, so I think this is a
> good default. [...]
No, it is unlikely to be a good default. Frankly, I'm surprised it
even compiles, since some kernel code is unbuildable without
optimization. Anyway, the code generated by systemtap is complex
enough that with optimization disabled, it is bound to run measurably
slower. Please test some nontrivial probes with -t before & after.
- FChE
More information about the Systemtap
mailing list