From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 08:18:16 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3F9916A4CE for ; Fri, 27 Feb 2004 08:18:16 -0800 (PST) Received: from srvdmz13.oekb.co.at (srvdmz13.oekb.co.at [143.245.5.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8808C43D1D for ; Fri, 27 Feb 2004 08:18:15 -0800 (PST) (envelope-from Ewald.Jenisch@oekb.at) Received: from Unknown [143.245.2.191] by srvdmz13.oekb.co.at - SurfControl E-mail Filter (4.7); Fri, 27 Feb 2004 17:18:12 +0100 Received: from athena.oekb.co.at ([143.245.83.20]) by MAIL01.oekb.co.at with Microsoft SMTPSVC(5.0.2195.6713); Fri, 27 Feb 2004 17:18:11 +0100 Received: from athena.oekb.co.at (athena.oekb.co.at [127.0.0.1]) by athena.oekb.co.at (8.12.10/8.12.10) with ESMTP id i1RGIB3H021214 for ; Fri, 27 Feb 2004 17:18:11 +0100 Received: (from ej@localhost) by athena.oekb.co.at (8.12.10/8.12.10/Submit) id i1RGIB8J021213 for freebsd-questions@freebsd.org; Fri, 27 Feb 2004 17:18:11 +0100 Message-ID: <20040227161811.GA20903@athena.oekb.co.at> From: a@jenisch.at To: freebsd-questions@freebsd.org Date: Fri, 27 Feb 2004 17:18:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-OriginalArrivalTime: 27 Feb 2004 16:18:11.0726 (UTC) FILETIME=[4B7C6AE0:01C3FD4D] User-Agent: Mutt/1.4.1i Subject: SMP-kernel (5.2.1) - really two CPUs active? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2004 16:18:17 -0000 Upon setting up a machine with HT-CPU (P4 2.6GHz) I wonder if there's any way to display the actual workload on the virtual CPUs. First of all, here's what my /var/log/messages says: Feb 27 15:47:50 beastie kernel: CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz (2593.68-MHz 686-class CPU) Feb 27 15:47:50 beastie kernel: Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Feb 27 15:47:50 beastie kernel: Features=0xbfebfbff Feb 27 15:47:50 beastie kernel: Hyperthreading: 2 logical CPUs so to my understanding there should be two CPUs available. However neither "top" nor "systat" show any indication of more than one CPU. Please note that I've got options SMP # Symmetric MultiProcessor Kernel device apic # I/O APIC in my kernel - and don't have "I386_CPU" in my kernel config file. As a test I've used two instances of "cpuburn" which should, upon availability of two cpus, distribute among them (i.e. one cpuburn process per cpu) but again top doesn't show that there's more than one cpu. Here are my questions: o) Why does /var/log/message flag "2 CPUs" whereas "top" and other tools show only one? o) Any tools to see the actual load on the two virtual CPUs? TIA for your help, -ewald