From owner-freebsd-current@FreeBSD.ORG Thu Oct 28 12:48:13 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 9A48416A4CE for ; Thu, 28 Oct 2004 12:48:13 +0000 (GMT) Received: from auk2.snu.ac.kr (auk2.snu.ac.kr [147.46.100.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42CF243D2D for ; Thu, 28 Oct 2004 12:48:13 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from [147.46.44.181] (spamrefuse@yahoo.com) by auk2.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004102821:47:50:902848.7481.2915474352 for ; Thu, 28 Oct 2004 21:47:50 +0900 (KST) Message-ID: <4180EA86.6030001@yahoo.com> Date: Thu, 28 Oct 2004 21:48:06 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041017 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: NO (SR:2.15) (by Terrace) Subject: 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 12:48:13 -0000 Hello, 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? # mptable [...cut...] Processors: APIC ID Version State Family Model Step Flags 1 0x11 BSP, usable 6 8 6 0x387fbff 0 0x11 AP, usable 6 8 6 0x383fbff [...cut...] # cat /var/run/dmesg.boot FreeBSD 5.3-STABLE #0: Thu Oct 28 07:59:10 KST 2004 lahaye@master.snu.ac.kr:/usr/obj/usr/src/sys/MYKERNEL MPTable: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (801.82-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383fbff real memory = 1073729536 (1023 MB) avail memory = 1045377024 (996 MB) ioapic0: Assuming intbase of 0 ioapic0 irqs 0-23 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface [...cut...] So? Am I there? Is my FreeBSD now running on two processors? With the top command, I can't see anything special for my 2 CPUs. Is that right? Rob.