Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261920AbVDVCTV (ORCPT ); Thu, 21 Apr 2005 22:19:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261921AbVDVCTV (ORCPT ); Thu, 21 Apr 2005 22:19:21 -0400 Received: from mail.tyan.com ([66.122.195.4]:64777 "EHLO tyanweb.tyan") by vger.kernel.org with ESMTP id S261920AbVDVCTN (ORCPT ); Thu, 21 Apr 2005 22:19:13 -0400 Message-ID: <3174569B9743D511922F00A0C943142309B075AF@TYANWEB> From: YhLu To: Andi Kleen Cc: linux-kernel@vger.kernel.org Subject: x86-64 dual core mapping Date: Thu, 21 Apr 2005 19:38:07 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2045 Lines: 74 Andi, I tried 2.6.12-rc3 with dual way dual cpus. It seems right mapping should be CPU 0(2) -> Node 0 -> Core 0 CPU 1(2) -> Node 0 -> Core 1 CPU 2(2) -> Node 1 -> Core 0 CPU 3(2) -> Node 1 -> Core 1 instead of CPU 0(2) -> Node 0 -> Core 0 CPU 1(2) -> Node 0 -> Core 0 CPU 2(2) -> Node 1 -> Core 1 CPU 3(2) -> Node 1 -> Core 1 YH CPU 0(2) -> Node 0 -> Core 0 Using local APIC NMI watchdog using perfctr0 enabled ExtINT on CPU#0 ENABLING IO-APIC IRQs Using IO-APIC 4 ...changing IO-APIC physical APIC ID to 4 ... ok. Using IO-APIC 5 ...changing IO-APIC physical APIC ID to 5 ... ok. Using IO-APIC 6 ...changing IO-APIC physical APIC ID to 6 ... ok. Using IO-APIC 7 ...changing IO-APIC physical APIC ID to 7 ... ok. Synchronizing Arb IDs. ..TIMER: vector=0x31 pin1=0 pin2=2 testing the IO APIC....................... .................................... done. Using local APIC timer interrupts. Detected 12.564 MHz APIC timer. Booting processor 1/1 rip 6000 rsp ffff81007ff99f58 Initializing CPU#1 masked ExtINT on CPU#1 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 1024K (64 bytes/line) CPU 1(2) -> Node 0 -> Core 0 stepping 00 Synced TSC of CPU 1 difference 30064769976 Booting processor 2/2 rip 6000 rsp ffff81013ffa3f58 Initializing CPU#2 masked ExtINT on CPU#2 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 1024K (64 bytes/line) CPU 2(2) -> Node 1 -> Core 1 stepping 00 Synced TSC of CPU 2 difference 30064770021 Booting processor 3/3 rip 6000 rsp ffff81007ff49f58 Initializing CPU#3 masked ExtINT on CPU#3 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 1024K (64 bytes/line) CPU 3(2) -> Node 1 -> Core 1 stepping 00 Synced TSC of CPU 3 difference 30064770021 Brought up 4 CPUs - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/