Monetdb的Stethoscope是一种配置工具,并具有跟踪选项列表。在以下测量结果中,我对某些指标感到困惑。
utime,cutime,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
这些标记与Linux内核配置文件结构条目相关。查看times(2)命令
对于从rusage系统调用中获取的io计数也有类似的说明。rbytes / wbytes是每个调用中估计处理的内存系统。
布局应为规则结构,以便以后处理。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句