linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V6 0/2] tracing, perf: cpu hotplug trace events
@ 2011-03-01 16:05 Vincent Guittot
  2011-03-02  7:56 ` Ingo Molnar
  0 siblings, 1 reply; 7+ messages in thread
From: Vincent Guittot @ 2011-03-01 16:05 UTC (permalink / raw)
  To: linux-kernel, linux-hotplug, fweisbec, rostedt, amit.kucheria,
	mingo, rusty, tglx

This patchset adds some tracepoints for tracing cpu state and for
profiling the plug and unplug sequence.

Some SMP arm platform uses cpu hotplug feature for improving their
power saving because they can go into their deepest idle state only in
mono core mode. In addition, running into mono core mode makes the
cpuidle job easier and more efficient which also results in the
improvement of power saving of some use cases. As the plug state of a
cpu can impact the cpuidle behavior, it's interesting to trace this
state and to correlate it with cpuidle traces.
Then, cpu hotplug is known to be an expensive operation which also
takes a variable time depending of other processes' activity (from
hundreds ms up to few seconds). These traces have shown that the arch
part stays almost constant on arm platform whatever the cpu load is,
whereas the plug duration increases.

---
 include/trace/events/cpu_hotplug.h |  103 ++++++++++++++++++++++++++++++++++++
 kernel/cpu.c                       |   18 ++++++
 2 files changed, 121 insertions(+), 0 deletions(-)
 create mode 100644 include/trace/events/cpu_hotplug.h

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

end of thread, other threads:[~2011-03-07 11:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-01 16:05 [PATCH V6 0/2] tracing, perf: cpu hotplug trace events Vincent Guittot
2011-03-02  7:56 ` Ingo Molnar
2011-03-02 10:57   ` Thomas Renninger
2011-03-02 19:02     ` Vincent Guittot
2011-03-02 22:07       ` Thomas Renninger
2011-03-03 22:42         ` Steven Rostedt
2011-03-07 11:25           ` Amit Kucheria

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).