public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 0/2] sched, timers: simplify calc_load and avoid cpu iteration loop
@ 2009-05-14 11:21 Thomas Gleixner
  2009-05-14 11:21 ` [patch 1/2] sched, timers: move calc_load() to scheduler Thomas Gleixner
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Thomas Gleixner @ 2009-05-14 11:21 UTC (permalink / raw)
  To: LKML; +Cc: Andrew Morton, Dimitri Sivanich, Peter Zijlstra, Ingo Molnar

Dimitri Sivanich pointed out that calc_load iterates over all online
CPUs under xtime lock which can cause long latencies on large SMP
systems.

The following patch series removes the iteration loop and lets
scheduler_tick() on each CPU update the number of active tasks. The
calc_load() function just uses this variable and updates avenrun from
do_timer().

Dimitri, can you please test run this on one of your large machines ?

Thanks,

	tglx



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

end of thread, other threads:[~2009-05-15 12:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-14 11:21 [patch 0/2] sched, timers: simplify calc_load and avoid cpu iteration loop Thomas Gleixner
2009-05-14 11:21 ` [patch 1/2] sched, timers: move calc_load() to scheduler Thomas Gleixner
2009-05-14 20:00   ` Peter Zijlstra
2009-05-14 20:40     ` Thomas Gleixner
2009-05-15  5:13       ` Peter Zijlstra
2009-05-14 11:21 ` [patch 2/2] sched, timers: cleanup avenrun users Thomas Gleixner
2009-05-14 17:23 ` [patch 0/2] sched, timers: simplify calc_load and avoid cpu iteration loop Dimitri Sivanich
2009-05-14 19:26   ` Thomas Gleixner
2009-05-15 12:23 ` Dimitri Sivanich

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