From owner-freebsd-smp Fri Jul 3 18:18:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA18398 for freebsd-smp-outgoing; Fri, 3 Jul 1998 18:18:51 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from panzer.plutotech.com (ken@panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA18393 for ; Fri, 3 Jul 1998 18:18:47 -0700 (PDT) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.8.8/8.8.5) id TAA21461; Fri, 3 Jul 1998 19:18:40 -0600 (MDT) From: "Kenneth D. Merry" Message-Id: <199807040118.TAA21461@panzer.plutotech.com> Subject: Re: determining SMP In-Reply-To: from Matthew Patton at "Jul 2, 98 08:27:34 pm" To: patton@sysnet.net (Matthew Patton) Date: Fri, 3 Jul 1998 19:18:40 -0600 (MDT) Cc: freebsd-smp@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id SAA18394 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Matthew Patton wrote... > How do I determine if my rebuilt kernel really is seeing 2 CPUs? > I'm working off of 2.2.6 sources and defined > options SMP > options APIC_IO > per http://www.freebsd.org/~fsmp/SMP/getstarted.html > > dmesg says: > CPU: Pentium Pro (231.78-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x619 Stepping=9 > > Features=0xfbff r > eal memory = 134217728 (131072K bytes) > avail memory = 129691648 (126652K bytes) > > >From reading the archives I take it that SMP support has been around for > quite some time and is not limited to 3.0. Am I correct? You are right that it has been around for a long time. SMP is limited to 3.0-current, so your 2.2.6 kernel doesn't support SMP. You'll know SMP is working when you get something like this upon booting a SMP -current kernel: Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #0: Sat Jun 27 19:50:55 MDT 1998 ken@panzer.plutotech.com:/usr/home/ken/perforce/cam/sys/compile/panzer Timecounter "i8254" frequency 1193182 Hz cost 3532 ns CPU: Pentium Pro (686-class CPU) Origin = "GenuineIntel" Id = 0x617 Stepping=7 Features=0xfbff real memory = 134217728 (131072K bytes) avail memory = 127840256 (124844K bytes) FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 [ ... ] IP packet filtering initialized, divert enabled, logging limited to 100 packets/entry SMP: AP CPU #1 Launched! > BTW, anyone know how to get sources via CVS? I'm having a devil of a time > with anoncvs.freebsd.org. The error says: > % cvs -d anoncvs@anoncvs.freebsd.org:/cvs up . > select: protocol failure in circuit setup > cvs [update aborted]: end of file from server (consult above messages if any) I would suggest using cvsup, my guess is that it'll be faster than anoncvs. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message