Re: NUMA API observations

From: Paul Jackson
Date: Tue Jun 15 2004 - 13:31:25 EST


Manfred wrote:
> What's the largest number of cpus that are supported right now? 256?

Kernels for SGI's SN2 boxes are usually compiled with NR_CPUS == 512.
A quick grep of the default config files shows that is the largest.

> First call sysctl or whatever. If it fails, then glibc can assume 256.

Yes, one _could_ write code such as that.

Spend a little time looking at what glibc has done so far with these
API's. You will then doubt that the code you recommend would actually
happen consistently. Be forewarned - if you are on anti-depressant
medications, make sure your prescription is filled first.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.650.933.1373
-
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/