Re: sched_domains + NUMA issue

From: Jesse Barnes
Date: Sun Aug 29 2004 - 11:42:29 EST


On Sunday, August 29, 2004 4:18 am, Anton Blanchard wrote:
> Hi,
>
> We are seeing errors in the sched domains debug code when SMT + NUMA is
> enabled. Nathan pointed out that the recent change to limit the number
> of nodes in a scheduling group may be causing this - in particular
> sched_domain_node_span.
>
> It looks like ia64 are the only ones implementing a reasonable
> node_distance, the others just do:
>
> #define node_distance(from,to) (from != to)
>
> On these architectures I wonder if we should disable the
> sched_domain_node_span code since we will just get a random grouping of
> cpus.

Hmm... for now that's probably a good idea. There's no CONFIG_NUMA_* value we
could key off of to figure out if node_distance is sane, so it's probably our
only option.

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