Re: broken maxcpus in 2.4.24
From: James Schmidt
Date: Tue Feb 03 2004 - 18:40:32 EST
Hope this hasn't been posted already.
Not sure if I am right or not on this but this seems to be related, at
least on my box, to the APIC IDs of the CPUs. I am using an Intel
SE7500CW, populated with 2x XEONs. The APIC ID's of the CPUs are 0 & 1
for the first physical CPU, and 6 & 7 for the second physical CPU (don't
ask me why). If I don't use NR_CPUs = 8, I don't seem to see the second
physical CPU. Someone correct me if I'm wrong.
-James
On Mon, 2 Feb 2004, Dan Christian wrote:
> I compiled a vanilla 2.4.24 for a 2 processor Xeon.
>
> I set CONFIG_NR_CPUS to 4 (2 CPUs x 2 hyperthreads each).
>
> When I boot the kernel, /proc/cpuinfo only shows 2 cpus (0-1) and
> performance is bad.
>
> I reconfigure CONFIG_NR_CPUS back to 32. Now it shows 4 cpus (0-3) and
> performance is normal.
>
> Is this a bug or am misunderstanding how to set this configuration
> variable?
>
> -Dan Christian
>
-
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/