Date: Mon, 26 May 2008 20:19:28 +0200 From: Jos Chrispijn <jos@webrz.net> To: freebsd-questions@freebsd.org Subject: Re: Kernel for Dual Core Message-ID: <483AFF30.2090108@webrz.net> In-Reply-To: <483AF28F.1080102@magichamster.com> References: <483ADEA1.40206@webrz.net> <483AE57B.2000106@magichamster.com> <483AEB21.4070100@webrz.net> <483AF28F.1080102@magichamster.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark, Mark Ovens wrote: > The reason that nothing is #'d out and just about everything is in > GENERIC is because it is exactly that, a *generic* kernel, and soo > needs to be able to boot on any hardware it's installed on. Oke, now I understand. > The advantage of building a custom kernel is that you remove anything > your system doesn't have which saves time when booting as the kernel > won't be probing for devices that it will never find - for example. > mine is an all-SCSI system so my kernel doesn't have any IDE or floppy > devices in it - and it makes the kernel smaller (although that isn't > really an issue these days). With this speed that shouldn't be a problem... > An alternative is to go into the configuration editor from the main > boot menu and disable those compiled-in devices that you don't have. That I didn't know! > To confirm that your running kernel has detected and started both CPUs: > > /home/mark{8}% grep -i cpu /var/log/messages > > May 26 12:10:30 redshift kernel: CPU: AMD Athlon(TM) MP 2800+ > (2133.42-MHz 686-class CPU) > May 26 12:10:30 redshift kernel: FreeBSD/SMP: Multiprocessor System > Detected: 2 CPUs > May 26 12:10:30 redshift kernel: cpu0 (BSP): APIC ID: 0 > May 26 12:10:30 redshift kernel: cpu1 (AP): APIC ID: 1 > May 26 12:10:30 redshift kernel: cpu0: <ACPI CPU> on acpi0 > May 26 12:10:30 redshift kernel: cpu1: <ACPI CPU> on acpi0 > May 26 12:10:30 redshift kernel: SMP: AP CPU #1 Launched! > /home/mark{9}% I did this on my systems on which I installed FreeBSD from iso CD's: May 25 17:23:44 triton kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs May 25 17:23:44 triton kernel: cpu0 (BSP): APIC ID: 0 May 25 17:23:44 triton kernel: cpu1 (AP): APIC ID: 1 May 25 17:23:44 triton kernel: cpu0: <ACPI CPU> on acpi0 May 25 17:23:44 triton kernel: est0: <Enhanced SpeedStep Frequency Control> on cpu0 May 25 17:23:44 triton kernel: p4tcc0: <CPU Frequency Thermal Control> on cpu0 May 25 17:23:44 triton kernel: cpu1: <ACPI CPU> on acpi0 May 25 17:23:44 triton kernel: est1: <Enhanced SpeedStep Frequency Control> on cpu1 May 25 17:23:44 triton kernel: p4tcc1: <CPU Frequency Thermal Control> on cpu1 May 25 17:23:44 triton kernel: SMP: AP CPU #1 Launched! So this would mean that I allready use a dual core tuned system? When should it say SMP: AP CPU #2 Launched! ? Thanks for sharing, Jos
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?483AFF30.2090108>