All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL timers] Timer-wheel bandaids^Wcommits for 3.15
@ 2014-02-28  1:27 Paul E. McKenney
  2014-02-28  5:06 ` Mike Galbraith
  0 siblings, 1 reply; 3+ messages in thread
From: Paul E. McKenney @ 2014-02-28  1:27 UTC (permalink / raw)
  To: tglx, mingo; +Cc: linux-kernel, josh, peterz, oleg, rostedt, bitbucket

Hello, Thomas and Ingo,

This pull request contains latency bandaids^Woptimizations to the
timer-wheel code that are useful in conjunction with NO_HZ_FULL Kconfig
option.  These optimizations reduce the jiffy-by-jiffy looping in cases
where there is either zero or one timers in the timer wheel, which is
a common case for NO_HZ_FULL "worker" CPUs that run almost entirely
in usermode for a single task.

This is of course no substitute for a more extensive reworking of the
timer-wheel code, but it does provide some simple patches that can
provide significant latency improvements for NO_HZ_FULL systems that
have CPUs that very rarely enter the kernel.

							Thanx, Paul

These changes since commit 849401b66d305f3feb75b6db7459b95ad190552a:

  tick: Fixup more fallout from hrtimer broadcast mode (2014-02-09 15:11:47 +0100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git timers.2014.02.25a

for you to fetch changes up to aea369b959bef10d235cd0714789cd8b0fe170b8:

  timers: Make internal_add_timer() update ->next_timer if ->active_timers == 0 (2014-02-25 12:39:01 -0800)

----------------------------------------------------------------
Oleg Nesterov (1):
      timers: Make internal_add_timer() update ->next_timer if ->active_timers == 0

Paul E. McKenney (4):
      timers: Track total number of timers in list
      timers: Reduce __run_timers() latency for empty list
      timers: Reduce future __run_timers() latency for newly emptied list
      timers: Reduce future __run_timers() latency for first add to empty list

 kernel/timer.c | 30 ++++++++++++++++++++++++++++--
 1 file changed, 28 insertions(+), 2 deletions(-)


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

* Re: [GIT PULL timers] Timer-wheel bandaids^Wcommits for 3.15
  2014-02-28  1:27 [GIT PULL timers] Timer-wheel bandaids^Wcommits for 3.15 Paul E. McKenney
@ 2014-02-28  5:06 ` Mike Galbraith
  2014-02-28 16:10   ` Paul E. McKenney
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Galbraith @ 2014-02-28  5:06 UTC (permalink / raw)
  To: paulmck; +Cc: tglx, mingo, linux-kernel, josh, peterz, oleg, rostedt

On Thu, 2014-02-27 at 17:27 -0800, Paul E. McKenney wrote: 
> Hello, Thomas and Ingo,
> 
> This pull request contains latency bandaids^Woptimizations to the
> timer-wheel code that are useful in conjunction with NO_HZ_FULL Kconfig
> option.  These optimizations reduce the jiffy-by-jiffy looping in cases
> where there is either zero or one timers in the timer wheel, which is
> a common case for NO_HZ_FULL "worker" CPUs that run almost entirely
> in usermode for a single task.

FWIW, these have seen quite a bit of runtime on various boxen, both in
day to day and piddle about -rt kernels, with zero attention grabbers.

-Mike


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

* Re: [GIT PULL timers] Timer-wheel bandaids^Wcommits for 3.15
  2014-02-28  5:06 ` Mike Galbraith
@ 2014-02-28 16:10   ` Paul E. McKenney
  0 siblings, 0 replies; 3+ messages in thread
From: Paul E. McKenney @ 2014-02-28 16:10 UTC (permalink / raw)
  To: Mike Galbraith; +Cc: tglx, mingo, linux-kernel, josh, peterz, oleg, rostedt

On Fri, Feb 28, 2014 at 06:06:38AM +0100, Mike Galbraith wrote:
> On Thu, 2014-02-27 at 17:27 -0800, Paul E. McKenney wrote: 
> > Hello, Thomas and Ingo,
> > 
> > This pull request contains latency bandaids^Woptimizations to the
> > timer-wheel code that are useful in conjunction with NO_HZ_FULL Kconfig
> > option.  These optimizations reduce the jiffy-by-jiffy looping in cases
> > where there is either zero or one timers in the timer wheel, which is
> > a common case for NO_HZ_FULL "worker" CPUs that run almost entirely
> > in usermode for a single task.
> 
> FWIW, these have seen quite a bit of runtime on various boxen, both in
> day to day and piddle about -rt kernels, with zero attention grabbers.

Thank you very much for your testing efforts, Mike!

							Thanx, Paul


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

end of thread, other threads:[~2014-02-28 16:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-28  1:27 [GIT PULL timers] Timer-wheel bandaids^Wcommits for 3.15 Paul E. McKenney
2014-02-28  5:06 ` Mike Galbraith
2014-02-28 16:10   ` Paul E. McKenney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.