Yang Yang
a3b2aeac9d
delayacct: track delays from IRQ/SOFTIRQ
...
Delay accounting does not track the delay of IRQ/SOFTIRQ. While
IRQ/SOFTIRQ could have obvious impact on some workloads productivity, such
as when workloads are running on system which is busy handling network
IRQ/SOFTIRQ.
Get the delay of IRQ/SOFTIRQ could help users to reduce such delay. Such
as setting interrupt affinity or task affinity, using kernel thread for
NAPI etc. This is inspired by "sched/psi: Add PSI_IRQ to track
IRQ/SOFTIRQ pressure"[1]. Also fix some code indent problems of older
code.
And update tools/accounting/getdelays.c:
/ # ./getdelays -p 156 -di
print delayacct stats ON
printing IO accounting
PID 156
CPU count real total virtual total delay total delay average
15 15836008 16218149 275700790 18.380ms
IO count delay total delay average
0 0 0.000ms
SWAP count delay total delay average
0 0 0.000ms
RECLAIM count delay total delay average
0 0 0.000ms
THRASHING count delay total delay average
0 0 0.000ms
COMPACT count delay total delay average
0 0 0.000ms
WPCOPY count delay total delay average
36 7586118 0.211ms
IRQ count delay total delay average
42 929161 0.022ms
[1] commit 52b1364ba0b1("sched/psi: Add PSI_IRQ to track IRQ/SOFTIRQ pressure")
Link: https://lkml.kernel.org/r/202304081728353557233@zte.com.cn
Signed-off-by: Yang Yang <yang.yang29@zte.com.cn >
Cc: Jiang Xuexin <jiang.xuexin@zte.com.cn >
Cc: wangyong <wang.yong12@zte.com.cn >
Cc: junhua huang <huang.junhua@zte.com.cn >
Cc: Balbir Singh <bsingharora@gmail.com >
Cc: Ingo Molnar <mingo@redhat.com >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Juri Lelli <juri.lelli@redhat.com >
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
2023-04-18 16:39:34 -07:00
..
2023-01-16 09:26:05 +01:00
2023-01-25 08:55:19 -08:00
2023-02-08 21:53:24 +01:00
2023-02-02 13:40:23 +01:00
2023-01-16 09:26:05 +01:00
2023-02-10 10:16:42 +01:00
2023-02-24 17:18:54 -08:00
2023-01-13 08:40:41 +00:00
2023-02-27 10:04:49 -08:00
2023-01-20 18:20:38 -08:00
2023-02-22 11:05:56 -08:00
2023-02-16 13:42:22 +01:00
2023-03-14 14:00:55 -04:00
2023-02-26 18:31:37 +00:00
2023-02-25 15:16:23 -08:00
2023-02-24 15:11:03 -08:00
2023-02-24 15:11:03 -08:00
2023-02-27 09:47:26 -08:00
2023-03-01 09:06:51 -08:00
2023-02-25 11:30:21 -08:00
2023-02-03 10:52:49 +05:30
2023-02-24 17:12:23 -08:00
2023-02-25 15:01:32 -08:00
2023-02-14 08:19:38 -08:00
2023-02-23 17:09:35 -08:00
2023-02-27 10:04:49 -08:00
2023-02-24 17:29:52 -08:00
2023-02-24 12:58:55 -08:00
2023-01-27 13:45:52 +01:00
2023-02-20 09:20:55 -05:00
2023-02-24 12:58:55 -08:00
2023-02-24 12:07:00 -08:00
2023-03-19 10:48:35 +00:00
2023-02-24 12:58:55 -08:00
2023-02-03 21:59:41 +01:00
2023-01-24 13:41:57 +01:00
2023-02-07 12:53:53 +01:00
2023-01-12 11:22:22 +01:00
2023-02-09 23:01:49 +01:00
2023-02-15 19:38:50 +01:00
2023-01-19 14:46:25 +01:00
2023-01-31 14:42:10 +01:00
2023-03-14 09:25:50 -06:00
2023-03-15 09:25:04 -06:00
2023-02-22 08:27:49 +09:00
2023-02-13 13:37:37 -08:00
2023-02-15 15:40:06 -08:00
2023-02-02 00:25:13 +01:00
2023-01-18 17:12:39 -08:00
2023-02-03 08:20:55 -07:00
2023-01-31 16:02:02 +01:00
2023-03-01 10:01:22 -08:00
2023-03-09 15:40:49 -08:00
2023-01-13 11:48:15 +01:00
2023-03-05 10:49:37 -08:00
2023-03-05 10:49:37 -08:00
2023-01-19 15:06:42 +01:00
2023-02-24 12:17:14 -08:00
2023-01-31 12:44:20 +01:00
2023-03-21 11:53:16 +01:00
2023-03-21 11:53:16 +01:00
2023-01-19 10:16:47 +00:00
2023-01-20 11:38:15 +00:00
2023-01-13 11:48:15 +01:00
2023-02-09 20:19:18 +01:00
2023-03-31 10:06:16 +02:00
2023-01-18 12:27:17 +01:00
2023-03-25 12:57:34 -07:00
2023-02-13 18:35:15 +08:00
2023-02-02 22:33:25 -08:00
2023-02-10 17:33:34 -08:00
2023-04-18 16:39:34 -07:00
2023-01-30 07:37:40 -08:00
2023-02-14 14:23:06 -05:00
2023-02-08 13:37:54 +01:00
2023-01-19 16:07:40 +01:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-15 12:35:20 +01:00
2023-02-24 17:18:54 -08:00
2023-02-03 11:06:03 +01:00
2023-01-29 15:18:33 -07:00
2023-01-29 15:18:33 -07:00
2023-01-29 15:18:33 -07:00
2023-01-29 15:18:33 -07:00
2023-03-13 23:28:43 +01:00
2023-02-02 22:50:00 -08:00
2023-02-06 19:06:58 +01:00
2023-01-26 15:28:25 +01:00
2023-02-13 11:05:12 +00:00
2023-01-19 09:24:28 +01:00
2023-02-25 12:53:42 -08:00
2023-01-31 10:47:45 -08:00
2023-02-07 12:53:53 +01:00
2023-03-13 10:14:05 +01:00
2023-01-19 09:24:27 +01:00
2023-01-27 11:19:46 +00:00
2023-03-19 10:02:04 -07:00
2023-02-24 12:58:55 -08:00
2023-02-23 17:09:35 -08:00
2023-02-20 12:33:41 -08:00
2023-01-27 14:46:31 -08:00
2023-04-03 11:52:04 -04:00
2023-02-08 13:37:54 +01:00
2023-02-02 22:33:13 -08:00
2023-01-30 15:55:29 +01:00
2023-01-17 18:50:06 +01:00
2023-04-08 13:45:38 -07:00
2023-01-18 22:08:38 +01:00
2023-02-23 11:51:56 +01:00
2023-02-13 14:16:35 +01:00
2023-03-07 01:50:53 -05:00
2023-02-24 12:47:33 -08:00
2023-01-26 15:55:38 +01:00
2023-02-02 22:33:00 -08:00
2023-02-13 15:54:27 -08:00
2023-02-23 17:09:35 -08:00
2023-02-16 11:34:19 -08:00
2023-02-24 12:58:55 -08:00
2023-03-09 21:59:11 +01:00
2023-02-02 21:08:32 +01:00
2023-02-16 09:33:25 +01:00
2023-01-27 11:19:45 +00:00
2023-02-22 12:36:25 -08:00
2023-02-06 13:47:40 +01:00
2023-03-07 22:19:05 +02:00
2023-02-22 09:57:23 -07:00
2023-03-20 20:01:25 -06:00
2023-02-22 13:50:13 -08:00
2023-02-24 14:34:12 -08:00
2023-02-03 15:45:23 -04:00
2023-02-01 20:54:27 -08:00
2023-02-05 10:57:55 +00:00
2023-02-24 14:34:12 -08:00
2023-01-25 09:46:49 +00:00
2023-01-26 06:59:40 -05:00
2023-03-12 08:55:55 -07:00
2023-01-18 17:12:55 -08:00
2023-04-08 13:45:38 -07:00
2023-04-08 13:45:38 -07:00
2023-02-13 10:11:20 +02:00
2023-01-27 13:45:53 +01:00
2023-02-21 08:49:16 +09:00
2023-03-27 10:13:28 -04:00
2023-03-27 10:13:28 -04:00
2023-01-19 21:48:38 +00:00
2023-01-30 08:03:35 +00:00
2023-01-14 07:32:42 +09:00
2023-02-13 17:01:05 -08:00
2023-02-06 15:31:05 +01:00
2023-01-19 09:24:28 +01:00
2023-01-19 09:24:28 +01:00
2023-02-09 16:51:30 -08:00
2023-01-31 15:01:47 +01:00
2023-01-27 13:45:49 +01:00
2023-02-13 11:12:31 +00:00
2023-02-23 17:09:35 -08:00
2023-02-10 17:33:29 -08:00
2023-01-27 12:31:41 +05:30
2023-02-08 09:16:07 +00:00
2023-02-20 12:46:18 -08:00
2023-02-02 22:33:27 -08:00
2023-02-23 17:09:35 -08:00
2023-02-23 17:09:35 -08:00
2023-02-02 22:33:24 -08:00
2023-02-02 22:32:54 -08:00
2023-02-02 22:33:28 -08:00
2023-01-19 09:24:30 +01:00
2023-02-23 14:05:08 -08:00
2023-02-23 14:00:10 -08:00
2023-02-24 19:20:07 -08:00
2023-03-05 11:19:16 -08:00
2023-02-22 14:21:40 -08:00
2023-03-15 00:04:04 -07:00
2023-02-22 21:25:23 -08:00
2023-02-20 17:25:43 -06:00
2023-02-01 21:04:09 -08:00
2023-02-22 14:47:20 -08:00
2023-02-14 14:22:33 -05:00
2023-02-20 09:20:21 -05:00
2023-01-19 15:55:12 -08:00
2023-02-21 14:45:22 -08:00
2023-03-22 09:19:56 +01:00
2023-03-15 14:58:52 +01:00
2023-02-06 19:06:59 +01:00
2023-02-06 19:06:59 +01:00
2023-02-11 12:37:51 +01:00
2023-01-25 11:48:27 +01:00
2023-01-27 13:45:28 +01:00
2023-01-30 15:55:31 +01:00
2023-01-25 11:48:28 +01:00
2023-03-19 10:48:35 +00:00
2023-02-24 13:31:53 -08:00
2023-02-02 22:33:22 -08:00
2023-01-11 16:14:22 -08:00
2023-02-02 22:33:34 -08:00
2023-02-23 17:09:35 -08:00
2023-02-02 22:33:18 -08:00
2023-01-18 17:12:39 -08:00
2023-01-20 13:12:00 +01:00
2023-01-16 09:26:06 +01:00
2023-01-31 09:34:41 +09:00
2023-02-25 11:48:02 -08:00
2023-02-14 07:27:32 +09:00
2023-02-14 07:27:32 +09:00
2023-03-13 09:15:11 +01:00
2023-03-19 10:02:04 -07:00
2023-01-13 11:48:17 +01:00
2023-01-18 11:57:20 +01:00
2023-02-09 16:51:40 -08:00
2023-03-27 08:12:01 +01:00
2023-03-31 09:23:41 +01:00
2023-01-18 17:12:37 -08:00
2023-02-20 17:25:43 -06:00
2023-01-17 19:04:17 +01:00
2023-02-13 19:17:34 +01:00
2023-02-21 18:24:12 -08:00
2023-01-19 09:24:28 +01:00
2023-01-19 14:39:04 +01:00
2023-01-13 08:40:41 +00:00
2023-02-22 10:55:22 +00:00
2023-01-30 16:42:45 +01:00
2023-01-19 09:24:29 +01:00
2023-02-10 17:32:37 -08:00
2023-04-18 16:39:33 -07:00
2023-02-02 16:33:43 -08:00
2023-02-17 00:08:44 +00:00
2023-01-23 17:40:30 +01:00
2023-02-27 17:00:14 -08:00
2023-02-20 17:41:08 -08:00
2023-01-19 09:49:54 +00:00
2023-01-19 09:24:28 +01:00
2023-01-19 16:04:35 +01:00
2023-01-19 15:01:19 +01:00
2023-03-27 08:12:01 +01:00
2023-02-27 10:49:43 +01:00
2023-02-09 16:51:42 -08:00
2023-02-09 15:56:51 -08:00
2023-02-20 16:46:10 -08:00
2023-01-18 17:12:55 -08:00
2023-01-18 17:12:55 -08:00
2023-01-31 20:37:18 +01:00
2023-02-16 20:43:52 -08:00
2023-01-26 07:00:06 -05:00
2023-03-19 10:56:03 +00:00
2023-02-09 22:30:24 -08:00
2023-01-18 17:12:47 -08:00
2023-01-31 17:25:17 -08:00
2023-01-18 17:12:38 -08:00
2023-02-16 18:10:18 +01:00
2023-03-18 11:44:57 +01:00
2023-03-22 15:20:38 +01:00
2023-01-13 11:48:16 +01:00
2023-02-07 18:20:00 -08:00
2023-01-13 17:15:17 +01:00
2023-02-13 10:11:20 +02:00
2023-02-12 10:23:39 -05:00
2023-01-31 15:01:46 +01:00
2023-02-07 12:42:54 -05:00
2023-02-07 12:49:56 -05:00
2023-03-14 17:07:54 -07:00
2023-01-20 14:22:50 +01:00
2023-01-19 16:04:35 +01:00
2023-01-19 16:04:35 +01:00
2023-01-19 16:04:35 +01:00
2023-01-12 20:57:43 -08:00
2023-01-20 12:06:26 +01:00
2023-02-08 15:26:58 -08:00
2023-02-08 15:26:58 -08:00
2023-02-22 17:12:44 -08:00
2023-01-23 15:38:08 +01:00
2023-01-18 17:12:53 -08:00
2023-02-23 17:55:40 -08:00
2023-02-03 07:23:03 +01:00
2023-02-20 19:26:58 -05:00
2023-02-09 11:43:39 -07:00
2023-02-15 06:46:22 -05:00
2023-02-20 19:26:58 -05:00
2023-01-16 13:26:33 +00:00
2023-01-27 13:45:46 +01:00
2023-02-09 16:51:42 -08:00
2023-02-20 19:26:59 -05:00
2023-02-02 22:33:34 -08:00
2023-02-02 22:33:24 -08:00
2023-01-19 09:24:28 +01:00