Problem with 4.9 SMP
Julien Rampon
jtb at diantre.net
Thu Mar 18 06:12:28 PST 2004
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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-smp/attachments/20040318/0cfe6ed8/attachment.bin
More information about the freebsd-smp
mailing list