From owner-freebsd-smp@FreeBSD.ORG Thu Mar 18 06:12:28 2004 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D26D16A4CE for ; Thu, 18 Mar 2004 06:12:28 -0800 (PST) Received: from sickboy.diantre.net (jtb.b.lbn.fr [195.154.109.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D51F43D2D for ; Thu, 18 Mar 2004 06:12:28 -0800 (PST) (envelope-from jtb@diantre.net) Received: from sickboy.diantre.net (localhost.diantre.net [127.0.0.1]) by sickboy.diantre.net (Postfix) with SMTP id B3E3A84402 for ; Thu, 18 Mar 2004 15:12:38 +0100 (CET) Date: Thu, 18 Mar 2004 15:12:34 +0100 From: Julien Rampon To: freebsd-smp@freebsd.org Message-Id: <20040318151234.0a328743.jtb@diantre.net> X-Mailer: Sylpheed version 0.9.10 (GTK+ 1.2.10; i386-portbld-freebsd5.2.1) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Thu__18_Mar_2004_15_12_34_+0100_I_uEhZtUc_L3I8c+" Subject: Problem with 4.9 SMP X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2004 14:12:28 -0000 --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 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+-- From owner-freebsd-smp@FreeBSD.ORG Thu Mar 18 15:27:05 2004 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99CBD16A4CE for ; Thu, 18 Mar 2004 15:27:05 -0800 (PST) Received: from nmgww.sn.tsden.org (gw.nemossan.jp [202.216.232.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13C9343D1D for ; Thu, 18 Mar 2004 15:27:05 -0800 (PST) (envelope-from "") Received: from nmgww.sn.tsden.org (IDENT:ryutaroh@localhost [127.0.0.1]) by nmgww.sn.tsden.org (8.12.10/8.12.10) with ESMTP id i2INQxw2007795 for ; Fri, 19 Mar 2004 08:26:59 +0900 Received: (from ryutaroh@localhost) by nmgww.sn.tsden.org (8.12.10/8.12.10/Submit) id i2INQxdH007794 for freebsd-smp@freebsd.org; Fri, 19 Mar 2004 08:26:59 +0900 Date: Fri, 19 Mar 2004 08:26:59 +0900 Message-Id: <200403182326.i2INQxdH007794@nmgww.sn.tsden.org> X-Authentication-Warning: nmgww.sn.tsden.org: ryutaroh set sender to <> using -f To: freebsd-smp@freebsd.org Auto-Submitted: auto-replied From: ryutaroh@tsden.org Precedence: junk Subject: X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.1 List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2004 23:27:05 -0000 I do not read the email account "ryutaroh@tsden.org". Thank you.