[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061120164338.B17305@unix-os.sc.intel.com>
Date: Mon, 20 Nov 2006 16:43:38 -0800
From: "Siddha, Suresh B" <suresh.b.siddha@...el.com>
To: Christoph Lameter <clameter@....com>
Cc: "Siddha, Suresh B" <suresh.b.siddha@...el.com>, mingo@...e.hu,
nickpiggin@...oo.com.au, akpm@...l.org,
linux-kernel@...r.kernel.org, kenneth.w.chen@...el.com
Subject: Re: [patch] sched: decrease number of load balances
On Mon, Nov 20, 2006 at 04:39:03PM -0800, Christoph Lameter wrote:
> On Mon, 20 Nov 2006, Siddha, Suresh B wrote:
>
> > + if (local_group && balance_cpu != this_cpu && balance) {
>
> This would need to be *balance right? balance is always != 0.
No. In newly idle case it is NULL. In newly idle case there is likely
some imbalance and hence wanted to go through normal logic of doing load balance
till it finds something. newly idle balance anyhow won't do load balance at NUMA
domain.
> How well was this patch tested?
We have run it through workloads which are used to identify kernel perf
regressions and ran on several DP and MP systems with HT and MC.
(workloads and system info can be found at http://kernel-perf.sourceforge.net)
We didn't find any regression with this patch.
We are also doing more testing with this patch and also wanted to get it tested
in -mm.
> We already have idle processors pulling processes from elsewhere in the
> system. Load balancing on an idle processor could only replicate the
> balance on idle logic.
My patch is not changing any idle load balancing logic and hence it is no
less/more aggressive as the current one.
What do you mean by "balance on idle logic"? Are you referring to load_idx that
gets used, based on the processor is idle/busy?
Even with out this patch, if there is an idle processor in a group at domain level
'x', then the idle processor will do an idle load balance between the groups
at level 'x'. This patch just cuts down the load balances done by the busy
and other idle cpus in the group.
thanks,
suresh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists