Date: Mon, 28 Mar 2005 15:12:25 -0800 From: Ulf Zimmermann <ulf@Alameda.net> To: Rojer <myself@rojer.pp.ru> Cc: Greg Eden <greg@warprecords.com> Subject: Re: FreeBSD 5.3R SMP Kernel not detecting 2nd CPU in a HP DL360(?) Message-ID: <20050328231225.GD13841@seven.alameda.net> In-Reply-To: <42488CEA.2020507@rojer.pp.ru> References: <b1c5f0fd4371c90fd222da400066e69e@warprecords.com> <20050328221531.GA13841@seven.alameda.net> <42488CEA.2020507@rojer.pp.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 29, 2005 at 03:02:02AM +0400, Rojer wrote: > Ulf Zimmermann wrote: > > > >I have a DL380 g3 with dual P4-3.2GHz 1MB L3 cache, the kern conf has > >just "options SMP" to make it work. Here is the top part and bottom part > >of dmesg from boot: > >... > > > > >SMP: AP CPU #1 Launched! > > > >... > > > >kern.smp.active: 1 > >kern.smp.disabled: 0 > >kern.smp.cpus: 2 > > you should see 4 cpus "launching", assuming you haven't disabled > hyperthreading. > > in fact, i have seen similar situation myself. > FreeBSD would not recognize second physical CPU with hyperthreading enabled. > it'd launch cpu #1 but not cpus 2 and 3. > after eventually noticing it, i tried disabling hyperthreading in BIOS - > it worked fine. i still had 2 cpus, but this time 2 physical cpus, > and lower cpu load figures confirmed that those 2 "previous" cpus were in > fact > one physical + 1 hyperdreaded :) > and this is not a problem of the particular server, i actually tried > replacing > the platform (moved hdds to the same box nearby) and it behaved in exactly > the same manner. > the platform is Fujitsu RX200 (2 x 2.8 Xeon), OS is FreeBSD 4.11-PRERELEASE. > > i still kinda have a box to play with (can bring it down to test during > weekend), > so if someone can offer insight, i can provide more info and maybe even a > short-term > remote ssh/serial console access. I at least have HyperThreading turned off. So seeing 2 cpus is correctly: evil ulf /home/ulf > sysctl -a | grep cpu kern.threads.virtual_cpu: 2 kern.sched.ipiwakeup.onecpu: 0 kern.ccpu: 1948 kern.smp.maxcpus: 16 kern.smp.cpus: 2 debug.kdb.stop_cpus: 1 debug.PMAP1changedcpu: 5 hw.ncpu: 2 hw.acpi.cpu.cx_supported: C1/0 hw.acpi.cpu.cx_lowest: C1 hw.acpi.cpu.cx_usage: 100.00% -- Regards, Ulf. --------------------------------------------------------------------- Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204 You can find my resume at: http://seven.Alameda.net/~ulf/resume.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050328231225.GD13841>