Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jul 2005 11:55:41 -0700
From:      Drew Tomlinson <drew@mykitchentable.net>
To:        Nelis Lamprecht <nlamprecht@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: FreeBSD 5 - What Options for SMP Kernel? -- SOLVED
Message-ID:  <42D2C0AD.9000600@mykitchentable.net>
In-Reply-To: <7cbadc8705071023557f0eee34@mail.gmail.com>
References:  <42D21343.4040907@mykitchentable.net> <7cbadc8705071023557f0eee34@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/10/2005 11:55 PM Nelis Lamprecht wrote:

>On 7/11/05, Drew Tomlinson <drew@mykitchentable.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42D2C0AD.9000600>