lkml.org 
[lkml]   [2010]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: nr_cpu_ids incorrect on AMD Quad-Core Opteron 8380
On Tue, Feb 02, 2010 at 01:49:06PM +1300, zhiyi wrote:
> The dmesg relevant to nr_cpu_ids of the quad socket is:
>
> [ 0.000000] NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:32 nr_node_ids:4
>

No, this is not the relevant info. I was actually looking for the MADT ACPI
table and whether there are disabled entries like so:

[ 0.000000] ACPI: LAPIC (acpi-id[0x03] lapic-id[0x02] enabled)
[ 0.000000] ACPI: LAPIC (acpi-id[0x04] lapic-id[0x03] enabled)
[ 0.000000] ACPI: LAPIC (acpi-id[0x05] lapic-id[0x84] disabled)
[ 0.000000] ACPI: LAPIC (acpi-id[0x06] lapic-id[0x85] disabled)

because if there are, nr_cpu_ids will include those when you don't boot
with "possible_cpus=N".

Anyhow, you can read this for more info: http://www.pubbs.net/kernel/200912/64310/

--
Regards/Gruss,
Boris.


\
 
 \ /
  Last update: 2010-02-02 08:11    [W:0.046 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site