WSL2-Linux-Kernel/Documentation/translations/zh_CN
Wang Yong eca7de7cdc delayacct: improve the average delay precision of getdelay tool to microsecond
Improve the average delay precision of getdelay tool to microsecond.  When
using the getdelay tool, it is sometimes found that the average delay
except CPU is not 0, but display is 0, because the precison is too low. 
For example, see delay average of SWAP below when using ZRAM.

print delayacct stats ON
PID	32915
CPU             count     real total  virtual total    delay total  delay average
               339202     2793871936     9233585504        7951112          0.000ms
IO              count    delay total  delay average
                   41      419296904             10ms
SWAP            count    delay total  delay average
               242589     1045792384              0ms

This wrong display is misleading, so improve the millisecond precision of
the average delay to microsecond just like CPU.  Then user would get more
accurate information of delay time.

Link: https://lkml.kernel.org/r/202302131408087983857@zte.com.cn
Signed-off-by: Wang Yong <wang.yong12@zte.com.cn>
Reviewed-by: Yang Yang <yang.yang29@zte.com.cn>
Cc: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-04-08 13:45:36 -07:00
..
PCI
accounting delayacct: improve the average delay precision of getdelay tool to microsecond 2023-04-08 13:45:36 -07:00
admin-guide Documentation/security-bugs: move from admin-guide/ to process/ 2023-03-12 15:56:43 +01:00
arm
arm64
core-api
cpu-freq
dev-tools
devicetree
doc-guide
driver-api
filesystems
iio
infiniband
kernel-hacking
locking
loongarch
maintainer
mips
mm docs/mm: hugetlbfs_reserv: fix a reference to a file that doesn't exist 2023-03-07 10:31:49 -07:00
openrisc
parisc
peci
power
process Documentation/security-bugs: move from admin-guide/ to process/ 2023-03-12 15:56:43 +01:00
riscv
rust
scheduler sched/doc: supplement CPU capacity with RISC-V 2023-03-07 10:19:04 -07:00
sound
staging
userspace-api
video4linux
virt
arch.rst
disclaimer-zh_CN.rst
glossary.rst
index.rst