Date: Thu, 18 Mar 2004 15:12:34 +0100 From: Julien Rampon <jtb@diantre.net> To: freebsd-smp@freebsd.org Subject: Problem with 4.9 SMP Message-ID: <20040318151234.0a328743.jtb@diantre.net>
next in thread | raw e-mail | index | archive | help
--Signature=_Thu__18_Mar_2004_15_12_34_+0100_I_uEhZtUc_L3I8c+ Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit Hi all, I encounter a problem with a dual Xeon 2.4G HTT I see 4 processors -> FreeBSD 4.9-RELEASE-p3 #1: Wed Mar 3 18:03:27 CET 2004 root@edf-back1.edf:/usr/src/sys/compile/EDF Timecounter "i8254" frequency 1193182 Hz CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2383.29-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Hyperthreading: 2 logical CPUs real memory = 2147418112 (2097088K bytes) avail memory = 2088210432 (2039268K bytes) Changing APIC ID for IO APIC #0 from 0 to 8 on chip Changing APIC ID for IO APIC #1 from 0 to 9 on chip Changing APIC ID for IO APIC #2 from 0 to 10 on chip Programming 16 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 16 pins in IOAPIC #1 Programming 16 pins in IOAPIC #2 FreeBSD/SMP: Multiprocessor motherboard: 4 CPUs cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00050014, at 0xfee00000 cpu2 (AP): apic id: 6, version: 0x00050014, at 0xfee00000 cpu3 (AP): apic id: 7, version: 0x00050014, at 0xfee00000 io0 (APIC): apic id: 8, version: 0x000f0011, at 0xfec00000 io1 (APIC): apic id: 9, version: 0x000f0011, at 0xfec01000 io2 (APIC): apic id: 10, version: 0x000f0011, at 0xfec02000 Preloaded elf kernel "kernel" at 0xc0365000. Warning: Pentium 4 CPU: PSE disabled Pentium Pro MTRR support enabled I activated HTT with sysctl -w machdep.hlt_logical_cpus=0 Everything's alright But, when I launch a huge process (for exmaple, I launch perl to calculate webstats with awstat), the process uses 100% of one CPU and top show that only 25% of CPU are used and load average freeze on 1 and every other services (apache and mysql) don't answer correctly and I encounter timeout (Mysql was compiled from the ports with LINUXTHREADS). Why just 1 CPU i used ? There is no distribution ? Thanks for help and be lenient for my approximate english :) Julien I suppose that only one processor is --Signature=_Thu__18_Mar_2004_15_12_34_+0100_I_uEhZtUc_L3I8c+ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAWa5WvqFC4fHvUIERAkKEAJ4iIdHtw9l3A3VlUKHnXswkq8awiACfTfAQ kXVxA8LF4PVXZg9y+Jr1og0= =rLVg -----END PGP SIGNATURE----- --Signature=_Thu__18_Mar_2004_15_12_34_+0100_I_uEhZtUc_L3I8c+--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040318151234.0a328743.jtb>