存档

文章标签 ‘systemtap’

Using SystemTap

2013年10月14日 评论已被关闭

I work at Joyent – a cloud computing company – doing performance analysis of small to large cloud environments. Most of our systems have DTrace: the first widely used implementation of Dynamic Tracing, which we use for monitoring and performance analysis. But we also have some Linux, which I’ve been analyzing in the following situations:

  • Competitive performance analysis: measuring the runtime of certain codepaths in Linux vs SmartOS.
  • KVM performance tuning: we run Linux as guests of the KVM we ported to Illumos, and as part of that work I’ve studied performance from the host (via DTrace) and from the guest (via SystemTap).
  • Real customer issues: replicated in a KVM lab environment for safe study with SystemTap.

I would prefer to log in to the KVM guests and run DTrace, but it’s not available on those Linux systems. (In the future, we may have a way to reach into the guest using DTrace from the host to trace its internals, be it Linux or Windows.) In the meantime, I need to do some serious performance analysis on Linux (including kernel code-path latency) so I’m using SystemTap.

阅读全文…

LTTng Comparison with other Tracers

2009年2月16日 评论已被关闭

linux下另外一个性能分析工具LTTng,看着貌似不错,可惜没文档,也没INSTALL文件。内核补丁包下回来一堆补丁,也不知道该打哪个,先存个档,需要的时候再倒腾。

  阅读全文…

linux IO监控程序

2009年2月16日 2 条评论

很多时候不知道到底是哪个进程用了多少IO,用systemtap和latencytop可以看到一些。

根据同事的实验systemtap看不到写了多少,latencytop待测。暂时用不上,先记下来,别又忘记了,这次还多得san哥提醒我latencytop :)

分类: 技术点滴 标签: ,