RE: Verifying that I have SMP up and running

2007-04-09 Thread Michael K. Smith - Adhost
Hello Jim:

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] 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
 [EMAIL PROTECTED]:/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=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG
 E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT
   Features2=0x1SSE3
   AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow
   AMD Features2=0x3LAHF,CMP
   Cores per package: 2
 real memory  = 1073676288 (1023 MB)
 avail memory = 1033093120 (985 MB)
 ACPI APIC Table: Nvidia AWRDACPI
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
 ioapic0: Changing APIC ID to 2
 ioapic0 Version 1.1 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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Verifying that I have SMP up and running

2007-04-09 Thread Jim Stapleton

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 [EMAIL PROTECTED] wrote:

Hello Jim:

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] 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
 [EMAIL PROTECTED]:/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=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG
 E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT
   Features2=0x1SSE3
   AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow
   AMD Features2=0x3LAHF,CMP
   Cores per package: 2
 real memory  = 1073676288 (1023 MB)
 avail memory = 1033093120 (985 MB)
 ACPI APIC Table: Nvidia AWRDACPI
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
 ioapic0: Changing APIC ID to 2
 ioapic0 Version 1.1 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



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]