Open tpashkin opened 3 months ago
Currently we use cpuacct.wait counter provided by RTC patch to calculate CpuWait metric. Alternatively we could use standard kernel.task_delayacct described in https://www.kernel.org/doc/Documentation/accounting/delay-accounting.rst
cpuacct.wait
kernel.task_delayacct
Example from ClickHouse: https://github.com/ClickHouse/ClickHouse/blob/22f60954841f75d1a8cc96bce7b30ec77c72d5da/src/Common/ThreadProfileEvents.cpp#L157
Currently we use
cpuacct.wait
counter provided by RTC patch to calculate CpuWait metric. Alternatively we could use standardkernel.task_delayacct
described in https://www.kernel.org/doc/Documentation/accounting/delay-accounting.rstExample from ClickHouse: https://github.com/ClickHouse/ClickHouse/blob/22f60954841f75d1a8cc96bce7b30ec77c72d5da/src/Common/ThreadProfileEvents.cpp#L157