public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* lttng and full nohz
@ 2013-04-29  9:25 Mats Liljegren
  2013-07-08 12:07 ` Mathieu Desnoyers
  0 siblings, 1 reply; 2+ messages in thread
From: Mats Liljegren @ 2013-04-29  9:25 UTC (permalink / raw)
  To: linux-kernel, Frederic Weisbecker, Mathieu Desnoyers

I've been investigating why lttng destroys full nohz mode, and the
root cause is that lttng uses timers for flushing trace buffers. So
I'm planning on moving the timers to the ticking CPU, so that any CPU
using full nohz mode can continue to do so even though they might have
tracepoints.

I can see that kernel/sched/core.c has the function
get_nohz_timer_target() which tries to find an idle CPU to allocate
for a timer that has not specified a CPU to be pinned to.

My question here is: For full nohz mode, should this still be "only"
an idle CPU, or should it be translated to a CPU not running in full
nohz mode? I'd think this could make it a lot easier to allow
applications to make full use of full nohz.

/Mats

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

end of thread, other threads:[~2013-07-08 12:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-29  9:25 lttng and full nohz Mats Liljegren
2013-07-08 12:07 ` Mathieu Desnoyers

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