lkml.org 
[lkml]   [2006]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: + sched-use-tasklet-to-call-balancing.patch added to -mm tree

* Christoph Lameter <clameter@sgi.com> wrote:

> Tasklets are scheduled on the same cpu that triggered the tasklet.
> They are just moved to other processors if the processor goes down. So
> that aspect is fine. We just need a tasklet struct per cpu.
>
> User a per cpu tasklet to schedule rebalancing
>
> Turns out that tasklets have a flag that only allows one instance to
> run on all processors. So we need a tasklet structure for each
> processor.

Per-CPU tasklets are equivalent to softirqs, with extra complexity and
overhead ontop of it :-)

so please just introduce a rebalance softirq and attach the scheduling
rebalance tick to it. But i'd suggest to re-test on the 4096-CPU box,
maybe what 'fixed' your workload was the global serialization of the
tasklet. With a per-CPU softirq approach we are i think back to the same
situation that broke your system before.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-11-07 21:35    [W:0.069 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site