From owner-freebsd-questions@FreeBSD.ORG Mon Apr 9 22:32:31 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5D1CE16A402 for ; Mon, 9 Apr 2007 22:32:31 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 167BA13C465 for ; Mon, 9 Apr 2007 22:32:29 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so1660139ugh for ; Mon, 09 Apr 2007 15:32:28 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AJrWsVlDdwBv02PYGh7tJ8fDoBRDaLVfvTI+BBSafVf7Sim5z77INtEMeVjXZhgrAJxNDYwk5yDpbbSAlW9VK3QI1twhHcFrJZJevrnXsrhwXAeJw9ogP79fVr9DJwn+PhEAb92Kc6UTfUIT8XCFs20k2UFLZ1L4Ihv1egIVXAk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Lq5jhUmus2kZZcNVAB7ftlPnrkNckfQg/DR/oRg7d2l1eXevuDE9t4rkGWAaBtTL5zaLxmJGHaNDUYedJHtpKFBwPHi/TdJuAt648q285p5KNPqzBPIjY7qY0gccTZ91IWQabqBJiVq4Dnl84/d9Z3NjykOm7trVtd/6bkMi7eM= Received: by 10.82.146.14 with SMTP id t14mr8419641bud.1176157948527; Mon, 09 Apr 2007 15:32:28 -0700 (PDT) Received: by 10.82.155.5 with HTTP; Mon, 9 Apr 2007 15:32:28 -0700 (PDT) Message-ID: <80f4f2b20704091532l724c6993oce912ba1794c2f1d@mail.gmail.com> Date: Mon, 9 Apr 2007 18:32:28 -0400 From: "Jim Stapleton" To: "Michael K. Smith - Adhost" In-Reply-To: <17838240D9A5544AAA5FF95F8D52031601E2266F@ad-exh01.adhost.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <80f4f2b20704091451m6bbd1d35t33d561fea5bec15f@mail.gmail.com> <17838240D9A5544AAA5FF95F8D52031601E2266F@ad-exh01.adhost.lan> Cc: freebsd-questions@freebsd.org Subject: Re: Verifying that I have SMP up and running 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: Mon, 09 Apr 2007 22:32:31 -0000 Ahh, yes, I see that. And high-cpu multitasking seems to run a lot better too Thank you, -Jim Stapleton On 4/9/07, Michael K. Smith - Adhost wrote: > Hello Jim: > > > -----Original Message----- > > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > > questions@freebsd.org] On Behalf Of Jim Stapleton > > Sent: Monday, April 09, 2007 2:52 PM > > To: freebsd-questions@freebsd.org > > Subject: Verifying that I have SMP up and running > > > > I added SMP to the kernel config, but I want to make sure that it's > > running. I tried top, as I'm used to seeing multiple processors listed > > there (Tru64, Linux), but did not see it in FreeBSD. However I got the > > dmesg below (see end of mail, the beginning of dmesg output), which > > seems to indicate it's up an running. Can someone verify this, and are > > there any good tools to show how much each CPU is using in the way of > > resources? > > > > Thanks, > > -Jim Stapleton > > > > Copyright (c) 1992-2007 The FreeBSD Project. > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > > 1994 > > The Regents of the University of California. All rights > > reserved. > > FreeBSD is a registered trademark of The FreeBSD Foundation. > > FreeBSD 6.2-STABLE #0: Sun Apr 8 14:50:03 UTC 2007 > > root@elrond.ameritech.net:/usr/obj/usr/src/sys/JIM20070408-SMP > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > CPU: Dual Core AMD Opteron(tm) Processor 180 (2412.38-MHz 686-class > > CPU) > > Origin = "AuthenticAMD" Id = 0x20f32 Stepping = 2 > > > > > Features=0x178bfbff > E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> > > Features2=0x1 > > AMD Features=0xe2500800 > > AMD Features2=0x3 > > Cores per package: 2 > > real memory = 1073676288 (1023 MB) > > avail memory = 1033093120 (985 MB) > > ACPI APIC Table: > > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > > cpu0 (BSP): APIC ID: 0 > > cpu1 (AP): APIC ID: 1 > > ioapic0: Changing APIC ID to 2 > > ioapic0 irqs 0-23 on motherboard > > You should be able to see both processors in top, under the "C" column. > You will see a 0 or 1 depending on which processor is doing the work for > that process. There aren't cumulative, per-processor totals but you can > get a decent idea of what's going on. > > Mike > >