From owner-freebsd-questions@FreeBSD.ORG Sun Feb 24 11:26:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EF4216A401 for ; Sun, 24 Feb 2008 11:26:52 +0000 (UTC) (envelope-from tigger@lilypie.com) Received: from lilypie.com (lilypie.com [67.19.138.162]) by mx1.freebsd.org (Postfix) with ESMTP id 164F513C4D1 for ; Sun, 24 Feb 2008 11:26:51 +0000 (UTC) (envelope-from tigger@lilypie.com) Received: (qmail 5162 invoked by uid 1001); 24 Feb 2008 11:00:10 -0000 Date: Sun, 24 Feb 2008 22:00:10 +1100 From: Tigger To: freebsd-questions@freebsd.org Message-ID: <20080224110010.GA4447@edward.lilypie.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: Dual core CPU's, but only 2 CPU's in-use? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2008 11:26:52 -0000 Hello. I have a Xeon system with 2 CPU's installed (dual-cores). Under FreeBSD 6.2, a systat reported 4 CPUs in use and so did dmesg. Under FreeBSD 6.3, dmesg is reporting the 4 CPUs, but systat is only reporting 2 CPUs (CPU 0 and CPU 2). How do I enabled the second cores on the CPU's or are they really running but systat is not reporting the CPU load across the cores? dmesg from 6.3 (snipped): CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2790.73-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Features2=0x4400 Logical CPUs per core: 2 real memory = 2147352576 (2047 MB) avail memory = 2096242688 (1999 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 6 cpu3 (AP): APIC ID: 7 And sysctrl dev.cpu is interesting, the 4 CPUs are found but only 2 appear to be working (cx_usage is 100% or 0%): # sysctl dev.cpu dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.CPU0 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.cx_supported: C1/0 dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_usage: 100.00% dev.cpu.1.%desc: ACPI CPU dev.cpu.1.%driver: cpu dev.cpu.1.%location: handle=\_PR_.CPU1 dev.cpu.1.%pnpinfo: _HID=none _UID=0 dev.cpu.1.%parent: acpi0 dev.cpu.1.cx_supported: C1/0 dev.cpu.1.cx_lowest: C1 dev.cpu.1.cx_usage: 0% dev.cpu.2.%desc: ACPI CPU dev.cpu.2.%driver: cpu dev.cpu.2.%location: handle=\_PR_.CPU2 dev.cpu.2.%pnpinfo: _HID=none _UID=0 dev.cpu.2.%parent: acpi0 dev.cpu.2.cx_supported: C1/0 dev.cpu.2.cx_lowest: C1 dev.cpu.2.cx_usage: 100.00% dev.cpu.3.%desc: ACPI CPU dev.cpu.3.%driver: cpu dev.cpu.3.%location: handle=\_PR_.CPU3 dev.cpu.3.%pnpinfo: _HID=none _UID=0 dev.cpu.3.%parent: acpi0 dev.cpu.3.cx_supported: C1/0 dev.cpu.3.cx_lowest: C1 dev.cpu.3.cx_usage: 0% Thanks for any pointers on this one! -Tig