Systemtap 对性能的影响

发布于 2024-07-26 12:15:59 字数 368 浏览 4 评论 0原文

我正在寻找一些有关 systemtap 对性能影响的真实信息。 我知道静态内核探针记录在其网站上的某个位置(带有统计信息),但是用户空间探针呢?

我在他们的邮件列表上看到了这篇文章(http://sourceware.org/ml/ systemtap/2009-q1/msg00518.html),这表明在某些情况下可以单步执行。 任何人都可以解释/指出一些列出哪些技术用于哪些探针的资源吗?

process().function() 会带来什么开销? 静电标记呢?

I'm looking for some real information about the effect of systemtap on performance. I know that static kernel probes are documented somewhere on their website (with stats), but what about userspace probes?

I saw this post on their mailing list (http://sourceware.org/ml/systemtap/2009-q1/msg00518.html) which points at a possibility of single-steping in some cases. Can anyone explain / point at some resources that list which techniques are used for which probes?

What overhead will process().function() introduce? What about static marks?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

莫多说 2024-08-02 12:15:59

这里是 ppc64 机器上的一些开销基准。 这就是我能找到的全部。 根据这篇文章,SystemTap 似乎被设计为一个开销非常低的跟踪器。

看来 SystemTap 的 utrace 和 uprobe 用户空间端并不是大部分工作完成的地方。 因此它与给出的内核跟踪基准应该不会有太大差异。 以下是一些 utrace 性能测试

由于当前版本只有 0.8,我猜想还没有太多的工作来量化 SystemTap 的性能和开销。

Here is some benchmarks of the overhead on a ppc64 machine. This is all I could find. It appears that SystemTap was designed to be a very low overhead tracer according to this article.

It would seem that the utrace and uprobe user-space side of SystemTap is not where most of the work is done. So it shouldn't be too much different from the kernel trace benchmarks given. Here are some utrace performance tests.

Since the current version is only 0.8 I guess there has not been much work on quantifying the performance and overhead of SystemTap.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文