From owner-freebsd-current@FreeBSD.ORG Thu Oct 28 13:07:47 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B719F16A4CE for ; Thu, 28 Oct 2004 13:07:47 +0000 (GMT) Received: from alpha.siliconlandmark.com (alpha.siliconlandmark.com [209.69.98.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 379AC43D4C for ; Thu, 28 Oct 2004 13:07:47 +0000 (GMT) (envelope-from andy@siliconlandmark.com) Received: from alpha.siliconlandmark.com (andy@localhost [127.0.0.1]) i9SD7jPe082645; Thu, 28 Oct 2004 09:07:45 -0400 (EDT) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost)i9SD7jFt082642; Thu, 28 Oct 2004 09:07:45 -0400 (EDT) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: alpha.siliconlandmark.com: andy owned process doing -bs Date: Thu, 28 Oct 2004 09:07:45 -0400 (EDT) From: Andre Guibert de Bruet To: Rob In-Reply-To: <4180EA86.6030001@yahoo.com> Message-ID: <20041028085757.W42571@alpha.siliconlandmark.com> References: <4180EA86.6030001@yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean cc: freebsd-current Subject: Re: 5.3 & SMP How do I know my 2 CPUs are used? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2004 13:07:47 -0000 On Thu, 28 Oct 2004, Rob wrote: > I have tried to create a kernel for my dual CPU motherboard: > Intel Pentium III (801.82-MHz 686-class CPU) > > But what is the command that proofs to me that > both CPUs are indeed recognized and in use. > Is it the dmesg output, or mptable command? [snip] > So? Am I there? Is my FreeBSD now running on two processors? One cannot tell from the text that you pasted. Look for the following message to be printed out in a boot -v: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 I have a boot -v and a kernel config for a dual-proc athlon up at: http://bling.properkernel.com/freebsd/boot-v.txt http://bling.properkernel.com/freebsd/BLING > With the top command, I can't see anything special for my 2 CPUs. > Is that right? Under SMP, there's a "C" column that shows up: PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 2782 root 5 0 2080K 1448K ttyin 3 7:35 1.95% 1.95% systat Regards, Andy | Andre Guibert de Bruet | Enterprise Software Consultant > | Silicon Landmark, LLC. | http://siliconlandmark.com/ >