gpt4 book ai didi

database - Monetdb 听诊器的指标 c、m、r、w 和 b 是什么意思?

转载 作者:搜寻专家 更新时间:2023-10-30 23:07:57 27 4
gpt4 key购买 nike

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

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

rss的单位是什么?

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

Screenshot on part of a Stethoscope measured result

此测量由此跟踪选项启用:+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)命令

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

布局应该是规则结构,以便于以后处理。

关于database - Monetdb 听诊器的指标 c、m、r、w 和 b 是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24077439/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com