Is Your Linux Version Hiding Interrupt CPU Usage From You? | Tanel Poder Consulting #40
Replies: 1 comment 5 replies
-
https://elixir.bootlin.com/linux/v5.4.277/source/kernel/sched/cputime.c#L357 irqtime_account_process_tick
account_other_time
steal_account_process_time |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is Your Linux Version Hiding Interrupt CPU Usage From You? | Tanel Poder Consulting
TL;DR: Some Linux distros and even different kernel versions within a distro have disabled IRQ time accounting. In such case, your monitoring tools will report zero time spent in hardware interrupt handlers (shown as %hi, %irq, hiq, etc). It’s easy to check how your kernel is behaving by looking at /proc/stat and you can still measure interrupt CPU usage using perf and a little creativity.
Index Index Problem Explanation Kernel configuration options Measuring IRQ time with perf Different distros and kernel versions Summary Here’s a reminder that your Linux kernel may be not breaking down hardware interrupt CPU usage separately in its /proc/stat CPU time reporting, depending on the kernel’s compile-time settings. - Linux, Oracle, SQL performance tuning and troubleshooting - consulting & training.
https://tanelpoder.com/posts/linux-hiding-interrupt-cpu-usage/
Beta Was this translation helpful? Give feedback.
All reactions