mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
docs/zh_CN: Update the translation of delay-accounting to 6.1-rc8
[ Upstream commit6ab587e8e8] Update to commitf347c9d269("filemap: make the accounting of thrashing more consistent"). Commit662ce1dc9c("delayacct: track delays from write-protect copy"). Signed-off-by: Yanteng Si <siyanteng@loongson.cn> Link: https://lore.kernel.org/r/798990521e991697f9f2b75f4dc4a485d31c1311.1670642548.git.siyanteng@loongson.cn Signed-off-by: Jonathan Corbet <corbet@lwn.net> Stable-dep-of: 3840cbe24cf0 ("sched: psi: fix bogus pressure spikes from aggregation race") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
84887f4c1c
commit
2760bafc1a
@@ -17,8 +17,9 @@ a) 等待一个CPU(任务为可运行)
|
||||
b) 完成由该任务发起的块I/O同步请求
|
||||
c) 页面交换
|
||||
d) 内存回收
|
||||
e) 页缓存抖动
|
||||
e) 抖动
|
||||
f) 直接规整
|
||||
g) 写保护复制
|
||||
|
||||
并将这些统计信息通过taskstats接口提供给用户空间。
|
||||
|
||||
@@ -42,7 +43,7 @@ f) 直接规整
|
||||
include/uapi/linux/taskstats.h
|
||||
|
||||
其描述了延时计数相关字段。系统通常以计数器形式返回 CPU、同步块 I/O、交换、内存
|
||||
回收、页缓存抖动、直接规整等的累积延时。
|
||||
回收、页缓存抖动、直接规整、写保护复制等的累积延时。
|
||||
|
||||
取任务某计数器两个连续读数的差值,将得到任务在该时间间隔内等待对应资源的总延时。
|
||||
|
||||
@@ -100,6 +101,8 @@ getdelays命令的一般格式::
|
||||
0 0 0ms
|
||||
COMPACT count delay total delay average
|
||||
0 0 0ms
|
||||
WPCOPY count delay total delay average
|
||||
0 0 0ms
|
||||
|
||||
获取pid为1的IO计数,它只和-p一起使用::
|
||||
# ./getdelays -i -p 1
|
||||
|
||||
Reference in New Issue
Block a user