From owner-freebsd-questions@FreeBSD.ORG Mon Jul 11 18:55:46 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33D4C16A41C for ; Mon, 11 Jul 2005 18:55:46 +0000 (GMT) (envelope-from drew@mykitchentable.net) Received: from relay04.roc.ny.frontiernet.net (relay04.roc.ny.frontiernet.net [66.133.182.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAA5C43D49 for ; Mon, 11 Jul 2005 18:55:45 +0000 (GMT) (envelope-from drew@mykitchentable.net) Received: from filter06.roc.ny.frontiernet.net (filter06.roc.ny.frontiernet.net [66.133.183.73]) by relay04.roc.ny.frontiernet.net (Postfix) with ESMTP id E169735967E; Mon, 11 Jul 2005 18:55:44 +0000 (UTC) Received: from relay04.roc.ny.frontiernet.net ([66.133.182.167]) by filter06.roc.ny.frontiernet.net (filter06.roc.ny.frontiernet.net [66.133.183.73]) (amavisd-new, port 10024) with LMTP id 25467-07-41; Mon, 11 Jul 2005 18:55:44 +0000 (UTC) Received: from blacklamb.mykitchentable.net (67-137-46-191.dsl2.elk.ca.frontiernet.net [67.137.46.191]) by relay04.roc.ny.frontiernet.net (Postfix) with ESMTP id 530F53595F1; Mon, 11 Jul 2005 18:55:43 +0000 (UTC) Received: from [192.168.1.22] (unknown [192.168.1.22]) by blacklamb.mykitchentable.net (Postfix) with ESMTP id F26861C6AEB; Mon, 11 Jul 2005 11:55:46 -0700 (PDT) Message-ID: <42D2C0AD.9000600@mykitchentable.net> Date: Mon, 11 Jul 2005 11:55:41 -0700 From: Drew Tomlinson User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nelis Lamprecht References: <42D21343.4040907@mykitchentable.net> <7cbadc8705071023557f0eee34@mail.gmail.com> In-Reply-To: <7cbadc8705071023557f0eee34@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20040701 (2.0) at filter06.roc.ny.frontiernet.net Cc: FreeBSD Questions Subject: Re: FreeBSD 5 - What Options for SMP Kernel? -- SOLVED 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, 11 Jul 2005 18:55:46 -0000 On 7/10/2005 11:55 PM Nelis Lamprecht wrote: >On 7/11/05, Drew Tomlinson wrote: > > >>I just built my first 5.4-RELEASE system. I want a SMP kernel. The >>GENERIC kernel conf file contains this line: >> >>device apic # I/O apic >> >>According to NOTES, this is all that's required to build an SMP kernel. >> >> > >I don't see any mention of "this is all that's required" ? > > OK, NOTES doesn't say that explicitly. But neither does it mention any additional option(s) that ARE required which leads one to believe that "this IS all that's required". >>However my dmesg does not indicate that both processors are being used. >>In version 4, these two lines were required: >> >>options SMP # Symmetric MultiProcessor Kernel >>options APIC_IO # Symmetric (APIC) I/O >> >>I've searched Google but haven't found any definitive answers. Exactly >>what lines do I need in my kernel conf and how can I verify both >>processors are being used? >> >> > >If you look in the usual place /usr/src/sys/i386/conf you will see a >SMP file that includes the option SMP for the default SMP enabled >GENERIC kernel. It would make sense to put that option along with apic >in your custom SMP kernel. > >To verify after rebooting do a 'dmesg |grep CPU' and it should show >something along the lines of: > >CPU: Intel(R) Xeon(TM) CPU 3.06GHz (3056.82-MHz 686-class CPU) > Hyperthreading: 2 logical CPUs >FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > > Thanks for the pointer. I've added the SMP option and all is working. Cheers, Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, & More! http://www.alchemistswarehouse.com