Re: [PATCH 0/2] faking and fixing the NUMA SLIT
From: Andi Kleen
Date: Wed Jul 18 2007 - 05:42:33 EST
On Wednesday 18 July 2007 11:30:01 Joachim Deguara wrote:
> The problem with NUMA distances in the SLIT is that they are often wrong, oh
> wait they aren't there at all because the BIOS didn't create a SLIT since
> Windows does not use it. ÂIf Linux does not find a slit it just says the
> distance to local=10 and remote=20 according to ACPI spec. ÂThe problem is
> when we have a 4P system (or larger), there is generally one node where we
> have two hops and its distance should be >20.
>
> Following are patches to first fake the SLIT in the ACPI code and then add
> ability to write the distances from sysfs.
The main use for the SLIT information are the zone fallback lists in
the VM. These are created at boot. If you change the SLIT later these
won't be regenerated.
The scheduler also uses it for load balancing, but it is much less
important there than in the VM.
The only use would be for libnuma applications that read the SLIT later,
but I'm not aware of any.
Don't think that is really useful.
If anything you would probably need a early boot option for this, but that
would become so ugly that I would rather ask for fixing the BIOSes.
Or implement true node hotplug, but that would be also a lot of work.
On 4S it should not make that much difference anyways and 8S is hopefully
ok.
-Andi
-
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/