public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] measure latency of cpu hotplug path
@ 2020-09-23 23:37 Prasad Sodagudi
  2020-09-23 23:37 ` [PATCH 1/2] cpu/hotplug: Add cpuhp_latency trace event Prasad Sodagudi
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Prasad Sodagudi @ 2020-09-23 23:37 UTC (permalink / raw)
  To: rostedt, tglx, qais.yousef, peterz, mingo, cai, tyhicks, arnd
  Cc: rameezmustafa, linux-kernel, Prasad Sodagudi

There are all changes related to cpu hotplug path and would like to seek
upstream review. These are all patches in Qualcomm downstream kernel
for a quite long time. First patch sets the rt prioity to hotplug
task and second patch adds cpuhp trace events.

1) cpu-hotplug: Always use real time scheduling when hotplugging a CPU
2) cpu/hotplug: Add cpuhp_latency trace event

Example logs:-  
cpu online -
         cpuhp/4-200   [004] ....   223.891886: cpuhp_enter: cpu: 0004 target: 213 step: 212 (sched_cpu_activate)
         cpuhp/4-200   [004] ....   223.891894: cpuhp_exit:  cpu: 0004  state: 212 step: 212 ret: 0
              sh-176   [000] ....   223.891912: cpuhp_exit:  cpu: 0004  state: 213 step:  86 ret: 0
              sh-176   [000] ....   223.891915: cpuhp_latency:  cpu:4 state:online latency:3874 USEC ret: 0

cpu offline - 
              sh-176   [000] ....   265.193490: cpuhp_exit:  cpu: 0004  state:   2 step:   2 ret: 0
              sh-176   [000] ....   265.193494: cpuhp_latency:  cpu:4 state:offline latency:57431 USEC ret: 0


Prasad Sodagudi (1):
  cpu/hotplug: Add cpuhp_latency trace event

Syed Rameez Mustafa (1):
  cpu-hotplug: Always use real time scheduling when hotplugging a CPU

 include/trace/events/cpuhp.h | 29 +++++++++++++++++++++++++
 kernel/cpu.c                 | 50 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-09-28 14:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-23 23:37 [PATCH 0/2] measure latency of cpu hotplug path Prasad Sodagudi
2020-09-23 23:37 ` [PATCH 1/2] cpu/hotplug: Add cpuhp_latency trace event Prasad Sodagudi
2020-09-28 14:58   ` Thomas Gleixner
2020-09-23 23:37 ` [PATCH 2/2] cpu-hotplug: Always use real time scheduling when hotplugging a CPU Prasad Sodagudi
2020-09-24  8:34 ` [PATCH 0/2] measure latency of cpu hotplug path peterz
2020-09-24 14:58   ` Steven Rostedt
2020-09-28  2:41     ` psodagud
2020-09-28  7:40       ` Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox