【问题标题】:What does the metrics c, m, r, w and b of Monetdb's Stethoscope mean?Monetdb 听诊器的指标 c、m、r、w 和 b 是什么意思?
【发布时间】:2014-06-06 08:31:52
【问题描述】:

Monetdb 的听诊器是一个分析工具,并有一个跟踪选项列表。在以下测量结果中,我对一些指标感到困惑。

utime、cuttime、stime 和 cstime 到底是什么?它们似乎是用户和内核空间中的 CPU 时间,但为什么 MAL 指令的“开始”状态有这样的 utime 而“结束”状态没有?而且,它的单位是什么?

rss的单位是什么?

blk.reads blk.writes 应该是以块为单位的 I/O 速度。为什么有些指令的 blk.reads 或 blk.writes 非零,但它们的 rbytes(读取的字节数)和 wbytes(写入的字节数)为零?

此跟踪选项启用此测量:+SatefiITcmrwbsy,在线文档下方对此进行了说明。我不太确定它们的含义。

The trace options (default 'ISTest'):
  S = monitor start of instruction profiling
  a = aggregate clock ticks per instruction
  e = event counter
  f = module.function name
  i = instruction counter
  I = interpreter thread number
  T = wall clock time
  t = ticks in microseconds
  c = cpu statistics (utime,ctime,stime,cstime)
  m = memory resources as provided by OS
  r = block reads
  w = block writes
  b = bytes read/written
  s = MAL statement
  y = MAL argument types
  p = process statistics, e.g. page faults, context switches
  u = user id
  D = Generate dot file upon query start
  F = Dataflow memory claims

【问题讨论】:

    标签: database cpu cpu-usage monetdb cpu-time


    【解决方案1】:

    标记与 Linux 内核分析结构条目相关。 查看 times(2) 命令

    类似的评论是从 rusage 系统调用中获取的 io 计数。 rbytes/wbytes 是每次调用中处理的估计内存系统。

    布局是为了便于以后处理的常规结构。

    【讨论】:

      【解决方案2】:

      标记与 Linux 内核分析结构条目相关联。 查看 times(2) 命令

      布局是为了便于以后处理的常规结构。

      【讨论】:

        猜你喜欢
        • 2015-01-05
        • 2012-06-14
        • 1970-01-01
        • 1970-01-01
        • 2010-11-19
        • 2017-01-03
        • 2011-11-21
        • 1970-01-01
        • 2017-02-02
        相关资源
        最近更新 更多